Documentation ¶
Index ¶
- Constants
- func GetAspectPropertyHostInstance(ctx context.Context) (asptypes.AspectPropertyHostAPI, error)
- func GetAspectRuntimeContextHostInstance(ctx context.Context) (asptypes.RuntimeContextHostAPI, error)
- func GetAspectStateHostInstance(ctx context.Context) (asptypes.AspectStateHostAPI, error)
- func GetAspectTraceHostInstance(ctx context.Context) (artelatypes.AspectTraceHostAPI, error)
- func GetAspectTransientStorageHostInstance(ctx context.Context) (asptypes.AspectTransientStorageHostAPI, error)
- func GetEvmHostInstance(ctx context.Context) (asptypes.EVMHostAPI, error)
- func GetStateDBHostInstance(ctx context.Context) (artelatypes.StateDBHostAPI, error)
- func InitAspectGlobals(keeper EVMKeeper)
- type EVMKeeper
Constants ¶
View Source
const AccountBalanceMagic = ".balance"
Variables ¶
This section is empty.
Functions ¶
func GetAspectPropertyHostInstance ¶
func GetAspectPropertyHostInstance(ctx context.Context) (asptypes.AspectPropertyHostAPI, error)
func GetAspectRuntimeContextHostInstance ¶
func GetAspectRuntimeContextHostInstance(ctx context.Context) (asptypes.RuntimeContextHostAPI, error)
func GetAspectStateHostInstance ¶
func GetAspectStateHostInstance(ctx context.Context) (asptypes.AspectStateHostAPI, error)
func GetAspectTraceHostInstance ¶
func GetAspectTraceHostInstance(ctx context.Context) (artelatypes.AspectTraceHostAPI, error)
func GetAspectTransientStorageHostInstance ¶
func GetAspectTransientStorageHostInstance(ctx context.Context) (asptypes.AspectTransientStorageHostAPI, error)
func GetEvmHostInstance ¶
func GetEvmHostInstance(ctx context.Context) (asptypes.EVMHostAPI, error)
func GetStateDBHostInstance ¶
func GetStateDBHostInstance(ctx context.Context) (artelatypes.StateDBHostAPI, error)
func InitAspectGlobals ¶
func InitAspectGlobals(keeper EVMKeeper)
Types ¶
type EVMKeeper ¶
type EVMKeeper interface { NewEVM( ctx cosmos.Context, msg *core.Message, cfg *states.EVMConfig, tracer vm.EVMLogger, stateDB vm.StateDB, ) *vm.EVM EVMConfig(ctx cosmos.Context, proposerAddress cosmos.ConsAddress, chainID *big.Int) (*states.EVMConfig, error) ChainID() *big.Int GetAccount(ctx cosmos.Context, addr common.Address) *states.StateAccount GetState(ctx cosmos.Context, addr common.Address, key common.Hash) common.Hash GetCode(ctx cosmos.Context, codeHash common.Hash) []byte ForEachStorage(ctx cosmos.Context, addr common.Address, cb func(key, value common.Hash) bool) SetAccount(ctx cosmos.Context, addr common.Address, account states.StateAccount) error SetState(ctx cosmos.Context, addr common.Address, key common.Hash, value []byte) SetCode(ctx cosmos.Context, codeHash []byte, code []byte) DeleteAccount(ctx cosmos.Context, addr common.Address) error }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.