Versions in this module Expand all Collapse all v0 v0.16.0 May 25, 2022 Changes in this version + const AccountTypeContract + const AccountTypeEOA + const AttoPhoton + 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 ErrIntOverflowWeb3 = fmt.Errorf("proto: integer overflow") + var ErrInvalidChainID = sdkerrors.Register(RootCodespace, 3, "invalid chain ID") + var ErrInvalidLengthAccount = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthWeb3 = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidValue = sdkerrors.Register(RootCodespace, 2, "invalid value") + var ErrMarshalBigInt = sdkerrors.Register(RootCodespace, 5, "cannot marshal big.Int to string") + var ErrUnexpectedEndOfGroupAccount = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupWeb3 = fmt.Errorf("proto: unexpected end of group") + var ErrUnmarshalBigInt = sdkerrors.Register(RootCodespace, 6, "cannot unmarshal big.Int from string") + var PowerReduction = sdk.NewIntFromBigInt(new(big.Int).Exp(big.NewInt(10), big.NewInt(BaseDenomUnit), nil)) + func BlockGasLimit(ctx sdk.Context) uint64 + func IsEmptyHash(hash string) bool + func IsValidChainID(chainID string) bool + func IsZeroAddress(address string) bool + func NewInfiniteGasMeterWithLimit(limit sdk.Gas) sdk.GasMeter + func NewPhotonCoin(amount sdk.Int) sdk.Coin + func NewPhotonCoinInt64(amount int64) sdk.Coin + func NewPhotonDecCoin(amount sdk.Int) sdk.DecCoin + func ParseChainID(chainID string) (*big.Int, error) + func ProtoAccount() authtypes.AccountI + func RegisterInterfaces(registry codectypes.InterfaceRegistry) + func SafeInt64(value uint64) (int64, error) + func ValidateAddress(address string) error + func ValidateNonZeroAddress(address string) 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) 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 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 ExtensionOptionsWeb3TxI interface + type HDPathIterator func() ethaccounts.DerivationPath + func NewHDPathIterator(basePath string, ledgerIter bool) (HDPathIterator, error)