Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func AddressStoragePrefix(address common.Address) []byte
- func BinSearch(lo, hi uint64, executable func(uint64) (bool, *MsgEthereumTxResponse, error)) (uint64, error)
- func BlockMaxGasFromConsensusParams(blockHeight *int64) (int64, error)
- func DeriveChainID(v *big.Int) *big.Int
- func EncodeContractFunc(contractsABI string, name string, params ...interface{}) ([]byte, error)
- func EncodeTransactionLogs(res *TransactionLogs) ([]byte, error)
- func GetTmTxByHash(hash common.Hash) (*tmrpctypes.ResultTx, error)
- func IsCosmosHandler(to *common.Address) bool
- func IsLondon(ethConfig *params.ChainConfig, height int64) bool
- func IsValidInt256(i *big.Int) bool
- func LogsToEthereum(logs []*Log) []*ethtypes.Log
- func Max[T constraints.Ordered](a, b T) T
- func NewUpdateImplmentationProposal(proxy, impl string, data []byte, amt *sdkmath.Int) govv1beta1types.Content
- func PackTxData(txData TxData) (*codectypes.Any, error)
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterInterfaces(registry codectypes.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func SafeNewIntFromBigInt(i *big.Int) (sdkmath.Int, error)
- func StateKey(address common.Address, key []byte) []byte
- func TxDataToAny(data []byte) (*codectypes.Any, error)
- func TxDataToSdkMsg(cdc codectypes.AnyUnpacker, data []byte) (sdk.Msg, error)
- func ValidateGenesis(data GenesisState) error
- type AccessList
- type AccessListTx
- func (tx *AccessListTx) AsEthereumData() ethtypes.TxData
- func (tx *AccessListTx) Copy() TxData
- func (tx AccessListTx) Cost() *big.Int
- func (*AccessListTx) Descriptor() ([]byte, []int)
- func (tx AccessListTx) EffectiveCost(baseFee *big.Int) *big.Int
- func (tx AccessListTx) EffectiveFee(baseFee *big.Int) *big.Int
- func (this *AccessListTx) Equal(that interface{}) bool
- func (tx AccessListTx) Fee() *big.Int
- func (tx *AccessListTx) GetAccessList() ethtypes.AccessList
- func (tx *AccessListTx) GetChainID() *big.Int
- func (tx *AccessListTx) GetData() []byte
- func (tx *AccessListTx) GetGas() uint64
- func (tx *AccessListTx) GetGasFeeCap() *big.Int
- func (tx *AccessListTx) GetGasPrice() *big.Int
- func (tx *AccessListTx) GetGasTipCap() *big.Int
- func (tx *AccessListTx) GetNonce() uint64
- func (tx *AccessListTx) GetRawSignatureValues() (v, r, s *big.Int)
- func (tx *AccessListTx) GetTo() *common.Address
- func (tx *AccessListTx) GetValue() *big.Int
- func (m *AccessListTx) Marshal() (dAtA []byte, err error)
- func (m *AccessListTx) MarshalTo(dAtA []byte) (int, error)
- func (m *AccessListTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccessListTx) ProtoMessage()
- func (m *AccessListTx) Reset()
- func (tx *AccessListTx) SetSignatureValues(chainID, v, r, s *big.Int)
- func (m *AccessListTx) Size() (n int)
- func (m *AccessListTx) String() string
- func (tx *AccessListTx) TxType() uint8
- func (m *AccessListTx) Unmarshal(dAtA []byte) error
- func (tx AccessListTx) Validate() error
- func (m *AccessListTx) XXX_DiscardUnknown()
- func (m *AccessListTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccessListTx) XXX_Merge(src proto.Message)
- func (m *AccessListTx) XXX_Size() int
- func (m *AccessListTx) XXX_Unmarshal(b []byte) error
- type AccessTuple
- func (*AccessTuple) Descriptor() ([]byte, []int)
- func (this *AccessTuple) Equal(that interface{}) bool
- func (m *AccessTuple) Marshal() (dAtA []byte, err error)
- func (m *AccessTuple) MarshalTo(dAtA []byte) (int, error)
- func (m *AccessTuple) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccessTuple) ProtoMessage()
- func (m *AccessTuple) Reset()
- func (m *AccessTuple) Size() (n int)
- func (m *AccessTuple) String() string
- func (m *AccessTuple) Unmarshal(dAtA []byte) error
- func (m *AccessTuple) XXX_DiscardUnknown()
- func (m *AccessTuple) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccessTuple) XXX_Merge(src proto.Message)
- func (m *AccessTuple) XXX_Size() int
- func (m *AccessTuple) XXX_Unmarshal(b []byte) error
- type AccountKeeper
- type BankKeeper
- type ChainConfig
- func (*ChainConfig) Descriptor() ([]byte, []int)
- func (this *ChainConfig) Equal(that interface{}) bool
- func (cc ChainConfig) EthereumConfig() *params.ChainConfig
- func (m *ChainConfig) GetDAOForkSupport() bool
- func (m *ChainConfig) GetEIP150Hash() string
- func (m *ChainConfig) Marshal() (dAtA []byte, err error)
- func (m *ChainConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *ChainConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChainConfig) ProtoMessage()
- func (m *ChainConfig) Reset()
- func (m *ChainConfig) Size() (n int)
- func (m *ChainConfig) String() string
- func (m *ChainConfig) Unmarshal(dAtA []byte) error
- func (cc ChainConfig) Validate() error
- func (m *ChainConfig) XXX_DiscardUnknown()
- func (m *ChainConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChainConfig) XXX_Merge(src proto.Message)
- func (m *ChainConfig) XXX_Size() int
- func (m *ChainConfig) XXX_Unmarshal(b []byte) error
- type CompiledContract
- type DynamicFeeTx
- func (tx *DynamicFeeTx) AsEthereumData() ethtypes.TxData
- func (tx *DynamicFeeTx) Copy() TxData
- func (tx DynamicFeeTx) Cost() *big.Int
- func (*DynamicFeeTx) Descriptor() ([]byte, []int)
- func (tx DynamicFeeTx) EffectiveCost(baseFee *big.Int) *big.Int
- func (tx DynamicFeeTx) EffectiveFee(baseFee *big.Int) *big.Int
- func (this *DynamicFeeTx) Equal(that interface{}) bool
- func (tx DynamicFeeTx) Fee() *big.Int
- func (tx *DynamicFeeTx) GetAccessList() ethtypes.AccessList
- func (tx *DynamicFeeTx) GetChainID() *big.Int
- func (tx *DynamicFeeTx) GetData() []byte
- func (tx *DynamicFeeTx) GetEffectiveGasPrice(baseFee *big.Int) *big.Int
- func (tx *DynamicFeeTx) GetGas() uint64
- func (tx *DynamicFeeTx) GetGasFeeCap() *big.Int
- func (tx *DynamicFeeTx) GetGasPrice() *big.Int
- func (tx *DynamicFeeTx) GetGasTipCap() *big.Int
- func (tx *DynamicFeeTx) GetNonce() uint64
- func (tx *DynamicFeeTx) GetRawSignatureValues() (v, r, s *big.Int)
- func (tx *DynamicFeeTx) GetTo() *common.Address
- func (tx *DynamicFeeTx) GetValue() *big.Int
- func (m *DynamicFeeTx) Marshal() (dAtA []byte, err error)
- func (m *DynamicFeeTx) MarshalTo(dAtA []byte) (int, error)
- func (m *DynamicFeeTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DynamicFeeTx) ProtoMessage()
- func (m *DynamicFeeTx) Reset()
- func (tx *DynamicFeeTx) SetSignatureValues(chainID, v, r, s *big.Int)
- func (m *DynamicFeeTx) Size() (n int)
- func (m *DynamicFeeTx) String() string
- func (tx *DynamicFeeTx) TxType() uint8
- func (m *DynamicFeeTx) Unmarshal(dAtA []byte) error
- func (tx DynamicFeeTx) Validate() error
- func (m *DynamicFeeTx) XXX_DiscardUnknown()
- func (m *DynamicFeeTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DynamicFeeTx) XXX_Merge(src proto.Message)
- func (m *DynamicFeeTx) XXX_Size() int
- func (m *DynamicFeeTx) XXX_Unmarshal(b []byte) error
- type EVMConfig
- type EstimateGasResponse
- func (*EstimateGasResponse) Descriptor() ([]byte, []int)
- func (m *EstimateGasResponse) GetGas() uint64
- func (m *EstimateGasResponse) Marshal() (dAtA []byte, err error)
- func (m *EstimateGasResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *EstimateGasResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EstimateGasResponse) ProtoMessage()
- func (m *EstimateGasResponse) Reset()
- func (m *EstimateGasResponse) Size() (n int)
- func (m *EstimateGasResponse) String() string
- func (m *EstimateGasResponse) Unmarshal(dAtA []byte) error
- func (m *EstimateGasResponse) XXX_DiscardUnknown()
- func (m *EstimateGasResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EstimateGasResponse) XXX_Merge(src proto.Message)
- func (m *EstimateGasResponse) XXX_Size() int
- func (m *EstimateGasResponse) XXX_Unmarshal(b []byte) error
- type EthCallRequest
- func (*EthCallRequest) Descriptor() ([]byte, []int)
- func (m *EthCallRequest) GetArgs() []byte
- func (m *EthCallRequest) GetGasCap() uint64
- func (m *EthCallRequest) Marshal() (dAtA []byte, err error)
- func (m *EthCallRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *EthCallRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EthCallRequest) ProtoMessage()
- func (m *EthCallRequest) Reset()
- func (m *EthCallRequest) Size() (n int)
- func (m *EthCallRequest) String() string
- func (m *EthCallRequest) Unmarshal(dAtA []byte) error
- func (m *EthCallRequest) XXX_DiscardUnknown()
- func (m *EthCallRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EthCallRequest) XXX_Merge(src proto.Message)
- func (m *EthCallRequest) XXX_Size() int
- func (m *EthCallRequest) XXX_Unmarshal(b []byte) error
- type EventBlockBloom
- func (*EventBlockBloom) Descriptor() ([]byte, []int)
- func (m *EventBlockBloom) GetBloom() []byte
- func (m *EventBlockBloom) Marshal() (dAtA []byte, err error)
- func (m *EventBlockBloom) MarshalTo(dAtA []byte) (int, error)
- func (m *EventBlockBloom) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventBlockBloom) ProtoMessage()
- func (m *EventBlockBloom) Reset()
- func (m *EventBlockBloom) Size() (n int)
- func (m *EventBlockBloom) String() string
- func (m *EventBlockBloom) Unmarshal(dAtA []byte) error
- func (m *EventBlockBloom) XXX_DiscardUnknown()
- func (m *EventBlockBloom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventBlockBloom) XXX_Merge(src proto.Message)
- func (m *EventBlockBloom) XXX_Size() int
- func (m *EventBlockBloom) XXX_Unmarshal(b []byte) error
- type EventBlockGas
- func (*EventBlockGas) Descriptor() ([]byte, []int)
- func (m *EventBlockGas) GetAmount() string
- func (m *EventBlockGas) GetHeight() string
- func (m *EventBlockGas) Marshal() (dAtA []byte, err error)
- func (m *EventBlockGas) MarshalTo(dAtA []byte) (int, error)
- func (m *EventBlockGas) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventBlockGas) ProtoMessage()
- func (m *EventBlockGas) Reset()
- func (m *EventBlockGas) Size() (n int)
- func (m *EventBlockGas) String() string
- func (m *EventBlockGas) Unmarshal(dAtA []byte) error
- func (m *EventBlockGas) XXX_DiscardUnknown()
- func (m *EventBlockGas) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventBlockGas) XXX_Merge(src proto.Message)
- func (m *EventBlockGas) XXX_Size() int
- func (m *EventBlockGas) XXX_Unmarshal(b []byte) error
- type EventEthereumTx
- func (*EventEthereumTx) Descriptor() ([]byte, []int)
- func (m *EventEthereumTx) GetAmount() string
- func (m *EventEthereumTx) GetEthHash() string
- func (m *EventEthereumTx) GetEthTxFailed() string
- func (m *EventEthereumTx) GetGasUsed() string
- func (m *EventEthereumTx) GetHash() string
- func (m *EventEthereumTx) GetIndex() string
- func (m *EventEthereumTx) GetRecipient() string
- func (m *EventEthereumTx) Marshal() (dAtA []byte, err error)
- func (m *EventEthereumTx) MarshalTo(dAtA []byte) (int, error)
- func (m *EventEthereumTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventEthereumTx) ProtoMessage()
- func (m *EventEthereumTx) Reset()
- func (m *EventEthereumTx) Size() (n int)
- func (m *EventEthereumTx) String() string
- func (m *EventEthereumTx) Unmarshal(dAtA []byte) error
- func (m *EventEthereumTx) XXX_DiscardUnknown()
- func (m *EventEthereumTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventEthereumTx) XXX_Merge(src proto.Message)
- func (m *EventEthereumTx) XXX_Size() int
- func (m *EventEthereumTx) XXX_Unmarshal(b []byte) error
- type EventFeeMarket
- func (*EventFeeMarket) Descriptor() ([]byte, []int)
- func (m *EventFeeMarket) GetBaseFee() string
- func (m *EventFeeMarket) Marshal() (dAtA []byte, err error)
- func (m *EventFeeMarket) MarshalTo(dAtA []byte) (int, error)
- func (m *EventFeeMarket) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventFeeMarket) ProtoMessage()
- func (m *EventFeeMarket) Reset()
- func (m *EventFeeMarket) Size() (n int)
- func (m *EventFeeMarket) String() string
- func (m *EventFeeMarket) Unmarshal(dAtA []byte) error
- func (m *EventFeeMarket) XXX_DiscardUnknown()
- func (m *EventFeeMarket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventFeeMarket) XXX_Merge(src proto.Message)
- func (m *EventFeeMarket) XXX_Size() int
- func (m *EventFeeMarket) XXX_Unmarshal(b []byte) error
- type EventTx
- func (*EventTx) Descriptor() ([]byte, []int)
- func (m *EventTx) GetFee() string
- func (m *EventTx) Marshal() (dAtA []byte, err error)
- func (m *EventTx) MarshalTo(dAtA []byte) (int, error)
- func (m *EventTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventTx) ProtoMessage()
- func (m *EventTx) Reset()
- func (m *EventTx) Size() (n int)
- func (m *EventTx) String() string
- func (m *EventTx) Unmarshal(dAtA []byte) error
- func (m *EventTx) XXX_DiscardUnknown()
- func (m *EventTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventTx) XXX_Merge(src proto.Message)
- func (m *EventTx) XXX_Size() int
- func (m *EventTx) XXX_Unmarshal(b []byte) error
- type EventTxLog
- func (*EventTxLog) Descriptor() ([]byte, []int)
- func (m *EventTxLog) GetTxLogs() []byte
- func (m *EventTxLog) Marshal() (dAtA []byte, err error)
- func (m *EventTxLog) MarshalTo(dAtA []byte) (int, error)
- func (m *EventTxLog) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventTxLog) ProtoMessage()
- func (m *EventTxLog) Reset()
- func (m *EventTxLog) Size() (n int)
- func (m *EventTxLog) String() string
- func (m *EventTxLog) Unmarshal(dAtA []byte) error
- func (m *EventTxLog) XXX_DiscardUnknown()
- func (m *EventTxLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventTxLog) XXX_Merge(src proto.Message)
- func (m *EventTxLog) XXX_Size() int
- func (m *EventTxLog) XXX_Unmarshal(b []byte) error
- type EvmHooks
- type ExtensionOptionsEthereumTx
- func (*ExtensionOptionsEthereumTx) Descriptor() ([]byte, []int)
- func (this *ExtensionOptionsEthereumTx) Equal(that interface{}) bool
- func (m *ExtensionOptionsEthereumTx) Marshal() (dAtA []byte, err error)
- func (m *ExtensionOptionsEthereumTx) MarshalTo(dAtA []byte) (int, error)
- func (m *ExtensionOptionsEthereumTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ExtensionOptionsEthereumTx) ProtoMessage()
- func (m *ExtensionOptionsEthereumTx) Reset()
- func (m *ExtensionOptionsEthereumTx) Size() (n int)
- func (m *ExtensionOptionsEthereumTx) String() string
- func (m *ExtensionOptionsEthereumTx) Unmarshal(dAtA []byte) error
- func (m *ExtensionOptionsEthereumTx) XXX_DiscardUnknown()
- func (m *ExtensionOptionsEthereumTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExtensionOptionsEthereumTx) XXX_Merge(src proto.Message)
- func (m *ExtensionOptionsEthereumTx) XXX_Size() int
- func (m *ExtensionOptionsEthereumTx) XXX_Unmarshal(b []byte) error
- type ExtensionOptionsEthereumTxI
- type FeeMarketParams
- func (*FeeMarketParams) Descriptor() ([]byte, []int)
- func (this *FeeMarketParams) Equal(that interface{}) bool
- func (m *FeeMarketParams) GetBaseFeeChangeDenominator() uint32
- func (m *FeeMarketParams) GetElasticityMultiplier() uint32
- func (m *FeeMarketParams) GetEnableHeight() int64
- func (m *FeeMarketParams) GetNoBaseFee() bool
- func (p *FeeMarketParams) IsBaseFeeEnabled(height int64) bool
- func (m *FeeMarketParams) Marshal() (dAtA []byte, err error)
- func (m *FeeMarketParams) MarshalTo(dAtA []byte) (int, error)
- func (m *FeeMarketParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FeeMarketParams) ProtoMessage()
- func (m *FeeMarketParams) Reset()
- func (m *FeeMarketParams) Size() (n int)
- func (m *FeeMarketParams) String() string
- func (m *FeeMarketParams) Unmarshal(dAtA []byte) error
- func (p FeeMarketParams) Validate() error
- func (m *FeeMarketParams) XXX_DiscardUnknown()
- func (m *FeeMarketParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FeeMarketParams) XXX_Merge(src proto.Message)
- func (m *FeeMarketParams) XXX_Size() int
- func (m *FeeMarketParams) XXX_Unmarshal(b []byte) error
- type GenesisAccount
- func (*GenesisAccount) Descriptor() ([]byte, []int)
- func (this *GenesisAccount) Equal(that interface{}) bool
- func (m *GenesisAccount) GetAddress() string
- func (m *GenesisAccount) GetCode() string
- func (m *GenesisAccount) GetStorage() Storage
- func (m *GenesisAccount) Marshal() (dAtA []byte, err error)
- func (m *GenesisAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisAccount) ProtoMessage()
- func (m *GenesisAccount) Reset()
- func (m *GenesisAccount) Size() (n int)
- func (m *GenesisAccount) String() string
- func (m *GenesisAccount) Unmarshal(dAtA []byte) error
- func (ga GenesisAccount) Validate() error
- func (m *GenesisAccount) XXX_DiscardUnknown()
- func (m *GenesisAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisAccount) XXX_Merge(src proto.Message)
- func (m *GenesisAccount) XXX_Size() int
- func (m *GenesisAccount) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (this *GenesisState) Equal(that interface{}) bool
- func (m *GenesisState) GetAccounts() []GenesisAccount
- func (m *GenesisState) GetBlockGas() uint64
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type HexString
- type LegacyTx
- func (tx *LegacyTx) AsEthereumData() ethtypes.TxData
- func (tx *LegacyTx) Copy() TxData
- func (tx LegacyTx) Cost() *big.Int
- func (*LegacyTx) Descriptor() ([]byte, []int)
- func (tx LegacyTx) EffectiveCost(baseFee *big.Int) *big.Int
- func (tx LegacyTx) EffectiveFee(baseFee *big.Int) *big.Int
- func (this *LegacyTx) Equal(that interface{}) bool
- func (tx LegacyTx) Fee() *big.Int
- func (tx *LegacyTx) GetAccessList() ethtypes.AccessList
- func (tx *LegacyTx) GetChainID() *big.Int
- func (tx *LegacyTx) GetData() []byte
- func (tx *LegacyTx) GetGas() uint64
- func (tx *LegacyTx) GetGasFeeCap() *big.Int
- func (tx *LegacyTx) GetGasPrice() *big.Int
- func (tx *LegacyTx) GetGasTipCap() *big.Int
- func (tx *LegacyTx) GetNonce() uint64
- func (tx *LegacyTx) GetRawSignatureValues() (v, r, s *big.Int)
- func (tx *LegacyTx) GetTo() *common.Address
- func (tx *LegacyTx) GetValue() *big.Int
- func (m *LegacyTx) Marshal() (dAtA []byte, err error)
- func (m *LegacyTx) MarshalTo(dAtA []byte) (int, error)
- func (m *LegacyTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LegacyTx) ProtoMessage()
- func (m *LegacyTx) Reset()
- func (tx *LegacyTx) SetSignatureValues(_, v, r, s *big.Int)
- func (m *LegacyTx) Size() (n int)
- func (m *LegacyTx) String() string
- func (tx *LegacyTx) TxType() uint8
- func (m *LegacyTx) Unmarshal(dAtA []byte) error
- func (tx LegacyTx) Validate() error
- func (m *LegacyTx) XXX_DiscardUnknown()
- func (m *LegacyTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LegacyTx) XXX_Merge(src proto.Message)
- func (m *LegacyTx) XXX_Size() int
- func (m *LegacyTx) XXX_Unmarshal(b []byte) error
- type Log
- func (*Log) Descriptor() ([]byte, []int)
- func (this *Log) Equal(that interface{}) bool
- func (m *Log) GetAddress() string
- func (m *Log) GetBlockHash() string
- func (m *Log) GetBlockNumber() uint64
- func (m *Log) GetData() []byte
- func (m *Log) GetIndex() uint64
- func (m *Log) GetRemoved() bool
- func (m *Log) GetTopics() []string
- func (m *Log) GetTxHash() string
- func (m *Log) GetTxIndex() uint64
- func (m *Log) Marshal() (dAtA []byte, err error)
- func (m *Log) MarshalTo(dAtA []byte) (int, error)
- func (m *Log) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Log) ProtoMessage()
- func (m *Log) Reset()
- func (m *Log) Size() (n int)
- func (m *Log) String() string
- func (log *Log) ToEthereum() *ethtypes.Log
- func (m *Log) Unmarshal(dAtA []byte) error
- func (log *Log) Validate() error
- func (m *Log) XXX_DiscardUnknown()
- func (m *Log) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Log) XXX_Merge(src proto.Message)
- func (m *Log) XXX_Size() int
- func (m *Log) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCosmosData
- func (mcd *MsgCosmosData) GetMsgs() []sdk.Msg
- func (mcd *MsgCosmosData) GetSigners() []sdk.AccAddress
- func (mcd *MsgCosmosData) IsNil() bool
- func (mcd *MsgCosmosData) Parse(data []byte) error
- func (mcd *MsgCosmosData) ProtoMessage()
- func (mcd *MsgCosmosData) Reset()
- func (mcd *MsgCosmosData) SetMsg(msg sdk.Msg)
- func (mcd *MsgCosmosData) String() string
- func (mcd *MsgCosmosData) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (mcd *MsgCosmosData) ValidateBasic() (err error)
- type MsgEthereumTx
- func (msg MsgEthereumTx) AsMessage(signer ethtypes.Signer, baseFee *big.Int) (core.Message, error)
- func (msg MsgEthereumTx) AsTransaction() *ethtypes.Transaction
- func (msg *MsgEthereumTx) BuildTx(b client.TxBuilder, evmDenom string) (signing.Tx, error)
- func (*MsgEthereumTx) Descriptor() ([]byte, []int)
- func (this *MsgEthereumTx) Equal(that interface{}) bool
- func (msg *MsgEthereumTx) FromEthereumTx(tx *ethtypes.Transaction) error
- func (msg MsgEthereumTx) GetEffectiveFee(baseFee *big.Int) *big.Int
- func (msg MsgEthereumTx) GetFee() *big.Int
- func (msg *MsgEthereumTx) GetFrom() sdk.AccAddress
- func (msg MsgEthereumTx) GetGas() uint64
- func (msg *MsgEthereumTx) GetMsgs() []sdk.Msg
- func (msg *MsgEthereumTx) GetSender(chainID *big.Int) (common.Address, error)
- func (msg MsgEthereumTx) GetSignBytes() []byte
- func (msg *MsgEthereumTx) GetSigners() []sdk.AccAddress
- func (m *MsgEthereumTx) Marshal() (dAtA []byte, err error)
- func (m *MsgEthereumTx) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEthereumTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEthereumTx) ProtoMessage()
- func (m *MsgEthereumTx) Reset()
- func (msg MsgEthereumTx) Route() string
- func (msg *MsgEthereumTx) Sign(ethSigner ethtypes.Signer, keyringSigner keyring.Signer) error
- func (m *MsgEthereumTx) Size() (n int)
- func (m *MsgEthereumTx) String() string
- func (msg MsgEthereumTx) Type() string
- func (m *MsgEthereumTx) Unmarshal(dAtA []byte) error
- func (msg *MsgEthereumTx) UnmarshalBinary(b []byte) error
- func (msg MsgEthereumTx) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (msg MsgEthereumTx) ValidateBasic() error
- func (m *MsgEthereumTx) XXX_DiscardUnknown()
- func (m *MsgEthereumTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEthereumTx) XXX_Merge(src proto.Message)
- func (m *MsgEthereumTx) XXX_Size() int
- func (m *MsgEthereumTx) XXX_Unmarshal(b []byte) error
- type MsgEthereumTxResponse
- func (*MsgEthereumTxResponse) Descriptor() ([]byte, []int)
- func (this *MsgEthereumTxResponse) Equal(that interface{}) bool
- func (m *MsgEthereumTxResponse) Failed() bool
- func (m *MsgEthereumTxResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgEthereumTxResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEthereumTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEthereumTxResponse) ProtoMessage()
- func (m *MsgEthereumTxResponse) Reset()
- func (m *MsgEthereumTxResponse) Return() []byte
- func (m *MsgEthereumTxResponse) Revert() []byte
- func (m *MsgEthereumTxResponse) Size() (n int)
- func (m *MsgEthereumTxResponse) String() string
- func (m *MsgEthereumTxResponse) Unmarshal(dAtA []byte) error
- func (m *MsgEthereumTxResponse) XXX_DiscardUnknown()
- func (m *MsgEthereumTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEthereumTxResponse) XXX_Merge(src proto.Message)
- func (m *MsgEthereumTxResponse) XXX_Size() int
- func (m *MsgEthereumTxResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateImplmentationProposal
- func (m *MsgUpdateImplmentationProposal) AsLegacyV0() govv1beta1.Content
- func (*MsgUpdateImplmentationProposal) Descriptor() ([]byte, []int)
- func (this *MsgUpdateImplmentationProposal) Equal(that interface{}) bool
- func (m *MsgUpdateImplmentationProposal) GetAuthority() string
- func (m *MsgUpdateImplmentationProposal) GetData() []byte
- func (m *MsgUpdateImplmentationProposal) GetImplementationAddress() string
- func (m *MsgUpdateImplmentationProposal) GetProxyAddress() string
- func (m *MsgUpdateImplmentationProposal) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateImplmentationProposal) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateImplmentationProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateImplmentationProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateImplmentationProposal) ProtoMessage()
- func (m *MsgUpdateImplmentationProposal) Reset()
- func (m *MsgUpdateImplmentationProposal) Size() (n int)
- func (m *MsgUpdateImplmentationProposal) String() string
- func (m *MsgUpdateImplmentationProposal) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateImplmentationProposal) ValidateBasic() error
- func (m *MsgUpdateImplmentationProposal) XXX_DiscardUnknown()
- func (m *MsgUpdateImplmentationProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateImplmentationProposal) XXX_Merge(src proto.Message)
- func (m *MsgUpdateImplmentationProposal) XXX_Size() int
- func (m *MsgUpdateImplmentationProposal) XXX_Unmarshal(b []byte) error
- type MsgUpdateImplmentationProposalResponse
- func (*MsgUpdateImplmentationProposalResponse) Descriptor() ([]byte, []int)
- func (this *MsgUpdateImplmentationProposalResponse) Equal(that interface{}) bool
- func (m *MsgUpdateImplmentationProposalResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateImplmentationProposalResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateImplmentationProposalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateImplmentationProposalResponse) ProtoMessage()
- func (m *MsgUpdateImplmentationProposalResponse) Reset()
- func (m *MsgUpdateImplmentationProposalResponse) Size() (n int)
- func (m *MsgUpdateImplmentationProposalResponse) String() string
- func (m *MsgUpdateImplmentationProposalResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateImplmentationProposalResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateImplmentationProposalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateImplmentationProposalResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateImplmentationProposalResponse) XXX_Size() int
- func (m *MsgUpdateImplmentationProposalResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (this *MsgUpdateParams) Equal(that interface{}) bool
- func (m *MsgUpdateParams) GetAuthority() string
- func (m *MsgUpdateParams) GetParams() Params
- func (msg *MsgUpdateParams) GetSignBytes() []byte
- func (msg *MsgUpdateParams) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParams) ProtoMessage()
- func (m *MsgUpdateParams) Reset()
- func (m *MsgUpdateParams) Size() (n int)
- func (m *MsgUpdateParams) String() string
- func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateParams) ValidateBasic() error
- func (m *MsgUpdateParams) XXX_DiscardUnknown()
- func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParams) XXX_Size() int
- func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateParamsResponse
- func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
- func (this *MsgUpdateParamsResponse) Equal(that interface{}) bool
- func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParamsResponse) ProtoMessage()
- func (m *MsgUpdateParamsResponse) Reset()
- func (m *MsgUpdateParamsResponse) Size() (n int)
- func (m *MsgUpdateParamsResponse) String() string
- func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParamsResponse) XXX_Size() int
- func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (p Params) EIPs() []int
- func (this *Params) Equal(that interface{}) bool
- func (m *Params) GetChainConfig() ChainConfig
- func (m *Params) GetEnableCall() bool
- func (m *Params) GetEnableCreate() bool
- func (m *Params) GetEvmDenom() string
- func (m *Params) GetExtraEIPs() []int64
- func (m *Params) GetFeeMarketParams() FeeMarketParams
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type ParamsSubspace
- type PotKeeper
- type QueryAccountRequest
- func (*QueryAccountRequest) Descriptor() ([]byte, []int)
- func (m *QueryAccountRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAccountRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAccountRequest) ProtoMessage()
- func (m *QueryAccountRequest) Reset()
- func (m *QueryAccountRequest) Size() (n int)
- func (m *QueryAccountRequest) String() string
- func (m *QueryAccountRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAccountRequest) XXX_DiscardUnknown()
- func (m *QueryAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAccountRequest) XXX_Merge(src proto.Message)
- func (m *QueryAccountRequest) XXX_Size() int
- func (m *QueryAccountRequest) XXX_Unmarshal(b []byte) error
- type QueryAccountResponse
- func (*QueryAccountResponse) Descriptor() ([]byte, []int)
- func (m *QueryAccountResponse) GetBalance() string
- func (m *QueryAccountResponse) GetCodeHash() string
- func (m *QueryAccountResponse) GetNonce() uint64
- func (m *QueryAccountResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAccountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAccountResponse) ProtoMessage()
- func (m *QueryAccountResponse) Reset()
- func (m *QueryAccountResponse) Size() (n int)
- func (m *QueryAccountResponse) String() string
- func (m *QueryAccountResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAccountResponse) XXX_DiscardUnknown()
- func (m *QueryAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAccountResponse) XXX_Merge(src proto.Message)
- func (m *QueryAccountResponse) XXX_Size() int
- func (m *QueryAccountResponse) XXX_Unmarshal(b []byte) error
- type QueryAddressConvertRequest
- func (*QueryAddressConvertRequest) Descriptor() ([]byte, []int)
- func (m *QueryAddressConvertRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAddressConvertRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAddressConvertRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAddressConvertRequest) ProtoMessage()
- func (m *QueryAddressConvertRequest) Reset()
- func (m *QueryAddressConvertRequest) Size() (n int)
- func (m *QueryAddressConvertRequest) String() string
- func (m *QueryAddressConvertRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAddressConvertRequest) XXX_DiscardUnknown()
- func (m *QueryAddressConvertRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAddressConvertRequest) XXX_Merge(src proto.Message)
- func (m *QueryAddressConvertRequest) XXX_Size() int
- func (m *QueryAddressConvertRequest) XXX_Unmarshal(b []byte) error
- type QueryAddressConvertResponse
- func (*QueryAddressConvertResponse) Descriptor() ([]byte, []int)
- func (m *QueryAddressConvertResponse) GetBech32Address() string
- func (m *QueryAddressConvertResponse) GetHexAddress() string
- func (m *QueryAddressConvertResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAddressConvertResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAddressConvertResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAddressConvertResponse) ProtoMessage()
- func (m *QueryAddressConvertResponse) Reset()
- func (m *QueryAddressConvertResponse) Size() (n int)
- func (m *QueryAddressConvertResponse) String() string
- func (m *QueryAddressConvertResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAddressConvertResponse) XXX_DiscardUnknown()
- func (m *QueryAddressConvertResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAddressConvertResponse) XXX_Merge(src proto.Message)
- func (m *QueryAddressConvertResponse) XXX_Size() int
- func (m *QueryAddressConvertResponse) XXX_Unmarshal(b []byte) error
- type QueryBalanceRequest
- func (*QueryBalanceRequest) Descriptor() ([]byte, []int)
- func (m *QueryBalanceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBalanceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBalanceRequest) ProtoMessage()
- func (m *QueryBalanceRequest) Reset()
- func (m *QueryBalanceRequest) Size() (n int)
- func (m *QueryBalanceRequest) String() string
- func (m *QueryBalanceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBalanceRequest) XXX_DiscardUnknown()
- func (m *QueryBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBalanceRequest) XXX_Merge(src proto.Message)
- func (m *QueryBalanceRequest) XXX_Size() int
- func (m *QueryBalanceRequest) XXX_Unmarshal(b []byte) error
- type QueryBalanceResponse
- func (*QueryBalanceResponse) Descriptor() ([]byte, []int)
- func (m *QueryBalanceResponse) GetBalance() string
- func (m *QueryBalanceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBalanceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBalanceResponse) ProtoMessage()
- func (m *QueryBalanceResponse) Reset()
- func (m *QueryBalanceResponse) Size() (n int)
- func (m *QueryBalanceResponse) String() string
- func (m *QueryBalanceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBalanceResponse) XXX_DiscardUnknown()
- func (m *QueryBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBalanceResponse) XXX_Merge(src proto.Message)
- func (m *QueryBalanceResponse) XXX_Size() int
- func (m *QueryBalanceResponse) XXX_Unmarshal(b []byte) error
- type QueryBaseFeeRequest
- func (*QueryBaseFeeRequest) Descriptor() ([]byte, []int)
- func (m *QueryBaseFeeRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBaseFeeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBaseFeeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBaseFeeRequest) ProtoMessage()
- func (m *QueryBaseFeeRequest) Reset()
- func (m *QueryBaseFeeRequest) Size() (n int)
- func (m *QueryBaseFeeRequest) String() string
- func (m *QueryBaseFeeRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBaseFeeRequest) XXX_DiscardUnknown()
- func (m *QueryBaseFeeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBaseFeeRequest) XXX_Merge(src proto.Message)
- func (m *QueryBaseFeeRequest) XXX_Size() int
- func (m *QueryBaseFeeRequest) XXX_Unmarshal(b []byte) error
- type QueryBaseFeeResponse
- func (*QueryBaseFeeResponse) Descriptor() ([]byte, []int)
- func (m *QueryBaseFeeResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBaseFeeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBaseFeeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBaseFeeResponse) ProtoMessage()
- func (m *QueryBaseFeeResponse) Reset()
- func (m *QueryBaseFeeResponse) Size() (n int)
- func (m *QueryBaseFeeResponse) String() string
- func (m *QueryBaseFeeResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBaseFeeResponse) XXX_DiscardUnknown()
- func (m *QueryBaseFeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBaseFeeResponse) XXX_Merge(src proto.Message)
- func (m *QueryBaseFeeResponse) XXX_Size() int
- func (m *QueryBaseFeeResponse) XXX_Unmarshal(b []byte) error
- type QueryBlockGasRequest
- func (*QueryBlockGasRequest) Descriptor() ([]byte, []int)
- func (m *QueryBlockGasRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBlockGasRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBlockGasRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBlockGasRequest) ProtoMessage()
- func (m *QueryBlockGasRequest) Reset()
- func (m *QueryBlockGasRequest) Size() (n int)
- func (m *QueryBlockGasRequest) String() string
- func (m *QueryBlockGasRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBlockGasRequest) XXX_DiscardUnknown()
- func (m *QueryBlockGasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBlockGasRequest) XXX_Merge(src proto.Message)
- func (m *QueryBlockGasRequest) XXX_Size() int
- func (m *QueryBlockGasRequest) XXX_Unmarshal(b []byte) error
- type QueryBlockGasResponse
- func (*QueryBlockGasResponse) Descriptor() ([]byte, []int)
- func (m *QueryBlockGasResponse) GetGas() int64
- func (m *QueryBlockGasResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBlockGasResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBlockGasResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBlockGasResponse) ProtoMessage()
- func (m *QueryBlockGasResponse) Reset()
- func (m *QueryBlockGasResponse) Size() (n int)
- func (m *QueryBlockGasResponse) String() string
- func (m *QueryBlockGasResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBlockGasResponse) XXX_DiscardUnknown()
- func (m *QueryBlockGasResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBlockGasResponse) XXX_Merge(src proto.Message)
- func (m *QueryBlockGasResponse) XXX_Size() int
- func (m *QueryBlockGasResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryCodeRequest
- func (*QueryCodeRequest) Descriptor() ([]byte, []int)
- func (m *QueryCodeRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCodeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCodeRequest) ProtoMessage()
- func (m *QueryCodeRequest) Reset()
- func (m *QueryCodeRequest) Size() (n int)
- func (m *QueryCodeRequest) String() string
- func (m *QueryCodeRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCodeRequest) XXX_DiscardUnknown()
- func (m *QueryCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCodeRequest) XXX_Merge(src proto.Message)
- func (m *QueryCodeRequest) XXX_Size() int
- func (m *QueryCodeRequest) XXX_Unmarshal(b []byte) error
- type QueryCodeResponse
- func (*QueryCodeResponse) Descriptor() ([]byte, []int)
- func (m *QueryCodeResponse) GetCode() []byte
- func (m *QueryCodeResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCodeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCodeResponse) ProtoMessage()
- func (m *QueryCodeResponse) Reset()
- func (m *QueryCodeResponse) Size() (n int)
- func (m *QueryCodeResponse) String() string
- func (m *QueryCodeResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCodeResponse) XXX_DiscardUnknown()
- func (m *QueryCodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCodeResponse) XXX_Merge(src proto.Message)
- func (m *QueryCodeResponse) XXX_Size() int
- func (m *QueryCodeResponse) XXX_Unmarshal(b []byte) error
- type QueryCosmosAccountRequest
- func (*QueryCosmosAccountRequest) Descriptor() ([]byte, []int)
- func (m *QueryCosmosAccountRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCosmosAccountRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCosmosAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCosmosAccountRequest) ProtoMessage()
- func (m *QueryCosmosAccountRequest) Reset()
- func (m *QueryCosmosAccountRequest) Size() (n int)
- func (m *QueryCosmosAccountRequest) String() string
- func (m *QueryCosmosAccountRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCosmosAccountRequest) XXX_DiscardUnknown()
- func (m *QueryCosmosAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCosmosAccountRequest) XXX_Merge(src proto.Message)
- func (m *QueryCosmosAccountRequest) XXX_Size() int
- func (m *QueryCosmosAccountRequest) XXX_Unmarshal(b []byte) error
- type QueryCosmosAccountResponse
- func (*QueryCosmosAccountResponse) Descriptor() ([]byte, []int)
- func (m *QueryCosmosAccountResponse) GetAccountNumber() uint64
- func (m *QueryCosmosAccountResponse) GetCosmosAddress() string
- func (m *QueryCosmosAccountResponse) GetSequence() uint64
- func (m *QueryCosmosAccountResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCosmosAccountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCosmosAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCosmosAccountResponse) ProtoMessage()
- func (m *QueryCosmosAccountResponse) Reset()
- func (m *QueryCosmosAccountResponse) Size() (n int)
- func (m *QueryCosmosAccountResponse) String() string
- func (m *QueryCosmosAccountResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCosmosAccountResponse) XXX_DiscardUnknown()
- func (m *QueryCosmosAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCosmosAccountResponse) XXX_Merge(src proto.Message)
- func (m *QueryCosmosAccountResponse) XXX_Size() int
- func (m *QueryCosmosAccountResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryStorageRequest
- func (*QueryStorageRequest) Descriptor() ([]byte, []int)
- func (m *QueryStorageRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryStorageRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStorageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStorageRequest) ProtoMessage()
- func (m *QueryStorageRequest) Reset()
- func (m *QueryStorageRequest) Size() (n int)
- func (m *QueryStorageRequest) String() string
- func (m *QueryStorageRequest) Unmarshal(dAtA []byte) error
- func (m *QueryStorageRequest) XXX_DiscardUnknown()
- func (m *QueryStorageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStorageRequest) XXX_Merge(src proto.Message)
- func (m *QueryStorageRequest) XXX_Size() int
- func (m *QueryStorageRequest) XXX_Unmarshal(b []byte) error
- type QueryStorageResponse
- func (*QueryStorageResponse) Descriptor() ([]byte, []int)
- func (m *QueryStorageResponse) GetValue() string
- func (m *QueryStorageResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryStorageResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStorageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStorageResponse) ProtoMessage()
- func (m *QueryStorageResponse) Reset()
- func (m *QueryStorageResponse) Size() (n int)
- func (m *QueryStorageResponse) String() string
- func (m *QueryStorageResponse) Unmarshal(dAtA []byte) error
- func (m *QueryStorageResponse) XXX_DiscardUnknown()
- func (m *QueryStorageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStorageResponse) XXX_Merge(src proto.Message)
- func (m *QueryStorageResponse) XXX_Size() int
- func (m *QueryStorageResponse) XXX_Unmarshal(b []byte) error
- type QueryTraceBlockRequest
- func (*QueryTraceBlockRequest) Descriptor() ([]byte, []int)
- func (m *QueryTraceBlockRequest) GetBlockHash() string
- func (m *QueryTraceBlockRequest) GetBlockNumber() int64
- func (m *QueryTraceBlockRequest) GetBlockTime() time.Time
- func (m *QueryTraceBlockRequest) GetTraceConfig() *TraceConfig
- func (m *QueryTraceBlockRequest) GetTxs() []*MsgEthereumTx
- func (m *QueryTraceBlockRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTraceBlockRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTraceBlockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTraceBlockRequest) ProtoMessage()
- func (m *QueryTraceBlockRequest) Reset()
- func (m *QueryTraceBlockRequest) Size() (n int)
- func (m *QueryTraceBlockRequest) String() string
- func (m *QueryTraceBlockRequest) Unmarshal(dAtA []byte) error
- func (m QueryTraceBlockRequest) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (m *QueryTraceBlockRequest) XXX_DiscardUnknown()
- func (m *QueryTraceBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTraceBlockRequest) XXX_Merge(src proto.Message)
- func (m *QueryTraceBlockRequest) XXX_Size() int
- func (m *QueryTraceBlockRequest) XXX_Unmarshal(b []byte) error
- type QueryTraceBlockResponse
- func (*QueryTraceBlockResponse) Descriptor() ([]byte, []int)
- func (m *QueryTraceBlockResponse) GetData() []byte
- func (m *QueryTraceBlockResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTraceBlockResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTraceBlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTraceBlockResponse) ProtoMessage()
- func (m *QueryTraceBlockResponse) Reset()
- func (m *QueryTraceBlockResponse) Size() (n int)
- func (m *QueryTraceBlockResponse) String() string
- func (m *QueryTraceBlockResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTraceBlockResponse) XXX_DiscardUnknown()
- func (m *QueryTraceBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTraceBlockResponse) XXX_Merge(src proto.Message)
- func (m *QueryTraceBlockResponse) XXX_Size() int
- func (m *QueryTraceBlockResponse) XXX_Unmarshal(b []byte) error
- type QueryTraceTxRequest
- func (*QueryTraceTxRequest) Descriptor() ([]byte, []int)
- func (m *QueryTraceTxRequest) GetBlockHash() string
- func (m *QueryTraceTxRequest) GetBlockNumber() int64
- func (m *QueryTraceTxRequest) GetBlockTime() time.Time
- func (m *QueryTraceTxRequest) GetMsg() *MsgEthereumTx
- func (m *QueryTraceTxRequest) GetPredecessors() []*MsgEthereumTx
- func (m *QueryTraceTxRequest) GetTraceConfig() *TraceConfig
- func (m *QueryTraceTxRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTraceTxRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTraceTxRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTraceTxRequest) ProtoMessage()
- func (m *QueryTraceTxRequest) Reset()
- func (m *QueryTraceTxRequest) Size() (n int)
- func (m *QueryTraceTxRequest) String() string
- func (m *QueryTraceTxRequest) Unmarshal(dAtA []byte) error
- func (m QueryTraceTxRequest) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (m *QueryTraceTxRequest) XXX_DiscardUnknown()
- func (m *QueryTraceTxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTraceTxRequest) XXX_Merge(src proto.Message)
- func (m *QueryTraceTxRequest) XXX_Size() int
- func (m *QueryTraceTxRequest) XXX_Unmarshal(b []byte) error
- type QueryTraceTxResponse
- func (*QueryTraceTxResponse) Descriptor() ([]byte, []int)
- func (m *QueryTraceTxResponse) GetData() []byte
- func (m *QueryTraceTxResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTraceTxResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTraceTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTraceTxResponse) ProtoMessage()
- func (m *QueryTraceTxResponse) Reset()
- func (m *QueryTraceTxResponse) Size() (n int)
- func (m *QueryTraceTxResponse) String() string
- func (m *QueryTraceTxResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTraceTxResponse) XXX_DiscardUnknown()
- func (m *QueryTraceTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTraceTxResponse) XXX_Merge(src proto.Message)
- func (m *QueryTraceTxResponse) XXX_Size() int
- func (m *QueryTraceTxResponse) XXX_Unmarshal(b []byte) error
- type QueryTxLogsRequest
- func (*QueryTxLogsRequest) Descriptor() ([]byte, []int)
- func (m *QueryTxLogsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTxLogsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTxLogsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTxLogsRequest) ProtoMessage()
- func (m *QueryTxLogsRequest) Reset()
- func (m *QueryTxLogsRequest) Size() (n int)
- func (m *QueryTxLogsRequest) String() string
- func (m *QueryTxLogsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTxLogsRequest) XXX_DiscardUnknown()
- func (m *QueryTxLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTxLogsRequest) XXX_Merge(src proto.Message)
- func (m *QueryTxLogsRequest) XXX_Size() int
- func (m *QueryTxLogsRequest) XXX_Unmarshal(b []byte) error
- type QueryTxLogsResponse
- func (*QueryTxLogsResponse) Descriptor() ([]byte, []int)
- func (m *QueryTxLogsResponse) GetLogs() []*Log
- func (m *QueryTxLogsResponse) GetPagination() *query.PageResponse
- func (m *QueryTxLogsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTxLogsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTxLogsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTxLogsResponse) ProtoMessage()
- func (m *QueryTxLogsResponse) Reset()
- func (m *QueryTxLogsResponse) Size() (n int)
- func (m *QueryTxLogsResponse) String() string
- func (m *QueryTxLogsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTxLogsResponse) XXX_DiscardUnknown()
- func (m *QueryTxLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTxLogsResponse) XXX_Merge(src proto.Message)
- func (m *QueryTxLogsResponse) XXX_Size() int
- func (m *QueryTxLogsResponse) XXX_Unmarshal(b []byte) error
- type QueryValidatorAccountRequest
- func (*QueryValidatorAccountRequest) Descriptor() ([]byte, []int)
- func (m *QueryValidatorAccountRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorAccountRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorAccountRequest) ProtoMessage()
- func (m *QueryValidatorAccountRequest) Reset()
- func (m *QueryValidatorAccountRequest) Size() (n int)
- func (m *QueryValidatorAccountRequest) String() string
- func (m *QueryValidatorAccountRequest) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorAccountRequest) XXX_DiscardUnknown()
- func (m *QueryValidatorAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorAccountRequest) XXX_Merge(src proto.Message)
- func (m *QueryValidatorAccountRequest) XXX_Size() int
- func (m *QueryValidatorAccountRequest) XXX_Unmarshal(b []byte) error
- type QueryValidatorAccountResponse
- func (*QueryValidatorAccountResponse) Descriptor() ([]byte, []int)
- func (m *QueryValidatorAccountResponse) GetAccountAddress() string
- func (m *QueryValidatorAccountResponse) GetAccountNumber() uint64
- func (m *QueryValidatorAccountResponse) GetSequence() uint64
- func (m *QueryValidatorAccountResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorAccountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorAccountResponse) ProtoMessage()
- func (m *QueryValidatorAccountResponse) Reset()
- func (m *QueryValidatorAccountResponse) Size() (n int)
- func (m *QueryValidatorAccountResponse) String() string
- func (m *QueryValidatorAccountResponse) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorAccountResponse) XXX_DiscardUnknown()
- func (m *QueryValidatorAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorAccountResponse) XXX_Merge(src proto.Message)
- func (m *QueryValidatorAccountResponse) XXX_Size() int
- func (m *QueryValidatorAccountResponse) XXX_Unmarshal(b []byte) error
- type RevertError
- type StakingKeeper
- type State
- func (*State) Descriptor() ([]byte, []int)
- func (this *State) Equal(that interface{}) bool
- func (m *State) GetKey() string
- func (m *State) GetValue() string
- func (m *State) Marshal() (dAtA []byte, err error)
- func (m *State) MarshalTo(dAtA []byte) (int, error)
- func (m *State) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*State) ProtoMessage()
- func (m *State) Reset()
- func (m *State) Size() (n int)
- func (m *State) String() string
- func (m *State) Unmarshal(dAtA []byte) error
- func (s State) Validate() error
- func (m *State) XXX_DiscardUnknown()
- func (m *State) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *State) XXX_Merge(src proto.Message)
- func (m *State) XXX_Size() int
- func (m *State) XXX_Unmarshal(b []byte) error
- type Storage
- type TraceConfig
- func (*TraceConfig) Descriptor() ([]byte, []int)
- func (this *TraceConfig) Equal(that interface{}) bool
- func (m *TraceConfig) GetDebug() bool
- func (m *TraceConfig) GetDisableStack() bool
- func (m *TraceConfig) GetDisableStorage() bool
- func (m *TraceConfig) GetEnableMemory() bool
- func (m *TraceConfig) GetEnableReturnData() bool
- func (m *TraceConfig) GetLimit() int32
- func (m *TraceConfig) GetOverrides() *ChainConfig
- func (m *TraceConfig) GetReexec() uint64
- func (m *TraceConfig) GetTimeout() string
- func (m *TraceConfig) GetTracer() string
- func (m *TraceConfig) Marshal() (dAtA []byte, err error)
- func (m *TraceConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *TraceConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TraceConfig) ProtoMessage()
- func (m *TraceConfig) Reset()
- func (m *TraceConfig) Size() (n int)
- func (m *TraceConfig) String() string
- func (m *TraceConfig) Unmarshal(dAtA []byte) error
- func (m *TraceConfig) XXX_DiscardUnknown()
- func (m *TraceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TraceConfig) XXX_Merge(src proto.Message)
- func (m *TraceConfig) XXX_Size() int
- func (m *TraceConfig) XXX_Unmarshal(b []byte) error
- type TransactionArgs
- func (args *TransactionArgs) GetData() []byte
- func (args *TransactionArgs) GetFrom() common.Address
- func (args *TransactionArgs) String() string
- func (args *TransactionArgs) ToMessage(globalGasCap uint64, baseFee *big.Int) (ethtypes.Message, error)
- func (args *TransactionArgs) ToTransaction() *MsgEthereumTx
- type TransactionLogs
- func (*TransactionLogs) Descriptor() ([]byte, []int)
- func (this *TransactionLogs) Equal(that interface{}) bool
- func (tx TransactionLogs) EthLogs() []*ethtypes.Log
- func (m *TransactionLogs) GetHash() string
- func (m *TransactionLogs) GetLogs() []*Log
- func (m *TransactionLogs) Marshal() (dAtA []byte, err error)
- func (m *TransactionLogs) MarshalTo(dAtA []byte) (int, error)
- func (m *TransactionLogs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TransactionLogs) ProtoMessage()
- func (m *TransactionLogs) Reset()
- func (m *TransactionLogs) Size() (n int)
- func (m *TransactionLogs) String() string
- func (m *TransactionLogs) Unmarshal(dAtA []byte) error
- func (tx TransactionLogs) Validate() error
- func (m *TransactionLogs) XXX_DiscardUnknown()
- func (m *TransactionLogs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionLogs) XXX_Merge(src proto.Message)
- func (m *TransactionLogs) XXX_Size() int
- func (m *TransactionLogs) XXX_Unmarshal(b []byte) error
- type TxData
- type TxResult
- func (*TxResult) Descriptor() ([]byte, []int)
- func (this *TxResult) Equal(that interface{}) bool
- 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 (*TxResult) ProtoMessage()
- 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
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) EthereumTx(ctx context.Context, req *MsgEthereumTx) (*MsgEthereumTxResponse, error)
- func (*UnimplementedMsgServer) UpdateImplmentationProposal(ctx context.Context, req *MsgUpdateImplmentationProposal) (*MsgUpdateImplmentationProposalResponse, error)
- func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Account(ctx context.Context, req *QueryAccountRequest) (*QueryAccountResponse, error)
- func (*UnimplementedQueryServer) AddressConvert(ctx context.Context, req *QueryAddressConvertRequest) (*QueryAddressConvertResponse, error)
- func (*UnimplementedQueryServer) Balance(ctx context.Context, req *QueryBalanceRequest) (*QueryBalanceResponse, error)
- func (*UnimplementedQueryServer) BaseFee(ctx context.Context, req *QueryBaseFeeRequest) (*QueryBaseFeeResponse, error)
- func (*UnimplementedQueryServer) BaseFeeParam(ctx context.Context, req *QueryBaseFeeRequest) (*QueryBaseFeeResponse, error)
- func (*UnimplementedQueryServer) BlockGas(ctx context.Context, req *QueryBlockGasRequest) (*QueryBlockGasResponse, error)
- func (*UnimplementedQueryServer) Code(ctx context.Context, req *QueryCodeRequest) (*QueryCodeResponse, error)
- func (*UnimplementedQueryServer) CosmosAccount(ctx context.Context, req *QueryCosmosAccountRequest) (*QueryCosmosAccountResponse, error)
- func (*UnimplementedQueryServer) EstimateGas(ctx context.Context, req *EthCallRequest) (*EstimateGasResponse, error)
- func (*UnimplementedQueryServer) EthCall(ctx context.Context, req *EthCallRequest) (*MsgEthereumTxResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) Storage(ctx context.Context, req *QueryStorageRequest) (*QueryStorageResponse, error)
- func (*UnimplementedQueryServer) TraceBlock(ctx context.Context, req *QueryTraceBlockRequest) (*QueryTraceBlockResponse, error)
- func (*UnimplementedQueryServer) TraceTx(ctx context.Context, req *QueryTraceTxRequest) (*QueryTraceTxResponse, error)
- func (*UnimplementedQueryServer) ValidatorAccount(ctx context.Context, req *QueryValidatorAccountRequest) (*QueryValidatorAccountResponse, error)
- type UpdateImplmentationProposal
- func (*UpdateImplmentationProposal) Descriptor() ([]byte, []int)
- func (m *UpdateImplmentationProposal) GetData() []byte
- func (epd *UpdateImplmentationProposal) GetDescription() string
- func (m *UpdateImplmentationProposal) GetImplementationAddress() string
- func (m *UpdateImplmentationProposal) GetProxyAddress() string
- func (epd *UpdateImplmentationProposal) GetTitle() string
- func (m *UpdateImplmentationProposal) Marshal() (dAtA []byte, err error)
- func (m *UpdateImplmentationProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *UpdateImplmentationProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (epd *UpdateImplmentationProposal) ProposalRoute() string
- func (epd *UpdateImplmentationProposal) ProposalType() string
- func (*UpdateImplmentationProposal) ProtoMessage()
- func (m *UpdateImplmentationProposal) Reset()
- func (m *UpdateImplmentationProposal) Size() (n int)
- func (m *UpdateImplmentationProposal) String() string
- func (m *UpdateImplmentationProposal) Unmarshal(dAtA []byte) error
- func (epd *UpdateImplmentationProposal) ValidateBasic() error
- func (m *UpdateImplmentationProposal) XXX_DiscardUnknown()
- func (m *UpdateImplmentationProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateImplmentationProposal) XXX_Merge(src proto.Message)
- func (m *UpdateImplmentationProposal) XXX_Size() int
- func (m *UpdateImplmentationProposal) XXX_Unmarshal(b []byte) error
Constants ¶
const ( EventTypeEthereumTx = TypeMsgEthereumTx EventTypeBlockBloom = "block_bloom" EventTypeTxLog = "tx_log" AttributeKeyContractAddress = "contract" AttributeKeyRecipient = "recipient" AttributeKeyTxHash = "txHash" AttributeKeyEthereumTxHash = "ethereumTxHash" AttributeKeyTxIndex = "txIndex" AttributeKeyTxGasUsed = "txGasUsed" AttributeKeyTxType = "txType" AttributeKeyTxLog = "txLog" // tx failed in eth vm execution AttributeKeyEthereumTxFailed = "ethereumTxFailed" AttributeValueCategory = ModuleName AttributeKeyEthereumBloom = "bloom" MetricKeyTransitionDB = "transition_db" MetricKeyStaticCall = "static_call" EventTypeFeeMarket = "fee_market" AttributeKeyBaseFee = "base_fee" )
Evm module events
const ( // ModuleName string name of module ModuleName = "evm" // StoreKey key for ethereum storage data, account code (StateDB) or block // related data for Web3. // The EVM module should use a prefix store. StoreKey = ModuleName // TransientKey is the key to access the EVM transient store, that is reset // during the Commit phase. TransientKey = "transient_" + ModuleName // RouterKey uses module name for routing RouterKey = ModuleName )
const ( // txSlotSize is used to calculate how many data slots a single transaction // takes up based on its size. The slots are used as DoS protection, ensuring // that validating a new transaction remains a constant operation (in reality // O(maxslots), where max slots are 4 currently). TxSlotSize = 32 * 1024 // txMaxSize is the maximum size a single transaction can have. This field has // non-trivial consequences: larger transactions are significantly harder and // more expensive to propagate; larger transactions also take more resources // to validate whether they fit into the pool or not. TxMaxSize = 4 * TxSlotSize // 128KB )
const (
DefaultEVMDenom = stratos.Wei
)
const (
ProposalTypeUpdateImplementation = "UpdateImplementation"
)
const (
TransparentUpgradableProxyABI = "" /* 1834-byte string literal not displayed */
)
const (
// TypeMsgEthereumTx defines the type string of an Ethereum transaction
TypeMsgEthereumTx = "ethereum_tx"
)
message type and route constants
Variables ¶
var ( // ErrInvalidState returns an error resulting from an invalid Storage State. ErrInvalidState = errors.Register(ModuleName, codeErrInvalidState, "invalid storage state") // ErrExecutionReverted returns an error resulting from an error in EVM execution. ErrExecutionReverted = errors.Register(ModuleName, codeErrExecutionReverted, vm.ErrExecutionReverted.Error()) // ErrChainConfigNotFound returns an error if the chain config cannot be found on the store. ErrChainConfigNotFound = errors.Register(ModuleName, codeErrChainConfigNotFound, "chain configuration not found") // ErrInvalidChainConfig returns an error resulting from an invalid ChainConfig. ErrInvalidChainConfig = errors.Register(ModuleName, codeErrInvalidChainConfig, "invalid chain configuration") // ErrZeroAddress returns an error resulting from an zero (empty) ethereum Address. ErrZeroAddress = errors.Register(ModuleName, codeErrZeroAddress, "invalid zero address") // ErrEmptyHash returns an error resulting from an empty ethereum Hash. ErrEmptyHash = errors.Register(ModuleName, codeErrEmptyHash, "empty hash") // ErrBloomNotFound returns an error if the block bloom cannot be found on the store. ErrBloomNotFound = errors.Register(ModuleName, codeErrBloomNotFound, "block bloom not found") // ErrTxReceiptNotFound returns an error if the transaction receipt could not be found ErrTxReceiptNotFound = errors.Register(ModuleName, codeErrTxReceiptNotFound, "transaction receipt not found") // ErrCreateDisabled returns an error if the EnableCreate parameter is false. ErrCreateDisabled = errors.Register(ModuleName, codeErrCreateDisabled, "EVM Create operation is disabled") // ErrCallDisabled returns an error if the EnableCall parameter is false. ErrCallDisabled = errors.Register(ModuleName, codeErrCallDisabled, "EVM Call operation is disabled") // ErrInvalidAmount returns an error if a tx contains an invalid amount. ErrInvalidAmount = errors.Register(ModuleName, codeErrInvalidAmount, "invalid transaction amount") // ErrInvalidGasPrice returns an error if an invalid gas price is provided to the tx. ErrInvalidGasPrice = errors.Register(ModuleName, codeErrInvalidGasPrice, "invalid gas price") // ErrInvalidGasFee returns an error if the tx gas fee is out of bound. ErrInvalidGasFee = errors.Register(ModuleName, codeErrInvalidGasFee, "invalid gas fee") // ErrVMExecution returns an error resulting from an error in EVM execution. ErrVMExecution = errors.Register(ModuleName, codeErrVMExecution, "evm transaction execution failed") // ErrInvalidRefund returns an error if a the gas refund value is invalid. ErrInvalidRefund = errors.Register(ModuleName, codeErrInvalidRefund, "invalid gas refund amount") // ErrInconsistentGas returns an error if a the gas differs from the expected one. ErrInconsistentGas = errors.Register(ModuleName, codeErrInconsistentGas, "inconsistent gas") // ErrInvalidGasCap returns an error if a the gas cap value is negative or invalid ErrInvalidGasCap = errors.Register(ModuleName, codeErrInvalidGasCap, "invalid gas cap") // ErrInvalidBaseFee returns an error if a the base fee cap value is invalid ErrInvalidBaseFee = errors.Register(ModuleName, codeErrInvalidBaseFee, "invalid base fee") // ErrGasOverflow returns an error if gas computation overlow/underflow ErrGasOverflow = errors.Register(ModuleName, codeErrGasOverflow, "gas computation overflow/underflow") // ErrInvalidAccount returns an error if the account is not an EVM compatible account ErrInvalidAccount = errors.Register(ModuleName, codeErrInvalidAccount, "account type is not a valid ethereum account") ErrEthTxNotFound = errors.Register(ModuleName, codeErrEthTxNotFound, "ethereum tx not found") ErrUnSupportedBuilder = errors.Register(ModuleName, codeErrUnSupportedBuilder, "unsupported builder") )
var ( ErrInvalidLengthEvent = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvent = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvent = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthEvm = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvm = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvm = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( KeyPrefixCode = []byte{prefixCode} KeyPrefixStorage = []byte{prefixStorage} KeyPrefixParams = []byte{prefixParams} )
KVStore key prefixes
var ( KeyPrefixTransientBloom = []byte{prefixTransientBloom} KeyPrefixTransientTxIndex = []byte{prefixTransientTxIndex} KeyPrefixTransientLogSize = []byte{prefixTransientLogSize} KeyPrefixTransientGasUsed = []byte{prefixTransientGasUsed} KeyPrefixBlockGasUsed = []byte{prefixBlockGasUsed} )
Transient Store key prefixes
var ( ParamStoreKeyEVMDenom = []byte("EVMDenom") ParamStoreKeyEnableCreate = []byte("EnableCreate") ParamStoreKeyEnableCall = []byte("EnableCall") ParamStoreKeyExtraEIPs = []byte("EnableExtraEIPs") ParamStoreKeyChainConfig = []byte("ChainConfig") // fee market ParamStoreKeyNoBaseFee = []byte("NoBaseFee") ParamStoreKeyBaseFeeChangeDenominator = []byte("BaseFeeChangeDenominator") ParamStoreKeyElasticityMultiplier = []byte("ElasticityMultiplier") ParamStoreKeyBaseFee = []byte("BaseFee") ParamStoreKeyEnableHeight = []byte("EnableHeight") )
Parameter keys
var ( ErrInvalidLengthProposal = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProposal = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupProposal = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ( // AvailableExtraEIPs define the list of all EIPs that can be enabled by the // EVM interpreter. These EIPs are applied in order and can override the // instruction sets from the latest hard fork enabled by the ChainConfig. For // more info check: // https://github.com/ethereum/go-ethereum/blob/master/core/vm/interpreter.go#L97 AvailableExtraEIPs = []int64{1344, 1884, 2200, 2929, 3198, 3529} )
var EmptyCodeHash = crypto.Keccak256(nil)
var ErrPostTxProcessing = fmt.Errorf("failed to execute post processing")
var ( // MinimumBaseFee is a bare minimum for calculation even if block capacity showing less // to prevent spam. Later could be removed after CalculateBaseFee rework on block end // and getting a real gas for the period MinimumBaseFee = new(big.Int).SetUint64(1_000_000_000) // 1gWei )
var ModuleCdc = codec.NewProtoCodec(codectypes.NewInterfaceRegistry())
var (
TransparentUpgradableProxyBin = "" /* 7586-byte string literal not displayed */
)
var ( // Web3CosmosAddress is used as a target for resolve tx data Web3CosmosAddress = common.BytesToAddress([]byte("web3cosmos")) )
Functions ¶
func AddressStoragePrefix ¶
AddressStoragePrefix returns a prefix to iterate over a given account storage.
func BinSearch ¶
func BinSearch(lo, hi uint64, executable func(uint64) (bool, *MsgEthereumTxResponse, error)) (uint64, error)
BinSearch execute the binary search and hone in on an executable gas limit
func BlockMaxGasFromConsensusParams ¶ added in v0.10.0
BlockMaxGasFromConsensusParams returns the gas limit for the current block from the chain consensus params.
func DeriveChainID ¶
DeriveChainID derives the chain id from the given v parameter.
CONTRACT: v value is either:
- {0,1} + CHAIN_ID * 2 + 35, if EIP155 is used
- {0,1} + 27, otherwise
Ref: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-155.md
func EncodeContractFunc ¶ added in v0.12.0
func EncodeTransactionLogs ¶
func EncodeTransactionLogs(res *TransactionLogs) ([]byte, error)
EncodeTransactionLogs encodes TransactionLogs slice into a protobuf-encoded byte slice.
func GetTmTxByHash ¶ added in v0.10.0
func GetTmTxByHash(hash common.Hash) (*tmrpctypes.ResultTx, error)
GetTmTxByHash return result tx in according to dynamic tx searching
func IsCosmosHandler ¶ added in v0.12.0
func IsLondon ¶
func IsLondon(ethConfig *params.ChainConfig, height int64) bool
IsLondon returns if london hardfork is enabled.
func IsValidInt256 ¶
IsValidInt256 check the bound of 256-bit number
func LogsToEthereum ¶
LogsToEthereum casts the stratos Logs to a slice of Ethereum Logs.
func Max ¶ added in v0.12.0
func Max[T constraints.Ordered](a, b T) T
func NewUpdateImplmentationProposal ¶ added in v0.12.0
func NewUpdateImplmentationProposal(proxy, impl string, data []byte, amt *sdkmath.Int) govv1beta1types.Content
NewUpdateImplmentationProposal creates a new proxy update proposal.
func PackTxData ¶
func PackTxData(txData TxData) (*codectypes.Any, error)
PackTxData constructs a new Any packed with the given tx data value. It returns an error if the client state can't be cast to a protobuf message or if the concrete implementation is not registered to the protobuf codec.
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable returns the parameter key table. Deprecated: now params can be accessed on key `prefixParams` on the evm store.
func RegisterInterfaces ¶
func RegisterInterfaces(registry codectypes.InterfaceRegistry)
RegisterInterfaces registers the client interfaces to protobuf Any.
func RegisterLegacyAminoCodec ¶ added in v0.12.0
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec RegisterCodec registers concrete types on codec
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func SafeNewIntFromBigInt ¶
SafeNewIntFromBigInt constructs Int from big.Int, return error if more than 256bits
func TxDataToAny ¶ added in v0.12.0
func TxDataToAny(data []byte) (*codectypes.Any, error)
TxDataToAny convert evm tx data to any
func TxDataToSdkMsg ¶ added in v0.12.0
func TxDataToSdkMsg(cdc codectypes.AnyUnpacker, data []byte) (sdk.Msg, error)
TxDataToMsg convert evm tx data to cosmos msg
func ValidateGenesis ¶ added in v0.12.0
func ValidateGenesis(data GenesisState) error
ValidateGenesis validates the evm genesis parameters
Types ¶
type AccessList ¶
type AccessList []AccessTuple
AccessList is an EIP-2930 access list that represents the slice of the protobuf AccessTuples.
func NewAccessList ¶
func NewAccessList(ethAccessList *ethtypes.AccessList) AccessList
NewAccessList creates a new protobuf-compatible AccessList from an ethereum core AccessList type
func (AccessList) ToEthAccessList ¶
func (al AccessList) ToEthAccessList() *ethtypes.AccessList
ToEthAccessList is an utility function to convert the protobuf compatible AccessList to eth core AccessList from go-ethereum
type AccessListTx ¶
type AccessListTx struct { // destination EVM chain ID ChainID *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"chainID"` // nonce corresponds to the account nonce (transaction sequence). Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` // gas price defines the value for each gas unit GasPrice *github_com_cosmos_cosmos_sdk_types.Int `` /* 135-byte string literal not displayed */ // gas defines the gas limit defined for the transaction. GasLimit uint64 `protobuf:"varint,4,opt,name=gas,proto3" json:"gas,omitempty"` // hex formatted address of the recipient To string `protobuf:"bytes,5,opt,name=to,proto3" json:"to,omitempty"` // value defines the unsigned integer value of the transaction amount. Amount *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,6,opt,name=value,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"value,omitempty"` // input defines the data payload bytes of the transaction. Data []byte `protobuf:"bytes,7,opt,name=data,proto3" json:"data,omitempty"` Accesses AccessList `protobuf:"bytes,8,rep,name=accesses,proto3,castrepeated=AccessList" json:"accessList"` // v defines the signature value V []byte `protobuf:"bytes,9,opt,name=v,proto3" json:"v,omitempty"` // r defines the signature value R []byte `protobuf:"bytes,10,opt,name=r,proto3" json:"r,omitempty"` // s define the signature value S []byte `protobuf:"bytes,11,opt,name=s,proto3" json:"s,omitempty"` }
AccessListTx is the data of EIP-2930 access list transactions.
func (*AccessListTx) AsEthereumData ¶
func (tx *AccessListTx) AsEthereumData() ethtypes.TxData
AsEthereumData returns an AccessListTx transaction tx from the proto-formatted TxData defined on the Cosmos EVM.
func (*AccessListTx) Copy ¶
func (tx *AccessListTx) Copy() TxData
Copy returns an instance with the same field values
func (AccessListTx) Cost ¶
func (tx AccessListTx) Cost() *big.Int
Cost returns amount + gasPrice * gasLimit.
func (*AccessListTx) Descriptor ¶
func (*AccessListTx) Descriptor() ([]byte, []int)
func (AccessListTx) EffectiveCost ¶
func (tx AccessListTx) EffectiveCost(baseFee *big.Int) *big.Int
EffectiveCost is the same as Cost for AccessListTx
func (AccessListTx) EffectiveFee ¶
func (tx AccessListTx) EffectiveFee(baseFee *big.Int) *big.Int
EffectiveFee is the same as Fee for AccessListTx
func (*AccessListTx) Equal ¶ added in v0.12.0
func (this *AccessListTx) Equal(that interface{}) bool
func (*AccessListTx) GetAccessList ¶
func (tx *AccessListTx) GetAccessList() ethtypes.AccessList
GetAccessList returns the AccessList field.
func (*AccessListTx) GetChainID ¶
func (tx *AccessListTx) GetChainID() *big.Int
GetChainID returns the chain id field from the AccessListTx
func (*AccessListTx) GetData ¶
func (tx *AccessListTx) GetData() []byte
GetData returns a copy of the input data bytes.
func (*AccessListTx) GetGasFeeCap ¶
func (tx *AccessListTx) GetGasFeeCap() *big.Int
GetGasFeeCap returns the gas price field.
func (*AccessListTx) GetGasPrice ¶
func (tx *AccessListTx) GetGasPrice() *big.Int
GetGasPrice returns the gas price field.
func (*AccessListTx) GetGasTipCap ¶
func (tx *AccessListTx) GetGasTipCap() *big.Int
GetGasTipCap returns the gas price field.
func (*AccessListTx) GetNonce ¶
func (tx *AccessListTx) GetNonce() uint64
GetNonce returns the account sequence for the transaction.
func (*AccessListTx) GetRawSignatureValues ¶
func (tx *AccessListTx) GetRawSignatureValues() (v, r, s *big.Int)
GetRawSignatureValues returns the V, R, S signature values of the transaction. The return values should not be modified by the caller.
func (*AccessListTx) GetTo ¶
func (tx *AccessListTx) GetTo() *common.Address
GetTo returns the pointer to the recipient address.
func (*AccessListTx) GetValue ¶
func (tx *AccessListTx) GetValue() *big.Int
GetValue returns the tx amount.
func (*AccessListTx) Marshal ¶
func (m *AccessListTx) Marshal() (dAtA []byte, err error)
func (*AccessListTx) MarshalToSizedBuffer ¶
func (m *AccessListTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccessListTx) ProtoMessage ¶
func (*AccessListTx) ProtoMessage()
func (*AccessListTx) Reset ¶
func (m *AccessListTx) Reset()
func (*AccessListTx) SetSignatureValues ¶
func (tx *AccessListTx) SetSignatureValues(chainID, v, r, s *big.Int)
SetSignatureValues sets the signature values to the transaction.
func (*AccessListTx) Size ¶
func (m *AccessListTx) Size() (n int)
func (*AccessListTx) String ¶
func (m *AccessListTx) String() string
func (*AccessListTx) Unmarshal ¶
func (m *AccessListTx) Unmarshal(dAtA []byte) error
func (AccessListTx) Validate ¶
func (tx AccessListTx) Validate() error
Validate performs a stateless validation of the tx fields.
func (*AccessListTx) XXX_DiscardUnknown ¶
func (m *AccessListTx) XXX_DiscardUnknown()
func (*AccessListTx) XXX_Marshal ¶
func (m *AccessListTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccessListTx) XXX_Merge ¶
func (m *AccessListTx) XXX_Merge(src proto.Message)
func (*AccessListTx) XXX_Size ¶
func (m *AccessListTx) XXX_Size() int
func (*AccessListTx) XXX_Unmarshal ¶
func (m *AccessListTx) XXX_Unmarshal(b []byte) error
type AccessTuple ¶
type AccessTuple struct { // hex formatted ethereum address Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // hex formatted hashes of the storage keys StorageKeys []string `protobuf:"bytes,2,rep,name=storage_keys,json=storageKeys,proto3" json:"storageKeys"` }
AccessTuple is the element type of an access list.
func (*AccessTuple) Descriptor ¶
func (*AccessTuple) Descriptor() ([]byte, []int)
func (*AccessTuple) Equal ¶ added in v0.12.0
func (this *AccessTuple) Equal(that interface{}) bool
func (*AccessTuple) Marshal ¶
func (m *AccessTuple) Marshal() (dAtA []byte, err error)
func (*AccessTuple) MarshalToSizedBuffer ¶
func (m *AccessTuple) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccessTuple) ProtoMessage ¶
func (*AccessTuple) ProtoMessage()
func (*AccessTuple) Reset ¶
func (m *AccessTuple) Reset()
func (*AccessTuple) Size ¶
func (m *AccessTuple) Size() (n int)
func (*AccessTuple) String ¶
func (m *AccessTuple) String() string
func (*AccessTuple) Unmarshal ¶
func (m *AccessTuple) Unmarshal(dAtA []byte) error
func (*AccessTuple) XXX_DiscardUnknown ¶
func (m *AccessTuple) XXX_DiscardUnknown()
func (*AccessTuple) XXX_Marshal ¶
func (m *AccessTuple) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccessTuple) XXX_Merge ¶
func (m *AccessTuple) XXX_Merge(src proto.Message)
func (*AccessTuple) XXX_Size ¶
func (m *AccessTuple) XXX_Size() int
func (*AccessTuple) XXX_Unmarshal ¶
func (m *AccessTuple) XXX_Unmarshal(b []byte) error
type AccountKeeper ¶
type AccountKeeper interface { NewAccountWithAddress(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI GetModuleAddress(moduleName string) sdk.AccAddress GetAllAccounts(ctx sdk.Context) (accounts []authtypes.AccountI) IterateAccounts(ctx sdk.Context, cb func(account authtypes.AccountI) bool) GetSequence(sdk.Context, sdk.AccAddress) (uint64, error) GetAccount(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI SetAccount(ctx sdk.Context, account authtypes.AccountI) RemoveAccount(ctx sdk.Context, account authtypes.AccountI) GetParams(ctx sdk.Context) (params authtypes.Params) }
AccountKeeper defines the expected account keeper interface
type BankKeeper ¶
type BankKeeper interface { GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin SendCoins(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error MintCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error GetSupply(ctx sdk.Context, denom string) sdk.Coin IsSendEnabledCoins(ctx sdk.Context, coins ...sdk.Coin) error }
BankKeeper defines the expected interface needed to retrieve account balances.
type ChainConfig ¶
type ChainConfig struct { // chainId identifies the current chain and is used for replay protection ChainID *github_com_cosmos_cosmos_sdk_types.Int `` /* 148-byte string literal not displayed */ // Homestead switch block (nil no fork, 0 = already homestead) HomesteadBlock *github_com_cosmos_cosmos_sdk_types.Int `` /* 176-byte string literal not displayed */ // TheDAO hard-fork switch block (nil no fork) DAOForkBlock *github_com_cosmos_cosmos_sdk_types.Int `` /* 171-byte string literal not displayed */ // Whether the nodes supports or opposes the DAO hard-fork DAOForkSupport bool `` /* 130-byte string literal not displayed */ // EIP150 implements the Gas price changes // (https://github.com/ethereum/EIPs/issues/150) EIP150 HF block (nil no fork) EIP150Block *github_com_cosmos_cosmos_sdk_types.Int `` /* 164-byte string literal not displayed */ // EIP150 HF hash (needed for header only clients as only gas pricing changed) EIP150Hash string `protobuf:"bytes,6,opt,name=eip150_hash,json=eip150Hash,proto3" json:"eip150_hash,omitempty" yaml:"byzantium_block"` // EIP155Block HF block EIP155Block *github_com_cosmos_cosmos_sdk_types.Int `` /* 164-byte string literal not displayed */ // EIP158 HF block EIP158Block *github_com_cosmos_cosmos_sdk_types.Int `` /* 164-byte string literal not displayed */ // Byzantium switch block (nil no fork, 0 = already on byzantium) ByzantiumBlock *github_com_cosmos_cosmos_sdk_types.Int `` /* 176-byte string literal not displayed */ // Constantinople switch block (nil no fork, 0 = already activated) ConstantinopleBlock *github_com_cosmos_cosmos_sdk_types.Int `` /* 197-byte string literal not displayed */ // Petersburg switch block (nil same as Constantinople) PetersburgBlock *github_com_cosmos_cosmos_sdk_types.Int `` /* 181-byte string literal not displayed */ // Istanbul switch block (nil no fork, 0 = already on istanbul) IstanbulBlock *github_com_cosmos_cosmos_sdk_types.Int `` /* 173-byte string literal not displayed */ // Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated) MuirGlacierBlock *github_com_cosmos_cosmos_sdk_types.Int `` /* 188-byte string literal not displayed */ // Berlin switch block (nil = no fork, 0 = already on berlin) BerlinBlock *github_com_cosmos_cosmos_sdk_types.Int `` /* 165-byte string literal not displayed */ // London switch block (nil = no fork, 0 = already on london) LondonBlock *github_com_cosmos_cosmos_sdk_types.Int `` /* 165-byte string literal not displayed */ // Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated) ArrowGlacierBlock *github_com_cosmos_cosmos_sdk_types.Int `` /* 192-byte string literal not displayed */ // EIP-3675 (TheMerge) switch block (nil = no fork, 0 = already in merge proceedings) MergeForkBlock *github_com_cosmos_cosmos_sdk_types.Int `` /* 180-byte string literal not displayed */ }
ChainConfig defines the Ethereum ChainConfig parameters using *sdkmath.Int values instead of *big.Int.
func DefaultChainConfig ¶
func DefaultChainConfig() ChainConfig
DefaultChainConfig returns default evm parameters.
func (*ChainConfig) Descriptor ¶
func (*ChainConfig) Descriptor() ([]byte, []int)
func (*ChainConfig) Equal ¶ added in v0.12.0
func (this *ChainConfig) Equal(that interface{}) bool
func (ChainConfig) EthereumConfig ¶
func (cc ChainConfig) EthereumConfig() *params.ChainConfig
EthereumConfig returns an Ethereum ChainConfig for EVM state transitions. All the negative or nil values are converted to nil
func (*ChainConfig) GetDAOForkSupport ¶
func (m *ChainConfig) GetDAOForkSupport() bool
func (*ChainConfig) GetEIP150Hash ¶
func (m *ChainConfig) GetEIP150Hash() string
func (*ChainConfig) Marshal ¶
func (m *ChainConfig) Marshal() (dAtA []byte, err error)
func (*ChainConfig) MarshalToSizedBuffer ¶
func (m *ChainConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ChainConfig) ProtoMessage ¶
func (*ChainConfig) ProtoMessage()
func (*ChainConfig) Reset ¶
func (m *ChainConfig) Reset()
func (*ChainConfig) Size ¶
func (m *ChainConfig) Size() (n int)
func (*ChainConfig) String ¶
func (m *ChainConfig) String() string
func (*ChainConfig) Unmarshal ¶
func (m *ChainConfig) Unmarshal(dAtA []byte) error
func (ChainConfig) Validate ¶
func (cc ChainConfig) Validate() error
Validate performs a basic validation of the ChainConfig params. The function will return an error if any of the block values is uninitialized (i.e. nil) or if the EIP150Hash is an invalid hash.
func (*ChainConfig) XXX_DiscardUnknown ¶
func (m *ChainConfig) XXX_DiscardUnknown()
func (*ChainConfig) XXX_Marshal ¶
func (m *ChainConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChainConfig) XXX_Merge ¶
func (m *ChainConfig) XXX_Merge(src proto.Message)
func (*ChainConfig) XXX_Size ¶
func (m *ChainConfig) XXX_Size() int
func (*ChainConfig) XXX_Unmarshal ¶
func (m *ChainConfig) XXX_Unmarshal(b []byte) error
type CompiledContract ¶
CompiledContract contains compiled bytecode and abi
var ( // ERC20Contract is the compiled test erc20 contract ERC20Contract CompiledContract // SimpleStorageContract is the compiled test simple storage contract SimpleStorageContract CompiledContract // TestMessageCall is the compiled message call benchmark contract TestMessageCall CompiledContract )
func (CompiledContract) MarshalJSON ¶
func (s CompiledContract) MarshalJSON() ([]byte, error)
MarshalJSON serializes ByteArray to hex
func (*CompiledContract) UnmarshalJSON ¶
func (s *CompiledContract) UnmarshalJSON(data []byte) error
UnmarshalJSON deserializes ByteArray to hex
type DynamicFeeTx ¶
type DynamicFeeTx struct { // destination EVM chain ID ChainID *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"chainID"` // nonce corresponds to the account nonce (transaction sequence). Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` // gas tip cap defines the max value for the gas tip GasTipCap *github_com_cosmos_cosmos_sdk_types.Int `` /* 140-byte string literal not displayed */ // gas fee cap defines the max value for the gas fee GasFeeCap *github_com_cosmos_cosmos_sdk_types.Int `` /* 140-byte string literal not displayed */ // gas defines the gas limit defined for the transaction. GasLimit uint64 `protobuf:"varint,5,opt,name=gas,proto3" json:"gas,omitempty"` // hex formatted address of the recipient To string `protobuf:"bytes,6,opt,name=to,proto3" json:"to,omitempty"` // value defines the the transaction amount. Amount *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,7,opt,name=value,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"value,omitempty"` // input defines the data payload bytes of the transaction. Data []byte `protobuf:"bytes,8,opt,name=data,proto3" json:"data,omitempty"` Accesses AccessList `protobuf:"bytes,9,rep,name=accesses,proto3,castrepeated=AccessList" json:"accessList"` // v defines the signature value V []byte `protobuf:"bytes,10,opt,name=v,proto3" json:"v,omitempty"` // r defines the signature value R []byte `protobuf:"bytes,11,opt,name=r,proto3" json:"r,omitempty"` // s define the signature value S []byte `protobuf:"bytes,12,opt,name=s,proto3" json:"s,omitempty"` }
DynamicFeeTx is the data of EIP-1559 dinamic fee transactions.
func (*DynamicFeeTx) AsEthereumData ¶
func (tx *DynamicFeeTx) AsEthereumData() ethtypes.TxData
AsEthereumData returns an DynamicFeeTx transaction tx from the proto-formatted TxData defined on the Cosmos EVM.
func (*DynamicFeeTx) Copy ¶
func (tx *DynamicFeeTx) Copy() TxData
Copy returns an instance with the same field values
func (DynamicFeeTx) Cost ¶
func (tx DynamicFeeTx) Cost() *big.Int
Cost returns amount + gasPrice * gasLimit.
func (*DynamicFeeTx) Descriptor ¶
func (*DynamicFeeTx) Descriptor() ([]byte, []int)
func (DynamicFeeTx) EffectiveCost ¶
func (tx DynamicFeeTx) EffectiveCost(baseFee *big.Int) *big.Int
EffectiveCost returns amount + effective_gasPrice * gasLimit.
func (DynamicFeeTx) EffectiveFee ¶
func (tx DynamicFeeTx) EffectiveFee(baseFee *big.Int) *big.Int
EffectiveFee returns effective_gasPrice * gasLimit.
func (*DynamicFeeTx) Equal ¶ added in v0.12.0
func (this *DynamicFeeTx) Equal(that interface{}) bool
func (*DynamicFeeTx) GetAccessList ¶
func (tx *DynamicFeeTx) GetAccessList() ethtypes.AccessList
GetAccessList returns the AccessList field.
func (*DynamicFeeTx) GetChainID ¶
func (tx *DynamicFeeTx) GetChainID() *big.Int
GetChainID returns the chain id field from the DynamicFeeTx
func (*DynamicFeeTx) GetData ¶
func (tx *DynamicFeeTx) GetData() []byte
GetData returns the copy of the input data bytes.
func (*DynamicFeeTx) GetEffectiveGasPrice ¶
func (tx *DynamicFeeTx) GetEffectiveGasPrice(baseFee *big.Int) *big.Int
GetEffectiveGasPrice returns the effective gas price
func (*DynamicFeeTx) GetGasFeeCap ¶
func (tx *DynamicFeeTx) GetGasFeeCap() *big.Int
GetGasFeeCap returns the gas fee cap field.
func (*DynamicFeeTx) GetGasPrice ¶
func (tx *DynamicFeeTx) GetGasPrice() *big.Int
GetGasPrice returns the gas fee cap field.
func (*DynamicFeeTx) GetGasTipCap ¶
func (tx *DynamicFeeTx) GetGasTipCap() *big.Int
GetGasTipCap returns the gas tip cap field.
func (*DynamicFeeTx) GetNonce ¶
func (tx *DynamicFeeTx) GetNonce() uint64
GetNonce returns the account sequence for the transaction.
func (*DynamicFeeTx) GetRawSignatureValues ¶
func (tx *DynamicFeeTx) GetRawSignatureValues() (v, r, s *big.Int)
GetRawSignatureValues returns the V, R, S signature values of the transaction. The return values should not be modified by the caller.
func (*DynamicFeeTx) GetTo ¶
func (tx *DynamicFeeTx) GetTo() *common.Address
GetTo returns the pointer to the recipient address.
func (*DynamicFeeTx) GetValue ¶
func (tx *DynamicFeeTx) GetValue() *big.Int
GetValue returns the tx amount.
func (*DynamicFeeTx) Marshal ¶
func (m *DynamicFeeTx) Marshal() (dAtA []byte, err error)
func (*DynamicFeeTx) MarshalToSizedBuffer ¶
func (m *DynamicFeeTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DynamicFeeTx) ProtoMessage ¶
func (*DynamicFeeTx) ProtoMessage()
func (*DynamicFeeTx) Reset ¶
func (m *DynamicFeeTx) Reset()
func (*DynamicFeeTx) SetSignatureValues ¶
func (tx *DynamicFeeTx) SetSignatureValues(chainID, v, r, s *big.Int)
SetSignatureValues sets the signature values to the transaction.
func (*DynamicFeeTx) Size ¶
func (m *DynamicFeeTx) Size() (n int)
func (*DynamicFeeTx) String ¶
func (m *DynamicFeeTx) String() string
func (*DynamicFeeTx) Unmarshal ¶
func (m *DynamicFeeTx) Unmarshal(dAtA []byte) error
func (DynamicFeeTx) Validate ¶
func (tx DynamicFeeTx) Validate() error
Validate performs a stateless validation of the tx fields.
func (*DynamicFeeTx) XXX_DiscardUnknown ¶
func (m *DynamicFeeTx) XXX_DiscardUnknown()
func (*DynamicFeeTx) XXX_Marshal ¶
func (m *DynamicFeeTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DynamicFeeTx) XXX_Merge ¶
func (m *DynamicFeeTx) XXX_Merge(src proto.Message)
func (*DynamicFeeTx) XXX_Size ¶
func (m *DynamicFeeTx) XXX_Size() int
func (*DynamicFeeTx) XXX_Unmarshal ¶
func (m *DynamicFeeTx) XXX_Unmarshal(b []byte) error
type EVMConfig ¶
type EVMConfig struct { Params Params ChainConfig *params.ChainConfig CoinBase common.Address BaseFee *big.Int }
EVMConfig encapulates common parameters needed to create an EVM to execute a message It's mainly to reduce the number of method parameters
type EstimateGasResponse ¶
type EstimateGasResponse struct { // the estimated gas Gas uint64 `protobuf:"varint,1,opt,name=gas,proto3" json:"gas,omitempty"` }
EstimateGasResponse defines EstimateGas response
func (*EstimateGasResponse) Descriptor ¶
func (*EstimateGasResponse) Descriptor() ([]byte, []int)
func (*EstimateGasResponse) GetGas ¶
func (m *EstimateGasResponse) GetGas() uint64
func (*EstimateGasResponse) Marshal ¶
func (m *EstimateGasResponse) Marshal() (dAtA []byte, err error)
func (*EstimateGasResponse) MarshalTo ¶
func (m *EstimateGasResponse) MarshalTo(dAtA []byte) (int, error)
func (*EstimateGasResponse) MarshalToSizedBuffer ¶
func (m *EstimateGasResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EstimateGasResponse) ProtoMessage ¶
func (*EstimateGasResponse) ProtoMessage()
func (*EstimateGasResponse) Reset ¶
func (m *EstimateGasResponse) Reset()
func (*EstimateGasResponse) Size ¶
func (m *EstimateGasResponse) Size() (n int)
func (*EstimateGasResponse) String ¶
func (m *EstimateGasResponse) String() string
func (*EstimateGasResponse) Unmarshal ¶
func (m *EstimateGasResponse) Unmarshal(dAtA []byte) error
func (*EstimateGasResponse) XXX_DiscardUnknown ¶
func (m *EstimateGasResponse) XXX_DiscardUnknown()
func (*EstimateGasResponse) XXX_Marshal ¶
func (m *EstimateGasResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateGasResponse) XXX_Merge ¶
func (m *EstimateGasResponse) XXX_Merge(src proto.Message)
func (*EstimateGasResponse) XXX_Size ¶
func (m *EstimateGasResponse) XXX_Size() int
func (*EstimateGasResponse) XXX_Unmarshal ¶
func (m *EstimateGasResponse) XXX_Unmarshal(b []byte) error
type EthCallRequest ¶
type EthCallRequest struct { // same json format as the json rpc api. Args []byte `protobuf:"bytes,1,opt,name=args,proto3" json:"args,omitempty"` // the default gas cap to be used GasCap uint64 `protobuf:"varint,2,opt,name=gas_cap,json=gasCap,proto3" json:"gas_cap,omitempty"` }
EthCallRequest defines EthCall request
func (*EthCallRequest) Descriptor ¶
func (*EthCallRequest) Descriptor() ([]byte, []int)
func (*EthCallRequest) GetArgs ¶
func (m *EthCallRequest) GetArgs() []byte
func (*EthCallRequest) GetGasCap ¶
func (m *EthCallRequest) GetGasCap() uint64
func (*EthCallRequest) Marshal ¶
func (m *EthCallRequest) Marshal() (dAtA []byte, err error)
func (*EthCallRequest) MarshalToSizedBuffer ¶
func (m *EthCallRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EthCallRequest) ProtoMessage ¶
func (*EthCallRequest) ProtoMessage()
func (*EthCallRequest) Reset ¶
func (m *EthCallRequest) Reset()
func (*EthCallRequest) Size ¶
func (m *EthCallRequest) Size() (n int)
func (*EthCallRequest) String ¶
func (m *EthCallRequest) String() string
func (*EthCallRequest) Unmarshal ¶
func (m *EthCallRequest) Unmarshal(dAtA []byte) error
func (*EthCallRequest) XXX_DiscardUnknown ¶
func (m *EthCallRequest) XXX_DiscardUnknown()
func (*EthCallRequest) XXX_Marshal ¶
func (m *EthCallRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EthCallRequest) XXX_Merge ¶
func (m *EthCallRequest) XXX_Merge(src proto.Message)
func (*EthCallRequest) XXX_Size ¶
func (m *EthCallRequest) XXX_Size() int
func (*EthCallRequest) XXX_Unmarshal ¶
func (m *EthCallRequest) XXX_Unmarshal(b []byte) error
type EventBlockBloom ¶ added in v0.12.0
type EventBlockBloom struct { // bloom is the bloom filter of the block Bloom []byte `protobuf:"bytes,1,opt,name=bloom,proto3" json:"bloom,omitempty"` }
EventBlockBloom defines an Ethereum block bloom filter event
func (*EventBlockBloom) Descriptor ¶ added in v0.12.0
func (*EventBlockBloom) Descriptor() ([]byte, []int)
func (*EventBlockBloom) GetBloom ¶ added in v0.12.0
func (m *EventBlockBloom) GetBloom() []byte
func (*EventBlockBloom) Marshal ¶ added in v0.12.0
func (m *EventBlockBloom) Marshal() (dAtA []byte, err error)
func (*EventBlockBloom) MarshalTo ¶ added in v0.12.0
func (m *EventBlockBloom) MarshalTo(dAtA []byte) (int, error)
func (*EventBlockBloom) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *EventBlockBloom) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventBlockBloom) ProtoMessage ¶ added in v0.12.0
func (*EventBlockBloom) ProtoMessage()
func (*EventBlockBloom) Reset ¶ added in v0.12.0
func (m *EventBlockBloom) Reset()
func (*EventBlockBloom) Size ¶ added in v0.12.0
func (m *EventBlockBloom) Size() (n int)
func (*EventBlockBloom) String ¶ added in v0.12.0
func (m *EventBlockBloom) String() string
func (*EventBlockBloom) Unmarshal ¶ added in v0.12.0
func (m *EventBlockBloom) Unmarshal(dAtA []byte) error
func (*EventBlockBloom) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *EventBlockBloom) XXX_DiscardUnknown()
func (*EventBlockBloom) XXX_Marshal ¶ added in v0.12.0
func (m *EventBlockBloom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventBlockBloom) XXX_Merge ¶ added in v0.12.0
func (m *EventBlockBloom) XXX_Merge(src proto.Message)
func (*EventBlockBloom) XXX_Size ¶ added in v0.12.0
func (m *EventBlockBloom) XXX_Size() int
func (*EventBlockBloom) XXX_Unmarshal ¶ added in v0.12.0
func (m *EventBlockBloom) XXX_Unmarshal(b []byte) error
type EventBlockGas ¶ added in v0.12.0
type EventBlockGas struct { Height string `protobuf:"bytes,1,opt,name=height,proto3" json:"height,omitempty"` Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` }
func (*EventBlockGas) Descriptor ¶ added in v0.12.0
func (*EventBlockGas) Descriptor() ([]byte, []int)
func (*EventBlockGas) GetAmount ¶ added in v0.12.0
func (m *EventBlockGas) GetAmount() string
func (*EventBlockGas) GetHeight ¶ added in v0.12.0
func (m *EventBlockGas) GetHeight() string
func (*EventBlockGas) Marshal ¶ added in v0.12.0
func (m *EventBlockGas) Marshal() (dAtA []byte, err error)
func (*EventBlockGas) MarshalTo ¶ added in v0.12.0
func (m *EventBlockGas) MarshalTo(dAtA []byte) (int, error)
func (*EventBlockGas) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *EventBlockGas) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventBlockGas) ProtoMessage ¶ added in v0.12.0
func (*EventBlockGas) ProtoMessage()
func (*EventBlockGas) Reset ¶ added in v0.12.0
func (m *EventBlockGas) Reset()
func (*EventBlockGas) Size ¶ added in v0.12.0
func (m *EventBlockGas) Size() (n int)
func (*EventBlockGas) String ¶ added in v0.12.0
func (m *EventBlockGas) String() string
func (*EventBlockGas) Unmarshal ¶ added in v0.12.0
func (m *EventBlockGas) Unmarshal(dAtA []byte) error
func (*EventBlockGas) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *EventBlockGas) XXX_DiscardUnknown()
func (*EventBlockGas) XXX_Marshal ¶ added in v0.12.0
func (m *EventBlockGas) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventBlockGas) XXX_Merge ¶ added in v0.12.0
func (m *EventBlockGas) XXX_Merge(src proto.Message)
func (*EventBlockGas) XXX_Size ¶ added in v0.12.0
func (m *EventBlockGas) XXX_Size() int
func (*EventBlockGas) XXX_Unmarshal ¶ added in v0.12.0
func (m *EventBlockGas) XXX_Unmarshal(b []byte) error
type EventEthereumTx ¶ added in v0.12.0
type EventEthereumTx struct { // amount Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` // eth_hash is the Ethereum hash of the transaction EthHash string `protobuf:"bytes,2,opt,name=eth_hash,json=ethHash,proto3" json:"eth_hash,omitempty"` // index of the transaction in the block Index string `protobuf:"bytes,3,opt,name=index,proto3" json:"index,omitempty"` // gas_used is the amount of gas used by the transaction GasUsed string `protobuf:"bytes,4,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` // hash is the Tendermint hash of the transaction Hash string `protobuf:"bytes,5,opt,name=hash,proto3" json:"hash,omitempty"` // recipient of the transaction Recipient string `protobuf:"bytes,6,opt,name=recipient,proto3" json:"recipient,omitempty"` // eth_tx_failed contains a VM error should it occur EthTxFailed string `protobuf:"bytes,7,opt,name=eth_tx_failed,json=ethTxFailed,proto3" json:"eth_tx_failed,omitempty"` }
EventEthereumTx defines the event for an Ethereum transaction
func (*EventEthereumTx) Descriptor ¶ added in v0.12.0
func (*EventEthereumTx) Descriptor() ([]byte, []int)
func (*EventEthereumTx) GetAmount ¶ added in v0.12.0
func (m *EventEthereumTx) GetAmount() string
func (*EventEthereumTx) GetEthHash ¶ added in v0.12.0
func (m *EventEthereumTx) GetEthHash() string
func (*EventEthereumTx) GetEthTxFailed ¶ added in v0.12.0
func (m *EventEthereumTx) GetEthTxFailed() string
func (*EventEthereumTx) GetGasUsed ¶ added in v0.12.0
func (m *EventEthereumTx) GetGasUsed() string
func (*EventEthereumTx) GetHash ¶ added in v0.12.0
func (m *EventEthereumTx) GetHash() string
func (*EventEthereumTx) GetIndex ¶ added in v0.12.0
func (m *EventEthereumTx) GetIndex() string
func (*EventEthereumTx) GetRecipient ¶ added in v0.12.0
func (m *EventEthereumTx) GetRecipient() string
func (*EventEthereumTx) Marshal ¶ added in v0.12.0
func (m *EventEthereumTx) Marshal() (dAtA []byte, err error)
func (*EventEthereumTx) MarshalTo ¶ added in v0.12.0
func (m *EventEthereumTx) MarshalTo(dAtA []byte) (int, error)
func (*EventEthereumTx) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *EventEthereumTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventEthereumTx) ProtoMessage ¶ added in v0.12.0
func (*EventEthereumTx) ProtoMessage()
func (*EventEthereumTx) Reset ¶ added in v0.12.0
func (m *EventEthereumTx) Reset()
func (*EventEthereumTx) Size ¶ added in v0.12.0
func (m *EventEthereumTx) Size() (n int)
func (*EventEthereumTx) String ¶ added in v0.12.0
func (m *EventEthereumTx) String() string
func (*EventEthereumTx) Unmarshal ¶ added in v0.12.0
func (m *EventEthereumTx) Unmarshal(dAtA []byte) error
func (*EventEthereumTx) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *EventEthereumTx) XXX_DiscardUnknown()
func (*EventEthereumTx) XXX_Marshal ¶ added in v0.12.0
func (m *EventEthereumTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventEthereumTx) XXX_Merge ¶ added in v0.12.0
func (m *EventEthereumTx) XXX_Merge(src proto.Message)
func (*EventEthereumTx) XXX_Size ¶ added in v0.12.0
func (m *EventEthereumTx) XXX_Size() int
func (*EventEthereumTx) XXX_Unmarshal ¶ added in v0.12.0
func (m *EventEthereumTx) XXX_Unmarshal(b []byte) error
type EventFeeMarket ¶ added in v0.12.0
type EventFeeMarket struct {
BaseFee string `protobuf:"bytes,1,opt,name=base_fee,json=baseFee,proto3" json:"base_fee,omitempty"`
}
func (*EventFeeMarket) Descriptor ¶ added in v0.12.0
func (*EventFeeMarket) Descriptor() ([]byte, []int)
func (*EventFeeMarket) GetBaseFee ¶ added in v0.12.0
func (m *EventFeeMarket) GetBaseFee() string
func (*EventFeeMarket) Marshal ¶ added in v0.12.0
func (m *EventFeeMarket) Marshal() (dAtA []byte, err error)
func (*EventFeeMarket) MarshalTo ¶ added in v0.12.0
func (m *EventFeeMarket) MarshalTo(dAtA []byte) (int, error)
func (*EventFeeMarket) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *EventFeeMarket) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventFeeMarket) ProtoMessage ¶ added in v0.12.0
func (*EventFeeMarket) ProtoMessage()
func (*EventFeeMarket) Reset ¶ added in v0.12.0
func (m *EventFeeMarket) Reset()
func (*EventFeeMarket) Size ¶ added in v0.12.0
func (m *EventFeeMarket) Size() (n int)
func (*EventFeeMarket) String ¶ added in v0.12.0
func (m *EventFeeMarket) String() string
func (*EventFeeMarket) Unmarshal ¶ added in v0.12.0
func (m *EventFeeMarket) Unmarshal(dAtA []byte) error
func (*EventFeeMarket) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *EventFeeMarket) XXX_DiscardUnknown()
func (*EventFeeMarket) XXX_Marshal ¶ added in v0.12.0
func (m *EventFeeMarket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventFeeMarket) XXX_Merge ¶ added in v0.12.0
func (m *EventFeeMarket) XXX_Merge(src proto.Message)
func (*EventFeeMarket) XXX_Size ¶ added in v0.12.0
func (m *EventFeeMarket) XXX_Size() int
func (*EventFeeMarket) XXX_Unmarshal ¶ added in v0.12.0
func (m *EventFeeMarket) XXX_Unmarshal(b []byte) error
type EventTx ¶ added in v0.12.0
type EventTx struct {
Fee string `protobuf:"bytes,1,opt,name=fee,proto3" json:"fee,omitempty"`
}
func (*EventTx) Descriptor ¶ added in v0.12.0
func (*EventTx) MarshalToSizedBuffer ¶ added in v0.12.0
func (*EventTx) ProtoMessage ¶ added in v0.12.0
func (*EventTx) ProtoMessage()
func (*EventTx) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *EventTx) XXX_DiscardUnknown()
func (*EventTx) XXX_Marshal ¶ added in v0.12.0
func (*EventTx) XXX_Unmarshal ¶ added in v0.12.0
type EventTxLog ¶ added in v0.12.0
type EventTxLog struct { // tx_logs is an array of transaction logs TxLogs []byte `protobuf:"bytes,1,opt,name=tx_logs,json=txLogs,proto3" json:"tx_logs,omitempty"` }
EventTxLog defines the event for an Ethereum transaction log
func (*EventTxLog) Descriptor ¶ added in v0.12.0
func (*EventTxLog) Descriptor() ([]byte, []int)
func (*EventTxLog) GetTxLogs ¶ added in v0.12.0
func (m *EventTxLog) GetTxLogs() []byte
func (*EventTxLog) Marshal ¶ added in v0.12.0
func (m *EventTxLog) Marshal() (dAtA []byte, err error)
func (*EventTxLog) MarshalTo ¶ added in v0.12.0
func (m *EventTxLog) MarshalTo(dAtA []byte) (int, error)
func (*EventTxLog) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *EventTxLog) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventTxLog) ProtoMessage ¶ added in v0.12.0
func (*EventTxLog) ProtoMessage()
func (*EventTxLog) Reset ¶ added in v0.12.0
func (m *EventTxLog) Reset()
func (*EventTxLog) Size ¶ added in v0.12.0
func (m *EventTxLog) Size() (n int)
func (*EventTxLog) String ¶ added in v0.12.0
func (m *EventTxLog) String() string
func (*EventTxLog) Unmarshal ¶ added in v0.12.0
func (m *EventTxLog) Unmarshal(dAtA []byte) error
func (*EventTxLog) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *EventTxLog) XXX_DiscardUnknown()
func (*EventTxLog) XXX_Marshal ¶ added in v0.12.0
func (m *EventTxLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventTxLog) XXX_Merge ¶ added in v0.12.0
func (m *EventTxLog) XXX_Merge(src proto.Message)
func (*EventTxLog) XXX_Size ¶ added in v0.12.0
func (m *EventTxLog) XXX_Size() int
func (*EventTxLog) XXX_Unmarshal ¶ added in v0.12.0
func (m *EventTxLog) XXX_Unmarshal(b []byte) error
type EvmHooks ¶
type EvmHooks interface { // Must be called after tx is processed successfully, if return an error, the whole transaction is reverted. PostTxProcessing(ctx sdk.Context, msg core.Message, receipt *ethtypes.Receipt) error }
EvmHooks event hooks for evm tx processing
type ExtensionOptionsEthereumTx ¶
type ExtensionOptionsEthereumTx struct { }
func (*ExtensionOptionsEthereumTx) Descriptor ¶
func (*ExtensionOptionsEthereumTx) Descriptor() ([]byte, []int)
func (*ExtensionOptionsEthereumTx) Equal ¶ added in v0.12.0
func (this *ExtensionOptionsEthereumTx) Equal(that interface{}) bool
func (*ExtensionOptionsEthereumTx) Marshal ¶
func (m *ExtensionOptionsEthereumTx) Marshal() (dAtA []byte, err error)
func (*ExtensionOptionsEthereumTx) MarshalTo ¶
func (m *ExtensionOptionsEthereumTx) MarshalTo(dAtA []byte) (int, error)
func (*ExtensionOptionsEthereumTx) MarshalToSizedBuffer ¶
func (m *ExtensionOptionsEthereumTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ExtensionOptionsEthereumTx) ProtoMessage ¶
func (*ExtensionOptionsEthereumTx) ProtoMessage()
func (*ExtensionOptionsEthereumTx) Reset ¶
func (m *ExtensionOptionsEthereumTx) Reset()
func (*ExtensionOptionsEthereumTx) Size ¶
func (m *ExtensionOptionsEthereumTx) Size() (n int)
func (*ExtensionOptionsEthereumTx) String ¶
func (m *ExtensionOptionsEthereumTx) String() string
func (*ExtensionOptionsEthereumTx) Unmarshal ¶
func (m *ExtensionOptionsEthereumTx) Unmarshal(dAtA []byte) error
func (*ExtensionOptionsEthereumTx) XXX_DiscardUnknown ¶
func (m *ExtensionOptionsEthereumTx) XXX_DiscardUnknown()
func (*ExtensionOptionsEthereumTx) XXX_Marshal ¶
func (m *ExtensionOptionsEthereumTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExtensionOptionsEthereumTx) XXX_Merge ¶
func (m *ExtensionOptionsEthereumTx) XXX_Merge(src proto.Message)
func (*ExtensionOptionsEthereumTx) XXX_Size ¶
func (m *ExtensionOptionsEthereumTx) XXX_Size() int
func (*ExtensionOptionsEthereumTx) XXX_Unmarshal ¶
func (m *ExtensionOptionsEthereumTx) XXX_Unmarshal(b []byte) error
type ExtensionOptionsEthereumTxI ¶
type ExtensionOptionsEthereumTxI interface{}
type FeeMarketParams ¶
type FeeMarketParams struct { // no base fee forces the EIP-1559 base fee to 0 (needed for 0 price calls) NoBaseFee bool `protobuf:"varint,1,opt,name=no_base_fee,json=noBaseFee,proto3" json:"no_base_fee,omitempty"` // base fee change denominator bounds the amount the base fee can change // between blocks. BaseFeeChangeDenominator uint32 `` /* 138-byte string literal not displayed */ // elasticity multiplier bounds the maximum gas limit an EIP-1559 block may // have. ElasticityMultiplier uint32 `protobuf:"varint,3,opt,name=elasticity_multiplier,json=elasticityMultiplier,proto3" json:"elasticity_multiplier,omitempty"` // height at which the base fee calculation is enabled. EnableHeight int64 `protobuf:"varint,5,opt,name=enable_height,json=enableHeight,proto3" json:"enable_height,omitempty"` // base fee for EIP-1559 blocks. BaseFee github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,6,opt,name=base_fee,json=baseFee,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"base_fee"` }
Params defines the EVM module parameters
func DefaultFeeMarketParams ¶
func DefaultFeeMarketParams() FeeMarketParams
DefaultFeeMarketParams returns default evm parameters
func NewFeeMarketParams ¶
func NewFeeMarketParams(noBaseFee bool, baseFeeChangeDenom, elasticityMultiplier uint32, baseFee uint64, enableHeight int64) FeeMarketParams
NewFeeMarketParams creates a new FeeMarketParams instance
func (*FeeMarketParams) Descriptor ¶
func (*FeeMarketParams) Descriptor() ([]byte, []int)
func (*FeeMarketParams) Equal ¶ added in v0.12.0
func (this *FeeMarketParams) Equal(that interface{}) bool
func (*FeeMarketParams) GetBaseFeeChangeDenominator ¶
func (m *FeeMarketParams) GetBaseFeeChangeDenominator() uint32
func (*FeeMarketParams) GetElasticityMultiplier ¶
func (m *FeeMarketParams) GetElasticityMultiplier() uint32
func (*FeeMarketParams) GetEnableHeight ¶
func (m *FeeMarketParams) GetEnableHeight() int64
func (*FeeMarketParams) GetNoBaseFee ¶
func (m *FeeMarketParams) GetNoBaseFee() bool
func (*FeeMarketParams) IsBaseFeeEnabled ¶
func (p *FeeMarketParams) IsBaseFeeEnabled(height int64) bool
func (*FeeMarketParams) Marshal ¶
func (m *FeeMarketParams) Marshal() (dAtA []byte, err error)
func (*FeeMarketParams) MarshalToSizedBuffer ¶
func (m *FeeMarketParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FeeMarketParams) ProtoMessage ¶
func (*FeeMarketParams) ProtoMessage()
func (*FeeMarketParams) Reset ¶
func (m *FeeMarketParams) Reset()
func (*FeeMarketParams) Size ¶
func (m *FeeMarketParams) Size() (n int)
func (*FeeMarketParams) String ¶
func (m *FeeMarketParams) String() string
func (*FeeMarketParams) Unmarshal ¶
func (m *FeeMarketParams) Unmarshal(dAtA []byte) error
func (FeeMarketParams) Validate ¶
func (p FeeMarketParams) Validate() error
Validate performs basic validation on fee market parameters.
func (*FeeMarketParams) XXX_DiscardUnknown ¶
func (m *FeeMarketParams) XXX_DiscardUnknown()
func (*FeeMarketParams) XXX_Marshal ¶
func (m *FeeMarketParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FeeMarketParams) XXX_Merge ¶
func (m *FeeMarketParams) XXX_Merge(src proto.Message)
func (*FeeMarketParams) XXX_Size ¶
func (m *FeeMarketParams) XXX_Size() int
func (*FeeMarketParams) XXX_Unmarshal ¶
func (m *FeeMarketParams) XXX_Unmarshal(b []byte) error
type GenesisAccount ¶
type GenesisAccount struct { // address defines an ethereum hex formated address of an account Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address" yaml:"address"` // code defines the hex bytes of the account code. Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code" yaml:"code"` // storage defines the set of state key values for the account. Storage Storage `protobuf:"bytes,3,rep,name=storage,proto3,castrepeated=Storage" json:"storage" yaml:"storage"` }
GenesisAccount defines an account to be initialized in the genesis state. Its main difference between with Geth's GenesisAccount is that it uses a custom storage type and that it doesn't contain the private key field.
func (*GenesisAccount) Descriptor ¶
func (*GenesisAccount) Descriptor() ([]byte, []int)
func (*GenesisAccount) Equal ¶ added in v0.12.0
func (this *GenesisAccount) Equal(that interface{}) bool
func (*GenesisAccount) GetAddress ¶
func (m *GenesisAccount) GetAddress() string
func (*GenesisAccount) GetCode ¶
func (m *GenesisAccount) GetCode() string
func (*GenesisAccount) GetStorage ¶
func (m *GenesisAccount) GetStorage() Storage
func (*GenesisAccount) Marshal ¶
func (m *GenesisAccount) Marshal() (dAtA []byte, err error)
func (*GenesisAccount) MarshalToSizedBuffer ¶
func (m *GenesisAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisAccount) ProtoMessage ¶
func (*GenesisAccount) ProtoMessage()
func (*GenesisAccount) Reset ¶
func (m *GenesisAccount) Reset()
func (*GenesisAccount) Size ¶
func (m *GenesisAccount) Size() (n int)
func (*GenesisAccount) String ¶
func (m *GenesisAccount) String() string
func (*GenesisAccount) Unmarshal ¶
func (m *GenesisAccount) Unmarshal(dAtA []byte) error
func (GenesisAccount) Validate ¶
func (ga GenesisAccount) Validate() error
Validate performs a basic validation of a GenesisAccount fields.
func (*GenesisAccount) XXX_DiscardUnknown ¶
func (m *GenesisAccount) XXX_DiscardUnknown()
func (*GenesisAccount) XXX_Marshal ¶
func (m *GenesisAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisAccount) XXX_Merge ¶
func (m *GenesisAccount) XXX_Merge(src proto.Message)
func (*GenesisAccount) XXX_Size ¶
func (m *GenesisAccount) XXX_Size() int
func (*GenesisAccount) XXX_Unmarshal ¶
func (m *GenesisAccount) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { // params defines all the parameters of the module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params" yaml:"params"` // accounts is an array containing the ethereum genesis accounts. Accounts []GenesisAccount `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts" yaml:"accounts"` // block gas is the amount of gas used on the last block before the upgrade. // Zero by default. BlockGas uint64 `protobuf:"varint,3,opt,name=block_gas,json=blockGas,proto3" json:"block_gas" yaml:"block_gas"` }
GenesisState defines the evm module's genesis state.
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
DefaultGenesisState sets default evm genesis state with empty accounts and default params and chain config values.
func NewGenesisState ¶
func NewGenesisState(params Params, accounts []GenesisAccount) *GenesisState
NewGenesisState creates a new genesis state.
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) Equal ¶ added in v0.12.0
func (this *GenesisState) Equal(that interface{}) bool
func (*GenesisState) GetAccounts ¶
func (m *GenesisState) GetAccounts() []GenesisAccount
func (*GenesisState) GetBlockGas ¶
func (m *GenesisState) GetBlockGas() uint64
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type HexString ¶
type HexString []byte
HexString is a byte array that serializes to hex
func (HexString) MarshalJSON ¶
MarshalJSON serializes ByteArray to hex
func (*HexString) UnmarshalJSON ¶
UnmarshalJSON deserializes ByteArray to hex
type LegacyTx ¶
type LegacyTx struct { // nonce corresponds to the account nonce (transaction sequence). Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` // gas price defines the value for each gas unit GasPrice *github_com_cosmos_cosmos_sdk_types.Int `` /* 135-byte string literal not displayed */ // gas defines the gas limit defined for the transaction. GasLimit uint64 `protobuf:"varint,3,opt,name=gas,proto3" json:"gas,omitempty"` // hex formatted address of the recipient To string `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"` // value defines the unsigned integer value of the transaction amount. Amount *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=value,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"value,omitempty"` // input defines the data payload bytes of the transaction. Data []byte `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"` // v defines the signature value V []byte `protobuf:"bytes,7,opt,name=v,proto3" json:"v,omitempty"` // r defines the signature value R []byte `protobuf:"bytes,8,opt,name=r,proto3" json:"r,omitempty"` // s define the signature value S []byte `protobuf:"bytes,9,opt,name=s,proto3" json:"s,omitempty"` }
LegacyTx is the transaction data of regular Ethereum transactions.
func (*LegacyTx) AsEthereumData ¶
AsEthereumData returns an AccessListTx transaction tx from the proto-formatted TxData defined on the Cosmos EVM.
func (*LegacyTx) Descriptor ¶
func (LegacyTx) EffectiveCost ¶
EffectiveCost is the same as Cost for LegacyTx
func (LegacyTx) EffectiveFee ¶
EffectiveFee is the same as Fee for LegacyTx
func (*LegacyTx) GetAccessList ¶
func (tx *LegacyTx) GetAccessList() ethtypes.AccessList
GetAccessList returns nil
func (*LegacyTx) GetChainID ¶
GetChainID returns the chain id field from the derived signature values
func (*LegacyTx) GetGasFeeCap ¶
GetGasFeeCap returns the gas price field.
func (*LegacyTx) GetGasPrice ¶
GetGasPrice returns the gas price field.
func (*LegacyTx) GetGasTipCap ¶
GetGasTipCap returns the gas price field.
func (*LegacyTx) GetRawSignatureValues ¶
GetRawSignatureValues returns the V, R, S signature values of the transaction. The return values should not be modified by the caller.
func (*LegacyTx) MarshalToSizedBuffer ¶
func (*LegacyTx) ProtoMessage ¶
func (*LegacyTx) ProtoMessage()
func (*LegacyTx) SetSignatureValues ¶
SetSignatureValues sets the signature values to the transaction.
func (*LegacyTx) XXX_DiscardUnknown ¶
func (m *LegacyTx) XXX_DiscardUnknown()
func (*LegacyTx) XXX_Marshal ¶
func (*LegacyTx) XXX_Unmarshal ¶
type Log ¶
type Log struct { // address of the contract that generated the event Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // list of topics provided by the contract. Topics []string `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"` // supplied by the contract, usually ABI-encoded Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // block in which the transaction was included BlockNumber uint64 `protobuf:"varint,4,opt,name=block_number,json=blockNumber,proto3" json:"blockNumber"` // hash of the transaction TxHash string `protobuf:"bytes,5,opt,name=tx_hash,json=txHash,proto3" json:"transactionHash"` // index of the transaction in the block TxIndex uint64 `protobuf:"varint,6,opt,name=tx_index,json=txIndex,proto3" json:"transactionIndex"` // hash of the block in which the transaction was included BlockHash string `protobuf:"bytes,7,opt,name=block_hash,json=blockHash,proto3" json:"blockHash"` // index of the log in the block Index uint64 `protobuf:"varint,8,opt,name=index,proto3" json:"logIndex"` // The Removed field is true if this log was reverted due to a chain // reorganisation. You must pay attention to this field if you receive logs // through a filter query. Removed bool `protobuf:"varint,9,opt,name=removed,proto3" json:"removed,omitempty"` }
Log represents an protobuf compatible Ethereum Log that defines a contract log event. These events are generated by the LOG opcode and stored/indexed by the node.
func NewLogFromEth ¶
NewLogFromEth creates a new Log instance from a Ethereum type Log.
func NewLogsFromEth ¶
func (*Log) Descriptor ¶
func (*Log) GetAddress ¶
func (*Log) GetBlockHash ¶
func (*Log) GetBlockNumber ¶
func (*Log) GetRemoved ¶
func (*Log) GetTxIndex ¶
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
func (*Log) ToEthereum ¶
ToEthereum returns the Ethereum type Log from a stratos proto compatible Log.
func (*Log) XXX_DiscardUnknown ¶
func (m *Log) XXX_DiscardUnknown()
func (*Log) XXX_Unmarshal ¶
type MsgClient ¶
type MsgClient interface { // EthereumTx defines a method submitting Ethereum transactions. EthereumTx(ctx context.Context, in *MsgEthereumTx, opts ...grpc.CallOption) (*MsgEthereumTxResponse, error) // UpdateParams defined a governance operation for updating the x/evm module parameters. // The authority is hard-coded to the Cosmos SDK x/gov module account UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) // UpdateImplmentationProposal defines a method for the new implemntation update for proposal. UpdateImplmentationProposal(ctx context.Context, in *MsgUpdateImplmentationProposal, opts ...grpc.CallOption) (*MsgUpdateImplmentationProposalResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgCosmosData ¶ added in v0.12.0
type MsgCosmosData struct {
// contains filtered or unexported fields
}
MsgCosmosData is dynamic data from MsgEthereumTx which will be handled by the router
func NewMsgCosmosData ¶ added in v0.12.0
func NewMsgCosmosData(cdc codectypes.AnyUnpacker, from sdk.Address) *MsgCosmosData
func (*MsgCosmosData) GetMsgs ¶ added in v0.12.0
func (mcd *MsgCosmosData) GetMsgs() []sdk.Msg
GetMsgs returns a single sdk.Msg.
func (*MsgCosmosData) GetSigners ¶ added in v0.12.0
func (mcd *MsgCosmosData) GetSigners() []sdk.AccAddress
GetSigners return signers of sdk.Msg
func (*MsgCosmosData) IsNil ¶ added in v0.12.0
func (mcd *MsgCosmosData) IsNil() bool
func (*MsgCosmosData) Parse ¶ added in v0.12.0
func (mcd *MsgCosmosData) Parse(data []byte) error
Parse tx data to sdk.Msg
func (*MsgCosmosData) ProtoMessage ¶ added in v0.12.0
func (mcd *MsgCosmosData) ProtoMessage()
ProtoMessage invoke msg ProtoMessage
func (*MsgCosmosData) Reset ¶ added in v0.12.0
func (mcd *MsgCosmosData) Reset()
func (*MsgCosmosData) SetMsg ¶ added in v0.12.0
func (mcd *MsgCosmosData) SetMsg(msg sdk.Msg)
SetMsg explisitly (could bypass Parse)
func (*MsgCosmosData) String ¶ added in v0.12.0
func (mcd *MsgCosmosData) String() string
func (*MsgCosmosData) UnpackInterfaces ¶ added in v0.12.0
func (mcd *MsgCosmosData) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
func (*MsgCosmosData) ValidateBasic ¶ added in v0.12.0
func (mcd *MsgCosmosData) ValidateBasic() (err error)
ValidateCosmosMsg validates msg (mostly for ante checks and estimates)
type MsgEthereumTx ¶
type MsgEthereumTx struct { // inner transaction data Data *types.Any `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // encoded storage size of the transaction Size_ float64 `protobuf:"fixed64,2,opt,name=size,proto3" json:"-"` // transaction hash in hex format Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty" rlp:"-"` // ethereum signer address in hex format. This address value is checked // against the address derived from the signature (V, R, S) using the // secp256k1 elliptic curve From string `protobuf:"bytes,4,opt,name=from,proto3" json:"from,omitempty"` }
MsgEthereumTx encapsulates an Ethereum transaction as an SDK message.
func NewTx ¶
func NewTx( chainID *big.Int, nonce uint64, to *common.Address, amount *big.Int, gasLimit uint64, gasPrice, gasFeeCap, gasTipCap *big.Int, input []byte, accesses *ethtypes.AccessList, ) *MsgEthereumTx
NewTx returns a reference to a new Ethereum transaction message.
func NewTxContract ¶
func NewTxContract( chainID *big.Int, nonce uint64, amount *big.Int, gasLimit uint64, gasPrice, gasFeeCap, gasTipCap *big.Int, input []byte, accesses *ethtypes.AccessList, ) *MsgEthereumTx
NewTxContract returns a reference to a new Ethereum transaction message designated for contract creation.
func UnwrapEthereumMsg ¶
UnwrapEthereumMsg extract MsgEthereumTx from wrapping sdk.Tx
func (MsgEthereumTx) AsTransaction ¶
func (msg MsgEthereumTx) AsTransaction() *ethtypes.Transaction
AsTransaction creates an Ethereum Transaction type from the msg fields
func (*MsgEthereumTx) Descriptor ¶
func (*MsgEthereumTx) Descriptor() ([]byte, []int)
func (*MsgEthereumTx) Equal ¶ added in v0.12.0
func (this *MsgEthereumTx) Equal(that interface{}) bool
func (*MsgEthereumTx) FromEthereumTx ¶
func (msg *MsgEthereumTx) FromEthereumTx(tx *ethtypes.Transaction) error
FromEthereumTx populates the message fields from the given ethereum transaction
func (MsgEthereumTx) GetEffectiveFee ¶
func (msg MsgEthereumTx) GetEffectiveFee(baseFee *big.Int) *big.Int
GetEffectiveFee returns the fee for dynamic fee tx
func (MsgEthereumTx) GetFee ¶
func (msg MsgEthereumTx) GetFee() *big.Int
GetFee returns the fee for non-dynamic fee tx
func (*MsgEthereumTx) GetFrom ¶
func (msg *MsgEthereumTx) GetFrom() sdk.AccAddress
GetFrom loads the ethereum sender address from the sigcache and returns a sdk.AccAddress from its bytes
func (MsgEthereumTx) GetGas ¶
func (msg MsgEthereumTx) GetGas() uint64
GetGas implements the GasTx interface. It returns the GasLimit of the transaction.
func (*MsgEthereumTx) GetMsgs ¶
func (msg *MsgEthereumTx) GetMsgs() []sdk.Msg
GetMsgs returns a single MsgEthereumTx as a sdk.Msg.
func (*MsgEthereumTx) GetSender ¶
GetSender extracts the sender address from the signature values using the latest signer for the given chainID.
func (MsgEthereumTx) GetSignBytes ¶
func (msg MsgEthereumTx) GetSignBytes() []byte
GetSignBytes returns the Amino bytes of an Ethereum transaction message used for signing.
NOTE: This method cannot be used as a chain ID is needed to create valid bytes to sign over. Use 'RLPSignBytes' instead.
func (*MsgEthereumTx) GetSigners ¶
func (msg *MsgEthereumTx) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for an Ethereum transaction message. For such a message, there should exist only a single 'signer'.
NOTE: This method panics if 'Sign' hasn't been called first.
func (*MsgEthereumTx) Marshal ¶
func (m *MsgEthereumTx) Marshal() (dAtA []byte, err error)
func (*MsgEthereumTx) MarshalToSizedBuffer ¶
func (m *MsgEthereumTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEthereumTx) ProtoMessage ¶
func (*MsgEthereumTx) ProtoMessage()
func (*MsgEthereumTx) Reset ¶
func (m *MsgEthereumTx) Reset()
func (MsgEthereumTx) Route ¶
func (msg MsgEthereumTx) Route() string
Route returns the route value of an MsgEthereumTx.
func (*MsgEthereumTx) Sign ¶
Sign calculates a secp256k1 ECDSA signature and signs the transaction. It takes a keyring signer and the chainID to sign an Ethereum transaction according to EIP155 standard. This method mutates the transaction as it populates the V, R, S fields of the Transaction's Signature. The function will fail if the sender address is not defined for the msg or if the sender is not registered on the keyring
func (*MsgEthereumTx) Size ¶
func (m *MsgEthereumTx) Size() (n int)
func (*MsgEthereumTx) String ¶
func (m *MsgEthereumTx) String() string
func (MsgEthereumTx) Type ¶
func (msg MsgEthereumTx) Type() string
Type returns the type value of an MsgEthereumTx.
func (*MsgEthereumTx) Unmarshal ¶
func (m *MsgEthereumTx) Unmarshal(dAtA []byte) error
func (*MsgEthereumTx) UnmarshalBinary ¶
func (msg *MsgEthereumTx) UnmarshalBinary(b []byte) error
UnmarshalBinary decodes the canonical encoding of transactions.
func (MsgEthereumTx) UnpackInterfaces ¶
func (msg MsgEthereumTx) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfaces Message.UnpackInterfaces
func (MsgEthereumTx) ValidateBasic ¶
func (msg MsgEthereumTx) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface. It performs basic validation checks of a Transaction. If returns an error if validation fails.
func (*MsgEthereumTx) XXX_DiscardUnknown ¶
func (m *MsgEthereumTx) XXX_DiscardUnknown()
func (*MsgEthereumTx) XXX_Marshal ¶
func (m *MsgEthereumTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgEthereumTx) XXX_Merge ¶
func (m *MsgEthereumTx) XXX_Merge(src proto.Message)
func (*MsgEthereumTx) XXX_Size ¶
func (m *MsgEthereumTx) XXX_Size() int
func (*MsgEthereumTx) XXX_Unmarshal ¶
func (m *MsgEthereumTx) XXX_Unmarshal(b []byte) error
type MsgEthereumTxResponse ¶
type MsgEthereumTxResponse struct { // ethereum transaction hash in hex format. This hash differs from the // Tendermint sha256 hash of the transaction bytes. See // https://github.com/tendermint/tendermint/issues/6539 for reference Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // logs contains the transaction hash and the proto-compatible ethereum // logs. Logs []*Log `protobuf:"bytes,2,rep,name=logs,proto3" json:"logs,omitempty"` // returned data from evm function (result or data supplied with revert // opcode) Ret []byte `protobuf:"bytes,3,opt,name=ret,proto3" json:"ret,omitempty"` // vm error is the error returned by vm execution VmError string `protobuf:"bytes,4,opt,name=vm_error,json=vmError,proto3" json:"vm_error,omitempty"` // gas consumed by the transaction GasUsed uint64 `protobuf:"varint,5,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` }
MsgEthereumTxResponse defines the Msg/EthereumTx response type.
func DecodeTxResponse ¶
func DecodeTxResponse(in []byte) (*MsgEthereumTxResponse, error)
DecodeTxResponse decodes an protobuf-encoded byte slice into TxResponse
func (*MsgEthereumTxResponse) Descriptor ¶
func (*MsgEthereumTxResponse) Descriptor() ([]byte, []int)
func (*MsgEthereumTxResponse) Equal ¶ added in v0.12.0
func (this *MsgEthereumTxResponse) Equal(that interface{}) bool
func (*MsgEthereumTxResponse) Failed ¶
func (m *MsgEthereumTxResponse) Failed() bool
Failed returns if the contract execution failed in vm errors
func (*MsgEthereumTxResponse) Marshal ¶
func (m *MsgEthereumTxResponse) Marshal() (dAtA []byte, err error)
func (*MsgEthereumTxResponse) MarshalTo ¶
func (m *MsgEthereumTxResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgEthereumTxResponse) MarshalToSizedBuffer ¶
func (m *MsgEthereumTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEthereumTxResponse) ProtoMessage ¶
func (*MsgEthereumTxResponse) ProtoMessage()
func (*MsgEthereumTxResponse) Reset ¶
func (m *MsgEthereumTxResponse) Reset()
func (*MsgEthereumTxResponse) Return ¶
func (m *MsgEthereumTxResponse) Return() []byte
Return is a helper function to help caller distinguish between revert reason and function return. Return returns the data after execution if no error occurs.
func (*MsgEthereumTxResponse) Revert ¶
func (m *MsgEthereumTxResponse) Revert() []byte
Revert returns the concrete revert reason if the execution is aborted by `REVERT` opcode. Note the reason can be nil if no data supplied with revert opcode.
func (*MsgEthereumTxResponse) Size ¶
func (m *MsgEthereumTxResponse) Size() (n int)
func (*MsgEthereumTxResponse) String ¶
func (m *MsgEthereumTxResponse) String() string
func (*MsgEthereumTxResponse) Unmarshal ¶
func (m *MsgEthereumTxResponse) Unmarshal(dAtA []byte) error
func (*MsgEthereumTxResponse) XXX_DiscardUnknown ¶
func (m *MsgEthereumTxResponse) XXX_DiscardUnknown()
func (*MsgEthereumTxResponse) XXX_Marshal ¶
func (m *MsgEthereumTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgEthereumTxResponse) XXX_Merge ¶
func (m *MsgEthereumTxResponse) XXX_Merge(src proto.Message)
func (*MsgEthereumTxResponse) XXX_Size ¶
func (m *MsgEthereumTxResponse) XXX_Size() int
func (*MsgEthereumTxResponse) XXX_Unmarshal ¶
func (m *MsgEthereumTxResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // EthereumTx defines a method submitting Ethereum transactions. EthereumTx(context.Context, *MsgEthereumTx) (*MsgEthereumTxResponse, error) // UpdateParams defined a governance operation for updating the x/evm module parameters. // The authority is hard-coded to the Cosmos SDK x/gov module account UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) // UpdateImplmentationProposal defines a method for the new implemntation update for proposal. UpdateImplmentationProposal(context.Context, *MsgUpdateImplmentationProposal) (*MsgUpdateImplmentationProposalResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateImplmentationProposal ¶ added in v0.12.0
type MsgUpdateImplmentationProposal struct { // authority is the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // proxy address where data will be executed ProxyAddress string `protobuf:"bytes,2,opt,name=proxy_address,json=proxyAddress,proto3" json:"proxy_address,omitempty"` // implmentation address as API for a storage ImplementationAddress string `protobuf:"bytes,3,opt,name=implementation_address,json=implementationAddress,proto3" json:"implementation_address,omitempty"` // data for execution Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` // value for proxy func call Amount *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=value,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"value,omitempty"` }
MsgUpdateImplmentationProposal used to update implemntation for genesis proxies
func (*MsgUpdateImplmentationProposal) AsLegacyV0 ¶ added in v0.12.0
func (m *MsgUpdateImplmentationProposal) AsLegacyV0() govv1beta1.Content
AsLegacyV0 converts to legacy structure before v012
func (*MsgUpdateImplmentationProposal) Descriptor ¶ added in v0.12.0
func (*MsgUpdateImplmentationProposal) Descriptor() ([]byte, []int)
func (*MsgUpdateImplmentationProposal) Equal ¶ added in v0.12.0
func (this *MsgUpdateImplmentationProposal) Equal(that interface{}) bool
func (*MsgUpdateImplmentationProposal) GetAuthority ¶ added in v0.12.0
func (m *MsgUpdateImplmentationProposal) GetAuthority() string
func (*MsgUpdateImplmentationProposal) GetData ¶ added in v0.12.0
func (m *MsgUpdateImplmentationProposal) GetData() []byte
func (*MsgUpdateImplmentationProposal) GetImplementationAddress ¶ added in v0.12.0
func (m *MsgUpdateImplmentationProposal) GetImplementationAddress() string
func (*MsgUpdateImplmentationProposal) GetProxyAddress ¶ added in v0.12.0
func (m *MsgUpdateImplmentationProposal) GetProxyAddress() string
func (*MsgUpdateImplmentationProposal) GetSigners ¶ added in v0.12.0
func (m *MsgUpdateImplmentationProposal) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for MsgUpdateImplmentationProposal.
func (*MsgUpdateImplmentationProposal) Marshal ¶ added in v0.12.0
func (m *MsgUpdateImplmentationProposal) Marshal() (dAtA []byte, err error)
func (*MsgUpdateImplmentationProposal) MarshalTo ¶ added in v0.12.0
func (m *MsgUpdateImplmentationProposal) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateImplmentationProposal) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *MsgUpdateImplmentationProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateImplmentationProposal) ProtoMessage ¶ added in v0.12.0
func (*MsgUpdateImplmentationProposal) ProtoMessage()
func (*MsgUpdateImplmentationProposal) Reset ¶ added in v0.12.0
func (m *MsgUpdateImplmentationProposal) Reset()
func (*MsgUpdateImplmentationProposal) Size ¶ added in v0.12.0
func (m *MsgUpdateImplmentationProposal) Size() (n int)
func (*MsgUpdateImplmentationProposal) String ¶ added in v0.12.0
func (m *MsgUpdateImplmentationProposal) String() string
func (*MsgUpdateImplmentationProposal) Unmarshal ¶ added in v0.12.0
func (m *MsgUpdateImplmentationProposal) Unmarshal(dAtA []byte) error
func (*MsgUpdateImplmentationProposal) ValidateBasic ¶ added in v0.12.0
func (m *MsgUpdateImplmentationProposal) ValidateBasic() error
ValidateBasic runs basic stateless validity checks
func (*MsgUpdateImplmentationProposal) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *MsgUpdateImplmentationProposal) XXX_DiscardUnknown()
func (*MsgUpdateImplmentationProposal) XXX_Marshal ¶ added in v0.12.0
func (m *MsgUpdateImplmentationProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateImplmentationProposal) XXX_Merge ¶ added in v0.12.0
func (m *MsgUpdateImplmentationProposal) XXX_Merge(src proto.Message)
func (*MsgUpdateImplmentationProposal) XXX_Size ¶ added in v0.12.0
func (m *MsgUpdateImplmentationProposal) XXX_Size() int
func (*MsgUpdateImplmentationProposal) XXX_Unmarshal ¶ added in v0.12.0
func (m *MsgUpdateImplmentationProposal) XXX_Unmarshal(b []byte) error
type MsgUpdateImplmentationProposalResponse ¶ added in v0.12.0
type MsgUpdateImplmentationProposalResponse struct { }
MsgUpdateImplmentationProposalResponse defines the response structure for executing a MsgUpdateImplmentationProposal message.
func (*MsgUpdateImplmentationProposalResponse) Descriptor ¶ added in v0.12.0
func (*MsgUpdateImplmentationProposalResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateImplmentationProposalResponse) Equal ¶ added in v0.12.0
func (this *MsgUpdateImplmentationProposalResponse) Equal(that interface{}) bool
func (*MsgUpdateImplmentationProposalResponse) Marshal ¶ added in v0.12.0
func (m *MsgUpdateImplmentationProposalResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateImplmentationProposalResponse) MarshalTo ¶ added in v0.12.0
func (m *MsgUpdateImplmentationProposalResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateImplmentationProposalResponse) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *MsgUpdateImplmentationProposalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateImplmentationProposalResponse) ProtoMessage ¶ added in v0.12.0
func (*MsgUpdateImplmentationProposalResponse) ProtoMessage()
func (*MsgUpdateImplmentationProposalResponse) Reset ¶ added in v0.12.0
func (m *MsgUpdateImplmentationProposalResponse) Reset()
func (*MsgUpdateImplmentationProposalResponse) Size ¶ added in v0.12.0
func (m *MsgUpdateImplmentationProposalResponse) Size() (n int)
func (*MsgUpdateImplmentationProposalResponse) String ¶ added in v0.12.0
func (m *MsgUpdateImplmentationProposalResponse) String() string
func (*MsgUpdateImplmentationProposalResponse) Unmarshal ¶ added in v0.12.0
func (m *MsgUpdateImplmentationProposalResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateImplmentationProposalResponse) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *MsgUpdateImplmentationProposalResponse) XXX_DiscardUnknown()
func (*MsgUpdateImplmentationProposalResponse) XXX_Marshal ¶ added in v0.12.0
func (m *MsgUpdateImplmentationProposalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateImplmentationProposalResponse) XXX_Merge ¶ added in v0.12.0
func (m *MsgUpdateImplmentationProposalResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateImplmentationProposalResponse) XXX_Size ¶ added in v0.12.0
func (m *MsgUpdateImplmentationProposalResponse) XXX_Size() int
func (*MsgUpdateImplmentationProposalResponse) XXX_Unmarshal ¶ added in v0.12.0
func (m *MsgUpdateImplmentationProposalResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateParams ¶ added in v0.12.0
type MsgUpdateParams struct { // authority is the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // params defines the x/evm parameters to update. // NOTE: All parameters must be supplied. Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` }
MsgUpdateParams defines a Msg for updating the x/evm module parameters.
func NewMsgUpdateParams ¶ added in v0.12.0
func NewMsgUpdateParams(params Params, authority string) *MsgUpdateParams
func (*MsgUpdateParams) Descriptor ¶ added in v0.12.0
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
func (*MsgUpdateParams) Equal ¶ added in v0.12.0
func (this *MsgUpdateParams) Equal(that interface{}) bool
func (*MsgUpdateParams) GetAuthority ¶ added in v0.12.0
func (m *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶ added in v0.12.0
func (m *MsgUpdateParams) GetParams() Params
func (*MsgUpdateParams) GetSignBytes ¶ added in v0.12.0
func (msg *MsgUpdateParams) GetSignBytes() []byte
GetSigners implements legacytx.LegacyMsg
func (*MsgUpdateParams) GetSigners ¶ added in v0.12.0
func (msg *MsgUpdateParams) GetSigners() []sdk.AccAddress
GetSignBytes implements sdk.Msg
func (*MsgUpdateParams) Marshal ¶ added in v0.12.0
func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParams) MarshalTo ¶ added in v0.12.0
func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParams) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParams) ProtoMessage ¶ added in v0.12.0
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) Reset ¶ added in v0.12.0
func (m *MsgUpdateParams) Reset()
func (*MsgUpdateParams) Size ¶ added in v0.12.0
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶ added in v0.12.0
func (m *MsgUpdateParams) String() string
func (*MsgUpdateParams) Unmarshal ¶ added in v0.12.0
func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
func (*MsgUpdateParams) ValidateBasic ¶ added in v0.12.0
func (msg *MsgUpdateParams) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgUpdateParams) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *MsgUpdateParams) XXX_DiscardUnknown()
func (*MsgUpdateParams) XXX_Marshal ¶ added in v0.12.0
func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParams) XXX_Merge ¶ added in v0.12.0
func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
func (*MsgUpdateParams) XXX_Size ¶ added in v0.12.0
func (m *MsgUpdateParams) XXX_Size() int
func (*MsgUpdateParams) XXX_Unmarshal ¶ added in v0.12.0
func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
type MsgUpdateParamsResponse ¶ added in v0.12.0
type MsgUpdateParamsResponse struct { }
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
func (*MsgUpdateParamsResponse) Descriptor ¶ added in v0.12.0
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateParamsResponse) Equal ¶ added in v0.12.0
func (this *MsgUpdateParamsResponse) Equal(that interface{}) bool
func (*MsgUpdateParamsResponse) Marshal ¶ added in v0.12.0
func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParamsResponse) MarshalTo ¶ added in v0.12.0
func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) ProtoMessage ¶ added in v0.12.0
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) Reset ¶ added in v0.12.0
func (m *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) Size ¶ added in v0.12.0
func (m *MsgUpdateParamsResponse) Size() (n int)
func (*MsgUpdateParamsResponse) String ¶ added in v0.12.0
func (m *MsgUpdateParamsResponse) String() string
func (*MsgUpdateParamsResponse) Unmarshal ¶ added in v0.12.0
func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateParamsResponse) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateParamsResponse) XXX_Marshal ¶ added in v0.12.0
func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParamsResponse) XXX_Merge ¶ added in v0.12.0
func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateParamsResponse) XXX_Size ¶ added in v0.12.0
func (m *MsgUpdateParamsResponse) XXX_Size() int
func (*MsgUpdateParamsResponse) XXX_Unmarshal ¶ added in v0.12.0
func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { // evm denom represents the token denomination used to run the EVM state // transitions. EvmDenom string `protobuf:"bytes,1,opt,name=evm_denom,json=evmDenom,proto3" json:"evm_denom,omitempty" yaml:"evm_denom"` // enable create toggles state transitions that use the vm.Create function EnableCreate bool `protobuf:"varint,2,opt,name=enable_create,json=enableCreate,proto3" json:"enable_create,omitempty" yaml:"enable_create"` // enable call toggles state transitions that use the vm.Call function EnableCall bool `protobuf:"varint,3,opt,name=enable_call,json=enableCall,proto3" json:"enable_call,omitempty" yaml:"enable_call"` // extra eips defines the additional EIPs for the vm.Config ExtraEIPs []int64 `protobuf:"varint,4,rep,packed,name=extra_eips,json=extraEips,proto3" json:"extra_eips,omitempty" yaml:"extra_eips"` // chain config defines the EVM chain configuration parameters ChainConfig ChainConfig `protobuf:"bytes,5,opt,name=chain_config,json=chainConfig,proto3" json:"chain_config" yaml:"chain_config"` FeeMarketParams FeeMarketParams `protobuf:"bytes,6,opt,name=fee_market_params,json=feeMarketParams,proto3" json:"fee_market_params" yaml:"fee_market_params"` }
Params defines the EVM module parameters
func DefaultParams ¶
func DefaultParams() Params
DefaultParams returns default evm parameters ExtraEIPs is empty to prevent overriding the latest hard fork instruction set
func NewParams ¶
func NewParams(evmDenom string, enableCreate, enableCall bool, config ChainConfig, feeMarketParams FeeMarketParams, extraEIPs ...int64) Params
NewParams creates a new Params instance
func (*Params) Descriptor ¶
func (*Params) GetChainConfig ¶
func (m *Params) GetChainConfig() ChainConfig
func (*Params) GetEnableCall ¶
func (*Params) GetEnableCreate ¶
func (*Params) GetEvmDenom ¶
func (*Params) GetExtraEIPs ¶
func (*Params) GetFeeMarketParams ¶
func (m *Params) GetFeeMarketParams() FeeMarketParams
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs returns the parameter set pairs. Deprecated.
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type ParamsSubspace ¶ added in v0.12.0
type ParamsSubspace interface {
GetParamSet(ctx sdk.Context, ps paramstypes.ParamSet)
}
ParamsSubspace defines an interface that implements the legacy x/params ParamsSubspace type.
NOTE: This is used solely for migration of x/params managed parameters.
type QueryAccountRequest ¶
type QueryAccountRequest struct { // address is the ethereum hex address to query the account for. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` }
QueryAccountRequest is the request type for the Query/Account RPC method.
func (*QueryAccountRequest) Descriptor ¶
func (*QueryAccountRequest) Descriptor() ([]byte, []int)
func (*QueryAccountRequest) Marshal ¶
func (m *QueryAccountRequest) Marshal() (dAtA []byte, err error)
func (*QueryAccountRequest) MarshalTo ¶
func (m *QueryAccountRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAccountRequest) MarshalToSizedBuffer ¶
func (m *QueryAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAccountRequest) ProtoMessage ¶
func (*QueryAccountRequest) ProtoMessage()
func (*QueryAccountRequest) Reset ¶
func (m *QueryAccountRequest) Reset()
func (*QueryAccountRequest) Size ¶
func (m *QueryAccountRequest) Size() (n int)
func (*QueryAccountRequest) String ¶
func (m *QueryAccountRequest) String() string
func (*QueryAccountRequest) Unmarshal ¶
func (m *QueryAccountRequest) Unmarshal(dAtA []byte) error
func (*QueryAccountRequest) XXX_DiscardUnknown ¶
func (m *QueryAccountRequest) XXX_DiscardUnknown()
func (*QueryAccountRequest) XXX_Marshal ¶
func (m *QueryAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAccountRequest) XXX_Merge ¶
func (m *QueryAccountRequest) XXX_Merge(src proto.Message)
func (*QueryAccountRequest) XXX_Size ¶
func (m *QueryAccountRequest) XXX_Size() int
func (*QueryAccountRequest) XXX_Unmarshal ¶
func (m *QueryAccountRequest) XXX_Unmarshal(b []byte) error
type QueryAccountResponse ¶
type QueryAccountResponse struct { // balance is the balance of the EVM denomination. Balance string `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"` // code hash is the hex-formatted code bytes from the EOA. CodeHash string `protobuf:"bytes,2,opt,name=code_hash,json=codeHash,proto3" json:"code_hash,omitempty"` // nonce is the account's sequence number. Nonce uint64 `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"` }
QueryAccountResponse is the response type for the Query/Account RPC method.
func (*QueryAccountResponse) Descriptor ¶
func (*QueryAccountResponse) Descriptor() ([]byte, []int)
func (*QueryAccountResponse) GetBalance ¶
func (m *QueryAccountResponse) GetBalance() string
func (*QueryAccountResponse) GetCodeHash ¶
func (m *QueryAccountResponse) GetCodeHash() string
func (*QueryAccountResponse) GetNonce ¶
func (m *QueryAccountResponse) GetNonce() uint64
func (*QueryAccountResponse) Marshal ¶
func (m *QueryAccountResponse) Marshal() (dAtA []byte, err error)
func (*QueryAccountResponse) MarshalTo ¶
func (m *QueryAccountResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAccountResponse) MarshalToSizedBuffer ¶
func (m *QueryAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAccountResponse) ProtoMessage ¶
func (*QueryAccountResponse) ProtoMessage()
func (*QueryAccountResponse) Reset ¶
func (m *QueryAccountResponse) Reset()
func (*QueryAccountResponse) Size ¶
func (m *QueryAccountResponse) Size() (n int)
func (*QueryAccountResponse) String ¶
func (m *QueryAccountResponse) String() string
func (*QueryAccountResponse) Unmarshal ¶
func (m *QueryAccountResponse) Unmarshal(dAtA []byte) error
func (*QueryAccountResponse) XXX_DiscardUnknown ¶
func (m *QueryAccountResponse) XXX_DiscardUnknown()
func (*QueryAccountResponse) XXX_Marshal ¶
func (m *QueryAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAccountResponse) XXX_Merge ¶
func (m *QueryAccountResponse) XXX_Merge(src proto.Message)
func (*QueryAccountResponse) XXX_Size ¶
func (m *QueryAccountResponse) XXX_Size() int
func (*QueryAccountResponse) XXX_Unmarshal ¶
func (m *QueryAccountResponse) XXX_Unmarshal(b []byte) error
type QueryAddressConvertRequest ¶ added in v0.10.0
type QueryAddressConvertRequest struct { // hex address or bech32 address Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` }
QueryAddressConvertRequest defines AddressConvert request
func (*QueryAddressConvertRequest) Descriptor ¶ added in v0.10.0
func (*QueryAddressConvertRequest) Descriptor() ([]byte, []int)
func (*QueryAddressConvertRequest) Marshal ¶ added in v0.10.0
func (m *QueryAddressConvertRequest) Marshal() (dAtA []byte, err error)
func (*QueryAddressConvertRequest) MarshalTo ¶ added in v0.10.0
func (m *QueryAddressConvertRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAddressConvertRequest) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *QueryAddressConvertRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAddressConvertRequest) ProtoMessage ¶ added in v0.10.0
func (*QueryAddressConvertRequest) ProtoMessage()
func (*QueryAddressConvertRequest) Reset ¶ added in v0.10.0
func (m *QueryAddressConvertRequest) Reset()
func (*QueryAddressConvertRequest) Size ¶ added in v0.10.0
func (m *QueryAddressConvertRequest) Size() (n int)
func (*QueryAddressConvertRequest) String ¶ added in v0.10.0
func (m *QueryAddressConvertRequest) String() string
func (*QueryAddressConvertRequest) Unmarshal ¶ added in v0.10.0
func (m *QueryAddressConvertRequest) Unmarshal(dAtA []byte) error
func (*QueryAddressConvertRequest) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *QueryAddressConvertRequest) XXX_DiscardUnknown()
func (*QueryAddressConvertRequest) XXX_Marshal ¶ added in v0.10.0
func (m *QueryAddressConvertRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAddressConvertRequest) XXX_Merge ¶ added in v0.10.0
func (m *QueryAddressConvertRequest) XXX_Merge(src proto.Message)
func (*QueryAddressConvertRequest) XXX_Size ¶ added in v0.10.0
func (m *QueryAddressConvertRequest) XXX_Size() int
func (*QueryAddressConvertRequest) XXX_Unmarshal ¶ added in v0.10.0
func (m *QueryAddressConvertRequest) XXX_Unmarshal(b []byte) error
type QueryAddressConvertResponse ¶ added in v0.10.0
type QueryAddressConvertResponse struct { HexAddress string `protobuf:"bytes,1,opt,name=hex_address,json=hexAddress,proto3" json:"hex_address,omitempty"` Bech32Address string `protobuf:"bytes,2,opt,name=bech32_address,json=bech32Address,proto3" json:"bech32_address,omitempty"` }
QueryAddressConvertResponse returns address check result and hex/bech32 address
func (*QueryAddressConvertResponse) Descriptor ¶ added in v0.10.0
func (*QueryAddressConvertResponse) Descriptor() ([]byte, []int)
func (*QueryAddressConvertResponse) GetBech32Address ¶ added in v0.10.0
func (m *QueryAddressConvertResponse) GetBech32Address() string
func (*QueryAddressConvertResponse) GetHexAddress ¶ added in v0.10.0
func (m *QueryAddressConvertResponse) GetHexAddress() string
func (*QueryAddressConvertResponse) Marshal ¶ added in v0.10.0
func (m *QueryAddressConvertResponse) Marshal() (dAtA []byte, err error)
func (*QueryAddressConvertResponse) MarshalTo ¶ added in v0.10.0
func (m *QueryAddressConvertResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAddressConvertResponse) MarshalToSizedBuffer ¶ added in v0.10.0
func (m *QueryAddressConvertResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAddressConvertResponse) ProtoMessage ¶ added in v0.10.0
func (*QueryAddressConvertResponse) ProtoMessage()
func (*QueryAddressConvertResponse) Reset ¶ added in v0.10.0
func (m *QueryAddressConvertResponse) Reset()
func (*QueryAddressConvertResponse) Size ¶ added in v0.10.0
func (m *QueryAddressConvertResponse) Size() (n int)
func (*QueryAddressConvertResponse) String ¶ added in v0.10.0
func (m *QueryAddressConvertResponse) String() string
func (*QueryAddressConvertResponse) Unmarshal ¶ added in v0.10.0
func (m *QueryAddressConvertResponse) Unmarshal(dAtA []byte) error
func (*QueryAddressConvertResponse) XXX_DiscardUnknown ¶ added in v0.10.0
func (m *QueryAddressConvertResponse) XXX_DiscardUnknown()
func (*QueryAddressConvertResponse) XXX_Marshal ¶ added in v0.10.0
func (m *QueryAddressConvertResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAddressConvertResponse) XXX_Merge ¶ added in v0.10.0
func (m *QueryAddressConvertResponse) XXX_Merge(src proto.Message)
func (*QueryAddressConvertResponse) XXX_Size ¶ added in v0.10.0
func (m *QueryAddressConvertResponse) XXX_Size() int
func (*QueryAddressConvertResponse) XXX_Unmarshal ¶ added in v0.10.0
func (m *QueryAddressConvertResponse) XXX_Unmarshal(b []byte) error
type QueryBalanceRequest ¶
type QueryBalanceRequest struct { // address is the ethereum hex address to query the balance for. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` }
QueryBalanceRequest is the request type for the Query/Balance RPC method.
func (*QueryBalanceRequest) Descriptor ¶
func (*QueryBalanceRequest) Descriptor() ([]byte, []int)
func (*QueryBalanceRequest) Marshal ¶
func (m *QueryBalanceRequest) Marshal() (dAtA []byte, err error)
func (*QueryBalanceRequest) MarshalTo ¶
func (m *QueryBalanceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryBalanceRequest) MarshalToSizedBuffer ¶
func (m *QueryBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBalanceRequest) ProtoMessage ¶
func (*QueryBalanceRequest) ProtoMessage()
func (*QueryBalanceRequest) Reset ¶
func (m *QueryBalanceRequest) Reset()
func (*QueryBalanceRequest) Size ¶
func (m *QueryBalanceRequest) Size() (n int)
func (*QueryBalanceRequest) String ¶
func (m *QueryBalanceRequest) String() string
func (*QueryBalanceRequest) Unmarshal ¶
func (m *QueryBalanceRequest) Unmarshal(dAtA []byte) error
func (*QueryBalanceRequest) XXX_DiscardUnknown ¶
func (m *QueryBalanceRequest) XXX_DiscardUnknown()
func (*QueryBalanceRequest) XXX_Marshal ¶
func (m *QueryBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBalanceRequest) XXX_Merge ¶
func (m *QueryBalanceRequest) XXX_Merge(src proto.Message)
func (*QueryBalanceRequest) XXX_Size ¶
func (m *QueryBalanceRequest) XXX_Size() int
func (*QueryBalanceRequest) XXX_Unmarshal ¶
func (m *QueryBalanceRequest) XXX_Unmarshal(b []byte) error
type QueryBalanceResponse ¶
type QueryBalanceResponse struct { // balance is the balance of the EVM denomination. Balance string `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"` }
QueryBalanceResponse is the response type for the Query/Balance RPC method.
func (*QueryBalanceResponse) Descriptor ¶
func (*QueryBalanceResponse) Descriptor() ([]byte, []int)
func (*QueryBalanceResponse) GetBalance ¶
func (m *QueryBalanceResponse) GetBalance() string
func (*QueryBalanceResponse) Marshal ¶
func (m *QueryBalanceResponse) Marshal() (dAtA []byte, err error)
func (*QueryBalanceResponse) MarshalTo ¶
func (m *QueryBalanceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBalanceResponse) MarshalToSizedBuffer ¶
func (m *QueryBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBalanceResponse) ProtoMessage ¶
func (*QueryBalanceResponse) ProtoMessage()
func (*QueryBalanceResponse) Reset ¶
func (m *QueryBalanceResponse) Reset()
func (*QueryBalanceResponse) Size ¶
func (m *QueryBalanceResponse) Size() (n int)
func (*QueryBalanceResponse) String ¶
func (m *QueryBalanceResponse) String() string
func (*QueryBalanceResponse) Unmarshal ¶
func (m *QueryBalanceResponse) Unmarshal(dAtA []byte) error
func (*QueryBalanceResponse) XXX_DiscardUnknown ¶
func (m *QueryBalanceResponse) XXX_DiscardUnknown()
func (*QueryBalanceResponse) XXX_Marshal ¶
func (m *QueryBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBalanceResponse) XXX_Merge ¶
func (m *QueryBalanceResponse) XXX_Merge(src proto.Message)
func (*QueryBalanceResponse) XXX_Size ¶
func (m *QueryBalanceResponse) XXX_Size() int
func (*QueryBalanceResponse) XXX_Unmarshal ¶
func (m *QueryBalanceResponse) XXX_Unmarshal(b []byte) error
type QueryBaseFeeRequest ¶
type QueryBaseFeeRequest struct { }
QueryBaseFeeRequest defines the request type for querying the EIP1559 base fee.
func (*QueryBaseFeeRequest) Descriptor ¶
func (*QueryBaseFeeRequest) Descriptor() ([]byte, []int)
func (*QueryBaseFeeRequest) Marshal ¶
func (m *QueryBaseFeeRequest) Marshal() (dAtA []byte, err error)
func (*QueryBaseFeeRequest) MarshalTo ¶
func (m *QueryBaseFeeRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryBaseFeeRequest) MarshalToSizedBuffer ¶
func (m *QueryBaseFeeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBaseFeeRequest) ProtoMessage ¶
func (*QueryBaseFeeRequest) ProtoMessage()
func (*QueryBaseFeeRequest) Reset ¶
func (m *QueryBaseFeeRequest) Reset()
func (*QueryBaseFeeRequest) Size ¶
func (m *QueryBaseFeeRequest) Size() (n int)
func (*QueryBaseFeeRequest) String ¶
func (m *QueryBaseFeeRequest) String() string
func (*QueryBaseFeeRequest) Unmarshal ¶
func (m *QueryBaseFeeRequest) Unmarshal(dAtA []byte) error
func (*QueryBaseFeeRequest) XXX_DiscardUnknown ¶
func (m *QueryBaseFeeRequest) XXX_DiscardUnknown()
func (*QueryBaseFeeRequest) XXX_Marshal ¶
func (m *QueryBaseFeeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBaseFeeRequest) XXX_Merge ¶
func (m *QueryBaseFeeRequest) XXX_Merge(src proto.Message)
func (*QueryBaseFeeRequest) XXX_Size ¶
func (m *QueryBaseFeeRequest) XXX_Size() int
func (*QueryBaseFeeRequest) XXX_Unmarshal ¶
func (m *QueryBaseFeeRequest) XXX_Unmarshal(b []byte) error
type QueryBaseFeeResponse ¶
type QueryBaseFeeResponse struct {
BaseFee *github_com_cosmos_cosmos_sdk_types.Int `` /* 132-byte string literal not displayed */
}
BaseFeeResponse returns the EIP1559 base fee.
func (*QueryBaseFeeResponse) Descriptor ¶
func (*QueryBaseFeeResponse) Descriptor() ([]byte, []int)
func (*QueryBaseFeeResponse) Marshal ¶
func (m *QueryBaseFeeResponse) Marshal() (dAtA []byte, err error)
func (*QueryBaseFeeResponse) MarshalTo ¶
func (m *QueryBaseFeeResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBaseFeeResponse) MarshalToSizedBuffer ¶
func (m *QueryBaseFeeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBaseFeeResponse) ProtoMessage ¶
func (*QueryBaseFeeResponse) ProtoMessage()
func (*QueryBaseFeeResponse) Reset ¶
func (m *QueryBaseFeeResponse) Reset()
func (*QueryBaseFeeResponse) Size ¶
func (m *QueryBaseFeeResponse) Size() (n int)
func (*QueryBaseFeeResponse) String ¶
func (m *QueryBaseFeeResponse) String() string
func (*QueryBaseFeeResponse) Unmarshal ¶
func (m *QueryBaseFeeResponse) Unmarshal(dAtA []byte) error
func (*QueryBaseFeeResponse) XXX_DiscardUnknown ¶
func (m *QueryBaseFeeResponse) XXX_DiscardUnknown()
func (*QueryBaseFeeResponse) XXX_Marshal ¶
func (m *QueryBaseFeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBaseFeeResponse) XXX_Merge ¶
func (m *QueryBaseFeeResponse) XXX_Merge(src proto.Message)
func (*QueryBaseFeeResponse) XXX_Size ¶
func (m *QueryBaseFeeResponse) XXX_Size() int
func (*QueryBaseFeeResponse) XXX_Unmarshal ¶
func (m *QueryBaseFeeResponse) XXX_Unmarshal(b []byte) error
type QueryBlockGasRequest ¶
type QueryBlockGasRequest struct { }
QueryBlockGasRequest defines the request type for querying the EIP1559 base fee.
func (*QueryBlockGasRequest) Descriptor ¶
func (*QueryBlockGasRequest) Descriptor() ([]byte, []int)
func (*QueryBlockGasRequest) Marshal ¶
func (m *QueryBlockGasRequest) Marshal() (dAtA []byte, err error)
func (*QueryBlockGasRequest) MarshalTo ¶
func (m *QueryBlockGasRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryBlockGasRequest) MarshalToSizedBuffer ¶
func (m *QueryBlockGasRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBlockGasRequest) ProtoMessage ¶
func (*QueryBlockGasRequest) ProtoMessage()
func (*QueryBlockGasRequest) Reset ¶
func (m *QueryBlockGasRequest) Reset()
func (*QueryBlockGasRequest) Size ¶
func (m *QueryBlockGasRequest) Size() (n int)
func (*QueryBlockGasRequest) String ¶
func (m *QueryBlockGasRequest) String() string
func (*QueryBlockGasRequest) Unmarshal ¶
func (m *QueryBlockGasRequest) Unmarshal(dAtA []byte) error
func (*QueryBlockGasRequest) XXX_DiscardUnknown ¶
func (m *QueryBlockGasRequest) XXX_DiscardUnknown()
func (*QueryBlockGasRequest) XXX_Marshal ¶
func (m *QueryBlockGasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBlockGasRequest) XXX_Merge ¶
func (m *QueryBlockGasRequest) XXX_Merge(src proto.Message)
func (*QueryBlockGasRequest) XXX_Size ¶
func (m *QueryBlockGasRequest) XXX_Size() int
func (*QueryBlockGasRequest) XXX_Unmarshal ¶
func (m *QueryBlockGasRequest) XXX_Unmarshal(b []byte) error
type QueryBlockGasResponse ¶
type QueryBlockGasResponse struct {
Gas int64 `protobuf:"varint,1,opt,name=gas,proto3" json:"gas,omitempty"`
}
QueryBlockGasResponse returns block gas used for a given height.
func (*QueryBlockGasResponse) Descriptor ¶
func (*QueryBlockGasResponse) Descriptor() ([]byte, []int)
func (*QueryBlockGasResponse) GetGas ¶
func (m *QueryBlockGasResponse) GetGas() int64
func (*QueryBlockGasResponse) Marshal ¶
func (m *QueryBlockGasResponse) Marshal() (dAtA []byte, err error)
func (*QueryBlockGasResponse) MarshalTo ¶
func (m *QueryBlockGasResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBlockGasResponse) MarshalToSizedBuffer ¶
func (m *QueryBlockGasResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBlockGasResponse) ProtoMessage ¶
func (*QueryBlockGasResponse) ProtoMessage()
func (*QueryBlockGasResponse) Reset ¶
func (m *QueryBlockGasResponse) Reset()
func (*QueryBlockGasResponse) Size ¶
func (m *QueryBlockGasResponse) Size() (n int)
func (*QueryBlockGasResponse) String ¶
func (m *QueryBlockGasResponse) String() string
func (*QueryBlockGasResponse) Unmarshal ¶
func (m *QueryBlockGasResponse) Unmarshal(dAtA []byte) error
func (*QueryBlockGasResponse) XXX_DiscardUnknown ¶
func (m *QueryBlockGasResponse) XXX_DiscardUnknown()
func (*QueryBlockGasResponse) XXX_Marshal ¶
func (m *QueryBlockGasResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBlockGasResponse) XXX_Merge ¶
func (m *QueryBlockGasResponse) XXX_Merge(src proto.Message)
func (*QueryBlockGasResponse) XXX_Size ¶
func (m *QueryBlockGasResponse) XXX_Size() int
func (*QueryBlockGasResponse) XXX_Unmarshal ¶
func (m *QueryBlockGasResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Account queries an Ethereum account. Account(ctx context.Context, in *QueryAccountRequest, opts ...grpc.CallOption) (*QueryAccountResponse, error) // CosmosAccount queries an Ethereum account's Cosmos Address. CosmosAccount(ctx context.Context, in *QueryCosmosAccountRequest, opts ...grpc.CallOption) (*QueryCosmosAccountResponse, error) // ValidatorAccount queries an Ethereum account's from a validator consensus // Address. ValidatorAccount(ctx context.Context, in *QueryValidatorAccountRequest, opts ...grpc.CallOption) (*QueryValidatorAccountResponse, error) // Balance queries the balance of a the EVM denomination for a single // EthAccount. Balance(ctx context.Context, in *QueryBalanceRequest, opts ...grpc.CallOption) (*QueryBalanceResponse, error) // Storage queries the balance of all coins for a single account. Storage(ctx context.Context, in *QueryStorageRequest, opts ...grpc.CallOption) (*QueryStorageResponse, error) // Code queries the balance of all coins for a single account. Code(ctx context.Context, in *QueryCodeRequest, opts ...grpc.CallOption) (*QueryCodeResponse, error) // Params queries the parameters of x/evm module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // EthCall implements the `eth_call` rpc api EthCall(ctx context.Context, in *EthCallRequest, opts ...grpc.CallOption) (*MsgEthereumTxResponse, error) // EstimateGas implements the `eth_estimateGas` rpc api EstimateGas(ctx context.Context, in *EthCallRequest, opts ...grpc.CallOption) (*EstimateGasResponse, error) // TraceTx implements the `debug_traceTransaction` rpc api TraceTx(ctx context.Context, in *QueryTraceTxRequest, opts ...grpc.CallOption) (*QueryTraceTxResponse, error) // TraceBlock implements the `debug_traceBlockByNumber` and `debug_traceBlockByHash` rpc api TraceBlock(ctx context.Context, in *QueryTraceBlockRequest, opts ...grpc.CallOption) (*QueryTraceBlockResponse, error) // BaseFee queries the base fee of the parent block of the current block, // it's similar to feemarket module's method, but also checks london hardfork status. BaseFee(ctx context.Context, in *QueryBaseFeeRequest, opts ...grpc.CallOption) (*QueryBaseFeeResponse, error) // BaseFeeParam queries the base fee of the parent block of the current block. BaseFeeParam(ctx context.Context, in *QueryBaseFeeRequest, opts ...grpc.CallOption) (*QueryBaseFeeResponse, error) // BlockGas queries the gas used at a given block height BlockGas(ctx context.Context, in *QueryBlockGasRequest, opts ...grpc.CallOption) (*QueryBlockGasResponse, error) AddressConvert(ctx context.Context, in *QueryAddressConvertRequest, opts ...grpc.CallOption) (*QueryAddressConvertResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryCodeRequest ¶
type QueryCodeRequest struct { // address is the ethereum hex address to query the code for. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` }
QueryCodeRequest is the request type for the Query/Code RPC method.
func (*QueryCodeRequest) Descriptor ¶
func (*QueryCodeRequest) Descriptor() ([]byte, []int)
func (*QueryCodeRequest) Marshal ¶
func (m *QueryCodeRequest) Marshal() (dAtA []byte, err error)
func (*QueryCodeRequest) MarshalToSizedBuffer ¶
func (m *QueryCodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCodeRequest) ProtoMessage ¶
func (*QueryCodeRequest) ProtoMessage()
func (*QueryCodeRequest) Reset ¶
func (m *QueryCodeRequest) Reset()
func (*QueryCodeRequest) Size ¶
func (m *QueryCodeRequest) Size() (n int)
func (*QueryCodeRequest) String ¶
func (m *QueryCodeRequest) String() string
func (*QueryCodeRequest) Unmarshal ¶
func (m *QueryCodeRequest) Unmarshal(dAtA []byte) error
func (*QueryCodeRequest) XXX_DiscardUnknown ¶
func (m *QueryCodeRequest) XXX_DiscardUnknown()
func (*QueryCodeRequest) XXX_Marshal ¶
func (m *QueryCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCodeRequest) XXX_Merge ¶
func (m *QueryCodeRequest) XXX_Merge(src proto.Message)
func (*QueryCodeRequest) XXX_Size ¶
func (m *QueryCodeRequest) XXX_Size() int
func (*QueryCodeRequest) XXX_Unmarshal ¶
func (m *QueryCodeRequest) XXX_Unmarshal(b []byte) error
type QueryCodeResponse ¶
type QueryCodeResponse struct { // code represents the code bytes from an ethereum address. Code []byte `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` }
QueryCodeResponse is the response type for the Query/Code RPC method.
func (*QueryCodeResponse) Descriptor ¶
func (*QueryCodeResponse) Descriptor() ([]byte, []int)
func (*QueryCodeResponse) GetCode ¶
func (m *QueryCodeResponse) GetCode() []byte
func (*QueryCodeResponse) Marshal ¶
func (m *QueryCodeResponse) Marshal() (dAtA []byte, err error)
func (*QueryCodeResponse) MarshalTo ¶
func (m *QueryCodeResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCodeResponse) MarshalToSizedBuffer ¶
func (m *QueryCodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCodeResponse) ProtoMessage ¶
func (*QueryCodeResponse) ProtoMessage()
func (*QueryCodeResponse) Reset ¶
func (m *QueryCodeResponse) Reset()
func (*QueryCodeResponse) Size ¶
func (m *QueryCodeResponse) Size() (n int)
func (*QueryCodeResponse) String ¶
func (m *QueryCodeResponse) String() string
func (*QueryCodeResponse) Unmarshal ¶
func (m *QueryCodeResponse) Unmarshal(dAtA []byte) error
func (*QueryCodeResponse) XXX_DiscardUnknown ¶
func (m *QueryCodeResponse) XXX_DiscardUnknown()
func (*QueryCodeResponse) XXX_Marshal ¶
func (m *QueryCodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCodeResponse) XXX_Merge ¶
func (m *QueryCodeResponse) XXX_Merge(src proto.Message)
func (*QueryCodeResponse) XXX_Size ¶
func (m *QueryCodeResponse) XXX_Size() int
func (*QueryCodeResponse) XXX_Unmarshal ¶
func (m *QueryCodeResponse) XXX_Unmarshal(b []byte) error
type QueryCosmosAccountRequest ¶
type QueryCosmosAccountRequest struct { // address is the ethereum hex address to query the account for. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` }
QueryCosmosAccountRequest is the request type for the Query/CosmosAccount RPC method.
func (*QueryCosmosAccountRequest) Descriptor ¶
func (*QueryCosmosAccountRequest) Descriptor() ([]byte, []int)
func (*QueryCosmosAccountRequest) Marshal ¶
func (m *QueryCosmosAccountRequest) Marshal() (dAtA []byte, err error)
func (*QueryCosmosAccountRequest) MarshalTo ¶
func (m *QueryCosmosAccountRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCosmosAccountRequest) MarshalToSizedBuffer ¶
func (m *QueryCosmosAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCosmosAccountRequest) ProtoMessage ¶
func (*QueryCosmosAccountRequest) ProtoMessage()
func (*QueryCosmosAccountRequest) Reset ¶
func (m *QueryCosmosAccountRequest) Reset()
func (*QueryCosmosAccountRequest) Size ¶
func (m *QueryCosmosAccountRequest) Size() (n int)
func (*QueryCosmosAccountRequest) String ¶
func (m *QueryCosmosAccountRequest) String() string
func (*QueryCosmosAccountRequest) Unmarshal ¶
func (m *QueryCosmosAccountRequest) Unmarshal(dAtA []byte) error
func (*QueryCosmosAccountRequest) XXX_DiscardUnknown ¶
func (m *QueryCosmosAccountRequest) XXX_DiscardUnknown()
func (*QueryCosmosAccountRequest) XXX_Marshal ¶
func (m *QueryCosmosAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCosmosAccountRequest) XXX_Merge ¶
func (m *QueryCosmosAccountRequest) XXX_Merge(src proto.Message)
func (*QueryCosmosAccountRequest) XXX_Size ¶
func (m *QueryCosmosAccountRequest) XXX_Size() int
func (*QueryCosmosAccountRequest) XXX_Unmarshal ¶
func (m *QueryCosmosAccountRequest) XXX_Unmarshal(b []byte) error
type QueryCosmosAccountResponse ¶
type QueryCosmosAccountResponse struct { // cosmos_address is the cosmos address of the account. CosmosAddress string `protobuf:"bytes,1,opt,name=cosmos_address,json=cosmosAddress,proto3" json:"cosmos_address,omitempty"` // sequence is the account's sequence number. Sequence uint64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"` // account_number is the account numbert AccountNumber uint64 `protobuf:"varint,3,opt,name=account_number,json=accountNumber,proto3" json:"account_number,omitempty"` }
QueryCosmosAccountResponse is the response type for the Query/CosmosAccount RPC method.
func (*QueryCosmosAccountResponse) Descriptor ¶
func (*QueryCosmosAccountResponse) Descriptor() ([]byte, []int)
func (*QueryCosmosAccountResponse) GetAccountNumber ¶
func (m *QueryCosmosAccountResponse) GetAccountNumber() uint64
func (*QueryCosmosAccountResponse) GetCosmosAddress ¶
func (m *QueryCosmosAccountResponse) GetCosmosAddress() string
func (*QueryCosmosAccountResponse) GetSequence ¶
func (m *QueryCosmosAccountResponse) GetSequence() uint64
func (*QueryCosmosAccountResponse) Marshal ¶
func (m *QueryCosmosAccountResponse) Marshal() (dAtA []byte, err error)
func (*QueryCosmosAccountResponse) MarshalTo ¶
func (m *QueryCosmosAccountResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCosmosAccountResponse) MarshalToSizedBuffer ¶
func (m *QueryCosmosAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCosmosAccountResponse) ProtoMessage ¶
func (*QueryCosmosAccountResponse) ProtoMessage()
func (*QueryCosmosAccountResponse) Reset ¶
func (m *QueryCosmosAccountResponse) Reset()
func (*QueryCosmosAccountResponse) Size ¶
func (m *QueryCosmosAccountResponse) Size() (n int)
func (*QueryCosmosAccountResponse) String ¶
func (m *QueryCosmosAccountResponse) String() string
func (*QueryCosmosAccountResponse) Unmarshal ¶
func (m *QueryCosmosAccountResponse) Unmarshal(dAtA []byte) error
func (*QueryCosmosAccountResponse) XXX_DiscardUnknown ¶
func (m *QueryCosmosAccountResponse) XXX_DiscardUnknown()
func (*QueryCosmosAccountResponse) XXX_Marshal ¶
func (m *QueryCosmosAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCosmosAccountResponse) XXX_Merge ¶
func (m *QueryCosmosAccountResponse) XXX_Merge(src proto.Message)
func (*QueryCosmosAccountResponse) XXX_Size ¶
func (m *QueryCosmosAccountResponse) XXX_Size() int
func (*QueryCosmosAccountResponse) XXX_Unmarshal ¶
func (m *QueryCosmosAccountResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest defines the request type for querying x/evm parameters.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params define the evm module parameters. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse defines the response type for querying x/evm parameters.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Account queries an Ethereum account. Account(context.Context, *QueryAccountRequest) (*QueryAccountResponse, error) // CosmosAccount queries an Ethereum account's Cosmos Address. CosmosAccount(context.Context, *QueryCosmosAccountRequest) (*QueryCosmosAccountResponse, error) // ValidatorAccount queries an Ethereum account's from a validator consensus // Address. ValidatorAccount(context.Context, *QueryValidatorAccountRequest) (*QueryValidatorAccountResponse, error) // Balance queries the balance of a the EVM denomination for a single // EthAccount. Balance(context.Context, *QueryBalanceRequest) (*QueryBalanceResponse, error) // Storage queries the balance of all coins for a single account. Storage(context.Context, *QueryStorageRequest) (*QueryStorageResponse, error) // Code queries the balance of all coins for a single account. Code(context.Context, *QueryCodeRequest) (*QueryCodeResponse, error) // Params queries the parameters of x/evm module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // EthCall implements the `eth_call` rpc api EthCall(context.Context, *EthCallRequest) (*MsgEthereumTxResponse, error) // EstimateGas implements the `eth_estimateGas` rpc api EstimateGas(context.Context, *EthCallRequest) (*EstimateGasResponse, error) // TraceTx implements the `debug_traceTransaction` rpc api TraceTx(context.Context, *QueryTraceTxRequest) (*QueryTraceTxResponse, error) // TraceBlock implements the `debug_traceBlockByNumber` and `debug_traceBlockByHash` rpc api TraceBlock(context.Context, *QueryTraceBlockRequest) (*QueryTraceBlockResponse, error) // BaseFee queries the base fee of the parent block of the current block, // it's similar to feemarket module's method, but also checks london hardfork status. BaseFee(context.Context, *QueryBaseFeeRequest) (*QueryBaseFeeResponse, error) // BaseFeeParam queries the base fee of the parent block of the current block. BaseFeeParam(context.Context, *QueryBaseFeeRequest) (*QueryBaseFeeResponse, error) // BlockGas queries the gas used at a given block height BlockGas(context.Context, *QueryBlockGasRequest) (*QueryBlockGasResponse, error) AddressConvert(context.Context, *QueryAddressConvertRequest) (*QueryAddressConvertResponse, error) }
QueryServer is the server API for Query service.
type QueryStorageRequest ¶
type QueryStorageRequest struct { /// address is the ethereum hex address to query the storage state for. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // key defines the key of the storage state Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` }
QueryStorageRequest is the request type for the Query/Storage RPC method.
func (*QueryStorageRequest) Descriptor ¶
func (*QueryStorageRequest) Descriptor() ([]byte, []int)
func (*QueryStorageRequest) Marshal ¶
func (m *QueryStorageRequest) Marshal() (dAtA []byte, err error)
func (*QueryStorageRequest) MarshalTo ¶
func (m *QueryStorageRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryStorageRequest) MarshalToSizedBuffer ¶
func (m *QueryStorageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStorageRequest) ProtoMessage ¶
func (*QueryStorageRequest) ProtoMessage()
func (*QueryStorageRequest) Reset ¶
func (m *QueryStorageRequest) Reset()
func (*QueryStorageRequest) Size ¶
func (m *QueryStorageRequest) Size() (n int)
func (*QueryStorageRequest) String ¶
func (m *QueryStorageRequest) String() string
func (*QueryStorageRequest) Unmarshal ¶
func (m *QueryStorageRequest) Unmarshal(dAtA []byte) error
func (*QueryStorageRequest) XXX_DiscardUnknown ¶
func (m *QueryStorageRequest) XXX_DiscardUnknown()
func (*QueryStorageRequest) XXX_Marshal ¶
func (m *QueryStorageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStorageRequest) XXX_Merge ¶
func (m *QueryStorageRequest) XXX_Merge(src proto.Message)
func (*QueryStorageRequest) XXX_Size ¶
func (m *QueryStorageRequest) XXX_Size() int
func (*QueryStorageRequest) XXX_Unmarshal ¶
func (m *QueryStorageRequest) XXX_Unmarshal(b []byte) error
type QueryStorageResponse ¶
type QueryStorageResponse struct { // key defines the storage state value hash associated with the given key. Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` }
QueryStorageResponse is the response type for the Query/Storage RPC method.
func (*QueryStorageResponse) Descriptor ¶
func (*QueryStorageResponse) Descriptor() ([]byte, []int)
func (*QueryStorageResponse) GetValue ¶
func (m *QueryStorageResponse) GetValue() string
func (*QueryStorageResponse) Marshal ¶
func (m *QueryStorageResponse) Marshal() (dAtA []byte, err error)
func (*QueryStorageResponse) MarshalTo ¶
func (m *QueryStorageResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryStorageResponse) MarshalToSizedBuffer ¶
func (m *QueryStorageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStorageResponse) ProtoMessage ¶
func (*QueryStorageResponse) ProtoMessage()
func (*QueryStorageResponse) Reset ¶
func (m *QueryStorageResponse) Reset()
func (*QueryStorageResponse) Size ¶
func (m *QueryStorageResponse) Size() (n int)
func (*QueryStorageResponse) String ¶
func (m *QueryStorageResponse) String() string
func (*QueryStorageResponse) Unmarshal ¶
func (m *QueryStorageResponse) Unmarshal(dAtA []byte) error
func (*QueryStorageResponse) XXX_DiscardUnknown ¶
func (m *QueryStorageResponse) XXX_DiscardUnknown()
func (*QueryStorageResponse) XXX_Marshal ¶
func (m *QueryStorageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStorageResponse) XXX_Merge ¶
func (m *QueryStorageResponse) XXX_Merge(src proto.Message)
func (*QueryStorageResponse) XXX_Size ¶
func (m *QueryStorageResponse) XXX_Size() int
func (*QueryStorageResponse) XXX_Unmarshal ¶
func (m *QueryStorageResponse) XXX_Unmarshal(b []byte) error
type QueryTraceBlockRequest ¶
type QueryTraceBlockRequest struct { // txs messages in the block Txs []*MsgEthereumTx `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"` // TraceConfig holds extra parameters to trace functions. TraceConfig *TraceConfig `protobuf:"bytes,3,opt,name=trace_config,json=traceConfig,proto3" json:"trace_config,omitempty"` // block number BlockNumber int64 `protobuf:"varint,5,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` // block hex hash BlockHash string `protobuf:"bytes,6,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // block time BlockTime time.Time `protobuf:"bytes,7,opt,name=block_time,json=blockTime,proto3,stdtime" json:"block_time"` }
QueryTraceBlockRequest defines TraceTx request
func (*QueryTraceBlockRequest) Descriptor ¶
func (*QueryTraceBlockRequest) Descriptor() ([]byte, []int)
func (*QueryTraceBlockRequest) GetBlockHash ¶
func (m *QueryTraceBlockRequest) GetBlockHash() string
func (*QueryTraceBlockRequest) GetBlockNumber ¶
func (m *QueryTraceBlockRequest) GetBlockNumber() int64
func (*QueryTraceBlockRequest) GetBlockTime ¶
func (m *QueryTraceBlockRequest) GetBlockTime() time.Time
func (*QueryTraceBlockRequest) GetTraceConfig ¶
func (m *QueryTraceBlockRequest) GetTraceConfig() *TraceConfig
func (*QueryTraceBlockRequest) GetTxs ¶
func (m *QueryTraceBlockRequest) GetTxs() []*MsgEthereumTx
func (*QueryTraceBlockRequest) Marshal ¶
func (m *QueryTraceBlockRequest) Marshal() (dAtA []byte, err error)
func (*QueryTraceBlockRequest) MarshalTo ¶
func (m *QueryTraceBlockRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTraceBlockRequest) MarshalToSizedBuffer ¶
func (m *QueryTraceBlockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTraceBlockRequest) ProtoMessage ¶
func (*QueryTraceBlockRequest) ProtoMessage()
func (*QueryTraceBlockRequest) Reset ¶
func (m *QueryTraceBlockRequest) Reset()
func (*QueryTraceBlockRequest) Size ¶
func (m *QueryTraceBlockRequest) Size() (n int)
func (*QueryTraceBlockRequest) String ¶
func (m *QueryTraceBlockRequest) String() string
func (*QueryTraceBlockRequest) Unmarshal ¶
func (m *QueryTraceBlockRequest) Unmarshal(dAtA []byte) error
func (QueryTraceBlockRequest) UnpackInterfaces ¶
func (m QueryTraceBlockRequest) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
func (*QueryTraceBlockRequest) XXX_DiscardUnknown ¶
func (m *QueryTraceBlockRequest) XXX_DiscardUnknown()
func (*QueryTraceBlockRequest) XXX_Marshal ¶
func (m *QueryTraceBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTraceBlockRequest) XXX_Merge ¶
func (m *QueryTraceBlockRequest) XXX_Merge(src proto.Message)
func (*QueryTraceBlockRequest) XXX_Size ¶
func (m *QueryTraceBlockRequest) XXX_Size() int
func (*QueryTraceBlockRequest) XXX_Unmarshal ¶
func (m *QueryTraceBlockRequest) XXX_Unmarshal(b []byte) error
type QueryTraceBlockResponse ¶
type QueryTraceBlockResponse struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
QueryTraceBlockResponse defines TraceBlock response
func (*QueryTraceBlockResponse) Descriptor ¶
func (*QueryTraceBlockResponse) Descriptor() ([]byte, []int)
func (*QueryTraceBlockResponse) GetData ¶
func (m *QueryTraceBlockResponse) GetData() []byte
func (*QueryTraceBlockResponse) Marshal ¶
func (m *QueryTraceBlockResponse) Marshal() (dAtA []byte, err error)
func (*QueryTraceBlockResponse) MarshalTo ¶
func (m *QueryTraceBlockResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTraceBlockResponse) MarshalToSizedBuffer ¶
func (m *QueryTraceBlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTraceBlockResponse) ProtoMessage ¶
func (*QueryTraceBlockResponse) ProtoMessage()
func (*QueryTraceBlockResponse) Reset ¶
func (m *QueryTraceBlockResponse) Reset()
func (*QueryTraceBlockResponse) Size ¶
func (m *QueryTraceBlockResponse) Size() (n int)
func (*QueryTraceBlockResponse) String ¶
func (m *QueryTraceBlockResponse) String() string
func (*QueryTraceBlockResponse) Unmarshal ¶
func (m *QueryTraceBlockResponse) Unmarshal(dAtA []byte) error
func (*QueryTraceBlockResponse) XXX_DiscardUnknown ¶
func (m *QueryTraceBlockResponse) XXX_DiscardUnknown()
func (*QueryTraceBlockResponse) XXX_Marshal ¶
func (m *QueryTraceBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTraceBlockResponse) XXX_Merge ¶
func (m *QueryTraceBlockResponse) XXX_Merge(src proto.Message)
func (*QueryTraceBlockResponse) XXX_Size ¶
func (m *QueryTraceBlockResponse) XXX_Size() int
func (*QueryTraceBlockResponse) XXX_Unmarshal ¶
func (m *QueryTraceBlockResponse) XXX_Unmarshal(b []byte) error
type QueryTraceTxRequest ¶
type QueryTraceTxRequest struct { // msgEthereumTx for the requested transaction Msg *MsgEthereumTx `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // TraceConfig holds extra parameters to trace functions. TraceConfig *TraceConfig `protobuf:"bytes,2,opt,name=trace_config,json=traceConfig,proto3" json:"trace_config,omitempty"` // the predecessor transactions included in the same block // need to be replayed first to get correct context for tracing. Predecessors []*MsgEthereumTx `protobuf:"bytes,3,rep,name=predecessors,proto3" json:"predecessors,omitempty"` // block number of requested transaction BlockNumber int64 `protobuf:"varint,4,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` // block hex hash of requested transaction BlockHash string `protobuf:"bytes,5,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // block time of requested transaction BlockTime time.Time `protobuf:"bytes,6,opt,name=block_time,json=blockTime,proto3,stdtime" json:"block_time"` }
QueryTraceTxRequest defines TraceTx request
func (*QueryTraceTxRequest) Descriptor ¶
func (*QueryTraceTxRequest) Descriptor() ([]byte, []int)
func (*QueryTraceTxRequest) GetBlockHash ¶
func (m *QueryTraceTxRequest) GetBlockHash() string
func (*QueryTraceTxRequest) GetBlockNumber ¶
func (m *QueryTraceTxRequest) GetBlockNumber() int64
func (*QueryTraceTxRequest) GetBlockTime ¶
func (m *QueryTraceTxRequest) GetBlockTime() time.Time
func (*QueryTraceTxRequest) GetMsg ¶
func (m *QueryTraceTxRequest) GetMsg() *MsgEthereumTx
func (*QueryTraceTxRequest) GetPredecessors ¶
func (m *QueryTraceTxRequest) GetPredecessors() []*MsgEthereumTx
func (*QueryTraceTxRequest) GetTraceConfig ¶
func (m *QueryTraceTxRequest) GetTraceConfig() *TraceConfig
func (*QueryTraceTxRequest) Marshal ¶
func (m *QueryTraceTxRequest) Marshal() (dAtA []byte, err error)
func (*QueryTraceTxRequest) MarshalTo ¶
func (m *QueryTraceTxRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTraceTxRequest) MarshalToSizedBuffer ¶
func (m *QueryTraceTxRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTraceTxRequest) ProtoMessage ¶
func (*QueryTraceTxRequest) ProtoMessage()
func (*QueryTraceTxRequest) Reset ¶
func (m *QueryTraceTxRequest) Reset()
func (*QueryTraceTxRequest) Size ¶
func (m *QueryTraceTxRequest) Size() (n int)
func (*QueryTraceTxRequest) String ¶
func (m *QueryTraceTxRequest) String() string
func (*QueryTraceTxRequest) Unmarshal ¶
func (m *QueryTraceTxRequest) Unmarshal(dAtA []byte) error
func (QueryTraceTxRequest) UnpackInterfaces ¶
func (m QueryTraceTxRequest) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMesssage.UnpackInterfaces
func (*QueryTraceTxRequest) XXX_DiscardUnknown ¶
func (m *QueryTraceTxRequest) XXX_DiscardUnknown()
func (*QueryTraceTxRequest) XXX_Marshal ¶
func (m *QueryTraceTxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTraceTxRequest) XXX_Merge ¶
func (m *QueryTraceTxRequest) XXX_Merge(src proto.Message)
func (*QueryTraceTxRequest) XXX_Size ¶
func (m *QueryTraceTxRequest) XXX_Size() int
func (*QueryTraceTxRequest) XXX_Unmarshal ¶
func (m *QueryTraceTxRequest) XXX_Unmarshal(b []byte) error
type QueryTraceTxResponse ¶
type QueryTraceTxResponse struct { // response serialized in bytes Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` }
QueryTraceTxResponse defines TraceTx response
func (*QueryTraceTxResponse) Descriptor ¶
func (*QueryTraceTxResponse) Descriptor() ([]byte, []int)
func (*QueryTraceTxResponse) GetData ¶
func (m *QueryTraceTxResponse) GetData() []byte
func (*QueryTraceTxResponse) Marshal ¶
func (m *QueryTraceTxResponse) Marshal() (dAtA []byte, err error)
func (*QueryTraceTxResponse) MarshalTo ¶
func (m *QueryTraceTxResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTraceTxResponse) MarshalToSizedBuffer ¶
func (m *QueryTraceTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTraceTxResponse) ProtoMessage ¶
func (*QueryTraceTxResponse) ProtoMessage()
func (*QueryTraceTxResponse) Reset ¶
func (m *QueryTraceTxResponse) Reset()
func (*QueryTraceTxResponse) Size ¶
func (m *QueryTraceTxResponse) Size() (n int)
func (*QueryTraceTxResponse) String ¶
func (m *QueryTraceTxResponse) String() string
func (*QueryTraceTxResponse) Unmarshal ¶
func (m *QueryTraceTxResponse) Unmarshal(dAtA []byte) error
func (*QueryTraceTxResponse) XXX_DiscardUnknown ¶
func (m *QueryTraceTxResponse) XXX_DiscardUnknown()
func (*QueryTraceTxResponse) XXX_Marshal ¶
func (m *QueryTraceTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTraceTxResponse) XXX_Merge ¶
func (m *QueryTraceTxResponse) XXX_Merge(src proto.Message)
func (*QueryTraceTxResponse) XXX_Size ¶
func (m *QueryTraceTxResponse) XXX_Size() int
func (*QueryTraceTxResponse) XXX_Unmarshal ¶
func (m *QueryTraceTxResponse) XXX_Unmarshal(b []byte) error
type QueryTxLogsRequest ¶
type QueryTxLogsRequest struct { // hash is the ethereum transaction hex hash to query the logs for. Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryTxLogsRequest is the request type for the Query/TxLogs RPC method.
func (*QueryTxLogsRequest) Descriptor ¶
func (*QueryTxLogsRequest) Descriptor() ([]byte, []int)
func (*QueryTxLogsRequest) Marshal ¶
func (m *QueryTxLogsRequest) Marshal() (dAtA []byte, err error)
func (*QueryTxLogsRequest) MarshalTo ¶
func (m *QueryTxLogsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTxLogsRequest) MarshalToSizedBuffer ¶
func (m *QueryTxLogsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTxLogsRequest) ProtoMessage ¶
func (*QueryTxLogsRequest) ProtoMessage()
func (*QueryTxLogsRequest) Reset ¶
func (m *QueryTxLogsRequest) Reset()
func (*QueryTxLogsRequest) Size ¶
func (m *QueryTxLogsRequest) Size() (n int)
func (*QueryTxLogsRequest) String ¶
func (m *QueryTxLogsRequest) String() string
func (*QueryTxLogsRequest) Unmarshal ¶
func (m *QueryTxLogsRequest) Unmarshal(dAtA []byte) error
func (*QueryTxLogsRequest) XXX_DiscardUnknown ¶
func (m *QueryTxLogsRequest) XXX_DiscardUnknown()
func (*QueryTxLogsRequest) XXX_Marshal ¶
func (m *QueryTxLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTxLogsRequest) XXX_Merge ¶
func (m *QueryTxLogsRequest) XXX_Merge(src proto.Message)
func (*QueryTxLogsRequest) XXX_Size ¶
func (m *QueryTxLogsRequest) XXX_Size() int
func (*QueryTxLogsRequest) XXX_Unmarshal ¶
func (m *QueryTxLogsRequest) XXX_Unmarshal(b []byte) error
type QueryTxLogsResponse ¶
type QueryTxLogsResponse struct { // logs represents the ethereum logs generated from the given transaction. Logs []*Log `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` // pagination defines the pagination in the response. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryTxLogs is the response type for the Query/TxLogs RPC method.
func (*QueryTxLogsResponse) Descriptor ¶
func (*QueryTxLogsResponse) Descriptor() ([]byte, []int)
func (*QueryTxLogsResponse) GetLogs ¶
func (m *QueryTxLogsResponse) GetLogs() []*Log
func (*QueryTxLogsResponse) GetPagination ¶
func (m *QueryTxLogsResponse) GetPagination() *query.PageResponse
func (*QueryTxLogsResponse) Marshal ¶
func (m *QueryTxLogsResponse) Marshal() (dAtA []byte, err error)
func (*QueryTxLogsResponse) MarshalTo ¶
func (m *QueryTxLogsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTxLogsResponse) MarshalToSizedBuffer ¶
func (m *QueryTxLogsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTxLogsResponse) ProtoMessage ¶
func (*QueryTxLogsResponse) ProtoMessage()
func (*QueryTxLogsResponse) Reset ¶
func (m *QueryTxLogsResponse) Reset()
func (*QueryTxLogsResponse) Size ¶
func (m *QueryTxLogsResponse) Size() (n int)
func (*QueryTxLogsResponse) String ¶
func (m *QueryTxLogsResponse) String() string
func (*QueryTxLogsResponse) Unmarshal ¶
func (m *QueryTxLogsResponse) Unmarshal(dAtA []byte) error
func (*QueryTxLogsResponse) XXX_DiscardUnknown ¶
func (m *QueryTxLogsResponse) XXX_DiscardUnknown()
func (*QueryTxLogsResponse) XXX_Marshal ¶
func (m *QueryTxLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTxLogsResponse) XXX_Merge ¶
func (m *QueryTxLogsResponse) XXX_Merge(src proto.Message)
func (*QueryTxLogsResponse) XXX_Size ¶
func (m *QueryTxLogsResponse) XXX_Size() int
func (*QueryTxLogsResponse) XXX_Unmarshal ¶
func (m *QueryTxLogsResponse) XXX_Unmarshal(b []byte) error
type QueryValidatorAccountRequest ¶
type QueryValidatorAccountRequest struct { // cons_address is the validator cons address to query the account for. ConsAddress string `protobuf:"bytes,1,opt,name=cons_address,json=consAddress,proto3" json:"cons_address,omitempty"` }
QueryValidatorAccountRequest is the request type for the Query/ValidatorAccount RPC method.
func (*QueryValidatorAccountRequest) Descriptor ¶
func (*QueryValidatorAccountRequest) Descriptor() ([]byte, []int)
func (*QueryValidatorAccountRequest) Marshal ¶
func (m *QueryValidatorAccountRequest) Marshal() (dAtA []byte, err error)
func (*QueryValidatorAccountRequest) MarshalTo ¶
func (m *QueryValidatorAccountRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorAccountRequest) MarshalToSizedBuffer ¶
func (m *QueryValidatorAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorAccountRequest) ProtoMessage ¶
func (*QueryValidatorAccountRequest) ProtoMessage()
func (*QueryValidatorAccountRequest) Reset ¶
func (m *QueryValidatorAccountRequest) Reset()
func (*QueryValidatorAccountRequest) Size ¶
func (m *QueryValidatorAccountRequest) Size() (n int)
func (*QueryValidatorAccountRequest) String ¶
func (m *QueryValidatorAccountRequest) String() string
func (*QueryValidatorAccountRequest) Unmarshal ¶
func (m *QueryValidatorAccountRequest) Unmarshal(dAtA []byte) error
func (*QueryValidatorAccountRequest) XXX_DiscardUnknown ¶
func (m *QueryValidatorAccountRequest) XXX_DiscardUnknown()
func (*QueryValidatorAccountRequest) XXX_Marshal ¶
func (m *QueryValidatorAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorAccountRequest) XXX_Merge ¶
func (m *QueryValidatorAccountRequest) XXX_Merge(src proto.Message)
func (*QueryValidatorAccountRequest) XXX_Size ¶
func (m *QueryValidatorAccountRequest) XXX_Size() int
func (*QueryValidatorAccountRequest) XXX_Unmarshal ¶
func (m *QueryValidatorAccountRequest) XXX_Unmarshal(b []byte) error
type QueryValidatorAccountResponse ¶
type QueryValidatorAccountResponse struct { // account_address is the cosmos address of the account in bech32 format. AccountAddress string `protobuf:"bytes,1,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"` // sequence is the account's sequence number. Sequence uint64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"` // account_number is the account number AccountNumber uint64 `protobuf:"varint,3,opt,name=account_number,json=accountNumber,proto3" json:"account_number,omitempty"` }
QueryValidatorAccountResponse is the response type for the Query/ValidatorAccount RPC method.
func (*QueryValidatorAccountResponse) Descriptor ¶
func (*QueryValidatorAccountResponse) Descriptor() ([]byte, []int)
func (*QueryValidatorAccountResponse) GetAccountAddress ¶
func (m *QueryValidatorAccountResponse) GetAccountAddress() string
func (*QueryValidatorAccountResponse) GetAccountNumber ¶
func (m *QueryValidatorAccountResponse) GetAccountNumber() uint64
func (*QueryValidatorAccountResponse) GetSequence ¶
func (m *QueryValidatorAccountResponse) GetSequence() uint64
func (*QueryValidatorAccountResponse) Marshal ¶
func (m *QueryValidatorAccountResponse) Marshal() (dAtA []byte, err error)
func (*QueryValidatorAccountResponse) MarshalTo ¶
func (m *QueryValidatorAccountResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorAccountResponse) MarshalToSizedBuffer ¶
func (m *QueryValidatorAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorAccountResponse) ProtoMessage ¶
func (*QueryValidatorAccountResponse) ProtoMessage()
func (*QueryValidatorAccountResponse) Reset ¶
func (m *QueryValidatorAccountResponse) Reset()
func (*QueryValidatorAccountResponse) Size ¶
func (m *QueryValidatorAccountResponse) Size() (n int)
func (*QueryValidatorAccountResponse) String ¶
func (m *QueryValidatorAccountResponse) String() string
func (*QueryValidatorAccountResponse) Unmarshal ¶
func (m *QueryValidatorAccountResponse) Unmarshal(dAtA []byte) error
func (*QueryValidatorAccountResponse) XXX_DiscardUnknown ¶
func (m *QueryValidatorAccountResponse) XXX_DiscardUnknown()
func (*QueryValidatorAccountResponse) XXX_Marshal ¶
func (m *QueryValidatorAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorAccountResponse) XXX_Merge ¶
func (m *QueryValidatorAccountResponse) XXX_Merge(src proto.Message)
func (*QueryValidatorAccountResponse) XXX_Size ¶
func (m *QueryValidatorAccountResponse) XXX_Size() int
func (*QueryValidatorAccountResponse) XXX_Unmarshal ¶
func (m *QueryValidatorAccountResponse) XXX_Unmarshal(b []byte) error
type RevertError ¶
type RevertError struct {
// contains filtered or unexported fields
}
RevertError is an API error that encompass an EVM revert with JSON error code and a binary data blob.
func NewExecErrorWithReason ¶
func NewExecErrorWithReason(revertReason []byte) *RevertError
NewExecErrorWithReason unpacks the revert return bytes and returns a wrapped error with the return reason.
func (*RevertError) ErrorCode ¶
func (e *RevertError) ErrorCode() int
ErrorCode returns the JSON error code for a revert. See: https://github.com/ethereum/wiki/wiki/JSON-RPC-Error-Codes-Improvement-Proposal
func (*RevertError) ErrorData ¶
func (e *RevertError) ErrorData() interface{}
ErrorData returns the hex encoded revert reason.
type StakingKeeper ¶
type StakingKeeper interface { GetHistoricalInfo(ctx sdk.Context, height int64) (stakingtypes.HistoricalInfo, bool) GetValidatorByConsAddr(ctx sdk.Context, consAddr sdk.ConsAddress) (validator stakingtypes.Validator, found bool) }
StakingKeeper returns the historical headers kept in store.
type State ¶
type State struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` }
State represents a single Storage key value pair item.
func (*State) Descriptor ¶
func (*State) ProtoMessage ¶
func (*State) ProtoMessage()
func (State) Validate ¶
Validate performs a basic validation of the State fields. NOTE: state value can be empty
func (*State) XXX_DiscardUnknown ¶
func (m *State) XXX_DiscardUnknown()
func (*State) XXX_Marshal ¶
func (*State) XXX_Unmarshal ¶
type Storage ¶
type Storage []State
Storage represents the account Storage map as a slice of single key value State pairs. This is to prevent non-determinism at genesis initialization or export.
type TraceConfig ¶
type TraceConfig struct { // custom javascript tracer Tracer string `protobuf:"bytes,1,opt,name=tracer,proto3" json:"tracer,omitempty"` // overrides the default timeout of 5 seconds for JavaScript-based tracing // calls Timeout string `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty"` // number of blocks the tracer is willing to go back Reexec uint64 `protobuf:"varint,3,opt,name=reexec,proto3" json:"reexec,omitempty"` // disable stack capture DisableStack bool `protobuf:"varint,5,opt,name=disable_stack,json=disableStack,proto3" json:"disableStack"` // disable storage capture DisableStorage bool `protobuf:"varint,6,opt,name=disable_storage,json=disableStorage,proto3" json:"disableStorage"` // print output during capture end Debug bool `protobuf:"varint,8,opt,name=debug,proto3" json:"debug,omitempty"` // maximum length of output, but zero means unlimited Limit int32 `protobuf:"varint,9,opt,name=limit,proto3" json:"limit,omitempty"` // Chain overrides, can be used to execute a trace using future fork rules Overrides *ChainConfig `protobuf:"bytes,10,opt,name=overrides,proto3" json:"overrides,omitempty"` // enable memory capture EnableMemory bool `protobuf:"varint,11,opt,name=enable_memory,json=enableMemory,proto3" json:"enableMemory"` // enable return data capture EnableReturnData bool `protobuf:"varint,12,opt,name=enable_return_data,json=enableReturnData,proto3" json:"enableReturnData"` }
TraceConfig holds extra parameters to trace functions.
func (*TraceConfig) Descriptor ¶
func (*TraceConfig) Descriptor() ([]byte, []int)
func (*TraceConfig) Equal ¶ added in v0.12.0
func (this *TraceConfig) Equal(that interface{}) bool
func (*TraceConfig) GetDebug ¶
func (m *TraceConfig) GetDebug() bool
func (*TraceConfig) GetDisableStack ¶
func (m *TraceConfig) GetDisableStack() bool
func (*TraceConfig) GetDisableStorage ¶
func (m *TraceConfig) GetDisableStorage() bool
func (*TraceConfig) GetEnableMemory ¶
func (m *TraceConfig) GetEnableMemory() bool
func (*TraceConfig) GetEnableReturnData ¶
func (m *TraceConfig) GetEnableReturnData() bool
func (*TraceConfig) GetLimit ¶
func (m *TraceConfig) GetLimit() int32
func (*TraceConfig) GetOverrides ¶
func (m *TraceConfig) GetOverrides() *ChainConfig
func (*TraceConfig) GetReexec ¶
func (m *TraceConfig) GetReexec() uint64
func (*TraceConfig) GetTimeout ¶
func (m *TraceConfig) GetTimeout() string
func (*TraceConfig) GetTracer ¶
func (m *TraceConfig) GetTracer() string
func (*TraceConfig) Marshal ¶
func (m *TraceConfig) Marshal() (dAtA []byte, err error)
func (*TraceConfig) MarshalToSizedBuffer ¶
func (m *TraceConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TraceConfig) ProtoMessage ¶
func (*TraceConfig) ProtoMessage()
func (*TraceConfig) Reset ¶
func (m *TraceConfig) Reset()
func (*TraceConfig) Size ¶
func (m *TraceConfig) Size() (n int)
func (*TraceConfig) String ¶
func (m *TraceConfig) String() string
func (*TraceConfig) Unmarshal ¶
func (m *TraceConfig) Unmarshal(dAtA []byte) error
func (*TraceConfig) XXX_DiscardUnknown ¶
func (m *TraceConfig) XXX_DiscardUnknown()
func (*TraceConfig) XXX_Marshal ¶
func (m *TraceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TraceConfig) XXX_Merge ¶
func (m *TraceConfig) XXX_Merge(src proto.Message)
func (*TraceConfig) XXX_Size ¶
func (m *TraceConfig) XXX_Size() int
func (*TraceConfig) XXX_Unmarshal ¶
func (m *TraceConfig) XXX_Unmarshal(b []byte) error
type TransactionArgs ¶
type TransactionArgs struct { From *common.Address `json:"from"` To *common.Address `json:"to"` Gas *hexutil.Uint64 `json:"gas"` GasPrice *hexutil.Big `json:"gasPrice"` MaxFeePerGas *hexutil.Big `json:"maxFeePerGas"` MaxPriorityFeePerGas *hexutil.Big `json:"maxPriorityFeePerGas"` Value *hexutil.Big `json:"value"` Nonce *hexutil.Uint64 `json:"nonce"` // We accept "data" and "input" for backwards-compatibility reasons. // "input" is the newer name and should be preferred by clients. // Issue detail: https://github.com/ethereum/go-ethereum/issues/15628 Data *hexutil.Bytes `json:"data"` Input *hexutil.Bytes `json:"input"` // Introduced by AccessListTxType transaction. AccessList *ethtypes.AccessList `json:"accessList,omitempty"` ChainID *hexutil.Big `json:"chainId,omitempty"` }
TransactionArgs represents the arguments to construct a new transaction or a message call using JSON-RPC. Duplicate struct definition since geth struct is in internal package Ref: https://github.com/ethereum/go-ethereum/blob/release/1.10.4/internal/ethapi/transaction_args.go#L36
func (*TransactionArgs) GetData ¶
func (args *TransactionArgs) GetData() []byte
GetData retrieves the transaction calldata. Input field is preferred.
func (*TransactionArgs) GetFrom ¶
func (args *TransactionArgs) GetFrom() common.Address
GetFrom retrieves the transaction sender address.
func (*TransactionArgs) String ¶
func (args *TransactionArgs) String() string
String return the struct in a string format
func (*TransactionArgs) ToMessage ¶
func (args *TransactionArgs) ToMessage(globalGasCap uint64, baseFee *big.Int) (ethtypes.Message, error)
ToMessage converts the arguments to the Message type used by the core evm. This assumes that setTxDefaults has been called.
func (*TransactionArgs) ToTransaction ¶
func (args *TransactionArgs) ToTransaction() *MsgEthereumTx
ToTransaction converts the arguments to an ethereum transaction. This assumes that setTxDefaults has been called.
type TransactionLogs ¶
type TransactionLogs struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Logs []*Log `protobuf:"bytes,2,rep,name=logs,proto3" json:"logs,omitempty"` }
TransactionLogs define the logs generated from a transaction execution with a given hash. It it used for import/export data as transactions are not persisted on blockchain state after an upgrade.
func DecodeTransactionLogs ¶
func DecodeTransactionLogs(data []byte) (TransactionLogs, error)
DecodeTransactionLogs decodes a protobuf-encoded byte slice into TransactionLogs
func NewTransactionLogs ¶
func NewTransactionLogs(hash common.Hash, logs []*Log) TransactionLogs
NewTransactionLogs creates a new NewTransactionLogs instance.
func NewTransactionLogsFromEth ¶
func NewTransactionLogsFromEth(hash common.Hash, ethlogs []*ethtypes.Log) TransactionLogs
NewTransactionLogsFromEth creates a new NewTransactionLogs instance using []*ethtypes.Log.
func (*TransactionLogs) Descriptor ¶
func (*TransactionLogs) Descriptor() ([]byte, []int)
func (*TransactionLogs) Equal ¶ added in v0.12.0
func (this *TransactionLogs) Equal(that interface{}) bool
func (TransactionLogs) EthLogs ¶
func (tx TransactionLogs) EthLogs() []*ethtypes.Log
EthLogs returns the Ethereum type Logs from the Transaction Logs.
func (*TransactionLogs) GetHash ¶
func (m *TransactionLogs) GetHash() string
func (*TransactionLogs) GetLogs ¶
func (m *TransactionLogs) GetLogs() []*Log
func (*TransactionLogs) Marshal ¶
func (m *TransactionLogs) Marshal() (dAtA []byte, err error)
func (*TransactionLogs) MarshalToSizedBuffer ¶
func (m *TransactionLogs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TransactionLogs) ProtoMessage ¶
func (*TransactionLogs) ProtoMessage()
func (*TransactionLogs) Reset ¶
func (m *TransactionLogs) Reset()
func (*TransactionLogs) Size ¶
func (m *TransactionLogs) Size() (n int)
func (*TransactionLogs) String ¶
func (m *TransactionLogs) String() string
func (*TransactionLogs) Unmarshal ¶
func (m *TransactionLogs) Unmarshal(dAtA []byte) error
func (TransactionLogs) Validate ¶
func (tx TransactionLogs) Validate() error
Validate performs a basic validation of a GenesisAccount fields.
func (*TransactionLogs) XXX_DiscardUnknown ¶
func (m *TransactionLogs) XXX_DiscardUnknown()
func (*TransactionLogs) XXX_Marshal ¶
func (m *TransactionLogs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionLogs) XXX_Merge ¶
func (m *TransactionLogs) XXX_Merge(src proto.Message)
func (*TransactionLogs) XXX_Size ¶
func (m *TransactionLogs) XXX_Size() int
func (*TransactionLogs) XXX_Unmarshal ¶
func (m *TransactionLogs) XXX_Unmarshal(b []byte) error
type TxData ¶
type TxData interface { TxType() byte Copy() TxData GetChainID() *big.Int GetAccessList() ethtypes.AccessList GetData() []byte GetNonce() uint64 GetGas() uint64 GetGasPrice() *big.Int GetGasTipCap() *big.Int GetGasFeeCap() *big.Int GetValue() *big.Int GetTo() *common.Address GetRawSignatureValues() (v, r, s *big.Int) SetSignatureValues(chainID, v, r, s *big.Int) AsEthereumData() ethtypes.TxData Validate() error // static fee Fee() *big.Int Cost() *big.Int // effective fee according to current base fee EffectiveFee(baseFee *big.Int) *big.Int EffectiveCost(baseFee *big.Int) *big.Int }
TxData implements the Ethereum transaction tx structure. It is used solely as intended in Ethereum abiding by the protocol.
func NewTxDataFromTx ¶
func NewTxDataFromTx(tx *ethtypes.Transaction) (TxData, error)
func UnpackTxData ¶
func UnpackTxData(any *codectypes.Any) (TxData, error)
UnpackTxData unpacks an Any into a TxData. It returns an error if the client state can't be unpacked into a TxData.
type TxResult ¶
type TxResult struct { // contract_address contains the ethereum address of the created contract (if // any). If the state transition is an evm.Call, the contract address will be // empty. ContractAddress string `` /* 130-byte string literal not displayed */ // bloom represents the bloom filter bytes Bloom []byte `protobuf:"bytes,2,opt,name=bloom,proto3" json:"bloom,omitempty"` // tx_logs contains the transaction hash and the proto-compatible ethereum // logs. TxLogs TransactionLogs `protobuf:"bytes,3,opt,name=tx_logs,json=txLogs,proto3" json:"tx_logs" yaml:"tx_logs"` // ret defines the bytes from the execution. Ret []byte `protobuf:"bytes,4,opt,name=ret,proto3" json:"ret,omitempty"` // reverted flag is set to true when the call has been reverted Reverted bool `protobuf:"varint,5,opt,name=reverted,proto3" json:"reverted,omitempty"` // gas_used notes the amount of gas consumed while execution GasUsed uint64 `protobuf:"varint,6,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` }
TxResult stores results of Tx execution.
func (*TxResult) Descriptor ¶
func (*TxResult) MarshalToSizedBuffer ¶
func (*TxResult) ProtoMessage ¶
func (*TxResult) ProtoMessage()
func (*TxResult) XXX_DiscardUnknown ¶
func (m *TxResult) XXX_DiscardUnknown()
func (*TxResult) XXX_Marshal ¶
func (*TxResult) XXX_Unmarshal ¶
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) EthereumTx ¶
func (*UnimplementedMsgServer) EthereumTx(ctx context.Context, req *MsgEthereumTx) (*MsgEthereumTxResponse, error)
func (*UnimplementedMsgServer) UpdateImplmentationProposal ¶ added in v0.12.0
func (*UnimplementedMsgServer) UpdateImplmentationProposal(ctx context.Context, req *MsgUpdateImplmentationProposal) (*MsgUpdateImplmentationProposalResponse, error)
func (*UnimplementedMsgServer) UpdateParams ¶ added in v0.12.0
func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Account ¶
func (*UnimplementedQueryServer) Account(ctx context.Context, req *QueryAccountRequest) (*QueryAccountResponse, error)
func (*UnimplementedQueryServer) AddressConvert ¶ added in v0.10.0
func (*UnimplementedQueryServer) AddressConvert(ctx context.Context, req *QueryAddressConvertRequest) (*QueryAddressConvertResponse, error)
func (*UnimplementedQueryServer) Balance ¶
func (*UnimplementedQueryServer) Balance(ctx context.Context, req *QueryBalanceRequest) (*QueryBalanceResponse, error)
func (*UnimplementedQueryServer) BaseFee ¶
func (*UnimplementedQueryServer) BaseFee(ctx context.Context, req *QueryBaseFeeRequest) (*QueryBaseFeeResponse, error)
func (*UnimplementedQueryServer) BaseFeeParam ¶
func (*UnimplementedQueryServer) BaseFeeParam(ctx context.Context, req *QueryBaseFeeRequest) (*QueryBaseFeeResponse, error)
func (*UnimplementedQueryServer) BlockGas ¶
func (*UnimplementedQueryServer) BlockGas(ctx context.Context, req *QueryBlockGasRequest) (*QueryBlockGasResponse, error)
func (*UnimplementedQueryServer) Code ¶
func (*UnimplementedQueryServer) Code(ctx context.Context, req *QueryCodeRequest) (*QueryCodeResponse, error)
func (*UnimplementedQueryServer) CosmosAccount ¶
func (*UnimplementedQueryServer) CosmosAccount(ctx context.Context, req *QueryCosmosAccountRequest) (*QueryCosmosAccountResponse, error)
func (*UnimplementedQueryServer) EstimateGas ¶
func (*UnimplementedQueryServer) EstimateGas(ctx context.Context, req *EthCallRequest) (*EstimateGasResponse, error)
func (*UnimplementedQueryServer) EthCall ¶
func (*UnimplementedQueryServer) EthCall(ctx context.Context, req *EthCallRequest) (*MsgEthereumTxResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) Storage ¶
func (*UnimplementedQueryServer) Storage(ctx context.Context, req *QueryStorageRequest) (*QueryStorageResponse, error)
func (*UnimplementedQueryServer) TraceBlock ¶
func (*UnimplementedQueryServer) TraceBlock(ctx context.Context, req *QueryTraceBlockRequest) (*QueryTraceBlockResponse, error)
func (*UnimplementedQueryServer) TraceTx ¶
func (*UnimplementedQueryServer) TraceTx(ctx context.Context, req *QueryTraceTxRequest) (*QueryTraceTxResponse, error)
func (*UnimplementedQueryServer) ValidatorAccount ¶
func (*UnimplementedQueryServer) ValidatorAccount(ctx context.Context, req *QueryValidatorAccountRequest) (*QueryValidatorAccountResponse, error)
type UpdateImplmentationProposal ¶ added in v0.12.0
type UpdateImplmentationProposal struct { // proxy address where data will be executed ProxyAddress string `protobuf:"bytes,1,opt,name=proxy_address,json=proxyAddress,proto3" json:"proxy_address,omitempty"` // implmentation address as API for a storage ImplementationAddress string `protobuf:"bytes,2,opt,name=implementation_address,json=implementationAddress,proto3" json:"implementation_address,omitempty"` // data for execution Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // value for proxy func call Amount *github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=value,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"value,omitempty"` }
UpdateImplmentationProposal used to update implemntation for genesis proxies
func (*UpdateImplmentationProposal) Descriptor ¶ added in v0.12.0
func (*UpdateImplmentationProposal) Descriptor() ([]byte, []int)
func (*UpdateImplmentationProposal) GetData ¶ added in v0.12.0
func (m *UpdateImplmentationProposal) GetData() []byte
func (*UpdateImplmentationProposal) GetDescription ¶ added in v0.12.0
func (epd *UpdateImplmentationProposal) GetDescription() string
GetDescription returns the description of a new proxy update proposal.
func (*UpdateImplmentationProposal) GetImplementationAddress ¶ added in v0.12.0
func (m *UpdateImplmentationProposal) GetImplementationAddress() string
func (*UpdateImplmentationProposal) GetProxyAddress ¶ added in v0.12.0
func (m *UpdateImplmentationProposal) GetProxyAddress() string
func (*UpdateImplmentationProposal) GetTitle ¶ added in v0.12.0
func (epd *UpdateImplmentationProposal) GetTitle() string
GetTitle returns the title of a new proxy update proposal.
func (*UpdateImplmentationProposal) Marshal ¶ added in v0.12.0
func (m *UpdateImplmentationProposal) Marshal() (dAtA []byte, err error)
func (*UpdateImplmentationProposal) MarshalTo ¶ added in v0.12.0
func (m *UpdateImplmentationProposal) MarshalTo(dAtA []byte) (int, error)
func (*UpdateImplmentationProposal) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *UpdateImplmentationProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpdateImplmentationProposal) ProposalRoute ¶ added in v0.12.0
func (epd *UpdateImplmentationProposal) ProposalRoute() string
ProposalRoute returns the routing key of a new proxy update proposal.
func (*UpdateImplmentationProposal) ProposalType ¶ added in v0.12.0
func (epd *UpdateImplmentationProposal) ProposalType() string
ProposalType returns the type of a new proxy update proposal.
func (*UpdateImplmentationProposal) ProtoMessage ¶ added in v0.12.0
func (*UpdateImplmentationProposal) ProtoMessage()
func (*UpdateImplmentationProposal) Reset ¶ added in v0.12.0
func (m *UpdateImplmentationProposal) Reset()
func (*UpdateImplmentationProposal) Size ¶ added in v0.12.0
func (m *UpdateImplmentationProposal) Size() (n int)
func (*UpdateImplmentationProposal) String ¶ added in v0.12.0
func (m *UpdateImplmentationProposal) String() string
func (*UpdateImplmentationProposal) Unmarshal ¶ added in v0.12.0
func (m *UpdateImplmentationProposal) Unmarshal(dAtA []byte) error
func (*UpdateImplmentationProposal) ValidateBasic ¶ added in v0.12.0
func (epd *UpdateImplmentationProposal) ValidateBasic() error
ValidateBasic runs basic stateless validity checks
func (*UpdateImplmentationProposal) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *UpdateImplmentationProposal) XXX_DiscardUnknown()
func (*UpdateImplmentationProposal) XXX_Marshal ¶ added in v0.12.0
func (m *UpdateImplmentationProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateImplmentationProposal) XXX_Merge ¶ added in v0.12.0
func (m *UpdateImplmentationProposal) XXX_Merge(src proto.Message)
func (*UpdateImplmentationProposal) XXX_Size ¶ added in v0.12.0
func (m *UpdateImplmentationProposal) XXX_Size() int
func (*UpdateImplmentationProposal) XXX_Unmarshal ¶ added in v0.12.0
func (m *UpdateImplmentationProposal) XXX_Unmarshal(b []byte) error
Source Files ¶
- access_list.go
- access_list_tx.go
- chain_config.go
- codec.go
- compiled_contract.go
- config.go
- contracts.go
- dynamic_fee_tx.go
- errors.go
- event.pb.go
- events.go
- evm.pb.go
- expected.go
- genesis.go
- genesis.pb.go
- interfaces.go
- key.go
- legacy_tx.go
- logs.go
- msg.go
- msg_cosmos.go
- params.go
- params_legacy.go
- proposal.go
- proposal.pb.go
- query.go
- query.pb.go
- query.pb.gw.go
- storage.go
- tx.go
- tx.pb.go
- tx_args.go
- tx_data.go
- utils.go