Versions in this module Expand all Collapse all v0 v0.0.38 May 15, 2024 Changes in this version + const AddCW20Pointer + const AddCW721Pointer + const AddNativePointer + const PointerAddress + const PrecompileName + type Precompile struct + AddCW20PointerID []byte + AddCW721PointerID []byte + AddNativePointerID []byte + func NewPrecompile(evmKeeper pcommon.EVMKeeper, bankKeeper pcommon.BankKeeper, ...) (*Precompile, error) + func (p Precompile) AddCW20(ctx sdk.Context, method *ethabi.Method, caller common.Address, ...) (ret []byte, remainingGas uint64, err error) + func (p Precompile) AddCW721(ctx sdk.Context, method *ethabi.Method, caller common.Address, ...) (ret []byte, remainingGas uint64, err error) + func (p Precompile) AddNative(ctx sdk.Context, method *ethabi.Method, caller common.Address, ...) (ret []byte, remainingGas uint64, err error) + func (p Precompile) Address() common.Address + func (p Precompile) GetName() string + func (p Precompile) RequiredGas(input []byte) uint64 + func (p Precompile) Run(*vm.EVM, common.Address, common.Address, []byte, *big.Int, bool) ([]byte, error) + func (p Precompile) RunAndCalculateGas(evm *vm.EVM, caller common.Address, callingContract common.Address, ...) (ret []byte, remainingGas uint64, err error)