forked from DefiLlama/DefiLlama-Adapters
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
track cronos zkevm (DefiLlama#11316)
- Loading branch information
1 parent
ee3e292
commit 3af5718
Showing
4 changed files
with
25 additions
and
18 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,23 @@ | ||
const { staking } = require('../helper/staking') | ||
const { getUniTVL } = require('../helper/unknownTokens') | ||
|
||
const factory = '0x5f1d751f447236f486f4268b883782897a902379' | ||
const frtnToken = '0xaF02D78F39C0002D14b95A3bE272DA02379AfF21' | ||
const bankContract = '0x1E16Aa4Bb965478Df310E8444CD18Fa56603A25F' | ||
|
||
|
||
module.exports = { | ||
misrepresentedTokens: true, | ||
methodology: "The TVL accounts for all LP on the dex, using the factory address 0x5f1d751f447236f486f4268b883782897a902379). Staking accounts for the FRTN staked in the bank on our platform.", | ||
cronos: { | ||
staking: staking(bankContract, frtnToken), | ||
tvl: getUniTVL({ | ||
factory, | ||
useDefaultCoreAssets: true, | ||
}), | ||
}, | ||
misrepresentedTokens: true, | ||
methodology: "The TVL accounts for all LP on the dex, using the factory address 0x5f1d751f447236f486f4268b883782897a902379). Staking accounts for the FRTN staked in the bank on our platform.", | ||
} | ||
|
||
const config = { | ||
cronos: '0x5f1d751f447236f486f4268b883782897a902379', | ||
cronos_zkevm: '0x1A695B3aC30D41F9A1D856A27DD0D9DdaaCe750d', | ||
} | ||
|
||
Object.keys(config).forEach(chain => { | ||
const factory = config[chain] | ||
module.exports[chain] = { tvl: getUniTVL({ factory, useDefaultCoreAssets: true, }) } | ||
}) | ||
|
||
module.exports.cronos.staking = staking(bankContract, frtnToken) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,6 +70,7 @@ | |
"crab", | ||
"crescent", | ||
"cronos", | ||
"cronos_zkevm", | ||
"csc", | ||
"cube", | ||
"curio", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters