Skip to content

Commit 47241e4

Browse files
authored
Merge pull request #2 from DefiLlama/main
Update base branch
2 parents 665feb9 + d4792aa commit 47241e4

File tree

4 files changed

+33
-15
lines changed

4 files changed

+33
-15
lines changed

projects/cells/index.js

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,23 @@
11
const { yieldHelper, } = require("../helper/yieldHelper")
2+
const { mergeExports } = require('../helper/utils')
23

3-
const contract = '0xAcb845A2a46F6De8cbAe8eA234b632a99ef93D31'
4-
const cells = '0x3022d80e02075F5A2a442A318229487f9Ea66D82'
5-
6-
module.exports = yieldHelper({
7-
project: 'cells-finance',
8-
chain: 'bsc',
9-
masterchef: contract,
10-
nativeToken: cells,
11-
abis: {
12-
poolInfo: 'function poolInfo(uint256) view returns (address want, uint256 , uint256 , uint256 , uint256 , uint256 , uint256 , uint256 amount, uint256 , address strat, address )',
13-
}
14-
})
4+
module.exports = mergeExports([
5+
yieldHelper({
6+
project: 'cells-finance',
7+
chain: 'bsc',
8+
masterchef: '0xAcb845A2a46F6De8cbAe8eA234b632a99ef93D31',
9+
nativeToken: '0x3022d80e02075F5A2a442A318229487f9Ea66D82',
10+
abis: {
11+
poolInfo: 'function poolInfo(uint256) view returns (address want, uint256 , uint256 , uint256 , uint256 , uint256 , uint256 , uint256 amount, uint256 , address strat, address )',
12+
}
13+
}),
14+
yieldHelper({
15+
project: 'cells-finance',
16+
chain: 'arbitrum',
17+
masterchef: '0xAcb845A2a46F6De8cbAe8eA234b632a99ef93D31',
18+
nativeToken: '0x3022d80e02075f5a2a442a318229487f9ea66d82',
19+
abis: {
20+
poolInfo: 'function poolInfo(uint256) view returns (address want, uint256 , uint256 , uint256 , uint256 , uint256 , uint256 , uint256 amount, uint256 , address strat, address )',
21+
}
22+
}),
23+
])

projects/node-dao/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ module.exports = {
44
ethereum: {
55
tvl: async (_, _1, _2, { api }) => {
66
const owner = '0x8103151E2377e78C04a3d2564e20542680ed3096'
7-
const nfts = await api.call({ target: '0x58553f5c5a6aee89eabfd42c231a18ab0872700d', abi: 'erc20:balanceOf', params: owner })
8-
api.add(nullAddress, nfts * 32 * 1e18)
9-
return sumTokens2({ api, owner, tokens: [nullAddress]})
7+
const totalEth = await api.call({ abi: 'uint256:getTotalEthValue', target: owner })
8+
api.add(nullAddress,totalEth)
109
}
1110
},
1211
filecoin: {

projects/symbiosis-finance/config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,5 +136,14 @@ module.exports = {
136136
'0x292fC50e4eB66C3f6514b9E402dBc25961824D62', // portal v2
137137
]
138138
},
139+
{
140+
name: 'arbitrum_nova',
141+
tokens: [
142+
ADDRESSES.arbitrum_nova.USDC,
143+
],
144+
holders: [
145+
'0x292fC50e4eB66C3f6514b9E402dBc25961824D62', // portal v2
146+
]
147+
},
139148
]
140149
}

projects/wombat-exchange/config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ module.exports = {
4040
bob: "0x917caF2b4D6040a9D67A5F8CEfC4F89d1b214c1A",
4141
mim: "0x29eeB257a2A6eCDE2984aCeDF80A1B687f18eC91",
4242
jUSDC: "0xc7a6bA5F28993BaDb566007bD2E0CB253c431974",
43+
ankrETH: "0xB9bdfE449Da096256Fe7954Ef61A18eE195Db77B",
4344
},
4445
},
4546
hallmarks: [

0 commit comments

Comments
 (0)