Small changes
This commit is contained in:
parent
280eb66abf
commit
eb92da19d6
|
@ -2,9 +2,9 @@
|
|||
Modules
|
||||
==================================================*/
|
||||
|
||||
const sdk = require('../../sdk');
|
||||
const abi = require('./abi');
|
||||
|
||||
const sdk = require('../../sdk');
|
||||
|
||||
/*==================================================
|
||||
Settings
|
||||
==================================================*/
|
||||
|
@ -17,7 +17,6 @@
|
|||
==================================================*/
|
||||
|
||||
async function tvl(timestamp, block) {
|
||||
|
||||
const capacity = (await sdk.api.abi.call({
|
||||
target: flexaNetwork,
|
||||
params: stakingAddress,
|
||||
|
@ -26,7 +25,6 @@
|
|||
})).output;
|
||||
|
||||
return {[flexaNetwork]:capacity};
|
||||
|
||||
}
|
||||
|
||||
/*==================================================
|
||||
|
@ -38,5 +36,5 @@
|
|||
token: 'FXC',
|
||||
category: 'payments',
|
||||
start: 1546646400, // 01/05/2019
|
||||
tvl
|
||||
}
|
||||
tvl,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue