The legacy neon-js code can't deal with smart contracts that return an Integer response to a totalSupply invocation.
The existing interface code looks like:
Most contracts return a Fixed8 ByteArray for the totalSupply (the last field in the structure above) but at least one Flamingo pair (probably all of them) returns an Integer. Example for FLP-nNEO-fUSDT:
The legacy neon-js code can't deal with smart contracts that return an Integer response to a
totalSupply
invocation. The existing interface code looks like:Most contracts return a Fixed8 ByteArray for the totalSupply (the last field in the structure above) but at least one Flamingo pair (probably all of them) returns an Integer. Example for
FLP-nNEO-fUSDT
: