Skip to content

Commit

Permalink
Steer 2 (DefiLlama#6642)
Browse files Browse the repository at this point in the history
* feat: ⚡ Include all deployed chains to Steer adapter

Added: avax, bnb, metis, evmos, p_zkevm, celo, thundercore

binance historical node failing

* bugfix

---------

Co-authored-by: Brandon <[email protected]>
  • Loading branch information
g1nt0ki and MustafaBrandon authored Jun 26, 2023
1 parent 0c1914e commit e5f9c7e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions projects/steer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ const config = {
polygon: { registry: '0x24825b3c44742600d3995d1d3760ccee999a7f0b', fromBlock: 41535540, },
arbitrum: { registry: '0x9f5b097AD23e2CF4F34e502A3E41D941678877Dc', fromBlock: 88698956, },
optimism: { registry: '0xC1Ecd10398A6D7036CceE1f50551ff169715081c', fromBlock: 96971465, },
avax: { registry: '0x9f5b097AD23e2CF4F34e502A3E41D941678877Dc', fromBlock: 30434642, },
bsc: { registry: '0x31e4ee367d4f2685BAfcAb9566e9C87E60D48983', fromBlock: 28461459, },
evmos: { registry: '0xD90c8970708FfdFC403bdb56636621e3E9CCe921', fromBlock: 13671900, },
metis: { registry: '0x116Dba5DcE9CcDA828218b7eB46406810632014C', fromBlock: 6067741, },
polygon_zkevm: { registry: '0x9f5b097AD23e2CF4F34e502A3E41D941678877Dc', fromBlock: 1022413, },
celo: { registry: '0x116Dba5DcE9CcDA828218b7eB46406810632014C', fromBlock: 19813127, },
thundercore: { registry: '0xa1Dd21fbd9e1F0BF28d41F18bDC22326e50C02e9', fromBlock: 135181847, },
}

module.exports = {};
Expand Down Expand Up @@ -30,6 +37,7 @@ Object.keys(config).forEach(chain => {
api.add(token0, bal.total0)
api.add(token1, bal.total1)
})
return api.getBalances()
}
}
})

0 comments on commit e5f9c7e

Please sign in to comment.