Skip to content

Commit 14130ab

Browse files
WarlockDeFig1nt0ki
andauthored
feat: add BlastNYAN adapter (DefiLlama#9136)
* Create index.js * code refactor --------- Co-authored-by: g1nt0ki <[email protected]>
1 parent 6fe0587 commit 14130ab

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

projects/BlastNYAN/index.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
const { sumTokensExport } = require('../helper/unknownTokens')
2+
const WETH = '0x4300000000000000000000000000000000000004'
3+
const BLNYAN = '0x9aAC39ca368D27bf03887CCe32f28b44F466072F'
4+
const BLNYAN_WETH_SLP = '0x0E9309f32881899F6D4aC2711c6E21367A84CA26'
5+
6+
const stakingBLNYANContract = '0xA76D6dc805d0EbEcb3787c781ce3A18feEF020cb'
7+
const feeDistro = '0xBC8a7a845cC7A8246EB34856Afe6f1a3d62BD9C6'
8+
const stakeLpEarnWeth = '0x0a3A757BE3049C2d9444d025E98D37b2a81a0a32'
9+
const button = '0x00066Ed6c2F7d6CC6e66c678BaEE2C8683B632e6'
10+
const opts = { useDefaultCoreAssets: true, lps: [BLNYAN_WETH_SLP] }
11+
12+
module.exports = {
13+
misrepresentedTokens: true,
14+
blast: {
15+
tvl: sumTokensExport({ owners: [feeDistro, button], tokens: [WETH], ...opts, }),
16+
pool2: sumTokensExport({ ...opts, owners: [stakeLpEarnWeth], tokens: [BLNYAN_WETH_SLP], }),
17+
staking: sumTokensExport({ owners: [stakingBLNYANContract], tokens: [BLNYAN], ...opts, }),
18+
},
19+
methodology:
20+
'Counts as TVL the ETH, blNYAN and LP assets deposited through-out the protocol',
21+
}

0 commit comments

Comments
 (0)