Documentation ¶
Index ¶
- Variables
- func RootCommand() *cobra.Command
- type ReaderWrapper4
- func (rw *ReaderWrapper4) ReadAccountCode(address libcommon.Address, incarnation uint64, codeHash libcommon.Hash) ([]byte, error)
- func (rw *ReaderWrapper4) ReadAccountCodeSize(address libcommon.Address, incarnation uint64, codeHash libcommon.Hash) (int, error)
- func (rw *ReaderWrapper4) ReadAccountData(address libcommon.Address) (*accounts.Account, error)
- func (rw *ReaderWrapper4) ReadAccountIncarnation(address libcommon.Address) (uint64, error)
- func (rw *ReaderWrapper4) ReadAccountStorage(address libcommon.Address, incarnation uint64, key *libcommon.Hash) ([]byte, error)
- func (rw *ReaderWrapper4) SetTx(roTx kv.Tx, ctx *libstate.AggregatorContext)
- type WriterWrapper4
- func (ww *WriterWrapper4) CreateContract(address libcommon.Address) error
- func (ww *WriterWrapper4) DeleteAccount(address libcommon.Address, original *accounts.Account) error
- func (ww *WriterWrapper4) UpdateAccountCode(address libcommon.Address, incarnation uint64, codeHash libcommon.Hash, ...) error
- func (ww *WriterWrapper4) UpdateAccountData(address libcommon.Address, original, account *accounts.Account) error
- func (ww *WriterWrapper4) WriteAccountStorage(address libcommon.Address, incarnation uint64, key *libcommon.Hash, ...) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( HeimdallgRPCAddress string HeimdallURL string )
Functions ¶
func RootCommand ¶
Types ¶
type ReaderWrapper4 ¶
type ReaderWrapper4 struct {
// contains filtered or unexported fields
}
Implements StateReader and StateWriter
func (*ReaderWrapper4) ReadAccountCode ¶
func (*ReaderWrapper4) ReadAccountCodeSize ¶
func (*ReaderWrapper4) ReadAccountData ¶
func (*ReaderWrapper4) ReadAccountIncarnation ¶
func (rw *ReaderWrapper4) ReadAccountIncarnation(address libcommon.Address) (uint64, error)
func (*ReaderWrapper4) ReadAccountStorage ¶
func (*ReaderWrapper4) SetTx ¶
func (rw *ReaderWrapper4) SetTx(roTx kv.Tx, ctx *libstate.AggregatorContext)
type WriterWrapper4 ¶
type WriterWrapper4 struct {
// contains filtered or unexported fields
}
func (*WriterWrapper4) CreateContract ¶
func (ww *WriterWrapper4) CreateContract(address libcommon.Address) error
func (*WriterWrapper4) DeleteAccount ¶
func (*WriterWrapper4) UpdateAccountCode ¶
func (*WriterWrapper4) UpdateAccountData ¶
Click to show internal directories.
Click to hide internal directories.