tuweni / org.apache.tuweni.eth / AccountState / <init>

<init>

AccountState(nonce: UInt256!, balance: Wei!, storageRoot: Hash!, codeHash: Hash!)

Default constructor for account state without a version.

Parameters

nonce - UInt256!: the nonce of the account.

balance - Wei!: the balance of the account.

storageRoot - Hash!: the root hash of the storage.

codeHash - Hash!: hash of the code of the account.

AccountState(nonce: UInt256!, balance: Wei!, storageRoot: Hash!, codeHash: Hash!, version: Int)

Default constructor for account state.

Parameters

nonce - UInt256!: the nonce of the account.

balance - Wei!: the balance of the account.

storageRoot - Hash!: the root hash of the storage.

codeHash - Hash!: hash of the code of the account.

version - Int: the version of the account state.