neo-go/pkg/core/state
Roman Khimov eb1986d2fc state: use big.Int for NEP5 balances and transfer amounts
In general, NEP5 contracts are not limited to int64. And we have an example
of pnWETH Flamingo token now (with 18 decimals) that easily overflows int64,
so for correctness we need to store big.Int.

And as TransferLog is shared for different purposes I've decided to not make
it variable-length on Neo 2.
2021-02-18 17:28:19 +03:00
..
account.go core/state: do not unmarshal Unclaimed balances in account 2020-03-16 12:19:32 +03:00
account_test.go testserdes: implement helpers for encode/decode routines 2020-03-27 10:27:46 +03:00
asset.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
asset_test.go testserdes: implement helpers for encode/decode routines 2020-03-27 10:27:46 +03:00
coin.go core: renames entities-> state and removed State prefix 2019-12-11 13:14:18 +03:00
contract.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
contract_test.go testserdes: implement helpers for encode/decode routines 2020-03-27 10:27:46 +03:00
mpt_root.go state: implement JSON marshaling for MPT* items 2020-06-03 18:09:28 +03:00
mpt_root_test.go state: implement JSON marshaling for MPT* items 2020-06-03 18:09:28 +03:00
nep5.go state: use big.Int for NEP5 balances and transfer amounts 2021-02-18 17:28:19 +03:00
nep5_test.go state: use big.Int for NEP5 balances and transfer amounts 2021-02-18 17:28:19 +03:00
notification_event.go core: marshal AppExecResult.Stack as an array 2020-03-23 16:27:47 +03:00
notification_event_test.go testserdes: implement helpers for encode/decode routines 2020-03-27 10:27:46 +03:00
storage_item.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
storage_item_test.go testserdes: implement helpers for encode/decode routines 2020-03-27 10:27:46 +03:00
transfer_log.go rpc: adjust getutxotransfers RPC 2020-08-07 18:12:40 +03:00
unclaimed.go core/state: do not unmarshal Unclaimed balances in account 2020-03-16 12:19:32 +03:00
unclaimed_test.go random: make use or random package in tests 2020-03-27 10:27:46 +03:00
unspent_coin.go rpc: fix gettxout result for already spent outputs 2020-12-31 13:54:42 +03:00
unspent_coin_test.go rpc: fix gettxout result for already spent outputs 2020-12-31 13:54:42 +03:00
validator.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
validator_test.go testserdes: implement helpers for encode/decode routines 2020-03-27 10:27:46 +03:00