Skip to content

Commit

Permalink
hardcode tranche addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
xcellsior committed Jul 16, 2021
1 parent 5593609 commit a38185b
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions v2/projects/tranche/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@ module.exports = {
/* required for fetching token balances */
tokenHolderMap: [
{
tokens: async () => {
return (await axios.get('https://api.tranche.finance/api/v1/common/token-address?network=ethereum')).data.result || [];
},
holders: async () => {
return (await axios.get('https://api.tranche.finance/api/v1/common/holder-address?network=ethereum')).data.result || [];
},
tokens:[
'0x39aa39c021dfbae8fac545936693ac917d5e7563',
'0x5d3a536E4D6DbD6114cc1Ead35777bAB948E3643',
'0x0AeE8703D34DD9aE107386d3eFF22AE75Dd616D1'
],
holders: [
'0x05060F5ab3e7A98E180B418A96fFc82A85b115e7',
'0xAB4235a9ACf00A45557E90F7dB127f3b293cA45A'
],
}
]
};

0 comments on commit a38185b

Please sign in to comment.