Skip to content

Commit

Permalink
T2T2 update adapter (DefiLlama#8078)
Browse files Browse the repository at this point in the history
* T2T2 project SDK adapter

* Update T2T2/index.js remove the wrong address

* Update T2T2 adapter. add ethereum contracr address

* update T2T2 adapter. use fetchCoValentTokens

* blacklist own token

---------

Co-authored-by: g1nt0ki <[email protected]>
Co-authored-by: Holly <[email protected]>
  • Loading branch information
3 people authored Nov 15, 2023
1 parent badf7a0 commit 6b22ff4
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions projects/T2T2/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@ const config = {
base: '0xE173A25C522385BB117b3044C79F534cD0a895EC'
}

Object.keys(config).forEach(chain => {
module.exports[chain] = {
tvl: sumTokensExport({ tokens: [nullAddress], owner: config[chain] })
const T2_T2 = '0x390e61f798267fe7aa9bbe61be8bb1776250d44c'

module.exports = {
ethereum: {
tvl: sumTokensExport({ owner: config.ethereum, fetchCoValentTokens: true, blacklistedTokens: [T2_T2] })
},
base: {
tvl: sumTokensExport({ owner: config.base, tokens: [nullAddress] })
}
})
}

0 comments on commit 6b22ff4

Please sign in to comment.