Versions in this module Expand all Collapse all v0 v0.5.2 May 8, 2025 v0.1.1 Apr 25, 2025 Changes in this version + const ProtocolVersion + const RootCodespace + var AttoPowerReduction = math.NewIntFromBigInt(new(big.Int).Exp(big.NewInt(10), big.NewInt(18), nil)) + var BIP44HDPath = ethaccounts.DefaultBaseDerivationPath.String() + var Bip44CoinType uint32 = 60 + 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 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 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 MicroPowerReduction = math.NewIntFromBigInt(new(big.Int).Exp(big.NewInt(10), big.NewInt(6), nil)) + func BlockGasLimit(ctx sdk.Context) uint64 + func HasDynamicFeeExtensionOption(anyType *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 NewInfiniteGasMeterWithLimit(limit storetypes.Gas) storetypes.GasMeter + func ParseChainID(chainID string) (*big.Int, error) + 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(*cmttypes.Block, []*abci.ExecTxResult) error + LastIndexedBlock func() (int64, error) + type ErrorGasOverflow struct + Descriptor string + type ErrorNegativeGasConsumed struct + Descriptor string + type ExtensionOptionDynamicFeeTx struct + MaxPriorityPrice cosmossdk_io_math.LegacyDec + 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 GenesisState map[string]json.RawMessage + 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