jennijuju / ATS041AionFungibleTokenReferenceImplementation

[Under Development] ATS Token Contract - Java Implementation
3 stars 5 forks source link

BIGINTEGER_LENGTH not needed #15

Open fulldecent opened 5 years ago

fulldecent commented 5 years ago

It should not be necessary to set a fixed length. I believe this is left over from the Solidity version of the ATS standard.

jennijuju commented 5 years ago
  1. AionBuffer.put32 is for BigInteger that has a size of 32 bytes.
  2. 32 bytes is used for easier decoding for events.
fulldecent commented 5 years ago

Could you please explain more and provide references? In AIP-041 we only have BigIntegers everywhere.