pub type RevmAccountInfo = AccountInfo;
Aliased Type§
struct RevmAccountInfo {
pub balance: Uint<256, 4>,
pub nonce: u64,
pub code_hash: FixedBytes<32>,
pub code: Option<Bytecode>,
}
Fields§
§balance: Uint<256, 4>
Account balance.
nonce: u64
Account nonce.
code_hash: FixedBytes<32>
Hash of the raw bytes in code
, or [KECCAK_EMPTY
].
code: Option<Bytecode>
[Bytecode
] data associated with this account.
If [None
], code_hash
will be used to fetch it from the database, if code needs to be
loaded from inside revm
.
By default, this is Some(Bytecode::default())
.