ethabi icon indicating copy to clipboard operation
ethabi copied to clipboard

Implement signed fixed point decimal numbers

Open ascjones opened this issue 7 years ago • 0 comments

See https://solidity.readthedocs.io/en/develop/abi-spec.html#types

Ran across this as part of https://github.com/paritytech/parity/issues/7162. The casper contract is written in vyper and uses the decimal type. In the abi generated by the vyper compiler it is aliased as decimal10.

However there is an ongoing discussion going on to instead use a fixed<M>x<N> type instead (specifically fixed168x10).

PR in eth-abi (python)

ascjones avatar Apr 24 '18 16:04 ascjones