Documentation
¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Constants
- Variables
- func GetSigners(msg protov2.Message) ([][]byte, error)
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type AccessControl
- func (*AccessControl) Descriptor() ([]byte, []int)deprecated
- func (x *AccessControl) GetCall() *AccessControlType
- func (x *AccessControl) GetCreate() *AccessControlType
- func (*AccessControl) ProtoMessage()
- func (x *AccessControl) ProtoReflect() protoreflect.Message
- func (x *AccessControl) Reset()
- func (x *AccessControl) String() string
- type AccessControlType
- func (*AccessControlType) Descriptor() ([]byte, []int)deprecated
- func (x *AccessControlType) GetAccessControlList() []string
- func (x *AccessControlType) GetAccessType() AccessType
- func (*AccessControlType) ProtoMessage()
- func (x *AccessControlType) ProtoReflect() protoreflect.Message
- func (x *AccessControlType) Reset()
- func (x *AccessControlType) String() string
- type AccessListTx
- func (tx *AccessListTx) AsEthereumData() ethtypes.TxData
- func (*AccessListTx) Descriptor() ([]byte, []int)deprecated
- func (tx *AccessListTx) GetAccessList() ethtypes.AccessList
- func (x *AccessListTx) GetAccesses() []*AccessTuple
- func (tx *AccessListTx) GetChainID() *big.Int
- func (x *AccessListTx) GetChainId() string
- func (x *AccessListTx) GetData() []byte
- func (x *AccessListTx) GetGas() uint64
- func (x *AccessListTx) GetGasPrice() string
- func (x *AccessListTx) GetNonce() uint64
- func (x *AccessListTx) GetR() []byte
- func (tx *AccessListTx) GetRawSignatureValues() (v, r, s *big.Int)
- func (x *AccessListTx) GetS() []byte
- func (x *AccessListTx) GetTo() string
- func (x *AccessListTx) GetV() []byte
- func (x *AccessListTx) GetValue() string
- func (*AccessListTx) ProtoMessage()
- func (x *AccessListTx) ProtoReflect() protoreflect.Message
- func (x *AccessListTx) Reset()
- func (x *AccessListTx) String() string
- type AccessTuple
- func (*AccessTuple) Descriptor() ([]byte, []int)deprecated
- func (x *AccessTuple) GetAddress() string
- func (x *AccessTuple) GetStorageKeys() []string
- func (*AccessTuple) ProtoMessage()
- func (x *AccessTuple) ProtoReflect() protoreflect.Message
- func (x *AccessTuple) Reset()
- func (x *AccessTuple) String() string
- type AccessType
- type ChainConfig
- func (*ChainConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ChainConfig) GetArrowGlacierBlock() string
- func (x *ChainConfig) GetBerlinBlock() string
- func (x *ChainConfig) GetByzantiumBlock() string
- func (x *ChainConfig) GetCancunBlock() string
- func (x *ChainConfig) GetChainId() uint64
- func (x *ChainConfig) GetConstantinopleBlock() string
- func (x *ChainConfig) GetDaoForkBlock() string
- func (x *ChainConfig) GetDaoForkSupport() bool
- func (x *ChainConfig) GetDecimals() uint64
- func (x *ChainConfig) GetDenom() string
- func (x *ChainConfig) GetEip150Block() string
- func (x *ChainConfig) GetEip150Hash() string
- func (x *ChainConfig) GetEip155Block() string
- func (x *ChainConfig) GetEip158Block() string
- func (x *ChainConfig) GetGrayGlacierBlock() string
- func (x *ChainConfig) GetHomesteadBlock() string
- func (x *ChainConfig) GetIstanbulBlock() string
- func (x *ChainConfig) GetLondonBlock() string
- func (x *ChainConfig) GetMergeNetsplitBlock() string
- func (x *ChainConfig) GetMuirGlacierBlock() string
- func (x *ChainConfig) GetPetersburgBlock() string
- func (x *ChainConfig) GetShanghaiBlock() string
- func (*ChainConfig) ProtoMessage()
- func (x *ChainConfig) ProtoReflect() protoreflect.Message
- func (x *ChainConfig) Reset()
- func (x *ChainConfig) String() string
- type DynamicFeeTx
- func (tx *DynamicFeeTx) AsEthereumData() ethtypes.TxData
- func (*DynamicFeeTx) Descriptor() ([]byte, []int)deprecated
- func (tx *DynamicFeeTx) GetAccessList() ethtypes.AccessList
- func (x *DynamicFeeTx) GetAccesses() []*AccessTuple
- func (tx *DynamicFeeTx) GetChainID() *big.Int
- func (x *DynamicFeeTx) GetChainId() string
- func (x *DynamicFeeTx) GetData() []byte
- func (x *DynamicFeeTx) GetGas() uint64
- func (x *DynamicFeeTx) GetGasFeeCap() string
- func (x *DynamicFeeTx) GetGasTipCap() string
- func (x *DynamicFeeTx) GetNonce() uint64
- func (x *DynamicFeeTx) GetR() []byte
- func (tx *DynamicFeeTx) GetRawSignatureValues() (v, r, s *big.Int)
- func (x *DynamicFeeTx) GetS() []byte
- func (x *DynamicFeeTx) GetTo() string
- func (x *DynamicFeeTx) GetV() []byte
- func (x *DynamicFeeTx) GetValue() string
- func (*DynamicFeeTx) ProtoMessage()
- func (x *DynamicFeeTx) ProtoReflect() protoreflect.Message
- func (x *DynamicFeeTx) Reset()
- func (x *DynamicFeeTx) String() string
- type EstimateGasResponse
- func (*EstimateGasResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EstimateGasResponse) GetGas() uint64
- func (x *EstimateGasResponse) GetRet() []byte
- func (x *EstimateGasResponse) GetVmError() string
- func (*EstimateGasResponse) ProtoMessage()
- func (x *EstimateGasResponse) ProtoReflect() protoreflect.Message
- func (x *EstimateGasResponse) Reset()
- func (x *EstimateGasResponse) String() string
- type EthCallRequest
- func (*EthCallRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EthCallRequest) GetArgs() []byte
- func (x *EthCallRequest) GetChainId() int64
- func (x *EthCallRequest) GetGasCap() uint64
- func (x *EthCallRequest) GetProposerAddress() []byte
- func (*EthCallRequest) ProtoMessage()
- func (x *EthCallRequest) ProtoReflect() protoreflect.Message
- func (x *EthCallRequest) Reset()
- func (x *EthCallRequest) String() string
- type EventBlockBloom
- type EventEthereumTx
- func (*EventEthereumTx) Descriptor() ([]byte, []int)deprecated
- func (x *EventEthereumTx) GetAmount() string
- func (x *EventEthereumTx) GetEthHash() string
- func (x *EventEthereumTx) GetEthTxFailed() string
- func (x *EventEthereumTx) GetGasUsed() string
- func (x *EventEthereumTx) GetHash() string
- func (x *EventEthereumTx) GetIndex() string
- func (x *EventEthereumTx) GetRecipient() string
- func (*EventEthereumTx) ProtoMessage()
- func (x *EventEthereumTx) ProtoReflect() protoreflect.Message
- func (x *EventEthereumTx) Reset()
- func (x *EventEthereumTx) String() string
- type EventMessage
- func (*EventMessage) Descriptor() ([]byte, []int)deprecated
- func (x *EventMessage) GetModule() string
- func (x *EventMessage) GetSender() string
- func (x *EventMessage) GetTxType() string
- func (*EventMessage) ProtoMessage()
- func (x *EventMessage) ProtoReflect() protoreflect.Message
- func (x *EventMessage) Reset()
- func (x *EventMessage) String() string
- type EventTxLog
- type ExtensionOptionsEthereumTx
- type GenesisAccount
- func (*GenesisAccount) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisAccount) GetAddress() string
- func (x *GenesisAccount) GetCode() string
- func (x *GenesisAccount) GetStorage() []*State
- func (*GenesisAccount) ProtoMessage()
- func (x *GenesisAccount) ProtoReflect() protoreflect.Message
- func (x *GenesisAccount) Reset()
- func (x *GenesisAccount) String() string
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState) GetAccounts() []*GenesisAccount
- func (x *GenesisState) GetParams() *Params
- func (*GenesisState) ProtoMessage()
- func (x *GenesisState) ProtoReflect() protoreflect.Message
- func (x *GenesisState) Reset()
- func (x *GenesisState) String() string
- type LegacyTx
- func (tx *LegacyTx) AsEthereumData() ethtypes.TxData
- func (*LegacyTx) Descriptor() ([]byte, []int)deprecated
- func (tx *LegacyTx) GetAccessList() ethtypes.AccessList
- func (tx *LegacyTx) GetChainID() *big.Int
- func (x *LegacyTx) GetData() []byte
- func (x *LegacyTx) GetGas() uint64
- func (x *LegacyTx) GetGasPrice() string
- func (x *LegacyTx) GetNonce() uint64
- func (x *LegacyTx) GetR() []byte
- func (tx *LegacyTx) GetRawSignatureValues() (v, r, s *big.Int)
- func (x *LegacyTx) GetS() []byte
- func (x *LegacyTx) GetTo() string
- func (x *LegacyTx) GetV() []byte
- func (x *LegacyTx) GetValue() string
- func (*LegacyTx) ProtoMessage()
- func (x *LegacyTx) ProtoReflect() protoreflect.Message
- func (x *LegacyTx) Reset()
- func (x *LegacyTx) String() string
- type Log
- func (*Log) Descriptor() ([]byte, []int)deprecated
- func (x *Log) GetAddress() string
- func (x *Log) GetBlockHash() string
- func (x *Log) GetBlockNumber() uint64
- func (x *Log) GetData() []byte
- func (x *Log) GetIndex() uint64
- func (x *Log) GetRemoved() bool
- func (x *Log) GetTopics() []string
- func (x *Log) GetTxHash() string
- func (x *Log) GetTxIndex() uint64
- func (*Log) ProtoMessage()
- func (x *Log) ProtoReflect() protoreflect.Message
- func (x *Log) Reset()
- func (x *Log) String() string
- type MsgClient
- type MsgEthereumTx
- func (*MsgEthereumTx) Descriptor() ([]byte, []int)deprecated
- func (x *MsgEthereumTx) GetData() *anypb.Any
- func (x *MsgEthereumTx) GetFrom() string
- func (x *MsgEthereumTx) GetHash() string
- func (x *MsgEthereumTx) GetSize() float64
- func (*MsgEthereumTx) ProtoMessage()
- func (x *MsgEthereumTx) ProtoReflect() protoreflect.Message
- func (x *MsgEthereumTx) Reset()
- func (x *MsgEthereumTx) String() string
- type MsgEthereumTxResponse
- func (*MsgEthereumTxResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgEthereumTxResponse) GetGasUsed() uint64
- func (x *MsgEthereumTxResponse) GetHash() string
- func (x *MsgEthereumTxResponse) GetLogs() []*Log
- func (x *MsgEthereumTxResponse) GetRet() []byte
- func (x *MsgEthereumTxResponse) GetVmError() string
- func (*MsgEthereumTxResponse) ProtoMessage()
- func (x *MsgEthereumTxResponse) ProtoReflect() protoreflect.Message
- func (x *MsgEthereumTxResponse) Reset()
- func (x *MsgEthereumTxResponse) String() string
- type MsgServer
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateParams) GetAuthority() string
- func (x *MsgUpdateParams) GetParams() *Params
- func (*MsgUpdateParams) ProtoMessage()
- func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateParams) Reset()
- func (x *MsgUpdateParams) String() string
- type MsgUpdateParamsResponse
- type Params
- func (*Params) Descriptor() ([]byte, []int)deprecated
- func (x *Params) GetAccessControl() *AccessControl
- func (x *Params) GetActiveStaticPrecompiles() []string
- func (x *Params) GetAllowUnprotectedTxs() bool
- func (x *Params) GetChainConfig() *ChainConfig
- func (x *Params) GetEvmChannels() []string
- func (x *Params) GetEvmDenom() string
- func (x *Params) GetExtraEips() []int64
- func (*Params) ProtoMessage()
- func (x *Params) ProtoReflect() protoreflect.Message
- func (x *Params) Reset()
- func (x *Params) String() string
- type QueryAccountRequest
- func (*QueryAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAccountRequest) GetAddress() string
- func (*QueryAccountRequest) ProtoMessage()
- func (x *QueryAccountRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAccountRequest) Reset()
- func (x *QueryAccountRequest) String() string
- type QueryAccountResponse
- func (*QueryAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAccountResponse) GetBalance() string
- func (x *QueryAccountResponse) GetCodeHash() string
- func (x *QueryAccountResponse) GetNonce() uint64
- func (*QueryAccountResponse) ProtoMessage()
- func (x *QueryAccountResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAccountResponse) Reset()
- func (x *QueryAccountResponse) String() string
- type QueryBalanceRequest
- func (*QueryBalanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBalanceRequest) GetAddress() string
- func (*QueryBalanceRequest) ProtoMessage()
- func (x *QueryBalanceRequest) ProtoReflect() protoreflect.Message
- func (x *QueryBalanceRequest) Reset()
- func (x *QueryBalanceRequest) String() string
- type QueryBalanceResponse
- func (*QueryBalanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBalanceResponse) GetBalance() string
- func (*QueryBalanceResponse) ProtoMessage()
- func (x *QueryBalanceResponse) ProtoReflect() protoreflect.Message
- func (x *QueryBalanceResponse) Reset()
- func (x *QueryBalanceResponse) String() string
- type QueryBaseFeeRequest
- type QueryBaseFeeResponse
- func (*QueryBaseFeeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBaseFeeResponse) GetBaseFee() string
- func (*QueryBaseFeeResponse) ProtoMessage()
- func (x *QueryBaseFeeResponse) ProtoReflect() protoreflect.Message
- func (x *QueryBaseFeeResponse) Reset()
- func (x *QueryBaseFeeResponse) String() string
- type QueryClient
- type QueryCodeRequest
- type QueryCodeResponse
- type QueryConfigRequest
- type QueryConfigResponse
- func (*QueryConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryConfigResponse) GetConfig() *ChainConfig
- func (*QueryConfigResponse) ProtoMessage()
- func (x *QueryConfigResponse) ProtoReflect() protoreflect.Message
- func (x *QueryConfigResponse) Reset()
- func (x *QueryConfigResponse) String() string
- type QueryCosmosAccountRequest
- func (*QueryCosmosAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryCosmosAccountRequest) GetAddress() string
- func (*QueryCosmosAccountRequest) ProtoMessage()
- func (x *QueryCosmosAccountRequest) ProtoReflect() protoreflect.Message
- func (x *QueryCosmosAccountRequest) Reset()
- func (x *QueryCosmosAccountRequest) String() string
- type QueryCosmosAccountResponse
- func (*QueryCosmosAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryCosmosAccountResponse) GetAccountNumber() uint64
- func (x *QueryCosmosAccountResponse) GetCosmosAddress() string
- func (x *QueryCosmosAccountResponse) GetSequence() uint64
- func (*QueryCosmosAccountResponse) ProtoMessage()
- func (x *QueryCosmosAccountResponse) ProtoReflect() protoreflect.Message
- func (x *QueryCosmosAccountResponse) Reset()
- func (x *QueryCosmosAccountResponse) String() string
- type QueryGlobalMinGasPriceRequest
- func (*QueryGlobalMinGasPriceRequest) Descriptor() ([]byte, []int)deprecated
- func (*QueryGlobalMinGasPriceRequest) ProtoMessage()
- func (x *QueryGlobalMinGasPriceRequest) ProtoReflect() protoreflect.Message
- func (x *QueryGlobalMinGasPriceRequest) Reset()
- func (x *QueryGlobalMinGasPriceRequest) String() string
- type QueryGlobalMinGasPriceResponse
- func (*QueryGlobalMinGasPriceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGlobalMinGasPriceResponse) GetMinGasPrice() string
- func (*QueryGlobalMinGasPriceResponse) ProtoMessage()
- func (x *QueryGlobalMinGasPriceResponse) ProtoReflect() protoreflect.Message
- func (x *QueryGlobalMinGasPriceResponse) Reset()
- func (x *QueryGlobalMinGasPriceResponse) String() string
- type QueryParamsRequest
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryParamsResponse) GetParams() *Params
- func (*QueryParamsResponse) ProtoMessage()
- func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryParamsResponse) Reset()
- func (x *QueryParamsResponse) String() string
- type QueryServer
- type QueryStorageRequest
- func (*QueryStorageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryStorageRequest) GetAddress() string
- func (x *QueryStorageRequest) GetKey() string
- func (*QueryStorageRequest) ProtoMessage()
- func (x *QueryStorageRequest) ProtoReflect() protoreflect.Message
- func (x *QueryStorageRequest) Reset()
- func (x *QueryStorageRequest) String() string
- type QueryStorageResponse
- func (*QueryStorageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryStorageResponse) GetValue() string
- func (*QueryStorageResponse) ProtoMessage()
- func (x *QueryStorageResponse) ProtoReflect() protoreflect.Message
- func (x *QueryStorageResponse) Reset()
- func (x *QueryStorageResponse) String() string
- type QueryTraceBlockRequest
- func (*QueryTraceBlockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryTraceBlockRequest) GetBlockHash() string
- func (x *QueryTraceBlockRequest) GetBlockMaxGas() int64
- func (x *QueryTraceBlockRequest) GetBlockNumber() int64
- func (x *QueryTraceBlockRequest) GetBlockTime() *timestamppb.Timestamp
- func (x *QueryTraceBlockRequest) GetChainId() int64
- func (x *QueryTraceBlockRequest) GetProposerAddress() []byte
- func (x *QueryTraceBlockRequest) GetTraceConfig() *TraceConfig
- func (x *QueryTraceBlockRequest) GetTxs() []*MsgEthereumTx
- func (*QueryTraceBlockRequest) ProtoMessage()
- func (x *QueryTraceBlockRequest) ProtoReflect() protoreflect.Message
- func (x *QueryTraceBlockRequest) Reset()
- func (x *QueryTraceBlockRequest) String() string
- type QueryTraceBlockResponse
- func (*QueryTraceBlockResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryTraceBlockResponse) GetData() []byte
- func (*QueryTraceBlockResponse) ProtoMessage()
- func (x *QueryTraceBlockResponse) ProtoReflect() protoreflect.Message
- func (x *QueryTraceBlockResponse) Reset()
- func (x *QueryTraceBlockResponse) String() string
- type QueryTraceTxRequest
- func (*QueryTraceTxRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryTraceTxRequest) GetBlockHash() string
- func (x *QueryTraceTxRequest) GetBlockMaxGas() int64
- func (x *QueryTraceTxRequest) GetBlockNumber() int64
- func (x *QueryTraceTxRequest) GetBlockTime() *timestamppb.Timestamp
- func (x *QueryTraceTxRequest) GetChainId() int64
- func (x *QueryTraceTxRequest) GetMsg() *MsgEthereumTx
- func (x *QueryTraceTxRequest) GetPredecessors() []*MsgEthereumTx
- func (x *QueryTraceTxRequest) GetProposerAddress() []byte
- func (x *QueryTraceTxRequest) GetTraceConfig() *TraceConfig
- func (*QueryTraceTxRequest) ProtoMessage()
- func (x *QueryTraceTxRequest) ProtoReflect() protoreflect.Message
- func (x *QueryTraceTxRequest) Reset()
- func (x *QueryTraceTxRequest) String() string
- type QueryTraceTxResponse
- func (*QueryTraceTxResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryTraceTxResponse) GetData() []byte
- func (*QueryTraceTxResponse) ProtoMessage()
- func (x *QueryTraceTxResponse) ProtoReflect() protoreflect.Message
- func (x *QueryTraceTxResponse) Reset()
- func (x *QueryTraceTxResponse) String() string
- type QueryTxLogsRequest
- func (*QueryTxLogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryTxLogsRequest) GetHash() string
- func (x *QueryTxLogsRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryTxLogsRequest) ProtoMessage()
- func (x *QueryTxLogsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryTxLogsRequest) Reset()
- func (x *QueryTxLogsRequest) String() string
- type QueryTxLogsResponse
- func (*QueryTxLogsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryTxLogsResponse) GetLogs() []*Log
- func (x *QueryTxLogsResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryTxLogsResponse) ProtoMessage()
- func (x *QueryTxLogsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryTxLogsResponse) Reset()
- func (x *QueryTxLogsResponse) String() string
- type QueryValidatorAccountRequest
- func (*QueryValidatorAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryValidatorAccountRequest) GetConsAddress() string
- func (*QueryValidatorAccountRequest) ProtoMessage()
- func (x *QueryValidatorAccountRequest) ProtoReflect() protoreflect.Message
- func (x *QueryValidatorAccountRequest) Reset()
- func (x *QueryValidatorAccountRequest) String() string
- type QueryValidatorAccountResponse
- func (*QueryValidatorAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryValidatorAccountResponse) GetAccountAddress() string
- func (x *QueryValidatorAccountResponse) GetAccountNumber() uint64
- func (x *QueryValidatorAccountResponse) GetSequence() uint64
- func (*QueryValidatorAccountResponse) ProtoMessage()
- func (x *QueryValidatorAccountResponse) ProtoReflect() protoreflect.Message
- func (x *QueryValidatorAccountResponse) Reset()
- func (x *QueryValidatorAccountResponse) String() string
- type State
- type TraceConfig
- func (*TraceConfig) Descriptor() ([]byte, []int)deprecated
- func (x *TraceConfig) GetDebug() bool
- func (x *TraceConfig) GetDisableStack() bool
- func (x *TraceConfig) GetDisableStorage() bool
- func (x *TraceConfig) GetEnableMemory() bool
- func (x *TraceConfig) GetEnableReturnData() bool
- func (x *TraceConfig) GetLimit() int32
- func (x *TraceConfig) GetOverrides() *ChainConfig
- func (x *TraceConfig) GetReexec() uint64
- func (x *TraceConfig) GetTimeout() string
- func (x *TraceConfig) GetTracer() string
- func (x *TraceConfig) GetTracerJsonConfig() string
- func (*TraceConfig) ProtoMessage()
- func (x *TraceConfig) ProtoReflect() protoreflect.Message
- func (x *TraceConfig) Reset()
- func (x *TraceConfig) String() string
- type TransactionLogs
- func (*TransactionLogs) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionLogs) GetHash() string
- func (x *TransactionLogs) GetLogs() []*Log
- func (*TransactionLogs) ProtoMessage()
- func (x *TransactionLogs) ProtoReflect() protoreflect.Message
- func (x *TransactionLogs) Reset()
- func (x *TransactionLogs) String() string
- type TxDataV2
- type TxResult
- func (*TxResult) Descriptor() ([]byte, []int)deprecated
- func (x *TxResult) GetBloom() []byte
- func (x *TxResult) GetContractAddress() string
- func (x *TxResult) GetGasUsed() uint64
- func (x *TxResult) GetRet() []byte
- func (x *TxResult) GetReverted() bool
- func (x *TxResult) GetTxLogs() *TransactionLogs
- func (*TxResult) ProtoMessage()
- func (x *TxResult) ProtoReflect() protoreflect.Message
- func (x *TxResult) Reset()
- func (x *TxResult) String() string
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) Account(context.Context, *QueryAccountRequest) (*QueryAccountResponse, error)
- func (UnimplementedQueryServer) Balance(context.Context, *QueryBalanceRequest) (*QueryBalanceResponse, error)
- func (UnimplementedQueryServer) BaseFee(context.Context, *QueryBaseFeeRequest) (*QueryBaseFeeResponse, error)
- func (UnimplementedQueryServer) Code(context.Context, *QueryCodeRequest) (*QueryCodeResponse, error)
- func (UnimplementedQueryServer) Config(context.Context, *QueryConfigRequest) (*QueryConfigResponse, error)
- func (UnimplementedQueryServer) CosmosAccount(context.Context, *QueryCosmosAccountRequest) (*QueryCosmosAccountResponse, error)
- func (UnimplementedQueryServer) EstimateGas(context.Context, *EthCallRequest) (*EstimateGasResponse, error)
- func (UnimplementedQueryServer) EthCall(context.Context, *EthCallRequest) (*MsgEthereumTxResponse, error)
- func (UnimplementedQueryServer) GlobalMinGasPrice(context.Context, *QueryGlobalMinGasPriceRequest) (*QueryGlobalMinGasPriceResponse, error)
- func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
- func (UnimplementedQueryServer) Storage(context.Context, *QueryStorageRequest) (*QueryStorageResponse, error)
- func (UnimplementedQueryServer) TraceBlock(context.Context, *QueryTraceBlockRequest) (*QueryTraceBlockResponse, error)
- func (UnimplementedQueryServer) TraceTx(context.Context, *QueryTraceTxRequest) (*QueryTraceTxResponse, error)
- func (UnimplementedQueryServer) ValidatorAccount(context.Context, *QueryValidatorAccountRequest) (*QueryValidatorAccountResponse, error)
- type UnsafeMsgServer
- type UnsafeQueryServer
Constants ¶
const ( Query_Account_FullMethodName = "/cosmos.evm.vm.v1.Query/Account" Query_CosmosAccount_FullMethodName = "/cosmos.evm.vm.v1.Query/CosmosAccount" Query_ValidatorAccount_FullMethodName = "/cosmos.evm.vm.v1.Query/ValidatorAccount" Query_Balance_FullMethodName = "/cosmos.evm.vm.v1.Query/Balance" Query_Storage_FullMethodName = "/cosmos.evm.vm.v1.Query/Storage" Query_Code_FullMethodName = "/cosmos.evm.vm.v1.Query/Code" Query_Params_FullMethodName = "/cosmos.evm.vm.v1.Query/Params" Query_EthCall_FullMethodName = "/cosmos.evm.vm.v1.Query/EthCall" Query_EstimateGas_FullMethodName = "/cosmos.evm.vm.v1.Query/EstimateGas" Query_TraceTx_FullMethodName = "/cosmos.evm.vm.v1.Query/TraceTx" Query_TraceBlock_FullMethodName = "/cosmos.evm.vm.v1.Query/TraceBlock" Query_BaseFee_FullMethodName = "/cosmos.evm.vm.v1.Query/BaseFee" Query_Config_FullMethodName = "/cosmos.evm.vm.v1.Query/Config" Query_GlobalMinGasPrice_FullMethodName = "/cosmos.evm.vm.v1.Query/GlobalMinGasPrice" )
const ( Msg_EthereumTx_FullMethodName = "/cosmos.evm.vm.v1.Msg/EthereumTx" Msg_UpdateParams_FullMethodName = "/cosmos.evm.vm.v1.Msg/UpdateParams" )
Variables ¶
var ( AccessType_name = map[int32]string{ 0: "ACCESS_TYPE_PERMISSIONLESS", 1: "ACCESS_TYPE_RESTRICTED", 2: "ACCESS_TYPE_PERMISSIONED", } AccessType_value = map[string]int32{ "ACCESS_TYPE_PERMISSIONLESS": 0, "ACCESS_TYPE_RESTRICTED": 1, "ACCESS_TYPE_PERMISSIONED": 2, } )
Enum value maps for AccessType.
var File_cosmos_evm_vm_v1_events_proto protoreflect.FileDescriptor
var File_cosmos_evm_vm_v1_evm_proto protoreflect.FileDescriptor
var File_cosmos_evm_vm_v1_genesis_proto protoreflect.FileDescriptor
var File_cosmos_evm_vm_v1_query_proto protoreflect.FileDescriptor
var File_cosmos_evm_vm_v1_tx_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cosmos.evm.vm.v1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "EthereumTx", Handler: _Msg_EthereumTx_Handler, }, { MethodName: "UpdateParams", Handler: _Msg_UpdateParams_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cosmos/evm/vm/v1/tx.proto", }
Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Query_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cosmos.evm.vm.v1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Account", Handler: _Query_Account_Handler, }, { MethodName: "CosmosAccount", Handler: _Query_CosmosAccount_Handler, }, { MethodName: "ValidatorAccount", Handler: _Query_ValidatorAccount_Handler, }, { MethodName: "Balance", Handler: _Query_Balance_Handler, }, { MethodName: "Storage", Handler: _Query_Storage_Handler, }, { MethodName: "Code", Handler: _Query_Code_Handler, }, { MethodName: "Params", Handler: _Query_Params_Handler, }, { MethodName: "EthCall", Handler: _Query_EthCall_Handler, }, { MethodName: "EstimateGas", Handler: _Query_EstimateGas_Handler, }, { MethodName: "TraceTx", Handler: _Query_TraceTx_Handler, }, { MethodName: "TraceBlock", Handler: _Query_TraceBlock_Handler, }, { MethodName: "BaseFee", Handler: _Query_BaseFee_Handler, }, { MethodName: "Config", Handler: _Query_Config_Handler, }, { MethodName: "GlobalMinGasPrice", Handler: _Query_GlobalMinGasPrice_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cosmos/evm/vm/v1/query.proto", }
Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func GetSigners ¶
GetSigners is the custom function to get signers on Ethereum transactions Gets the signer's address from the Ethereum tx signature
func RegisterMsgServer ¶
func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
Types ¶
type AccessControl ¶
type AccessControl struct { // create defines the permission policy for creating contracts Create *AccessControlType `protobuf:"bytes,1,opt,name=create,proto3" json:"create,omitempty"` // call defines the permission policy for calling contracts Call *AccessControlType `protobuf:"bytes,2,opt,name=call,proto3" json:"call,omitempty"` // contains filtered or unexported fields }
AccessControl defines the permission policy of the EVM for creating and calling contracts
func (*AccessControl) Descriptor
deprecated
func (*AccessControl) Descriptor() ([]byte, []int)
Deprecated: Use AccessControl.ProtoReflect.Descriptor instead.
func (*AccessControl) GetCall ¶
func (x *AccessControl) GetCall() *AccessControlType
func (*AccessControl) GetCreate ¶
func (x *AccessControl) GetCreate() *AccessControlType
func (*AccessControl) ProtoMessage ¶
func (*AccessControl) ProtoMessage()
func (*AccessControl) ProtoReflect ¶
func (x *AccessControl) ProtoReflect() protoreflect.Message
func (*AccessControl) Reset ¶
func (x *AccessControl) Reset()
func (*AccessControl) String ¶
func (x *AccessControl) String() string
type AccessControlType ¶
type AccessControlType struct { // access_type defines which type of permission is required for the operation AccessType AccessType `protobuf:"varint,1,opt,name=access_type,json=accessType,proto3,enum=cosmos.evm.vm.v1.AccessType" json:"access_type,omitempty"` // access_control_list defines defines different things depending on the // AccessType: // - ACCESS_TYPE_PERMISSIONLESS: list of addresses that are blocked from // performing the operation // - ACCESS_TYPE_RESTRICTED: ignored // - ACCESS_TYPE_PERMISSIONED: list of addresses that are allowed to perform // the operation AccessControlList []string `protobuf:"bytes,2,rep,name=access_control_list,json=accessControlList,proto3" json:"access_control_list,omitempty"` // contains filtered or unexported fields }
AccessControlType defines the permission type for policies
func (*AccessControlType) Descriptor
deprecated
func (*AccessControlType) Descriptor() ([]byte, []int)
Deprecated: Use AccessControlType.ProtoReflect.Descriptor instead.
func (*AccessControlType) GetAccessControlList ¶
func (x *AccessControlType) GetAccessControlList() []string
func (*AccessControlType) GetAccessType ¶
func (x *AccessControlType) GetAccessType() AccessType
func (*AccessControlType) ProtoMessage ¶
func (*AccessControlType) ProtoMessage()
func (*AccessControlType) ProtoReflect ¶
func (x *AccessControlType) ProtoReflect() protoreflect.Message
func (*AccessControlType) Reset ¶
func (x *AccessControlType) Reset()
func (*AccessControlType) String ¶
func (x *AccessControlType) String() string
type AccessListTx ¶
type AccessListTx struct { // chain_id of the destination EVM chain ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // 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 string `protobuf:"bytes,3,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"` // gas defines the gas limit defined for the transaction. Gas uint64 `protobuf:"varint,4,opt,name=gas,proto3" json:"gas,omitempty"` // to is the recipient address in hex format To string `protobuf:"bytes,5,opt,name=to,proto3" json:"to,omitempty"` // value defines the unsigned integer value of the transaction amount. Value string `protobuf:"bytes,6,opt,name=value,proto3" json:"value,omitempty"` // data is the data payload bytes of the transaction. Data []byte `protobuf:"bytes,7,opt,name=data,proto3" json:"data,omitempty"` // accesses is an array of access tuples Accesses []*AccessTuple `protobuf:"bytes,8,rep,name=accesses,proto3" json:"accesses,omitempty"` // 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"` // contains filtered or unexported fields }
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) Descriptor
deprecated
func (*AccessListTx) Descriptor() ([]byte, []int)
Deprecated: Use AccessListTx.ProtoReflect.Descriptor instead.
func (*AccessListTx) GetAccessList ¶
func (tx *AccessListTx) GetAccessList() ethtypes.AccessList
GetAccessList returns the AccessList field.
func (*AccessListTx) GetAccesses ¶
func (x *AccessListTx) GetAccesses() []*AccessTuple
func (*AccessListTx) GetChainID ¶
func (tx *AccessListTx) GetChainID() *big.Int
GetChainID returns the chain id field from the AccessListTx
func (*AccessListTx) GetChainId ¶
func (x *AccessListTx) GetChainId() string
func (*AccessListTx) GetData ¶
func (x *AccessListTx) GetData() []byte
func (*AccessListTx) GetGas ¶
func (x *AccessListTx) GetGas() uint64
func (*AccessListTx) GetGasPrice ¶
func (x *AccessListTx) GetGasPrice() string
func (*AccessListTx) GetNonce ¶
func (x *AccessListTx) GetNonce() uint64
func (*AccessListTx) GetR ¶
func (x *AccessListTx) GetR() []byte
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) GetS ¶
func (x *AccessListTx) GetS() []byte
func (*AccessListTx) GetTo ¶
func (x *AccessListTx) GetTo() string
func (*AccessListTx) GetV ¶
func (x *AccessListTx) GetV() []byte
func (*AccessListTx) GetValue ¶
func (x *AccessListTx) GetValue() string
func (*AccessListTx) ProtoMessage ¶
func (*AccessListTx) ProtoMessage()
func (*AccessListTx) ProtoReflect ¶
func (x *AccessListTx) ProtoReflect() protoreflect.Message
func (*AccessListTx) Reset ¶
func (x *AccessListTx) Reset()
func (*AccessListTx) String ¶
func (x *AccessListTx) String() string
type AccessTuple ¶
type AccessTuple struct { // address is a hex formatted ethereum address Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // storage_keys are hex formatted hashes of the storage keys StorageKeys []string `protobuf:"bytes,2,rep,name=storage_keys,json=storageKeys,proto3" json:"storage_keys,omitempty"` // contains filtered or unexported fields }
AccessTuple is the element type of an access list.
func (*AccessTuple) Descriptor
deprecated
func (*AccessTuple) Descriptor() ([]byte, []int)
Deprecated: Use AccessTuple.ProtoReflect.Descriptor instead.
func (*AccessTuple) GetAddress ¶
func (x *AccessTuple) GetAddress() string
func (*AccessTuple) GetStorageKeys ¶
func (x *AccessTuple) GetStorageKeys() []string
func (*AccessTuple) ProtoMessage ¶
func (*AccessTuple) ProtoMessage()
func (*AccessTuple) ProtoReflect ¶
func (x *AccessTuple) ProtoReflect() protoreflect.Message
func (*AccessTuple) Reset ¶
func (x *AccessTuple) Reset()
func (*AccessTuple) String ¶
func (x *AccessTuple) String() string
type AccessType ¶
type AccessType int32
AccessType defines the types of permissions for the operations
const ( // ACCESS_TYPE_PERMISSIONLESS does not restrict the operation to anyone AccessType_ACCESS_TYPE_PERMISSIONLESS AccessType = 0 // ACCESS_TYPE_RESTRICTED restrict the operation to anyone AccessType_ACCESS_TYPE_RESTRICTED AccessType = 1 // ACCESS_TYPE_PERMISSIONED only allows the operation for specific addresses AccessType_ACCESS_TYPE_PERMISSIONED AccessType = 2 )
func (AccessType) Descriptor ¶
func (AccessType) Descriptor() protoreflect.EnumDescriptor
func (AccessType) Enum ¶
func (x AccessType) Enum() *AccessType
func (AccessType) EnumDescriptor
deprecated
func (AccessType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccessType.Descriptor instead.
func (AccessType) Number ¶
func (x AccessType) Number() protoreflect.EnumNumber
func (AccessType) String ¶
func (x AccessType) String() string
func (AccessType) Type ¶
func (AccessType) Type() protoreflect.EnumType
type ChainConfig ¶
type ChainConfig struct { // homestead_block switch (nil no fork, 0 = already homestead) HomesteadBlock string `protobuf:"bytes,1,opt,name=homestead_block,json=homesteadBlock,proto3" json:"homestead_block,omitempty"` // dao_fork_block corresponds to TheDAO hard-fork switch block (nil no fork) DaoForkBlock string `protobuf:"bytes,2,opt,name=dao_fork_block,json=daoForkBlock,proto3" json:"dao_fork_block,omitempty"` // dao_fork_support defines whether the nodes supports or opposes the DAO // hard-fork DaoForkSupport bool `protobuf:"varint,3,opt,name=dao_fork_support,json=daoForkSupport,proto3" json:"dao_fork_support,omitempty"` // eip150_block: EIP150 implements the Gas price changes // (https://github.com/ethereum/EIPs/issues/150) EIP150 HF block (nil no fork) Eip150Block string `protobuf:"bytes,4,opt,name=eip150_block,json=eip150Block,proto3" json:"eip150_block,omitempty"` // eip150_hash: EIP150 HF hash (needed for header only clients as only gas // pricing changed) Eip150Hash string `protobuf:"bytes,5,opt,name=eip150_hash,json=eip150Hash,proto3" json:"eip150_hash,omitempty"` // eip155_block: EIP155Block HF block Eip155Block string `protobuf:"bytes,6,opt,name=eip155_block,json=eip155Block,proto3" json:"eip155_block,omitempty"` // eip158_block: EIP158 HF block Eip158Block string `protobuf:"bytes,7,opt,name=eip158_block,json=eip158Block,proto3" json:"eip158_block,omitempty"` // byzantium_block: Byzantium switch block (nil no fork, 0 = already on // byzantium) ByzantiumBlock string `protobuf:"bytes,8,opt,name=byzantium_block,json=byzantiumBlock,proto3" json:"byzantium_block,omitempty"` // constantinople_block: Constantinople switch block (nil no fork, 0 = already // activated) ConstantinopleBlock string `protobuf:"bytes,9,opt,name=constantinople_block,json=constantinopleBlock,proto3" json:"constantinople_block,omitempty"` // petersburg_block: Petersburg switch block (nil same as Constantinople) PetersburgBlock string `protobuf:"bytes,10,opt,name=petersburg_block,json=petersburgBlock,proto3" json:"petersburg_block,omitempty"` // istanbul_block: Istanbul switch block (nil no fork, 0 = already on // istanbul) IstanbulBlock string `protobuf:"bytes,11,opt,name=istanbul_block,json=istanbulBlock,proto3" json:"istanbul_block,omitempty"` // muir_glacier_block: Eip-2384 (bomb delay) switch block (nil no fork, 0 = // already activated) MuirGlacierBlock string `protobuf:"bytes,12,opt,name=muir_glacier_block,json=muirGlacierBlock,proto3" json:"muir_glacier_block,omitempty"` // berlin_block: Berlin switch block (nil = no fork, 0 = already on berlin) BerlinBlock string `protobuf:"bytes,13,opt,name=berlin_block,json=berlinBlock,proto3" json:"berlin_block,omitempty"` // london_block: London switch block (nil = no fork, 0 = already on london) LondonBlock string `protobuf:"bytes,17,opt,name=london_block,json=londonBlock,proto3" json:"london_block,omitempty"` // arrow_glacier_block: Eip-4345 (bomb delay) switch block (nil = no fork, 0 = // already activated) ArrowGlacierBlock string `protobuf:"bytes,18,opt,name=arrow_glacier_block,json=arrowGlacierBlock,proto3" json:"arrow_glacier_block,omitempty"` // gray_glacier_block: EIP-5133 (bomb delay) switch block (nil = no fork, 0 = // already activated) GrayGlacierBlock string `protobuf:"bytes,20,opt,name=gray_glacier_block,json=grayGlacierBlock,proto3" json:"gray_glacier_block,omitempty"` // merge_netsplit_block: Virtual fork after The Merge to use as a network // splitter MergeNetsplitBlock string `protobuf:"bytes,21,opt,name=merge_netsplit_block,json=mergeNetsplitBlock,proto3" json:"merge_netsplit_block,omitempty"` // shanghai_block switch block (nil = no fork, 0 = already on shanghai) ShanghaiBlock string `protobuf:"bytes,22,opt,name=shanghai_block,json=shanghaiBlock,proto3" json:"shanghai_block,omitempty"` // cancun_block switch block (nil = no fork, 0 = already on cancun) CancunBlock string `protobuf:"bytes,23,opt,name=cancun_block,json=cancunBlock,proto3" json:"cancun_block,omitempty"` // chain_id is the id of the chain (EIP-155) ChainId uint64 `protobuf:"varint,24,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // denom is the denomination used on the EVM Denom string `protobuf:"bytes,25,opt,name=denom,proto3" json:"denom,omitempty"` // decimals is the real decimal precision of the denomination used on the EVM Decimals uint64 `protobuf:"varint,26,opt,name=decimals,proto3" json:"decimals,omitempty"` // contains filtered or unexported fields }
ChainConfig defines the Ethereum ChainConfig parameters using *sdk.Int values instead of *big.Int.
func (*ChainConfig) Descriptor
deprecated
func (*ChainConfig) Descriptor() ([]byte, []int)
Deprecated: Use ChainConfig.ProtoReflect.Descriptor instead.
func (*ChainConfig) GetArrowGlacierBlock ¶
func (x *ChainConfig) GetArrowGlacierBlock() string
func (*ChainConfig) GetBerlinBlock ¶
func (x *ChainConfig) GetBerlinBlock() string
func (*ChainConfig) GetByzantiumBlock ¶
func (x *ChainConfig) GetByzantiumBlock() string
func (*ChainConfig) GetCancunBlock ¶
func (x *ChainConfig) GetCancunBlock() string
func (*ChainConfig) GetChainId ¶
func (x *ChainConfig) GetChainId() uint64
func (*ChainConfig) GetConstantinopleBlock ¶
func (x *ChainConfig) GetConstantinopleBlock() string
func (*ChainConfig) GetDaoForkBlock ¶
func (x *ChainConfig) GetDaoForkBlock() string
func (*ChainConfig) GetDaoForkSupport ¶
func (x *ChainConfig) GetDaoForkSupport() bool
func (*ChainConfig) GetDecimals ¶
func (x *ChainConfig) GetDecimals() uint64
func (*ChainConfig) GetDenom ¶
func (x *ChainConfig) GetDenom() string
func (*ChainConfig) GetEip150Block ¶
func (x *ChainConfig) GetEip150Block() string
func (*ChainConfig) GetEip150Hash ¶
func (x *ChainConfig) GetEip150Hash() string
func (*ChainConfig) GetEip155Block ¶
func (x *ChainConfig) GetEip155Block() string
func (*ChainConfig) GetEip158Block ¶
func (x *ChainConfig) GetEip158Block() string
func (*ChainConfig) GetGrayGlacierBlock ¶
func (x *ChainConfig) GetGrayGlacierBlock() string
func (*ChainConfig) GetHomesteadBlock ¶
func (x *ChainConfig) GetHomesteadBlock() string
func (*ChainConfig) GetIstanbulBlock ¶
func (x *ChainConfig) GetIstanbulBlock() string
func (*ChainConfig) GetLondonBlock ¶
func (x *ChainConfig) GetLondonBlock() string
func (*ChainConfig) GetMergeNetsplitBlock ¶
func (x *ChainConfig) GetMergeNetsplitBlock() string
func (*ChainConfig) GetMuirGlacierBlock ¶
func (x *ChainConfig) GetMuirGlacierBlock() string
func (*ChainConfig) GetPetersburgBlock ¶
func (x *ChainConfig) GetPetersburgBlock() string
func (*ChainConfig) GetShanghaiBlock ¶
func (x *ChainConfig) GetShanghaiBlock() string
func (*ChainConfig) ProtoMessage ¶
func (*ChainConfig) ProtoMessage()
func (*ChainConfig) ProtoReflect ¶
func (x *ChainConfig) ProtoReflect() protoreflect.Message
func (*ChainConfig) Reset ¶
func (x *ChainConfig) Reset()
func (*ChainConfig) String ¶
func (x *ChainConfig) String() string
type DynamicFeeTx ¶
type DynamicFeeTx struct { // chain_id of the destination EVM chain ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // 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 string `protobuf:"bytes,3,opt,name=gas_tip_cap,json=gasTipCap,proto3" json:"gas_tip_cap,omitempty"` // gas_fee_cap defines the max value for the gas fee GasFeeCap string `protobuf:"bytes,4,opt,name=gas_fee_cap,json=gasFeeCap,proto3" json:"gas_fee_cap,omitempty"` // gas defines the gas limit defined for the transaction. Gas uint64 `protobuf:"varint,5,opt,name=gas,proto3" json:"gas,omitempty"` // to is the hex formatted address of the recipient To string `protobuf:"bytes,6,opt,name=to,proto3" json:"to,omitempty"` // value defines the transaction amount. Value string `protobuf:"bytes,7,opt,name=value,proto3" json:"value,omitempty"` // data is the data payload bytes of the transaction. Data []byte `protobuf:"bytes,8,opt,name=data,proto3" json:"data,omitempty"` // accesses is an array of access tuples Accesses []*AccessTuple `protobuf:"bytes,9,rep,name=accesses,proto3" json:"accesses,omitempty"` // 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"` // contains filtered or unexported fields }
DynamicFeeTx is the data of EIP-1559 dynamic 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) Descriptor
deprecated
func (*DynamicFeeTx) Descriptor() ([]byte, []int)
Deprecated: Use DynamicFeeTx.ProtoReflect.Descriptor instead.
func (*DynamicFeeTx) GetAccessList ¶
func (tx *DynamicFeeTx) GetAccessList() ethtypes.AccessList
GetAccessList returns the AccessList field.
func (*DynamicFeeTx) GetAccesses ¶
func (x *DynamicFeeTx) GetAccesses() []*AccessTuple
func (*DynamicFeeTx) GetChainID ¶
func (tx *DynamicFeeTx) GetChainID() *big.Int
GetChainID returns the chain id field from the DynamicFeeTx
func (*DynamicFeeTx) GetChainId ¶
func (x *DynamicFeeTx) GetChainId() string
func (*DynamicFeeTx) GetData ¶
func (x *DynamicFeeTx) GetData() []byte
func (*DynamicFeeTx) GetGas ¶
func (x *DynamicFeeTx) GetGas() uint64
func (*DynamicFeeTx) GetGasFeeCap ¶
func (x *DynamicFeeTx) GetGasFeeCap() string
func (*DynamicFeeTx) GetGasTipCap ¶
func (x *DynamicFeeTx) GetGasTipCap() string
func (*DynamicFeeTx) GetNonce ¶
func (x *DynamicFeeTx) GetNonce() uint64
func (*DynamicFeeTx) GetR ¶
func (x *DynamicFeeTx) GetR() []byte
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) GetS ¶
func (x *DynamicFeeTx) GetS() []byte
func (*DynamicFeeTx) GetTo ¶
func (x *DynamicFeeTx) GetTo() string
func (*DynamicFeeTx) GetV ¶
func (x *DynamicFeeTx) GetV() []byte
func (*DynamicFeeTx) GetValue ¶
func (x *DynamicFeeTx) GetValue() string
func (*DynamicFeeTx) ProtoMessage ¶
func (*DynamicFeeTx) ProtoMessage()
func (*DynamicFeeTx) ProtoReflect ¶
func (x *DynamicFeeTx) ProtoReflect() protoreflect.Message
func (*DynamicFeeTx) Reset ¶
func (x *DynamicFeeTx) Reset()
func (*DynamicFeeTx) String ¶
func (x *DynamicFeeTx) String() string
type EstimateGasResponse ¶
type EstimateGasResponse struct { // gas returns the estimated gas Gas uint64 `protobuf:"varint,1,opt,name=gas,proto3" json:"gas,omitempty"` // ret is the returned data from evm function (result or data supplied with // revert opcode) Ret []byte `protobuf:"bytes,2,opt,name=ret,proto3" json:"ret,omitempty"` // vm_error is the error returned by vm execution VmError string `protobuf:"bytes,3,opt,name=vm_error,json=vmError,proto3" json:"vm_error,omitempty"` // contains filtered or unexported fields }
EstimateGasResponse defines EstimateGas response
func (*EstimateGasResponse) Descriptor
deprecated
func (*EstimateGasResponse) Descriptor() ([]byte, []int)
Deprecated: Use EstimateGasResponse.ProtoReflect.Descriptor instead.
func (*EstimateGasResponse) GetGas ¶
func (x *EstimateGasResponse) GetGas() uint64
func (*EstimateGasResponse) GetRet ¶
func (x *EstimateGasResponse) GetRet() []byte
func (*EstimateGasResponse) GetVmError ¶
func (x *EstimateGasResponse) GetVmError() string
func (*EstimateGasResponse) ProtoMessage ¶
func (*EstimateGasResponse) ProtoMessage()
func (*EstimateGasResponse) ProtoReflect ¶
func (x *EstimateGasResponse) ProtoReflect() protoreflect.Message
func (*EstimateGasResponse) Reset ¶
func (x *EstimateGasResponse) Reset()
func (*EstimateGasResponse) String ¶
func (x *EstimateGasResponse) String() string
type EthCallRequest ¶
type EthCallRequest struct { // args uses the same json format as the json rpc api. Args []byte `protobuf:"bytes,1,opt,name=args,proto3" json:"args,omitempty"` // gas_cap defines the default gas cap to be used GasCap uint64 `protobuf:"varint,2,opt,name=gas_cap,json=gasCap,proto3" json:"gas_cap,omitempty"` // proposer_address of the requested block in hex format ProposerAddress []byte `protobuf:"bytes,3,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"` // chain_id is the eip155 chain id parsed from the requested block header ChainId int64 `protobuf:"varint,4,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // contains filtered or unexported fields }
EthCallRequest defines EthCall request
func (*EthCallRequest) Descriptor
deprecated
func (*EthCallRequest) Descriptor() ([]byte, []int)
Deprecated: Use EthCallRequest.ProtoReflect.Descriptor instead.
func (*EthCallRequest) GetArgs ¶
func (x *EthCallRequest) GetArgs() []byte
func (*EthCallRequest) GetChainId ¶
func (x *EthCallRequest) GetChainId() int64
func (*EthCallRequest) GetGasCap ¶
func (x *EthCallRequest) GetGasCap() uint64
func (*EthCallRequest) GetProposerAddress ¶
func (x *EthCallRequest) GetProposerAddress() []byte
func (*EthCallRequest) ProtoMessage ¶
func (*EthCallRequest) ProtoMessage()
func (*EthCallRequest) ProtoReflect ¶
func (x *EthCallRequest) ProtoReflect() protoreflect.Message
func (*EthCallRequest) Reset ¶
func (x *EthCallRequest) Reset()
func (*EthCallRequest) String ¶
func (x *EthCallRequest) String() string
type EventBlockBloom ¶
type EventBlockBloom struct { // bloom is the bloom filter of the block Bloom string `protobuf:"bytes,1,opt,name=bloom,proto3" json:"bloom,omitempty"` // contains filtered or unexported fields }
EventBlockBloom defines an Ethereum block bloom filter event
func (*EventBlockBloom) Descriptor
deprecated
func (*EventBlockBloom) Descriptor() ([]byte, []int)
Deprecated: Use EventBlockBloom.ProtoReflect.Descriptor instead.
func (*EventBlockBloom) GetBloom ¶
func (x *EventBlockBloom) GetBloom() string
func (*EventBlockBloom) ProtoMessage ¶
func (*EventBlockBloom) ProtoMessage()
func (*EventBlockBloom) ProtoReflect ¶
func (x *EventBlockBloom) ProtoReflect() protoreflect.Message
func (*EventBlockBloom) Reset ¶
func (x *EventBlockBloom) Reset()
func (*EventBlockBloom) String ¶
func (x *EventBlockBloom) String() string
type EventEthereumTx ¶
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"` // contains filtered or unexported fields }
EventEthereumTx defines the event for an Ethereum transaction
func (*EventEthereumTx) Descriptor
deprecated
func (*EventEthereumTx) Descriptor() ([]byte, []int)
Deprecated: Use EventEthereumTx.ProtoReflect.Descriptor instead.
func (*EventEthereumTx) GetAmount ¶
func (x *EventEthereumTx) GetAmount() string
func (*EventEthereumTx) GetEthHash ¶
func (x *EventEthereumTx) GetEthHash() string
func (*EventEthereumTx) GetEthTxFailed ¶
func (x *EventEthereumTx) GetEthTxFailed() string
func (*EventEthereumTx) GetGasUsed ¶
func (x *EventEthereumTx) GetGasUsed() string
func (*EventEthereumTx) GetHash ¶
func (x *EventEthereumTx) GetHash() string
func (*EventEthereumTx) GetIndex ¶
func (x *EventEthereumTx) GetIndex() string
func (*EventEthereumTx) GetRecipient ¶
func (x *EventEthereumTx) GetRecipient() string
func (*EventEthereumTx) ProtoMessage ¶
func (*EventEthereumTx) ProtoMessage()
func (*EventEthereumTx) ProtoReflect ¶
func (x *EventEthereumTx) ProtoReflect() protoreflect.Message
func (*EventEthereumTx) Reset ¶
func (x *EventEthereumTx) Reset()
func (*EventEthereumTx) String ¶
func (x *EventEthereumTx) String() string
type EventMessage ¶
type EventMessage struct { // module which emits the event Module string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` // sender of the message Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"` // tx_type is the type of the message TxType string `protobuf:"bytes,3,opt,name=tx_type,json=txType,proto3" json:"tx_type,omitempty"` // contains filtered or unexported fields }
EventMessage
func (*EventMessage) Descriptor
deprecated
func (*EventMessage) Descriptor() ([]byte, []int)
Deprecated: Use EventMessage.ProtoReflect.Descriptor instead.
func (*EventMessage) GetModule ¶
func (x *EventMessage) GetModule() string
func (*EventMessage) GetSender ¶
func (x *EventMessage) GetSender() string
func (*EventMessage) GetTxType ¶
func (x *EventMessage) GetTxType() string
func (*EventMessage) ProtoMessage ¶
func (*EventMessage) ProtoMessage()
func (*EventMessage) ProtoReflect ¶
func (x *EventMessage) ProtoReflect() protoreflect.Message
func (*EventMessage) Reset ¶
func (x *EventMessage) Reset()
func (*EventMessage) String ¶
func (x *EventMessage) String() string
type EventTxLog ¶
type EventTxLog struct { // tx_logs is an array of transaction logs TxLogs []string `protobuf:"bytes,1,rep,name=tx_logs,json=txLogs,proto3" json:"tx_logs,omitempty"` // contains filtered or unexported fields }
EventTxLog defines the event for an Ethereum transaction log
func (*EventTxLog) Descriptor
deprecated
func (*EventTxLog) Descriptor() ([]byte, []int)
Deprecated: Use EventTxLog.ProtoReflect.Descriptor instead.
func (*EventTxLog) GetTxLogs ¶
func (x *EventTxLog) GetTxLogs() []string
func (*EventTxLog) ProtoMessage ¶
func (*EventTxLog) ProtoMessage()
func (*EventTxLog) ProtoReflect ¶
func (x *EventTxLog) ProtoReflect() protoreflect.Message
func (*EventTxLog) Reset ¶
func (x *EventTxLog) Reset()
func (*EventTxLog) String ¶
func (x *EventTxLog) String() string
type ExtensionOptionsEthereumTx ¶
type ExtensionOptionsEthereumTx struct {
// contains filtered or unexported fields
}
ExtensionOptionsEthereumTx is an extension option for ethereum transactions
func (*ExtensionOptionsEthereumTx) Descriptor
deprecated
func (*ExtensionOptionsEthereumTx) Descriptor() ([]byte, []int)
Deprecated: Use ExtensionOptionsEthereumTx.ProtoReflect.Descriptor instead.
func (*ExtensionOptionsEthereumTx) ProtoMessage ¶
func (*ExtensionOptionsEthereumTx) ProtoMessage()
func (*ExtensionOptionsEthereumTx) ProtoReflect ¶
func (x *ExtensionOptionsEthereumTx) ProtoReflect() protoreflect.Message
func (*ExtensionOptionsEthereumTx) Reset ¶
func (x *ExtensionOptionsEthereumTx) Reset()
func (*ExtensionOptionsEthereumTx) String ¶
func (x *ExtensionOptionsEthereumTx) String() string
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,omitempty"` // code defines the hex bytes of the account code. Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` // storage defines the set of state key values for the account. Storage []*State `protobuf:"bytes,3,rep,name=storage,proto3" json:"storage,omitempty"` // contains filtered or unexported fields }
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
deprecated
func (*GenesisAccount) Descriptor() ([]byte, []int)
Deprecated: Use GenesisAccount.ProtoReflect.Descriptor instead.
func (*GenesisAccount) GetAddress ¶
func (x *GenesisAccount) GetAddress() string
func (*GenesisAccount) GetCode ¶
func (x *GenesisAccount) GetCode() string
func (*GenesisAccount) GetStorage ¶
func (x *GenesisAccount) GetStorage() []*State
func (*GenesisAccount) ProtoMessage ¶
func (*GenesisAccount) ProtoMessage()
func (*GenesisAccount) ProtoReflect ¶
func (x *GenesisAccount) ProtoReflect() protoreflect.Message
func (*GenesisAccount) Reset ¶
func (x *GenesisAccount) Reset()
func (*GenesisAccount) String ¶
func (x *GenesisAccount) String() string
type GenesisState ¶
type GenesisState struct { // accounts is an array containing the ethereum genesis accounts. Accounts []*GenesisAccount `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` // params defines all the parameters of the module. Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
GenesisState defines the evm module's genesis state.
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetAccounts ¶
func (x *GenesisState) GetAccounts() []*GenesisAccount
func (*GenesisState) GetParams ¶
func (x *GenesisState) GetParams() *Params
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) ProtoReflect ¶
func (x *GenesisState) ProtoReflect() protoreflect.Message
func (*GenesisState) Reset ¶
func (x *GenesisState) Reset()
func (*GenesisState) String ¶
func (x *GenesisState) String() string
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 string `protobuf:"bytes,2,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"` // gas defines the gas limit defined for the transaction. Gas uint64 `protobuf:"varint,3,opt,name=gas,proto3" json:"gas,omitempty"` // to is the 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. Value string `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` // data is 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"` // contains filtered or unexported fields }
LegacyTx is the transaction data of regular Ethereum transactions. NOTE: All non-protected transactions (i.e non EIP155 signed) will fail if the AllowUnprotectedTxs parameter is disabled.
func (*LegacyTx) AsEthereumData ¶
AsEthereumData returns an LegacyTx transaction tx from the proto-formatted TxData defined on the Cosmos EVM.
func (*LegacyTx) Descriptor
deprecated
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) GetGasPrice ¶
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) ProtoMessage ¶
func (*LegacyTx) ProtoMessage()
func (*LegacyTx) ProtoReflect ¶
func (x *LegacyTx) ProtoReflect() protoreflect.Message
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"` // topics is a list of topics provided by the contract. Topics []string `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"` // data which is supplied by the contract, usually ABI-encoded Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // block_number of the block in which the transaction was included BlockNumber uint64 `protobuf:"varint,4,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` // tx_hash is the transaction hash TxHash string `protobuf:"bytes,5,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // tx_index of the transaction in the block TxIndex uint64 `protobuf:"varint,6,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"` // block_hash of the block in which the transaction was included BlockHash string `protobuf:"bytes,7,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // index of the log in the block Index uint64 `protobuf:"varint,8,opt,name=index,proto3" json:"index,omitempty"` // removed 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"` // contains filtered or unexported fields }
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.
NOTE: address, topics and data are consensus fields. The rest of the fields are derived, i.e. filled in by the nodes, but not secured by consensus.
func (*Log) Descriptor
deprecated
func (*Log) GetAddress ¶
func (*Log) GetBlockHash ¶
func (*Log) GetBlockNumber ¶
func (*Log) GetRemoved ¶
func (*Log) GetTxIndex ¶
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
func (*Log) ProtoReflect ¶
func (x *Log) ProtoReflect() protoreflect.Message
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/vm 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) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc.ClientConnInterface) MsgClient
type MsgEthereumTx ¶
type MsgEthereumTx struct { // data is inner transaction data of the Ethereum transaction Data *anypb.Any `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // size is the encoded storage size of the transaction (DEPRECATED) Size float64 `protobuf:"fixed64,2,opt,name=size,proto3" json:"size,omitempty"` // hash of the transaction in hex format Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` // from is the 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"` // contains filtered or unexported fields }
MsgEthereumTx encapsulates an Ethereum transaction as an SDK message.
func (*MsgEthereumTx) Descriptor
deprecated
func (*MsgEthereumTx) Descriptor() ([]byte, []int)
Deprecated: Use MsgEthereumTx.ProtoReflect.Descriptor instead.
func (*MsgEthereumTx) GetData ¶
func (x *MsgEthereumTx) GetData() *anypb.Any
func (*MsgEthereumTx) GetFrom ¶
func (x *MsgEthereumTx) GetFrom() string
func (*MsgEthereumTx) GetHash ¶
func (x *MsgEthereumTx) GetHash() string
func (*MsgEthereumTx) GetSize ¶
func (x *MsgEthereumTx) GetSize() float64
func (*MsgEthereumTx) ProtoMessage ¶
func (*MsgEthereumTx) ProtoMessage()
func (*MsgEthereumTx) ProtoReflect ¶
func (x *MsgEthereumTx) ProtoReflect() protoreflect.Message
func (*MsgEthereumTx) Reset ¶
func (x *MsgEthereumTx) Reset()
func (*MsgEthereumTx) String ¶
func (x *MsgEthereumTx) String() string
type MsgEthereumTxResponse ¶
type MsgEthereumTxResponse struct { // hash of the ethereum transaction 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"` // ret is the 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_used specifies how much gas was consumed by the transaction GasUsed uint64 `protobuf:"varint,5,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` // contains filtered or unexported fields }
MsgEthereumTxResponse defines the Msg/EthereumTx response type.
func (*MsgEthereumTxResponse) Descriptor
deprecated
func (*MsgEthereumTxResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgEthereumTxResponse.ProtoReflect.Descriptor instead.
func (*MsgEthereumTxResponse) GetGasUsed ¶
func (x *MsgEthereumTxResponse) GetGasUsed() uint64
func (*MsgEthereumTxResponse) GetHash ¶
func (x *MsgEthereumTxResponse) GetHash() string
func (*MsgEthereumTxResponse) GetLogs ¶
func (x *MsgEthereumTxResponse) GetLogs() []*Log
func (*MsgEthereumTxResponse) GetRet ¶
func (x *MsgEthereumTxResponse) GetRet() []byte
func (*MsgEthereumTxResponse) GetVmError ¶
func (x *MsgEthereumTxResponse) GetVmError() string
func (*MsgEthereumTxResponse) ProtoMessage ¶
func (*MsgEthereumTxResponse) ProtoMessage()
func (*MsgEthereumTxResponse) ProtoReflect ¶
func (x *MsgEthereumTxResponse) ProtoReflect() protoreflect.Message
func (*MsgEthereumTxResponse) Reset ¶
func (x *MsgEthereumTxResponse) Reset()
func (*MsgEthereumTxResponse) String ¶
func (x *MsgEthereumTxResponse) String() string
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/vm module // parameters. The authority is hard-coded to the Cosmos SDK x/gov module // account UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) // contains filtered or unexported methods }
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility
type MsgUpdateParams ¶
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/vm parameters to update. // NOTE: All parameters must be supplied. Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
MsgUpdateParams defines a Msg for updating the x/vm module parameters.
func (*MsgUpdateParams) Descriptor
deprecated
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.
func (*MsgUpdateParams) GetAuthority ¶
func (x *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶
func (x *MsgUpdateParams) GetParams() *Params
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) ProtoReflect ¶
func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
func (*MsgUpdateParams) Reset ¶
func (x *MsgUpdateParams) Reset()
func (*MsgUpdateParams) String ¶
func (x *MsgUpdateParams) String() string
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct {
// contains filtered or unexported fields
}
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
func (*MsgUpdateParamsResponse) Descriptor
deprecated
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) ProtoReflect ¶
func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateParamsResponse) Reset ¶
func (x *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) String ¶
func (x *MsgUpdateParamsResponse) String() string
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"` // 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"` // chain_config defines the EVM chain configuration parameters ChainConfig *ChainConfig `protobuf:"bytes,5,opt,name=chain_config,json=chainConfig,proto3" json:"chain_config,omitempty"` // allow_unprotected_txs defines if replay-protected (i.e non EIP155 // signed) transactions can be executed on the state machine. AllowUnprotectedTxs bool `protobuf:"varint,6,opt,name=allow_unprotected_txs,json=allowUnprotectedTxs,proto3" json:"allow_unprotected_txs,omitempty"` // evm_channels is the list of channel identifiers from EVM compatible chains EvmChannels []string `protobuf:"bytes,8,rep,name=evm_channels,json=evmChannels,proto3" json:"evm_channels,omitempty"` // access_control defines the permission policy of the EVM AccessControl *AccessControl `protobuf:"bytes,9,opt,name=access_control,json=accessControl,proto3" json:"access_control,omitempty"` // active_static_precompiles defines the slice of hex addresses of the // precompiled contracts that are active ActiveStaticPrecompiles []string `` /* 133-byte string literal not displayed */ // contains filtered or unexported fields }
Params defines the EVM module parameters
func (*Params) Descriptor
deprecated
func (*Params) GetAccessControl ¶
func (x *Params) GetAccessControl() *AccessControl
func (*Params) GetActiveStaticPrecompiles ¶
func (*Params) GetAllowUnprotectedTxs ¶
func (*Params) GetChainConfig ¶
func (x *Params) GetChainConfig() *ChainConfig
func (*Params) GetEvmChannels ¶
func (*Params) GetEvmDenom ¶
func (*Params) GetExtraEips ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
QueryAccountRequest is the request type for the Query/Account RPC method.
func (*QueryAccountRequest) Descriptor
deprecated
func (*QueryAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAccountRequest.ProtoReflect.Descriptor instead.
func (*QueryAccountRequest) GetAddress ¶
func (x *QueryAccountRequest) GetAddress() string
func (*QueryAccountRequest) ProtoMessage ¶
func (*QueryAccountRequest) ProtoMessage()
func (*QueryAccountRequest) ProtoReflect ¶
func (x *QueryAccountRequest) ProtoReflect() protoreflect.Message
func (*QueryAccountRequest) Reset ¶
func (x *QueryAccountRequest) Reset()
func (*QueryAccountRequest) String ¶
func (x *QueryAccountRequest) String() string
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"` // contains filtered or unexported fields }
QueryAccountResponse is the response type for the Query/Account RPC method.
func (*QueryAccountResponse) Descriptor
deprecated
func (*QueryAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAccountResponse.ProtoReflect.Descriptor instead.
func (*QueryAccountResponse) GetBalance ¶
func (x *QueryAccountResponse) GetBalance() string
func (*QueryAccountResponse) GetCodeHash ¶
func (x *QueryAccountResponse) GetCodeHash() string
func (*QueryAccountResponse) GetNonce ¶
func (x *QueryAccountResponse) GetNonce() uint64
func (*QueryAccountResponse) ProtoMessage ¶
func (*QueryAccountResponse) ProtoMessage()
func (*QueryAccountResponse) ProtoReflect ¶
func (x *QueryAccountResponse) ProtoReflect() protoreflect.Message
func (*QueryAccountResponse) Reset ¶
func (x *QueryAccountResponse) Reset()
func (*QueryAccountResponse) String ¶
func (x *QueryAccountResponse) String() string
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"` // contains filtered or unexported fields }
QueryBalanceRequest is the request type for the Query/Balance RPC method.
func (*QueryBalanceRequest) Descriptor
deprecated
func (*QueryBalanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryBalanceRequest.ProtoReflect.Descriptor instead.
func (*QueryBalanceRequest) GetAddress ¶
func (x *QueryBalanceRequest) GetAddress() string
func (*QueryBalanceRequest) ProtoMessage ¶
func (*QueryBalanceRequest) ProtoMessage()
func (*QueryBalanceRequest) ProtoReflect ¶
func (x *QueryBalanceRequest) ProtoReflect() protoreflect.Message
func (*QueryBalanceRequest) Reset ¶
func (x *QueryBalanceRequest) Reset()
func (*QueryBalanceRequest) String ¶
func (x *QueryBalanceRequest) String() string
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"` // contains filtered or unexported fields }
QueryBalanceResponse is the response type for the Query/Balance RPC method.
func (*QueryBalanceResponse) Descriptor
deprecated
func (*QueryBalanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryBalanceResponse.ProtoReflect.Descriptor instead.
func (*QueryBalanceResponse) GetBalance ¶
func (x *QueryBalanceResponse) GetBalance() string
func (*QueryBalanceResponse) ProtoMessage ¶
func (*QueryBalanceResponse) ProtoMessage()
func (*QueryBalanceResponse) ProtoReflect ¶
func (x *QueryBalanceResponse) ProtoReflect() protoreflect.Message
func (*QueryBalanceResponse) Reset ¶
func (x *QueryBalanceResponse) Reset()
func (*QueryBalanceResponse) String ¶
func (x *QueryBalanceResponse) String() string
type QueryBaseFeeRequest ¶
type QueryBaseFeeRequest struct {
// contains filtered or unexported fields
}
QueryBaseFeeRequest defines the request type for querying the EIP1559 base fee.
func (*QueryBaseFeeRequest) Descriptor
deprecated
func (*QueryBaseFeeRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryBaseFeeRequest.ProtoReflect.Descriptor instead.
func (*QueryBaseFeeRequest) ProtoMessage ¶
func (*QueryBaseFeeRequest) ProtoMessage()
func (*QueryBaseFeeRequest) ProtoReflect ¶
func (x *QueryBaseFeeRequest) ProtoReflect() protoreflect.Message
func (*QueryBaseFeeRequest) Reset ¶
func (x *QueryBaseFeeRequest) Reset()
func (*QueryBaseFeeRequest) String ¶
func (x *QueryBaseFeeRequest) String() string
type QueryBaseFeeResponse ¶
type QueryBaseFeeResponse struct { // base_fee is the EIP1559 base fee BaseFee string `protobuf:"bytes,1,opt,name=base_fee,json=baseFee,proto3" json:"base_fee,omitempty"` // contains filtered or unexported fields }
QueryBaseFeeResponse returns the EIP1559 base fee.
func (*QueryBaseFeeResponse) Descriptor
deprecated
func (*QueryBaseFeeResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryBaseFeeResponse.ProtoReflect.Descriptor instead.
func (*QueryBaseFeeResponse) GetBaseFee ¶
func (x *QueryBaseFeeResponse) GetBaseFee() string
func (*QueryBaseFeeResponse) ProtoMessage ¶
func (*QueryBaseFeeResponse) ProtoMessage()
func (*QueryBaseFeeResponse) ProtoReflect ¶
func (x *QueryBaseFeeResponse) ProtoReflect() protoreflect.Message
func (*QueryBaseFeeResponse) Reset ¶
func (x *QueryBaseFeeResponse) Reset()
func (*QueryBaseFeeResponse) String ¶
func (x *QueryBaseFeeResponse) String() string
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 // account. 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/vm 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) // Config queries the EVM configuration Config(ctx context.Context, in *QueryConfigRequest, opts ...grpc.CallOption) (*QueryConfigResponse, error) // GlobalMinGasPrice queries the MinGasPrice // it's similar to feemarket module's method, // but makes the conversion to 18 decimals // when the evm denom is represented with a different precision. GlobalMinGasPrice(ctx context.Context, in *QueryGlobalMinGasPriceRequest, opts ...grpc.CallOption) (*QueryGlobalMinGasPriceResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc.ClientConnInterface) 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"` // contains filtered or unexported fields }
QueryCodeRequest is the request type for the Query/Code RPC method.
func (*QueryCodeRequest) Descriptor
deprecated
func (*QueryCodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryCodeRequest.ProtoReflect.Descriptor instead.
func (*QueryCodeRequest) GetAddress ¶
func (x *QueryCodeRequest) GetAddress() string
func (*QueryCodeRequest) ProtoMessage ¶
func (*QueryCodeRequest) ProtoMessage()
func (*QueryCodeRequest) ProtoReflect ¶
func (x *QueryCodeRequest) ProtoReflect() protoreflect.Message
func (*QueryCodeRequest) Reset ¶
func (x *QueryCodeRequest) Reset()
func (*QueryCodeRequest) String ¶
func (x *QueryCodeRequest) String() string
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"` // contains filtered or unexported fields }
QueryCodeResponse is the response type for the Query/Code RPC method.
func (*QueryCodeResponse) Descriptor
deprecated
func (*QueryCodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryCodeResponse.ProtoReflect.Descriptor instead.
func (*QueryCodeResponse) GetCode ¶
func (x *QueryCodeResponse) GetCode() []byte
func (*QueryCodeResponse) ProtoMessage ¶
func (*QueryCodeResponse) ProtoMessage()
func (*QueryCodeResponse) ProtoReflect ¶
func (x *QueryCodeResponse) ProtoReflect() protoreflect.Message
func (*QueryCodeResponse) Reset ¶
func (x *QueryCodeResponse) Reset()
func (*QueryCodeResponse) String ¶
func (x *QueryCodeResponse) String() string
type QueryConfigRequest ¶
type QueryConfigRequest struct {
// contains filtered or unexported fields
}
QueryConfigRequest defines the request type for querying the config
func (*QueryConfigRequest) Descriptor
deprecated
func (*QueryConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryConfigRequest.ProtoReflect.Descriptor instead.
func (*QueryConfigRequest) ProtoMessage ¶
func (*QueryConfigRequest) ProtoMessage()
func (*QueryConfigRequest) ProtoReflect ¶
func (x *QueryConfigRequest) ProtoReflect() protoreflect.Message
func (*QueryConfigRequest) Reset ¶
func (x *QueryConfigRequest) Reset()
func (*QueryConfigRequest) String ¶
func (x *QueryConfigRequest) String() string
type QueryConfigResponse ¶
type QueryConfigResponse struct { // config is the evm configuration Config *ChainConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
QueryConfigResponse returns the EVM config.
func (*QueryConfigResponse) Descriptor
deprecated
func (*QueryConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryConfigResponse.ProtoReflect.Descriptor instead.
func (*QueryConfigResponse) GetConfig ¶
func (x *QueryConfigResponse) GetConfig() *ChainConfig
func (*QueryConfigResponse) ProtoMessage ¶
func (*QueryConfigResponse) ProtoMessage()
func (*QueryConfigResponse) ProtoReflect ¶
func (x *QueryConfigResponse) ProtoReflect() protoreflect.Message
func (*QueryConfigResponse) Reset ¶
func (x *QueryConfigResponse) Reset()
func (*QueryConfigResponse) String ¶
func (x *QueryConfigResponse) String() string
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"` // contains filtered or unexported fields }
QueryCosmosAccountRequest is the request type for the Query/CosmosAccount RPC method.
func (*QueryCosmosAccountRequest) Descriptor
deprecated
func (*QueryCosmosAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryCosmosAccountRequest.ProtoReflect.Descriptor instead.
func (*QueryCosmosAccountRequest) GetAddress ¶
func (x *QueryCosmosAccountRequest) GetAddress() string
func (*QueryCosmosAccountRequest) ProtoMessage ¶
func (*QueryCosmosAccountRequest) ProtoMessage()
func (*QueryCosmosAccountRequest) ProtoReflect ¶
func (x *QueryCosmosAccountRequest) ProtoReflect() protoreflect.Message
func (*QueryCosmosAccountRequest) Reset ¶
func (x *QueryCosmosAccountRequest) Reset()
func (*QueryCosmosAccountRequest) String ¶
func (x *QueryCosmosAccountRequest) String() string
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 number AccountNumber uint64 `protobuf:"varint,3,opt,name=account_number,json=accountNumber,proto3" json:"account_number,omitempty"` // contains filtered or unexported fields }
QueryCosmosAccountResponse is the response type for the Query/CosmosAccount RPC method.
func (*QueryCosmosAccountResponse) Descriptor
deprecated
func (*QueryCosmosAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryCosmosAccountResponse.ProtoReflect.Descriptor instead.
func (*QueryCosmosAccountResponse) GetAccountNumber ¶
func (x *QueryCosmosAccountResponse) GetAccountNumber() uint64
func (*QueryCosmosAccountResponse) GetCosmosAddress ¶
func (x *QueryCosmosAccountResponse) GetCosmosAddress() string
func (*QueryCosmosAccountResponse) GetSequence ¶
func (x *QueryCosmosAccountResponse) GetSequence() uint64
func (*QueryCosmosAccountResponse) ProtoMessage ¶
func (*QueryCosmosAccountResponse) ProtoMessage()
func (*QueryCosmosAccountResponse) ProtoReflect ¶
func (x *QueryCosmosAccountResponse) ProtoReflect() protoreflect.Message
func (*QueryCosmosAccountResponse) Reset ¶
func (x *QueryCosmosAccountResponse) Reset()
func (*QueryCosmosAccountResponse) String ¶
func (x *QueryCosmosAccountResponse) String() string
type QueryGlobalMinGasPriceRequest ¶
type QueryGlobalMinGasPriceRequest struct {
// contains filtered or unexported fields
}
QueryGlobalMinGasPriceRequest defines the request type for querying the GlobalMinGasPrice
func (*QueryGlobalMinGasPriceRequest) Descriptor
deprecated
func (*QueryGlobalMinGasPriceRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryGlobalMinGasPriceRequest.ProtoReflect.Descriptor instead.
func (*QueryGlobalMinGasPriceRequest) ProtoMessage ¶
func (*QueryGlobalMinGasPriceRequest) ProtoMessage()
func (*QueryGlobalMinGasPriceRequest) ProtoReflect ¶
func (x *QueryGlobalMinGasPriceRequest) ProtoReflect() protoreflect.Message
func (*QueryGlobalMinGasPriceRequest) Reset ¶
func (x *QueryGlobalMinGasPriceRequest) Reset()
func (*QueryGlobalMinGasPriceRequest) String ¶
func (x *QueryGlobalMinGasPriceRequest) String() string
type QueryGlobalMinGasPriceResponse ¶
type QueryGlobalMinGasPriceResponse struct { // min_gas_price is the feemarket's min_gas_price MinGasPrice string `protobuf:"bytes,1,opt,name=min_gas_price,json=minGasPrice,proto3" json:"min_gas_price,omitempty"` // contains filtered or unexported fields }
QueryGlobalMinGasPriceResponse returns the GlobalMinGasPrice
func (*QueryGlobalMinGasPriceResponse) Descriptor
deprecated
func (*QueryGlobalMinGasPriceResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryGlobalMinGasPriceResponse.ProtoReflect.Descriptor instead.
func (*QueryGlobalMinGasPriceResponse) GetMinGasPrice ¶
func (x *QueryGlobalMinGasPriceResponse) GetMinGasPrice() string
func (*QueryGlobalMinGasPriceResponse) ProtoMessage ¶
func (*QueryGlobalMinGasPriceResponse) ProtoMessage()
func (*QueryGlobalMinGasPriceResponse) ProtoReflect ¶
func (x *QueryGlobalMinGasPriceResponse) ProtoReflect() protoreflect.Message
func (*QueryGlobalMinGasPriceResponse) Reset ¶
func (x *QueryGlobalMinGasPriceResponse) Reset()
func (*QueryGlobalMinGasPriceResponse) String ¶
func (x *QueryGlobalMinGasPriceResponse) String() string
type QueryParamsRequest ¶
type QueryParamsRequest struct {
// contains filtered or unexported fields
}
QueryParamsRequest defines the request type for querying x/vm parameters.
func (*QueryParamsRequest) Descriptor
deprecated
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) ProtoReflect ¶
func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message
func (*QueryParamsRequest) Reset ¶
func (x *QueryParamsRequest) Reset()
func (*QueryParamsRequest) String ¶
func (x *QueryParamsRequest) String() string
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params define the evm module parameters. Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
QueryParamsResponse defines the response type for querying x/vm parameters.
func (*QueryParamsResponse) Descriptor
deprecated
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.
func (*QueryParamsResponse) GetParams ¶
func (x *QueryParamsResponse) GetParams() *Params
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) ProtoReflect ¶
func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
func (*QueryParamsResponse) Reset ¶
func (x *QueryParamsResponse) Reset()
func (*QueryParamsResponse) String ¶
func (x *QueryParamsResponse) String() string
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 // account. 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/vm 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) // Config queries the EVM configuration Config(context.Context, *QueryConfigRequest) (*QueryConfigResponse, error) // GlobalMinGasPrice queries the MinGasPrice // it's similar to feemarket module's method, // but makes the conversion to 18 decimals // when the evm denom is represented with a different precision. GlobalMinGasPrice(context.Context, *QueryGlobalMinGasPriceRequest) (*QueryGlobalMinGasPriceResponse, error) // contains filtered or unexported methods }
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility
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"` // contains filtered or unexported fields }
QueryStorageRequest is the request type for the Query/Storage RPC method.
func (*QueryStorageRequest) Descriptor
deprecated
func (*QueryStorageRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryStorageRequest.ProtoReflect.Descriptor instead.
func (*QueryStorageRequest) GetAddress ¶
func (x *QueryStorageRequest) GetAddress() string
func (*QueryStorageRequest) GetKey ¶
func (x *QueryStorageRequest) GetKey() string
func (*QueryStorageRequest) ProtoMessage ¶
func (*QueryStorageRequest) ProtoMessage()
func (*QueryStorageRequest) ProtoReflect ¶
func (x *QueryStorageRequest) ProtoReflect() protoreflect.Message
func (*QueryStorageRequest) Reset ¶
func (x *QueryStorageRequest) Reset()
func (*QueryStorageRequest) String ¶
func (x *QueryStorageRequest) String() string
type QueryStorageResponse ¶
type QueryStorageResponse struct { // value defines the storage state value hash associated with the given key. Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
QueryStorageResponse is the response type for the Query/Storage RPC method.
func (*QueryStorageResponse) Descriptor
deprecated
func (*QueryStorageResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryStorageResponse.ProtoReflect.Descriptor instead.
func (*QueryStorageResponse) GetValue ¶
func (x *QueryStorageResponse) GetValue() string
func (*QueryStorageResponse) ProtoMessage ¶
func (*QueryStorageResponse) ProtoMessage()
func (*QueryStorageResponse) ProtoReflect ¶
func (x *QueryStorageResponse) ProtoReflect() protoreflect.Message
func (*QueryStorageResponse) Reset ¶
func (x *QueryStorageResponse) Reset()
func (*QueryStorageResponse) String ¶
func (x *QueryStorageResponse) String() string
type QueryTraceBlockRequest ¶
type QueryTraceBlockRequest struct { // txs is an array of messages in the block Txs []*MsgEthereumTx `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"` // trace_config holds extra parameters to trace functions. TraceConfig *TraceConfig `protobuf:"bytes,3,opt,name=trace_config,json=traceConfig,proto3" json:"trace_config,omitempty"` // block_number of the traced block BlockNumber int64 `protobuf:"varint,5,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` // block_hash (hex) of the traced block BlockHash string `protobuf:"bytes,6,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // block_time of the traced block BlockTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"` // proposer_address is the address of the requested block ProposerAddress []byte `protobuf:"bytes,8,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"` // chain_id is the eip155 chain id parsed from the requested block header ChainId int64 `protobuf:"varint,9,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // block_max_gas of the traced block BlockMaxGas int64 `protobuf:"varint,10,opt,name=block_max_gas,json=blockMaxGas,proto3" json:"block_max_gas,omitempty"` // contains filtered or unexported fields }
QueryTraceBlockRequest defines TraceTx request
func (*QueryTraceBlockRequest) Descriptor
deprecated
func (*QueryTraceBlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryTraceBlockRequest.ProtoReflect.Descriptor instead.
func (*QueryTraceBlockRequest) GetBlockHash ¶
func (x *QueryTraceBlockRequest) GetBlockHash() string
func (*QueryTraceBlockRequest) GetBlockMaxGas ¶
func (x *QueryTraceBlockRequest) GetBlockMaxGas() int64
func (*QueryTraceBlockRequest) GetBlockNumber ¶
func (x *QueryTraceBlockRequest) GetBlockNumber() int64
func (*QueryTraceBlockRequest) GetBlockTime ¶
func (x *QueryTraceBlockRequest) GetBlockTime() *timestamppb.Timestamp
func (*QueryTraceBlockRequest) GetChainId ¶
func (x *QueryTraceBlockRequest) GetChainId() int64
func (*QueryTraceBlockRequest) GetProposerAddress ¶
func (x *QueryTraceBlockRequest) GetProposerAddress() []byte
func (*QueryTraceBlockRequest) GetTraceConfig ¶
func (x *QueryTraceBlockRequest) GetTraceConfig() *TraceConfig
func (*QueryTraceBlockRequest) GetTxs ¶
func (x *QueryTraceBlockRequest) GetTxs() []*MsgEthereumTx
func (*QueryTraceBlockRequest) ProtoMessage ¶
func (*QueryTraceBlockRequest) ProtoMessage()
func (*QueryTraceBlockRequest) ProtoReflect ¶
func (x *QueryTraceBlockRequest) ProtoReflect() protoreflect.Message
func (*QueryTraceBlockRequest) Reset ¶
func (x *QueryTraceBlockRequest) Reset()
func (*QueryTraceBlockRequest) String ¶
func (x *QueryTraceBlockRequest) String() string
type QueryTraceBlockResponse ¶
type QueryTraceBlockResponse struct { // data is the response serialized in bytes Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
QueryTraceBlockResponse defines TraceBlock response
func (*QueryTraceBlockResponse) Descriptor
deprecated
func (*QueryTraceBlockResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryTraceBlockResponse.ProtoReflect.Descriptor instead.
func (*QueryTraceBlockResponse) GetData ¶
func (x *QueryTraceBlockResponse) GetData() []byte
func (*QueryTraceBlockResponse) ProtoMessage ¶
func (*QueryTraceBlockResponse) ProtoMessage()
func (*QueryTraceBlockResponse) ProtoReflect ¶
func (x *QueryTraceBlockResponse) ProtoReflect() protoreflect.Message
func (*QueryTraceBlockResponse) Reset ¶
func (x *QueryTraceBlockResponse) Reset()
func (*QueryTraceBlockResponse) String ¶
func (x *QueryTraceBlockResponse) String() string
type QueryTraceTxRequest ¶
type QueryTraceTxRequest struct { // msg is the MsgEthereumTx for the requested transaction Msg *MsgEthereumTx `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // trace_config holds extra parameters to trace functions. TraceConfig *TraceConfig `protobuf:"bytes,3,opt,name=trace_config,json=traceConfig,proto3" json:"trace_config,omitempty"` // predecessors is an array of transactions included in the same block // need to be replayed first to get correct context for tracing. Predecessors []*MsgEthereumTx `protobuf:"bytes,4,rep,name=predecessors,proto3" json:"predecessors,omitempty"` // block_number of requested transaction BlockNumber int64 `protobuf:"varint,5,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` // block_hash of requested transaction BlockHash string `protobuf:"bytes,6,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // block_time of requested transaction BlockTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"` // proposer_address is the proposer of the requested block ProposerAddress []byte `protobuf:"bytes,8,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"` // chain_id is the eip155 chain id parsed from the requested block header ChainId int64 `protobuf:"varint,9,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // block_max_gas of the block of the requested transaction BlockMaxGas int64 `protobuf:"varint,10,opt,name=block_max_gas,json=blockMaxGas,proto3" json:"block_max_gas,omitempty"` // contains filtered or unexported fields }
QueryTraceTxRequest defines TraceTx request
func (*QueryTraceTxRequest) Descriptor
deprecated
func (*QueryTraceTxRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryTraceTxRequest.ProtoReflect.Descriptor instead.
func (*QueryTraceTxRequest) GetBlockHash ¶
func (x *QueryTraceTxRequest) GetBlockHash() string
func (*QueryTraceTxRequest) GetBlockMaxGas ¶
func (x *QueryTraceTxRequest) GetBlockMaxGas() int64
func (*QueryTraceTxRequest) GetBlockNumber ¶
func (x *QueryTraceTxRequest) GetBlockNumber() int64
func (*QueryTraceTxRequest) GetBlockTime ¶
func (x *QueryTraceTxRequest) GetBlockTime() *timestamppb.Timestamp
func (*QueryTraceTxRequest) GetChainId ¶
func (x *QueryTraceTxRequest) GetChainId() int64
func (*QueryTraceTxRequest) GetMsg ¶
func (x *QueryTraceTxRequest) GetMsg() *MsgEthereumTx
func (*QueryTraceTxRequest) GetPredecessors ¶
func (x *QueryTraceTxRequest) GetPredecessors() []*MsgEthereumTx
func (*QueryTraceTxRequest) GetProposerAddress ¶
func (x *QueryTraceTxRequest) GetProposerAddress() []byte
func (*QueryTraceTxRequest) GetTraceConfig ¶
func (x *QueryTraceTxRequest) GetTraceConfig() *TraceConfig
func (*QueryTraceTxRequest) ProtoMessage ¶
func (*QueryTraceTxRequest) ProtoMessage()
func (*QueryTraceTxRequest) ProtoReflect ¶
func (x *QueryTraceTxRequest) ProtoReflect() protoreflect.Message
func (*QueryTraceTxRequest) Reset ¶
func (x *QueryTraceTxRequest) Reset()
func (*QueryTraceTxRequest) String ¶
func (x *QueryTraceTxRequest) String() string
type QueryTraceTxResponse ¶
type QueryTraceTxResponse struct { // data is the response serialized in bytes Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
QueryTraceTxResponse defines TraceTx response
func (*QueryTraceTxResponse) Descriptor
deprecated
func (*QueryTraceTxResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryTraceTxResponse.ProtoReflect.Descriptor instead.
func (*QueryTraceTxResponse) GetData ¶
func (x *QueryTraceTxResponse) GetData() []byte
func (*QueryTraceTxResponse) ProtoMessage ¶
func (*QueryTraceTxResponse) ProtoMessage()
func (*QueryTraceTxResponse) ProtoReflect ¶
func (x *QueryTraceTxResponse) ProtoReflect() protoreflect.Message
func (*QueryTraceTxResponse) Reset ¶
func (x *QueryTraceTxResponse) Reset()
func (*QueryTraceTxResponse) String ¶
func (x *QueryTraceTxResponse) String() string
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 *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryTxLogsRequest is the request type for the Query/TxLogs RPC method.
func (*QueryTxLogsRequest) Descriptor
deprecated
func (*QueryTxLogsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryTxLogsRequest.ProtoReflect.Descriptor instead.
func (*QueryTxLogsRequest) GetHash ¶
func (x *QueryTxLogsRequest) GetHash() string
func (*QueryTxLogsRequest) GetPagination ¶
func (x *QueryTxLogsRequest) GetPagination() *v1beta1.PageRequest
func (*QueryTxLogsRequest) ProtoMessage ¶
func (*QueryTxLogsRequest) ProtoMessage()
func (*QueryTxLogsRequest) ProtoReflect ¶
func (x *QueryTxLogsRequest) ProtoReflect() protoreflect.Message
func (*QueryTxLogsRequest) Reset ¶
func (x *QueryTxLogsRequest) Reset()
func (*QueryTxLogsRequest) String ¶
func (x *QueryTxLogsRequest) String() string
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 *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryTxLogsResponse is the response type for the Query/TxLogs RPC method.
func (*QueryTxLogsResponse) Descriptor
deprecated
func (*QueryTxLogsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryTxLogsResponse.ProtoReflect.Descriptor instead.
func (*QueryTxLogsResponse) GetLogs ¶
func (x *QueryTxLogsResponse) GetLogs() []*Log
func (*QueryTxLogsResponse) GetPagination ¶
func (x *QueryTxLogsResponse) GetPagination() *v1beta1.PageResponse
func (*QueryTxLogsResponse) ProtoMessage ¶
func (*QueryTxLogsResponse) ProtoMessage()
func (*QueryTxLogsResponse) ProtoReflect ¶
func (x *QueryTxLogsResponse) ProtoReflect() protoreflect.Message
func (*QueryTxLogsResponse) Reset ¶
func (x *QueryTxLogsResponse) Reset()
func (*QueryTxLogsResponse) String ¶
func (x *QueryTxLogsResponse) String() string
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"` // contains filtered or unexported fields }
QueryValidatorAccountRequest is the request type for the Query/ValidatorAccount RPC method.
func (*QueryValidatorAccountRequest) Descriptor
deprecated
func (*QueryValidatorAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryValidatorAccountRequest.ProtoReflect.Descriptor instead.
func (*QueryValidatorAccountRequest) GetConsAddress ¶
func (x *QueryValidatorAccountRequest) GetConsAddress() string
func (*QueryValidatorAccountRequest) ProtoMessage ¶
func (*QueryValidatorAccountRequest) ProtoMessage()
func (*QueryValidatorAccountRequest) ProtoReflect ¶
func (x *QueryValidatorAccountRequest) ProtoReflect() protoreflect.Message
func (*QueryValidatorAccountRequest) Reset ¶
func (x *QueryValidatorAccountRequest) Reset()
func (*QueryValidatorAccountRequest) String ¶
func (x *QueryValidatorAccountRequest) String() string
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"` // contains filtered or unexported fields }
QueryValidatorAccountResponse is the response type for the Query/ValidatorAccount RPC method.
func (*QueryValidatorAccountResponse) Descriptor
deprecated
func (*QueryValidatorAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryValidatorAccountResponse.ProtoReflect.Descriptor instead.
func (*QueryValidatorAccountResponse) GetAccountAddress ¶
func (x *QueryValidatorAccountResponse) GetAccountAddress() string
func (*QueryValidatorAccountResponse) GetAccountNumber ¶
func (x *QueryValidatorAccountResponse) GetAccountNumber() uint64
func (*QueryValidatorAccountResponse) GetSequence ¶
func (x *QueryValidatorAccountResponse) GetSequence() uint64
func (*QueryValidatorAccountResponse) ProtoMessage ¶
func (*QueryValidatorAccountResponse) ProtoMessage()
func (*QueryValidatorAccountResponse) ProtoReflect ¶
func (x *QueryValidatorAccountResponse) ProtoReflect() protoreflect.Message
func (*QueryValidatorAccountResponse) Reset ¶
func (x *QueryValidatorAccountResponse) Reset()
func (*QueryValidatorAccountResponse) String ¶
func (x *QueryValidatorAccountResponse) String() string
type State ¶
type State struct { // key is the stored key Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // value is the stored value for the given key Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
State represents a single Storage key value pair item.
func (*State) Descriptor
deprecated
func (*State) ProtoMessage ¶
func (*State) ProtoMessage()
func (*State) ProtoReflect ¶
func (x *State) ProtoReflect() protoreflect.Message
type TraceConfig ¶
type TraceConfig struct { // tracer is a custom javascript tracer Tracer string `protobuf:"bytes,1,opt,name=tracer,proto3" json:"tracer,omitempty"` // timeout overrides the default timeout of 5 seconds for JavaScript-based // tracing calls Timeout string `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty"` // reexec defines the number of blocks the tracer is willing to go back Reexec uint64 `protobuf:"varint,3,opt,name=reexec,proto3" json:"reexec,omitempty"` // disable_stack switches stack capture DisableStack bool `protobuf:"varint,5,opt,name=disable_stack,json=disableStack,proto3" json:"disable_stack,omitempty"` // disable_storage switches storage capture DisableStorage bool `protobuf:"varint,6,opt,name=disable_storage,json=disableStorage,proto3" json:"disable_storage,omitempty"` // debug can be used to print output during capture end Debug bool `protobuf:"varint,8,opt,name=debug,proto3" json:"debug,omitempty"` // limit defines the maximum length of output, but zero means unlimited Limit int32 `protobuf:"varint,9,opt,name=limit,proto3" json:"limit,omitempty"` // 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 switches memory capture EnableMemory bool `protobuf:"varint,11,opt,name=enable_memory,json=enableMemory,proto3" json:"enable_memory,omitempty"` // enable_return_data switches the capture of return data EnableReturnData bool `protobuf:"varint,12,opt,name=enable_return_data,json=enableReturnData,proto3" json:"enable_return_data,omitempty"` // tracer_json_config configures the tracer using a JSON string TracerJsonConfig string `protobuf:"bytes,13,opt,name=tracer_json_config,json=tracerJsonConfig,proto3" json:"tracer_json_config,omitempty"` // contains filtered or unexported fields }
TraceConfig holds extra parameters to trace functions.
func (*TraceConfig) Descriptor
deprecated
func (*TraceConfig) Descriptor() ([]byte, []int)
Deprecated: Use TraceConfig.ProtoReflect.Descriptor instead.
func (*TraceConfig) GetDebug ¶
func (x *TraceConfig) GetDebug() bool
func (*TraceConfig) GetDisableStack ¶
func (x *TraceConfig) GetDisableStack() bool
func (*TraceConfig) GetDisableStorage ¶
func (x *TraceConfig) GetDisableStorage() bool
func (*TraceConfig) GetEnableMemory ¶
func (x *TraceConfig) GetEnableMemory() bool
func (*TraceConfig) GetEnableReturnData ¶
func (x *TraceConfig) GetEnableReturnData() bool
func (*TraceConfig) GetLimit ¶
func (x *TraceConfig) GetLimit() int32
func (*TraceConfig) GetOverrides ¶
func (x *TraceConfig) GetOverrides() *ChainConfig
func (*TraceConfig) GetReexec ¶
func (x *TraceConfig) GetReexec() uint64
func (*TraceConfig) GetTimeout ¶
func (x *TraceConfig) GetTimeout() string
func (*TraceConfig) GetTracer ¶
func (x *TraceConfig) GetTracer() string
func (*TraceConfig) GetTracerJsonConfig ¶
func (x *TraceConfig) GetTracerJsonConfig() string
func (*TraceConfig) ProtoMessage ¶
func (*TraceConfig) ProtoMessage()
func (*TraceConfig) ProtoReflect ¶
func (x *TraceConfig) ProtoReflect() protoreflect.Message
func (*TraceConfig) Reset ¶
func (x *TraceConfig) Reset()
func (*TraceConfig) String ¶
func (x *TraceConfig) String() string
type TransactionLogs ¶
type TransactionLogs struct { // hash of the transaction Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // logs is an array of Logs for the given transaction hash Logs []*Log `protobuf:"bytes,2,rep,name=logs,proto3" json:"logs,omitempty"` // contains filtered or unexported fields }
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 (*TransactionLogs) Descriptor
deprecated
func (*TransactionLogs) Descriptor() ([]byte, []int)
Deprecated: Use TransactionLogs.ProtoReflect.Descriptor instead.
func (*TransactionLogs) GetHash ¶
func (x *TransactionLogs) GetHash() string
func (*TransactionLogs) GetLogs ¶
func (x *TransactionLogs) GetLogs() []*Log
func (*TransactionLogs) ProtoMessage ¶
func (*TransactionLogs) ProtoMessage()
func (*TransactionLogs) ProtoReflect ¶
func (x *TransactionLogs) ProtoReflect() protoreflect.Message
func (*TransactionLogs) Reset ¶
func (x *TransactionLogs) Reset()
func (*TransactionLogs) String ¶
func (x *TransactionLogs) String() string
type TxDataV2 ¶
type TxDataV2 interface { GetChainID() *big.Int AsEthereumData() ethtypes.TxData ProtoReflect() protoreflect.Message }
TxDataV2 implements the Ethereum transaction tx structure. It is used solely to define the custom logic for getting signers on Ethereum transactions.
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 `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` // 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,omitempty"` // 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"` // contains filtered or unexported fields }
TxResult stores results of Tx execution.
func (*TxResult) Descriptor
deprecated
func (*TxResult) GetContractAddress ¶
func (*TxResult) GetGasUsed ¶
func (*TxResult) GetReverted ¶
func (*TxResult) GetTxLogs ¶
func (x *TxResult) GetTxLogs() *TransactionLogs
func (*TxResult) ProtoMessage ¶
func (*TxResult) ProtoMessage()
func (*TxResult) ProtoReflect ¶
func (x *TxResult) ProtoReflect() protoreflect.Message
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer must be embedded to have forward compatible implementations.
func (UnimplementedMsgServer) EthereumTx ¶
func (UnimplementedMsgServer) EthereumTx(context.Context, *MsgEthereumTx) (*MsgEthereumTxResponse, error)
func (UnimplementedMsgServer) UpdateParams ¶
func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) Account ¶
func (UnimplementedQueryServer) Account(context.Context, *QueryAccountRequest) (*QueryAccountResponse, error)
func (UnimplementedQueryServer) Balance ¶
func (UnimplementedQueryServer) Balance(context.Context, *QueryBalanceRequest) (*QueryBalanceResponse, error)
func (UnimplementedQueryServer) BaseFee ¶
func (UnimplementedQueryServer) BaseFee(context.Context, *QueryBaseFeeRequest) (*QueryBaseFeeResponse, error)
func (UnimplementedQueryServer) Code ¶
func (UnimplementedQueryServer) Code(context.Context, *QueryCodeRequest) (*QueryCodeResponse, error)
func (UnimplementedQueryServer) Config ¶
func (UnimplementedQueryServer) Config(context.Context, *QueryConfigRequest) (*QueryConfigResponse, error)
func (UnimplementedQueryServer) CosmosAccount ¶
func (UnimplementedQueryServer) CosmosAccount(context.Context, *QueryCosmosAccountRequest) (*QueryCosmosAccountResponse, error)
func (UnimplementedQueryServer) EstimateGas ¶
func (UnimplementedQueryServer) EstimateGas(context.Context, *EthCallRequest) (*EstimateGasResponse, error)
func (UnimplementedQueryServer) EthCall ¶
func (UnimplementedQueryServer) EthCall(context.Context, *EthCallRequest) (*MsgEthereumTxResponse, error)
func (UnimplementedQueryServer) GlobalMinGasPrice ¶
func (UnimplementedQueryServer) GlobalMinGasPrice(context.Context, *QueryGlobalMinGasPriceRequest) (*QueryGlobalMinGasPriceResponse, error)
func (UnimplementedQueryServer) Params ¶
func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
func (UnimplementedQueryServer) Storage ¶
func (UnimplementedQueryServer) Storage(context.Context, *QueryStorageRequest) (*QueryStorageResponse, error)
func (UnimplementedQueryServer) TraceBlock ¶
func (UnimplementedQueryServer) TraceBlock(context.Context, *QueryTraceBlockRequest) (*QueryTraceBlockResponse, error)
func (UnimplementedQueryServer) TraceTx ¶
func (UnimplementedQueryServer) TraceTx(context.Context, *QueryTraceTxRequest) (*QueryTraceTxResponse, error)
func (UnimplementedQueryServer) ValidatorAccount ¶
func (UnimplementedQueryServer) ValidatorAccount(context.Context, *QueryValidatorAccountRequest) (*QueryValidatorAccountResponse, error)
type UnsafeMsgServer ¶
type UnsafeMsgServer interface {
// contains filtered or unexported methods
}
UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.
type UnsafeQueryServer ¶
type UnsafeQueryServer interface {
// contains filtered or unexported methods
}
UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.