Skip to content

Commit

Permalink
added zklink nova chain (#10288)
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-dozer committed May 20, 2024
1 parent 4d832b4 commit 9dffb5c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion projects/interport-finance/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,23 @@ const { staking } = require('../helper/staking');
const usdtVault = '0xEc8DDCb498b44C35EFaD7e5e43E0Caf6D16A66E8';
const usdcVault = '0x5b45B414c6CD2a3341bE70Ba22BE786b0124003F';
const usdbVault = '0x5b45B414c6CD2a3341bE70Ba22BE786b0124003F';
const iUsdtVault = '0xd9eF111006F7477aC6E70dD2B782D8A901f6Ff5b';
const iUsdcVault = '0x22E7c5d443400eef48F58acdEC67986373cf6c74';
const defaultVaults = [usdtVault, usdcVault];
const config = {
era: { vaults: ['0xc724832c5ed81599aE3E4EBC0eC4f87A285B5838'] },
base: { vaults: [usdcVault] },
op_bnb: { vaults: [usdtVault] },
fantom: { vaults: ['0xd0Adc0cdE959616666c4691985df91C60ca3C0F7', '0xb6AB8EeFAE1a2c22Ca6338E143cb7dE544800c6e'] },
blast: { vaults: [usdbVault] },
zklink: { vaults: [iUsdtVault, iUsdcVault] },
}

module.exports = {
methodology: 'Interport TVL is calculated by summing the USDT and USDC balance of the vaults contracts, ITP token balance in the ITP Revenue Share contract and LP token balance in the LP Revenue Share contract.',
};

['ethereum', 'avax', 'bsc', 'fantom', 'arbitrum', 'polygon', 'polygon_zkevm', 'base', 'era', 'optimism', 'linea', 'eon', 'op_bnb', 'scroll', 'manta', 'inevm', 'blast'].forEach(chain => {
['ethereum', 'avax', 'bsc', 'fantom', 'arbitrum', 'polygon', 'polygon_zkevm', 'base', 'era', 'optimism', 'linea', 'eon', 'op_bnb', 'scroll', 'manta', 'inevm', 'blast', 'zklink'].forEach(chain => {
module.exports[chain] = {
tvl: async (api) => {
const vaults = config[chain]?.vaults || defaultVaults
Expand Down

0 comments on commit 9dffb5c

Please sign in to comment.