Versions in this module Expand all Collapse all v0 v0.0.2 Dec 18, 2024 Changes in this version + const AccountTypeContract + const AccountTypeEOA + const AttoEvmos + const BaseDenomUnit + const DefaultGasPrice + const ProtocolVersion + const RootCodespace + var BIP44HDPath = ethaccounts.DefaultBaseDerivationPath.String() + var Bip44CoinType uint32 = 60 + var ErrIntOverflowAccount = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowDynamicFee = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowIndexer = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowWeb3 = fmt.Errorf("proto: integer overflow") + var ErrInvalidChainID = errorsmod.Register(RootCodespace, 3, "invalid chain ID") + var ErrInvalidLengthAccount = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthDynamicFee = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthIndexer = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthWeb3 = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupAccount = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupDynamicFee = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupIndexer = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupWeb3 = fmt.Errorf("proto: unexpected end of group") + var PowerReduction = sdkmath.NewIntFromBigInt(new(big.Int).Exp(big.NewInt(10), big.NewInt(BaseDenomUnit), nil)) + func BlockGasLimit(ctx sdk.Context) uint64 + func HasDynamicFeeExtensionOption(any *codectypes.Any) bool + func IsEmptyHash(hash string) bool + func IsValidChainID(chainID string) bool + func IsValidInt256(i *big.Int) bool + func IsZeroAddress(address string) bool + func NewEvmosCoin(amount sdkmath.Int) sdk.Coin + func NewEvmosCoinInt64(amount int64) sdk.Coin + func NewEvmosDecCoin(amount sdkmath.Int) sdk.DecCoin + func NewInfiniteGasMeterWithLimit(limit sdk.Gas) sdk.GasMeter + func ParseChainID(chainID string) (*big.Int, error) + func ProtoAccount() authtypes.AccountI + func RegisterInterfaces(registry codectypes.InterfaceRegistry) + func SafeInt64(value uint64) (int64, error) + func SafeNewIntFromBigInt(i *big.Int) (sdkmath.Int, error) + func ValidateAddress(address string) error + func ValidateNonZeroAddress(address string) error + type EVMTxIndexer interface + GetByBlockAndIndex func(int64, int32) (*TxResult, error) + GetByTxHash func(common.Hash) (*TxResult, error) + IndexBlock func(*tmtypes.Block, []*abci.ResponseDeliverTx) error + LastIndexedBlock func() (int64, error) + type ErrorGasOverflow struct + Descriptor string + type ErrorNegativeGasConsumed struct + Descriptor string + type EthAccount struct + CodeHash string + func (*EthAccount) Descriptor() ([]byte, []int) + func (*EthAccount) ProtoMessage() + func (acc *EthAccount) SetCodeHash(codeHash common.Hash) error + func (acc EthAccount) EthAddress() common.Address + func (acc EthAccount) GetBaseAccount() *authtypes.BaseAccount + func (acc EthAccount) GetCodeHash() common.Hash + func (acc EthAccount) Type() int8 + func (m *EthAccount) Marshal() (dAtA []byte, err error) + func (m *EthAccount) MarshalTo(dAtA []byte) (int, error) + func (m *EthAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *EthAccount) Reset() + func (m *EthAccount) Size() (n int) + func (m *EthAccount) Unmarshal(dAtA []byte) error + func (m *EthAccount) XXX_DiscardUnknown() + func (m *EthAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *EthAccount) XXX_Merge(src proto.Message) + func (m *EthAccount) XXX_Size() int + func (m *EthAccount) XXX_Unmarshal(b []byte) error + type EthAccountI interface + EthAddress func() common.Address + GetCodeHash func() common.Hash + SetCodeHash func(code common.Hash) error + Type func() int8 + type ExtensionOptionDynamicFeeTx struct + MaxPriorityPrice github_com_cosmos_cosmos_sdk_types.Int + func (*ExtensionOptionDynamicFeeTx) Descriptor() ([]byte, []int) + func (*ExtensionOptionDynamicFeeTx) ProtoMessage() + func (m *ExtensionOptionDynamicFeeTx) Marshal() (dAtA []byte, err error) + func (m *ExtensionOptionDynamicFeeTx) MarshalTo(dAtA []byte) (int, error) + func (m *ExtensionOptionDynamicFeeTx) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ExtensionOptionDynamicFeeTx) Reset() + func (m *ExtensionOptionDynamicFeeTx) Size() (n int) + func (m *ExtensionOptionDynamicFeeTx) String() string + func (m *ExtensionOptionDynamicFeeTx) Unmarshal(dAtA []byte) error + func (m *ExtensionOptionDynamicFeeTx) XXX_DiscardUnknown() + func (m *ExtensionOptionDynamicFeeTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ExtensionOptionDynamicFeeTx) XXX_Merge(src proto.Message) + func (m *ExtensionOptionDynamicFeeTx) XXX_Size() int + func (m *ExtensionOptionDynamicFeeTx) XXX_Unmarshal(b []byte) error + type ExtensionOptionsWeb3Tx struct + FeePayer string + FeePayerSig []byte + TypedDataChainID uint64 + func (*ExtensionOptionsWeb3Tx) Descriptor() ([]byte, []int) + func (*ExtensionOptionsWeb3Tx) ProtoMessage() + func (m *ExtensionOptionsWeb3Tx) Marshal() (dAtA []byte, err error) + func (m *ExtensionOptionsWeb3Tx) MarshalTo(dAtA []byte) (int, error) + func (m *ExtensionOptionsWeb3Tx) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ExtensionOptionsWeb3Tx) Reset() + func (m *ExtensionOptionsWeb3Tx) Size() (n int) + func (m *ExtensionOptionsWeb3Tx) String() string + func (m *ExtensionOptionsWeb3Tx) Unmarshal(dAtA []byte) error + func (m *ExtensionOptionsWeb3Tx) XXX_DiscardUnknown() + func (m *ExtensionOptionsWeb3Tx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ExtensionOptionsWeb3Tx) XXX_Merge(src proto.Message) + func (m *ExtensionOptionsWeb3Tx) XXX_Size() int + func (m *ExtensionOptionsWeb3Tx) XXX_Unmarshal(b []byte) error + type HDPathIterator func() ethaccounts.DerivationPath + func NewHDPathIterator(basePath string, ledgerIter bool) (HDPathIterator, error) + type TxResult struct + CumulativeGasUsed uint64 + EthTxIndex int32 + Failed bool + GasUsed uint64 + Height int64 + MsgIndex uint32 + TxIndex uint32 + func (*TxResult) Descriptor() ([]byte, []int) + func (*TxResult) ProtoMessage() + func (m *TxResult) Marshal() (dAtA []byte, err error) + func (m *TxResult) MarshalTo(dAtA []byte) (int, error) + func (m *TxResult) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *TxResult) Reset() + func (m *TxResult) Size() (n int) + func (m *TxResult) String() string + func (m *TxResult) Unmarshal(dAtA []byte) error + func (m *TxResult) XXX_DiscardUnknown() + func (m *TxResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *TxResult) XXX_Merge(src proto.Message) + func (m *TxResult) XXX_Size() int + func (m *TxResult) XXX_Unmarshal(b []byte) error