Versions in this module Expand all Collapse all v0 v0.0.38 May 15, 2024 Changes in this version + const BaseDenom + const CoinbaseNonce + const CoinbaseSeedAddress + var ErrorPointerToPointerNotAllowed = sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "cannot create a pointer to a pointer") + var MaxUint64BigInt = new(big.Int).SetUint64(math.MaxUint64) + func ConvertEthLog(l *ethtypes.Log) *types.Log + func GetCoinbaseAddress() common.Address + func GetLogsForTx(receipt *types.Receipt) []*ethtypes.Log + func IsPayablePrecompile(addr *common.Address) bool + func NewMsgServerImpl(keeper *Keeper) types.MsgServer + type AddressNoncePair struct + Address common.Address + Nonce uint64 + type EVMCallFunc func(caller vm.ContractRef, addr *common.Address, input []byte, gas uint64, ...) (ret []byte, leftOverGas uint64, err error) + type EvmTxDeferredInfo struct + Error string + Surplus sdk.Int + TxBloom ethtypes.Bloom + TxHash common.Hash + TxIndx int + type Keeper struct + BlockTest *tests.BlockTest + DB ethstate.Database + EthBlockTestConfig blocktest.Config + EthClient *ethclient.Client + EthReplayConfig replay.Config + Paramstore paramtypes.Subspace + QueryConfig *querier.Config + ReplayBlock *ethtypes.Block + Root common.Hash + Trie ethstate.Trie + func NewKeeper(storeKey sdk.StoreKey, memStoreKey sdk.StoreKey, ...) *Keeper + func (k *Keeper) AccountKeeper() *authkeeper.AccountKeeper + func (k *Keeper) AddAnteSurplus(ctx sdk.Context, txHash common.Hash, surplus sdk.Int) error + func (k *Keeper) AddPendingNonce(key tmtypes.TxKey, addr common.Address, nonce uint64, priority int64) + func (k *Keeper) AppendErrorToEvmTxDeferredInfo(ctx sdk.Context, txHash common.Hash, err string) + func (k *Keeper) AppendToEvmTxDeferredInfo(ctx sdk.Context, bloom ethtypes.Bloom, txHash common.Hash, surplus sdk.Int) + func (k *Keeper) BankKeeper() bankkeeper.Keeper + func (k *Keeper) CalculateNextNonce(ctx sdk.Context, addr common.Address, includePending bool) uint64 + func (k *Keeper) CallEVM(ctx sdk.Context, from common.Address, to *common.Address, val *sdk.Int, ...) (retdata []byte, reterr error) + func (k *Keeper) ChainID(ctx sdk.Context) *big.Int + func (k *Keeper) ClearEVMTxDeferredInfo() + func (k *Keeper) DeleteAddressMapping(ctx sdk.Context, seiAddress sdk.AccAddress, evmAddress common.Address) + func (k *Keeper) DeleteAllAnteSurplus(ctx sdk.Context) + func (k *Keeper) DeleteERC20CW20Pointer(ctx sdk.Context, cw20Address string, version uint16) + func (k *Keeper) DeleteERC20NativePointer(ctx sdk.Context, token string, version uint16) + func (k *Keeper) DeleteERC721CW721Pointer(ctx sdk.Context, cw721Address string, version uint16) + func (k *Keeper) GetAnteSurplusSum(ctx sdk.Context) sdk.Int + func (k *Keeper) GetBaseDenom(ctx sdk.Context) string + func (k *Keeper) GetBaseFee(ctx sdk.Context) *big.Int + func (k *Keeper) GetBaseFeePerGas(ctx sdk.Context) sdk.Dec + func (k *Keeper) GetBlockBloom(ctx sdk.Context, height int64) (res ethtypes.Bloom) + func (k *Keeper) GetCW20ERC20Pointer(ctx sdk.Context, erc20Address common.Address) (addr sdk.AccAddress, version uint16, exists bool) + func (k *Keeper) GetCW721ERC721Pointer(ctx sdk.Context, erc721Address common.Address) (addr sdk.AccAddress, version uint16, exists bool) + func (k *Keeper) GetCode(ctx sdk.Context, addr common.Address) []byte + func (k *Keeper) GetCodeHash(ctx sdk.Context, addr common.Address) common.Hash + func (k *Keeper) GetCodeSize(ctx sdk.Context, addr common.Address) int + func (k *Keeper) GetERC20CW20Pointer(ctx sdk.Context, cw20Address string) (addr common.Address, version uint16, exists bool) + func (k *Keeper) GetERC20NativePointer(ctx sdk.Context, token string) (addr common.Address, version uint16, exists bool) + func (k *Keeper) GetERC721CW721Pointer(ctx sdk.Context, cw721Address string) (addr common.Address, version uint16, exists bool) + func (k *Keeper) GetEVMAddress(ctx sdk.Context, seiAddress sdk.AccAddress) (common.Address, bool) + func (k *Keeper) GetEVMAddressOrDefault(ctx sdk.Context, seiAddress sdk.AccAddress) common.Address + func (k *Keeper) GetEVMMessage(ctx sdk.Context, tx *ethtypes.Transaction, sender common.Address) *core.Message + func (k *Keeper) GetEVMTxDeferredInfo(ctx sdk.Context) (res []EvmTxDeferredInfo) + func (k *Keeper) GetFeeCollectorAddress(ctx sdk.Context) (common.Address, error) + func (k *Keeper) GetGasPool() core.GasPool + func (k *Keeper) GetHashFn(ctx sdk.Context) vm.GetHashFunc + func (k *Keeper) GetKeysToNonces() map[tmtypes.TxKey]*AddressNoncePair + func (k *Keeper) GetMinimumFeePerGas(ctx sdk.Context) sdk.Dec + func (k *Keeper) GetNonce(ctx sdk.Context, addr common.Address) uint64 + func (k *Keeper) GetParams(ctx sdk.Context) types.Params + func (k *Keeper) GetPendingTxs() map[string][]*PendingTx + func (k *Keeper) GetPointerInfo(ctx sdk.Context, pref []byte) (addr []byte, version uint16, exists bool) + func (k *Keeper) GetPriorityNormalizer(ctx sdk.Context) sdk.Dec + func (k *Keeper) GetReceipt(ctx sdk.Context, txHash common.Hash) (*types.Receipt, error) + func (k *Keeper) GetReplayInitialHeight(ctx sdk.Context) int64 + func (k *Keeper) GetReplayedHeight(ctx sdk.Context) int64 + func (k *Keeper) GetSeiAddress(ctx sdk.Context, evmAddress common.Address) (sdk.AccAddress, bool) + func (k *Keeper) GetSeiAddressOrDefault(ctx sdk.Context, evmAddress common.Address) sdk.AccAddress + func (k *Keeper) GetState(ctx sdk.Context, addr common.Address, hash common.Hash) common.Hash + func (k *Keeper) GetStoreKey() sdk.StoreKey + func (k *Keeper) GetStoredPointerCodeID(ctx sdk.Context, pointerType types.PointerType) uint64 + func (k *Keeper) GetTxHashesOnHeight(ctx sdk.Context, height int64) (res []common.Hash) + func (k *Keeper) GetVMBlockContext(ctx sdk.Context, gp core.GasPool) (*vm.BlockContext, error) + func (k *Keeper) HandleInternalEVMCall(ctx sdk.Context, req *types.MsgInternalEVMCall) (*sdk.Result, error) + func (k *Keeper) HandleInternalEVMDelegateCall(ctx sdk.Context, req *types.MsgInternalEVMDelegateCall) (*sdk.Result, error) + func (k *Keeper) InitGenesis(ctx sdk.Context, genState types.GenesisState) + func (k *Keeper) IterateAll(ctx sdk.Context, pref []byte, cb func(key, val []byte) bool) + func (k *Keeper) IterateAllCode(ctx sdk.Context, cb func(addr common.Address, code []byte) bool) + func (k *Keeper) IterateAllNonces(ctx sdk.Context, cb func(addr common.Address, nonce uint64) bool) + func (k *Keeper) IterateSeiAddressMapping(ctx sdk.Context, cb func(evmAddr common.Address, seiAddr sdk.AccAddress) bool) + func (k *Keeper) IterateState(ctx sdk.Context, ...) + func (k *Keeper) OpenEthDatabase() *ethtypes.Header + func (k *Keeper) PrefixStore(ctx sdk.Context, pref []byte) sdk.KVStore + func (k *Keeper) PrepareReplayedAddr(ctx sdk.Context, addr common.Address) + func (k *Keeper) PurgePrefix(ctx sdk.Context, pref []byte) + func (k *Keeper) RemovePendingNonce(key tmtypes.TxKey) + func (k *Keeper) SetAddressMapping(ctx sdk.Context, seiAddress sdk.AccAddress, evmAddress common.Address) + func (k *Keeper) SetBlockBloom(ctx sdk.Context, height int64, blooms []ethtypes.Bloom) + func (k *Keeper) SetCW20ERC20Pointer(ctx sdk.Context, erc20Address common.Address, addr string) error + func (k *Keeper) SetCW721ERC721Pointer(ctx sdk.Context, erc721Address common.Address, addr string) error + func (k *Keeper) SetCode(ctx sdk.Context, addr common.Address, code []byte) + func (k *Keeper) SetERC20CW20Pointer(ctx sdk.Context, cw20Address string, addr common.Address) error + func (k *Keeper) SetERC20CW20PointerWithVersion(ctx sdk.Context, cw20Address string, addr common.Address, version uint16) error + func (k *Keeper) SetERC20NativePointer(ctx sdk.Context, token string, addr common.Address) error + func (k *Keeper) SetERC20NativePointerWithVersion(ctx sdk.Context, token string, addr common.Address, version uint16) error + func (k *Keeper) SetERC721CW721Pointer(ctx sdk.Context, cw721Address string, addr common.Address) error + func (k *Keeper) SetERC721CW721PointerWithVersion(ctx sdk.Context, cw721Address string, addr common.Address, version uint16) error + func (k *Keeper) SetNonce(ctx sdk.Context, addr common.Address, nonce uint64) + func (k *Keeper) SetReceipt(ctx sdk.Context, txHash common.Hash, receipt *types.Receipt) error + func (k *Keeper) SetReplayInitialHeight(ctx sdk.Context, h int64) + func (k *Keeper) SetReplayedHeight(ctx sdk.Context) + func (k *Keeper) SetState(ctx sdk.Context, addr common.Address, key common.Hash, val common.Hash) + func (k *Keeper) SetTxHashesOnHeight(ctx sdk.Context, height int64, hashes []common.Hash) + func (k *Keeper) SetTxResults(txResults []*abci.ExecTxResult) + func (k *Keeper) StaticCallEVM(ctx sdk.Context, from sdk.AccAddress, to *common.Address, data []byte) ([]byte, error) + func (k *Keeper) VerifyAccount(ctx sdk.Context, addr common.Address, accountData core.GenesisAccount) + func (k *Keeper) VerifyBalance(ctx sdk.Context, addr common.Address) + func (k *Keeper) VerifyState(ctx sdk.Context, addr common.Address) + func (k *Keeper) VerifyTxResult(ctx sdk.Context, hash common.Hash) + func (k *Keeper) WasmKeeper() *wasmkeeper.PermissionedKeeper + func (k Keeper) SetParams(ctx sdk.Context, params types.Params) + type PendingTx struct + Key tmtypes.TxKey + Nonce uint64 + Priority int64 + type Querier struct + func NewQuerier(k *Keeper) Querier + func (q Querier) EVMAddressBySeiAddress(c context.Context, req *types.QueryEVMAddressBySeiAddressRequest) (*types.QueryEVMAddressBySeiAddressResponse, error) + func (q Querier) Pointer(c context.Context, req *types.QueryPointerRequest) (*types.QueryPointerResponse, error) + func (q Querier) PointerVersion(c context.Context, req *types.QueryPointerVersionRequest) (*types.QueryPointerVersionResponse, error) + func (q Querier) SeiAddressByEVMAddress(c context.Context, req *types.QuerySeiAddressByEVMAddressRequest) (*types.QuerySeiAddressByEVMAddressResponse, error) + func (q Querier) StaticCall(c context.Context, req *types.QueryStaticCallRequest) (*types.QueryStaticCallResponse, error) + type ReplayChainContext struct + func (ctx *ReplayChainContext) Engine() consensus.Engine + func (ctx *ReplayChainContext) GetHeader(hash common.Hash, number uint64) *ethtypes.Header