mirror of
https://github.com/alexgo-io/DefiLlama-Adapters.git
synced 2026-04-30 13:52:23 +08:00
* use tvl function v2 * refactor addFundsInMasterChef * replace usage of timestamp field * more refactoring * more refactoring
9 lines
289 B
JavaScript
9 lines
289 B
JavaScript
const ADDRESSES = require('../helper/coreAssets.json')
|
|
module.exports = {
|
|
astar: {
|
|
tvl: async (api) => {
|
|
const bal = await api.call({ abi: 'uint256:internalDotBalance', target: '0x5E60Af4d06A9fc89eb47B39b5fF1b1b42a19ef39'})
|
|
api.add(ADDRESSES.astar.DOT, bal)
|
|
}
|
|
}
|
|
} |