update js lib, add method for fiat list
This commit is contained in:
parent
fa4363c2fc
commit
5312ffd5f6
File diff suppressed because one or more lines are too long
@ -519,6 +519,14 @@ function tokenList(funId) {
|
|||||||
function tokenPrice(funId, tokenName, amount) {
|
function tokenPrice(funId, tokenName, amount) {
|
||||||
promiseCb(funId, jc.wallet.calcTokenPrice(tokenName, amount));
|
promiseCb(funId, jc.wallet.calcTokenPrice(tokenName, amount));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* fiat list
|
||||||
|
*/
|
||||||
|
function fiatList(funId) {
|
||||||
|
promiseCb(funId, jc.wallet.paySvr.fetchFiatList());
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* format price
|
* format price
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user