Fabcoin Core
0.16.2
P2P Digital Currency
|
Variant type to represent possible types of values used in EVM. More...
#include <evm.h>
Public Attributes | |
int64_t | int64 |
A host-endian 64-bit integer. More... | |
struct evm_uint256be | uint256be |
A big-endian 256-bit integer or hash. More... | |
struct { | |
uint8_t address_padding [12] | |
Additional padding to align the evm_variant::address with lower bytes of a full 256-bit hash. More... | |
struct evm_uint160be address | |
An Ethereum address. More... | |
}; | |
struct { | |
uint8_t const * data | |
Pointer to the data. More... | |
size_t data_size | |
Size of the referenced memory/data. More... | |
}; | |
A memory reference. More... | |
Variant type to represent possible types of values used in EVM.
Type-safety is lost around the code that uses this type. We should have complete set of unit tests covering all possible cases. The size of the type is 64 bytes and should fit in single cache line.
struct { ... } |
struct { ... } |
A memory reference.
struct evm_uint160be evm_variant::address |
uint8_t evm_variant::address_padding[12] |
Additional padding to align the evm_variant::address with lower bytes of a full 256-bit hash.
size_t evm_variant::data_size |
struct evm_uint256be evm_variant::uint256be |