Documentation
¶
Index ¶
- type StateDB
- func (_m *StateDB) AccessEvents() *state.AccessEvents
- func (_m *StateDB) AddAddressToAccessList(addr common.Address)
- func (_m *StateDB) AddBalance(_a0 common.Address, _a1 *uint256.Int, _a2 tracing.BalanceChangeReason) uint256.Int
- func (_m *StateDB) AddLog(_a0 *types.Log)
- func (_m *StateDB) AddPreimage(_a0 common.Hash, _a1 []byte)
- func (_m *StateDB) AddRefund(_a0 uint64)
- func (_m *StateDB) AddSlotToAccessList(addr common.Address, slot common.Hash)
- func (_m *StateDB) AddressInAccessList(addr common.Address) bool
- func (_m *StateDB) CreateAccount(_a0 common.Address)
- func (_m *StateDB) CreateContract(_a0 common.Address)
- func (_m *StateDB) Empty(_a0 common.Address) bool
- func (_m *StateDB) Exist(_a0 common.Address) bool
- func (_m *StateDB) Finalise(_a0 bool)
- func (_m *StateDB) GetBalance(_a0 common.Address) *uint256.Int
- func (_m *StateDB) GetCode(_a0 common.Address) []byte
- func (_m *StateDB) GetCodeHash(_a0 common.Address) common.Hash
- func (_m *StateDB) GetCodeSize(_a0 common.Address) int
- func (_m *StateDB) GetNonce(_a0 common.Address) uint64
- func (_m *StateDB) GetRefund() uint64
- func (_m *StateDB) GetState(_a0 common.Address, _a1 common.Hash) common.Hash
- func (_m *StateDB) GetStateAndCommittedState(_a0 common.Address, _a1 common.Hash) (common.Hash, common.Hash)
- func (_m *StateDB) GetStorageRoot(addr common.Address) common.Hash
- func (_m *StateDB) GetTransientState(addr common.Address, key common.Hash) common.Hash
- func (_m *StateDB) HasSelfDestructed(_a0 common.Address) bool
- func (_m *StateDB) IsStorageEmpty(addr common.Address) bool
- func (_m *StateDB) PointCache() *utils.PointCache
- func (_m *StateDB) Prepare(rules params.Rules, sender common.Address, coinbase common.Address, ...)
- func (_m *StateDB) RevertToSnapshot(_a0 int)
- func (_m *StateDB) SelfDestruct(_a0 common.Address) uint256.Int
- func (_m *StateDB) SelfDestruct6780(_a0 common.Address) (uint256.Int, bool)
- func (_m *StateDB) SetCode(_a0 common.Address, _a1 []byte) []byte
- func (_m *StateDB) SetNonce(_a0 common.Address, _a1 uint64, _a2 tracing.NonceChangeReason)
- func (_m *StateDB) SetState(_a0 common.Address, _a1 common.Hash, _a2 common.Hash) common.Hash
- func (_m *StateDB) SetTransientState(addr common.Address, key common.Hash, value common.Hash)
- func (_m *StateDB) SlotInAccessList(addr common.Address, slot common.Hash) (bool, bool)
- func (_m *StateDB) Snapshot() int
- func (_m *StateDB) SubBalance(_a0 common.Address, _a1 *uint256.Int, _a2 tracing.BalanceChangeReason) uint256.Int
- func (_m *StateDB) SubRefund(_a0 uint64)
- func (_m *StateDB) Witness() *stateless.Witness
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StateDB ¶
StateDB is an autogenerated mock type for the StateDB type
func NewStateDB ¶
NewStateDB creates a new instance of StateDB. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*StateDB) AccessEvents ¶
func (_m *StateDB) AccessEvents() *state.AccessEvents
AccessEvents provides a mock function with no fields
func (*StateDB) AddAddressToAccessList ¶
AddAddressToAccessList provides a mock function with given fields: addr
func (*StateDB) AddBalance ¶
func (_m *StateDB) AddBalance(_a0 common.Address, _a1 *uint256.Int, _a2 tracing.BalanceChangeReason) uint256.Int
AddBalance provides a mock function with given fields: _a0, _a1, _a2
func (*StateDB) AddPreimage ¶
AddPreimage provides a mock function with given fields: _a0, _a1
func (*StateDB) AddSlotToAccessList ¶
AddSlotToAccessList provides a mock function with given fields: addr, slot
func (*StateDB) AddressInAccessList ¶
AddressInAccessList provides a mock function with given fields: addr
func (*StateDB) CreateAccount ¶
CreateAccount provides a mock function with given fields: _a0
func (*StateDB) CreateContract ¶
CreateContract provides a mock function with given fields: _a0
func (*StateDB) GetBalance ¶
GetBalance provides a mock function with given fields: _a0
func (*StateDB) GetCodeHash ¶
GetCodeHash provides a mock function with given fields: _a0
func (*StateDB) GetCodeSize ¶
GetCodeSize provides a mock function with given fields: _a0
func (*StateDB) GetStateAndCommittedState ¶
func (_m *StateDB) GetStateAndCommittedState(_a0 common.Address, _a1 common.Hash) (common.Hash, common.Hash)
GetStateAndCommittedState provides a mock function with given fields: _a0, _a1
func (*StateDB) GetStorageRoot ¶
GetStorageRoot provides a mock function with given fields: addr
func (*StateDB) GetTransientState ¶
GetTransientState provides a mock function with given fields: addr, key
func (*StateDB) HasSelfDestructed ¶
HasSelfDestructed provides a mock function with given fields: _a0
func (*StateDB) IsStorageEmpty ¶
IsStorageEmpty provides a mock function with given fields: addr
func (*StateDB) PointCache ¶
func (_m *StateDB) PointCache() *utils.PointCache
PointCache provides a mock function with no fields
func (*StateDB) Prepare ¶
func (_m *StateDB) Prepare(rules params.Rules, sender common.Address, coinbase common.Address, dest *common.Address, precompiles []common.Address, txAccesses types.AccessList)
Prepare provides a mock function with given fields: rules, sender, coinbase, dest, precompiles, txAccesses
func (*StateDB) RevertToSnapshot ¶
RevertToSnapshot provides a mock function with given fields: _a0
func (*StateDB) SelfDestruct ¶
SelfDestruct provides a mock function with given fields: _a0
func (*StateDB) SelfDestruct6780 ¶
SelfDestruct6780 provides a mock function with given fields: _a0
func (*StateDB) SetTransientState ¶
SetTransientState provides a mock function with given fields: addr, key, value
func (*StateDB) SlotInAccessList ¶
SlotInAccessList provides a mock function with given fields: addr, slot
func (*StateDB) SubBalance ¶
func (_m *StateDB) SubBalance(_a0 common.Address, _a1 *uint256.Int, _a2 tracing.BalanceChangeReason) uint256.Int
SubBalance provides a mock function with given fields: _a0, _a1, _a2