Skip to content

Commit 6c81fd8

Browse files
authored
Update Kinetix AMM V3 adapter to use uniV3GraphExport helper. (uniV3Export missed cache) (DefiLlama#11964)
1 parent b577f56 commit 6c81fd8

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

projects/kinetix-v3/index.js

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
1-
const { uniV3Export } = require("../helper/uniswapV3");
1+
const { uniV3GraphExport } = require('../helper/uniswapV3')
22

3-
module.exports = uniV3Export({
3+
module.exports = {
44
kava: {
5-
factory: "0x2dBB6254231C5569B6A4313c6C1F5Fe1340b35C2",
6-
fromBlock: 6069472,
5+
tvl: uniV3GraphExport({
6+
graphURL: 'https://kava-graph-node.metavault.trade/subgraphs/name/kinetixfi/v3-subgraph',
7+
name: 'kinetixfi/kava-v3',
8+
})
79
},
810
base: {
9-
factory: "0xdDF5a3259a88Ab79D5530eB3eB14c1C92CD97FCf",
10-
fromBlock: 14195510,
11-
},
12-
});
11+
tvl: uniV3GraphExport({
12+
graphURL: 'https://api.studio.thegraph.com/query/55804/kinetixfi-base-v3/version/latest',
13+
name: 'kinetixfi/base-v3',
14+
})
15+
}
16+
}

0 commit comments

Comments
 (0)