Skip to content

Commit

Permalink
Add two bridge contract addresses for zklink nova (#10097)
Browse files Browse the repository at this point in the history
* add external bridge(tron,merlin) to zklink-nova

* Update index.js

---------

Co-authored-by: Define101 <[email protected]>
  • Loading branch information
Evan-zkLinkLabs and Define101 authored May 5, 2024
1 parent 4d77c85 commit 6c9ee71
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion projects/zkLink/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,26 @@ const config = {
"0x5Bd51296423A9079b931414C1De65e7057326EaA",
],
},
tron: {
owners: [
"TXZFj3Eo7xLArr32SYea2GtWmG1BekdpDq", // nova bridge address
],
tokens: [ADDRESSES.tron.BTC],
},
merlin: {
owners: [
"0xf5b90fE755Aa2e3CcC69d9548cbeB7b38c661D73", // nova bridge address
],
tokens: [
"0xB880fd278198bd590252621d4CD071b1842E9Bcd", //MBTC
"0x41D9036454BE47d3745A823C4aaCD0e29cFB0f71", //Solv BTC
],

},
}

async function tvl(api) {
const fetchCoValentTokens = !['manta', 'mantle', 'blast'].includes(api.chain)
const fetchCoValentTokens = !['manta', 'mantle', 'blast', 'tron', 'merlin'].includes(api.chain)
return sumTokens2({ api, ...config[api.chain], fetchCoValentTokens, })
}

Expand Down

0 comments on commit 6c9ee71

Please sign in to comment.