Small changes
This commit is contained in:
parent
160ef550c5
commit
aa3faba469
|
@ -2,15 +2,13 @@
|
|||
Modules
|
||||
==================================================*/
|
||||
|
||||
const sdk = require('../../sdk');
|
||||
const _ = require('underscore');
|
||||
const BigNumber = require('bignumber.js');
|
||||
const sdk = require('../../sdk');
|
||||
|
||||
/*==================================================
|
||||
Settings
|
||||
==================================================*/
|
||||
|
||||
// currently only works on v2, recent time frame (post MCD transition)
|
||||
const addressV2 = '0x498b3BfaBE9F73db90D252bCD4Fa9548Cd0Fd981';
|
||||
const dsaIndexAddress = '0x2971AdFa57b20E5a416aE5a708A8655A9c74f723';
|
||||
|
||||
|
@ -40,14 +38,12 @@
|
|||
});
|
||||
|
||||
|
||||
let allWallets = smartWallets.concat(dsaWallets)
|
||||
let allWallets = smartWallets.concat(dsaWallets);
|
||||
|
||||
let balances = (await sdk.api.cdp.getAssetsLocked({
|
||||
return (await sdk.api.cdp.getAssetsLocked({
|
||||
block,
|
||||
targets: allWallets
|
||||
})).output;
|
||||
|
||||
return balances;
|
||||
}
|
||||
|
||||
/*==================================================
|
||||
|
@ -60,5 +56,5 @@
|
|||
category: 'lending',
|
||||
contributesTo: ['Maker', 'Compound'],
|
||||
start: 1543622400, // 12/01/2018 @ 12:00am (UTC)
|
||||
tvl
|
||||
}
|
||||
tvl,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue