Documentation ¶
Index ¶
Constants ¶
View Source
const ( RouteKey = "vm" ModuleName = "vm" StoreKey = "vm" DefaultCodespace = "vm" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeeperI ¶
type KeeperI interface { BeginBlock(ctx sdk.Context, req abci.RequestBeginBlock) EndBlock(ctx sdk.Context, req abci.RequestEndBlock) []abci.ValidatorUpdate Upload(ctx sdk.Context, wasmCode []byte, creator sdk.AccAddress) (codeHash []byte, err error) Instantiate(ctx sdk.Context, codeHash []byte, invoker sdk.AccAddress, args utils.WasmInput, name, version, author, email, describe string, genesisContractAddress sdk.AccAddress, gasWanted uint64) (sdk.AccAddress, error) Execute(ctx sdk.Context, contractAddress sdk.AccAddress, invoker sdk.AccAddress, args utils.WasmInput, gasWanted uint64) (sdk.Result, error) SetBalance(ctx sdk.Context, addr ethcmn.Address, amount *big.Int) AddBalance(ctx sdk.Context, addr ethcmn.Address, amount *big.Int) SubBalance(ctx sdk.Context, addr ethcmn.Address, amount *big.Int) SetNonce(ctx sdk.Context, addr ethcmn.Address, nonce uint64) SetState(ctx sdk.Context, addr ethcmn.Address, key, value ethcmn.Hash) SetCode(ctx sdk.Context, addr ethcmn.Address, code []byte) SetLogs(ctx sdk.Context, hash ethcmn.Hash, logs []*ethtypes.Log) error Finalise(ctx sdk.Context, deleteEmptyObjects bool) error Commit(ctx sdk.Context, deleteEmptyObjects bool) (root ethcmn.Hash, err error) SetChainConfig(ctx sdk.Context, config evmtypes.ChainConfig) SetParams(ctx sdk.Context, params evmtypes.Params) }
go to ../keeper/keeper.go
Click to show internal directories.
Click to hide internal directories.