Small changes

This commit is contained in:
arman37 2020-06-23 04:16:07 +06:00
parent 280eb66abf
commit eb92da19d6
1 changed files with 4 additions and 6 deletions

View File

@ -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,
};