Versions in this module Expand all Collapse all v0 v0.2.1 Oct 13, 2023 Changes in this version + func SetBalance(id types.UnitID, value *big.Int) state.Action v0.2.0 Sep 27, 2023 Changes in this version + func CreateAccountAndAddCredit(addr common.Address, owner state.Predicate, balance *big.Int, timeout uint64, ...) state.Action + func UpdateEthAccountAddCredit(id types.UnitID, value *big.Int, timeout uint64, transactionRecordHash []byte) state.Action + type Account struct + Balance *big.Int + Code []byte + CodeHash []byte + Nonce uint64 + func (a *Account) Copy() *Account + func (a *Account) Write(hasher hash.Hash) + type AlphaBillLink struct + Timeout uint64 + TxHash []byte + func (f *AlphaBillLink) Copy() *AlphaBillLink + func (f *AlphaBillLink) GetTimeout() uint64 + func (f *AlphaBillLink) SummaryValueInput() uint64 + func (f *AlphaBillLink) Write(hasher hash.Hash) + type LogEntry struct + Address common.Address + Data []byte + Topics []common.Hash + type StateDB struct + func NewStateDB(tree *state.State) *StateDB + func (s *StateDB) AddAddressToAccessList(addr common.Address) + func (s *StateDB) AddBalance(address common.Address, amount *big.Int) + func (s *StateDB) AddLog(log *ethtypes.Log) + func (s *StateDB) AddPreimage(_ common.Hash, _ []byte) + func (s *StateDB) AddRefund(gas uint64) + func (s *StateDB) AddSlotToAccessList(addr common.Address, slot common.Hash) + func (s *StateDB) AddressInAccessList(addr common.Address) bool + func (s *StateDB) CreateAccount(address common.Address) + func (s *StateDB) DBError() error + func (s *StateDB) Empty(address common.Address) bool + func (s *StateDB) Exist(address common.Address) bool + func (s *StateDB) Finalize() error + func (s *StateDB) ForEachStorage(address common.Address, f func(common.Hash, common.Hash) bool) error + func (s *StateDB) GetAlphaBillData(address common.Address) *AlphaBillLink + func (s *StateDB) GetBalance(address common.Address) *big.Int + func (s *StateDB) GetCode(address common.Address) []byte + func (s *StateDB) GetCodeHash(address common.Address) common.Hash + func (s *StateDB) GetCodeSize(address common.Address) int + func (s *StateDB) GetCommittedState(address common.Address, key common.Hash) common.Hash + func (s *StateDB) GetLogs() []*LogEntry + func (s *StateDB) GetNonce(address common.Address) uint64 + func (s *StateDB) GetRefund() uint64 + func (s *StateDB) GetState(address common.Address, key common.Hash) common.Hash + func (s *StateDB) GetTransientState(addr common.Address, key common.Hash) common.Hash + func (s *StateDB) GetUpdatedUnits() []types.UnitID + func (s *StateDB) HasSelfDestructed(address common.Address) bool + func (s *StateDB) Prepare(rules params.Rules, sender, coinbase common.Address, dest *common.Address, ...) + func (s *StateDB) RevertToSnapshot(i int) + func (s *StateDB) SelfDestruct(address common.Address) + func (s *StateDB) Selfdestruct6780(address common.Address) + func (s *StateDB) SetAlphaBillData(address common.Address, fee *AlphaBillLink) + func (s *StateDB) SetCode(address common.Address, code []byte) + func (s *StateDB) SetNonce(address common.Address, nonce uint64) + func (s *StateDB) SetState(address common.Address, key common.Hash, value common.Hash) + func (s *StateDB) SetTransientState(addr common.Address, key, value common.Hash) + func (s *StateDB) SlotInAccessList(addr common.Address, slot common.Hash) (addressPresent bool, slotPresent bool) + func (s *StateDB) Snapshot() int + func (s *StateDB) SubBalance(address common.Address, amount *big.Int) + func (s *StateDB) SubRefund(gas uint64) + type StateObject struct + Account *Account + Address common.Address + AlphaBill *AlphaBillLink + Storage state.Storage + func (s *StateObject) Copy() abstate.UnitData + func (s *StateObject) SummaryValueInput() uint64 + func (s *StateObject) Write(hasher hash.Hash)