struct

Pampero::Account

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(version : UInt256 | Nil = nil, balance : UInt256 | Nil = nil, nonce : UInt256 | Nil = nil, code_hash : Bytes32 | Nil = nil, code_size : UInt256 | Nil = nil, storage_root : Bytes32 | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

balance
Source
balance=(balance : UInt256 | Nil)
Source
code_hash
Source
code_hash=(code_hash : Bytes32 | Nil)
Source
code_size
Source
code_size=(code_size : UInt256 | Nil)
Source
contract?
Source
nonce
Source
nonce=(nonce : UInt256 | Nil)
Source
storage_root
Source
storage_root=(storage_root : Bytes32 | Nil)
Source
version
Source
version=(version : UInt256 | Nil)
Source