contracts icon indicating copy to clipboard operation
contracts copied to clipboard

get ETH to tokens rate instead of tokens to ETH

Open i-stam opened this issue 7 years ago • 1 comments

COOL! Reverse query and batch https://min-api.cryptocompare.com/data/price?fsym=ETH&tsyms=TKN,EOS&sign=true

https://github.com/tokencard/contracts/blob/master/contracts/oracle.sol#L332

i-stam avatar Oct 04 '18 14:10 i-stam

I think that means a lot more math/logic to convert them since we need the Ether rate in the convert() function

nostdm avatar Oct 04 '18 15:10 nostdm