Documentation ¶
Index ¶
- Constants
- Variables
- func EncodeTransactionLogs(res *TransactionLogs) ([]byte, error)
- func EncodeTxResponse(res *MsgEthereumTxResponse) ([]byte, error)
- func IsEmptyHash(hash string) bool
- func IsZeroAddress(address string) bool
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterInterfaces(registry codectypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func ValidateSigner(signBytes, sig []byte, signer ethcmn.Address) error
- type BytesList
- func (*BytesList) Descriptor() ([]byte, []int)
- func (m *BytesList) Marshal() (dAtA []byte, err error)
- func (m *BytesList) MarshalTo(dAtA []byte) (int, error)
- func (m *BytesList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BytesList) ProtoMessage()
- func (m *BytesList) Reset()
- func (m *BytesList) Size() (n int)
- func (m *BytesList) String() string
- func (m *BytesList) Unmarshal(dAtA []byte) error
- func (m *BytesList) XXX_DiscardUnknown()
- func (m *BytesList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BytesList) XXX_Merge(src proto.Message)
- func (m *BytesList) XXX_Size() int
- func (m *BytesList) XXX_Unmarshal(b []byte) error
- type ChainConfig
- func (*ChainConfig) Descriptor() ([]byte, []int)
- func (m *ChainConfig) GetDAOForkSupport() bool
- func (m *ChainConfig) GetEIP150Hash() string
- func (m *ChainConfig) Marshal() (dAtA []byte, err error)
- func (m *ChainConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *ChainConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChainConfig) ProtoMessage()
- func (m *ChainConfig) Reset()
- func (m *ChainConfig) Size() (n int)
- func (m *ChainConfig) String() string
- func (m *ChainConfig) Unmarshal(dAtA []byte) error
- func (m *ChainConfig) XXX_DiscardUnknown()
- func (m *ChainConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChainConfig) XXX_Merge(src proto.Message)
- func (m *ChainConfig) XXX_Size() int
- func (m *ChainConfig) XXX_Unmarshal(b []byte) error
- type EIP155Signer
- func (*EIP155Signer) Descriptor() ([]byte, []int)
- func (m *EIP155Signer) Marshal() (dAtA []byte, err error)
- func (m *EIP155Signer) MarshalTo(dAtA []byte) (int, error)
- func (m *EIP155Signer) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EIP155Signer) ProtoMessage()
- func (m *EIP155Signer) Reset()
- func (m *EIP155Signer) Size() (n int)
- func (m *EIP155Signer) String() string
- func (m *EIP155Signer) Unmarshal(dAtA []byte) error
- func (m *EIP155Signer) XXX_DiscardUnknown()
- func (m *EIP155Signer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EIP155Signer) XXX_Merge(src proto.Message)
- func (m *EIP155Signer) XXX_Size() int
- func (m *EIP155Signer) XXX_Unmarshal(b []byte) error
- type ExtensionOptionsEthereumTx
- func (*ExtensionOptionsEthereumTx) Descriptor() ([]byte, []int)
- func (m *ExtensionOptionsEthereumTx) Marshal() (dAtA []byte, err error)
- func (m *ExtensionOptionsEthereumTx) MarshalTo(dAtA []byte) (int, error)
- func (m *ExtensionOptionsEthereumTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ExtensionOptionsEthereumTx) ProtoMessage()
- func (m *ExtensionOptionsEthereumTx) Reset()
- func (m *ExtensionOptionsEthereumTx) Size() (n int)
- func (m *ExtensionOptionsEthereumTx) String() string
- func (m *ExtensionOptionsEthereumTx) Unmarshal(dAtA []byte) error
- func (m *ExtensionOptionsEthereumTx) XXX_DiscardUnknown()
- func (m *ExtensionOptionsEthereumTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExtensionOptionsEthereumTx) XXX_Merge(src proto.Message)
- func (m *ExtensionOptionsEthereumTx) XXX_Size() int
- func (m *ExtensionOptionsEthereumTx) XXX_Unmarshal(b []byte) error
- type ExtensionOptionsEthereumTxI
- type ExtensionOptionsWeb3Tx
- func (*ExtensionOptionsWeb3Tx) Descriptor() ([]byte, []int)
- func (m *ExtensionOptionsWeb3Tx) Marshal() (dAtA []byte, err error)
- func (m *ExtensionOptionsWeb3Tx) MarshalTo(dAtA []byte) (int, error)
- func (m *ExtensionOptionsWeb3Tx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ExtensionOptionsWeb3Tx) ProtoMessage()
- func (m *ExtensionOptionsWeb3Tx) Reset()
- func (m *ExtensionOptionsWeb3Tx) Size() (n int)
- func (m *ExtensionOptionsWeb3Tx) String() string
- func (m *ExtensionOptionsWeb3Tx) Unmarshal(dAtA []byte) error
- func (m *ExtensionOptionsWeb3Tx) XXX_DiscardUnknown()
- func (m *ExtensionOptionsWeb3Tx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExtensionOptionsWeb3Tx) XXX_Merge(src proto.Message)
- func (m *ExtensionOptionsWeb3Tx) XXX_Size() int
- func (m *ExtensionOptionsWeb3Tx) XXX_Unmarshal(b []byte) error
- type Log
- func (*Log) Descriptor() ([]byte, []int)
- func (m *Log) GetAddress() string
- func (m *Log) GetBlockHash() string
- func (m *Log) GetBlockNumber() uint64
- func (m *Log) GetData() []byte
- func (m *Log) GetIndex() uint64
- func (m *Log) GetRemoved() bool
- func (m *Log) GetTopics() []string
- func (m *Log) GetTxHash() string
- func (m *Log) GetTxIndex() uint64
- func (m *Log) Marshal() (dAtA []byte, err error)
- func (m *Log) MarshalTo(dAtA []byte) (int, error)
- func (m *Log) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Log) ProtoMessage()
- func (m *Log) Reset()
- func (m *Log) Size() (n int)
- func (m *Log) String() string
- func (m *Log) Unmarshal(dAtA []byte) error
- func (m *Log) XXX_DiscardUnknown()
- func (m *Log) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Log) XXX_Merge(src proto.Message)
- func (m *Log) XXX_Size() int
- func (m *Log) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgEthereumTx
- func (msg *MsgEthereumTx) ChainID() *big.Int
- func (msg MsgEthereumTx) Cost() *big.Int
- func (msg *MsgEthereumTx) DecodeRLP(s *rlp.Stream) error
- func (*MsgEthereumTx) Descriptor() ([]byte, []int)
- func (msg *MsgEthereumTx) EncodeRLP(w io.Writer) error
- func (msg MsgEthereumTx) Fee() *big.Int
- func (msg *MsgEthereumTx) GetFrom() sdk.AccAddress
- func (msg MsgEthereumTx) GetGas() uint64
- func (msg *MsgEthereumTx) GetMsgs() []sdk.Msg
- func (msg MsgEthereumTx) GetSignBytes() []byte
- func (msg MsgEthereumTx) GetSigners() []sdk.AccAddress
- func (m *MsgEthereumTx) Marshal() (dAtA []byte, err error)
- func (m *MsgEthereumTx) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEthereumTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEthereumTx) ProtoMessage()
- func (msg MsgEthereumTx) RLPSignBytes(chainID *big.Int) ethcmn.Hash
- func (msg MsgEthereumTx) RLPSignHomesteadBytes() ethcmn.Hash
- func (msg MsgEthereumTx) RawSignatureValues() (v, r, s *big.Int)
- func (m *MsgEthereumTx) Reset()
- func (msg MsgEthereumTx) Route() string
- func (msg *MsgEthereumTx) Sign(chainID *big.Int, priv *ecdsa.PrivateKey) error
- func (m *MsgEthereumTx) Size() (n int)
- func (m *MsgEthereumTx) String() string
- func (msg MsgEthereumTx) To() *ethcmn.Address
- func (msg MsgEthereumTx) Type() string
- func (m *MsgEthereumTx) Unmarshal(dAtA []byte) error
- func (msg MsgEthereumTx) ValidateBasic() error
- func (msg *MsgEthereumTx) VerifySig(chainID *big.Int) (ethcmn.Address, error)
- func (msg *MsgEthereumTx) VerifySigHomestead() (ethcmn.Address, error)
- func (m *MsgEthereumTx) XXX_DiscardUnknown()
- func (m *MsgEthereumTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEthereumTx) XXX_Merge(src proto.Message)
- func (m *MsgEthereumTx) XXX_Size() int
- func (m *MsgEthereumTx) XXX_Unmarshal(b []byte) error
- type MsgEthereumTxResponse
- func (*MsgEthereumTxResponse) Descriptor() ([]byte, []int)
- func (m *MsgEthereumTxResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgEthereumTxResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEthereumTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEthereumTxResponse) ProtoMessage()
- func (m *MsgEthereumTxResponse) Reset()
- func (m *MsgEthereumTxResponse) Size() (n int)
- func (m *MsgEthereumTxResponse) String() string
- func (m *MsgEthereumTxResponse) Unmarshal(dAtA []byte) error
- func (m *MsgEthereumTxResponse) XXX_DiscardUnknown()
- func (m *MsgEthereumTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEthereumTxResponse) XXX_Merge(src proto.Message)
- func (m *MsgEthereumTxResponse) XXX_Size() int
- func (m *MsgEthereumTxResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetEnableCall() bool
- func (m *Params) GetEnableCreate() bool
- func (m *Params) GetEvmDenom() string
- func (m *Params) GetExtraEIPs() []int64
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryAccountRequest
- func (*QueryAccountRequest) Descriptor() ([]byte, []int)
- func (m *QueryAccountRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAccountRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAccountRequest) ProtoMessage()
- func (m *QueryAccountRequest) Reset()
- func (m *QueryAccountRequest) Size() (n int)
- func (m *QueryAccountRequest) String() string
- func (m *QueryAccountRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAccountRequest) XXX_DiscardUnknown()
- func (m *QueryAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAccountRequest) XXX_Merge(src proto.Message)
- func (m *QueryAccountRequest) XXX_Size() int
- func (m *QueryAccountRequest) XXX_Unmarshal(b []byte) error
- type QueryAccountResponse
- func (*QueryAccountResponse) Descriptor() ([]byte, []int)
- func (m *QueryAccountResponse) GetBalance() string
- func (m *QueryAccountResponse) GetCodeHash() []byte
- func (m *QueryAccountResponse) GetNonce() uint64
- func (m *QueryAccountResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAccountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAccountResponse) ProtoMessage()
- func (m *QueryAccountResponse) Reset()
- func (m *QueryAccountResponse) Size() (n int)
- func (m *QueryAccountResponse) String() string
- func (m *QueryAccountResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAccountResponse) XXX_DiscardUnknown()
- func (m *QueryAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAccountResponse) XXX_Merge(src proto.Message)
- func (m *QueryAccountResponse) XXX_Size() int
- func (m *QueryAccountResponse) XXX_Unmarshal(b []byte) error
- type QueryBalanceRequest
- func (*QueryBalanceRequest) Descriptor() ([]byte, []int)
- func (m *QueryBalanceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBalanceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBalanceRequest) ProtoMessage()
- func (m *QueryBalanceRequest) Reset()
- func (m *QueryBalanceRequest) Size() (n int)
- func (m *QueryBalanceRequest) String() string
- func (m *QueryBalanceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBalanceRequest) XXX_DiscardUnknown()
- func (m *QueryBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBalanceRequest) XXX_Merge(src proto.Message)
- func (m *QueryBalanceRequest) XXX_Size() int
- func (m *QueryBalanceRequest) XXX_Unmarshal(b []byte) error
- type QueryBalanceResponse
- func (*QueryBalanceResponse) Descriptor() ([]byte, []int)
- func (m *QueryBalanceResponse) GetBalance() string
- func (m *QueryBalanceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBalanceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBalanceResponse) ProtoMessage()
- func (m *QueryBalanceResponse) Reset()
- func (m *QueryBalanceResponse) Size() (n int)
- func (m *QueryBalanceResponse) String() string
- func (m *QueryBalanceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBalanceResponse) XXX_DiscardUnknown()
- func (m *QueryBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBalanceResponse) XXX_Merge(src proto.Message)
- func (m *QueryBalanceResponse) XXX_Size() int
- func (m *QueryBalanceResponse) XXX_Unmarshal(b []byte) error
- type QueryBlockBloomRequest
- func (*QueryBlockBloomRequest) Descriptor() ([]byte, []int)
- func (m *QueryBlockBloomRequest) GetHeight() int64
- func (m *QueryBlockBloomRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBlockBloomRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBlockBloomRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBlockBloomRequest) ProtoMessage()
- func (m *QueryBlockBloomRequest) Reset()
- func (m *QueryBlockBloomRequest) Size() (n int)
- func (m *QueryBlockBloomRequest) String() string
- func (m *QueryBlockBloomRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBlockBloomRequest) XXX_DiscardUnknown()
- func (m *QueryBlockBloomRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBlockBloomRequest) XXX_Merge(src proto.Message)
- func (m *QueryBlockBloomRequest) XXX_Size() int
- func (m *QueryBlockBloomRequest) XXX_Unmarshal(b []byte) error
- type QueryBlockBloomResponse
- func (*QueryBlockBloomResponse) Descriptor() ([]byte, []int)
- func (m *QueryBlockBloomResponse) GetBloom() []byte
- func (m *QueryBlockBloomResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBlockBloomResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBlockBloomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBlockBloomResponse) ProtoMessage()
- func (m *QueryBlockBloomResponse) Reset()
- func (m *QueryBlockBloomResponse) Size() (n int)
- func (m *QueryBlockBloomResponse) String() string
- func (m *QueryBlockBloomResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBlockBloomResponse) XXX_DiscardUnknown()
- func (m *QueryBlockBloomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBlockBloomResponse) XXX_Merge(src proto.Message)
- func (m *QueryBlockBloomResponse) XXX_Size() int
- func (m *QueryBlockBloomResponse) XXX_Unmarshal(b []byte) error
- type QueryBlockLogsRequest
- func (*QueryBlockLogsRequest) Descriptor() ([]byte, []int)
- func (m *QueryBlockLogsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBlockLogsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBlockLogsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBlockLogsRequest) ProtoMessage()
- func (m *QueryBlockLogsRequest) Reset()
- func (m *QueryBlockLogsRequest) Size() (n int)
- func (m *QueryBlockLogsRequest) String() string
- func (m *QueryBlockLogsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBlockLogsRequest) XXX_DiscardUnknown()
- func (m *QueryBlockLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBlockLogsRequest) XXX_Merge(src proto.Message)
- func (m *QueryBlockLogsRequest) XXX_Size() int
- func (m *QueryBlockLogsRequest) XXX_Unmarshal(b []byte) error
- type QueryBlockLogsResponse
- func (*QueryBlockLogsResponse) Descriptor() ([]byte, []int)
- func (m *QueryBlockLogsResponse) GetTxLogs() []TransactionLogs
- func (m *QueryBlockLogsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBlockLogsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBlockLogsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBlockLogsResponse) ProtoMessage()
- func (m *QueryBlockLogsResponse) Reset()
- func (m *QueryBlockLogsResponse) Size() (n int)
- func (m *QueryBlockLogsResponse) String() string
- func (m *QueryBlockLogsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBlockLogsResponse) XXX_DiscardUnknown()
- func (m *QueryBlockLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBlockLogsResponse) XXX_Merge(src proto.Message)
- func (m *QueryBlockLogsResponse) XXX_Size() int
- func (m *QueryBlockLogsResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryCodeRequest
- func (*QueryCodeRequest) Descriptor() ([]byte, []int)
- func (m *QueryCodeRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCodeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCodeRequest) ProtoMessage()
- func (m *QueryCodeRequest) Reset()
- func (m *QueryCodeRequest) Size() (n int)
- func (m *QueryCodeRequest) String() string
- func (m *QueryCodeRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCodeRequest) XXX_DiscardUnknown()
- func (m *QueryCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCodeRequest) XXX_Merge(src proto.Message)
- func (m *QueryCodeRequest) XXX_Size() int
- func (m *QueryCodeRequest) XXX_Unmarshal(b []byte) error
- type QueryCodeResponse
- func (*QueryCodeResponse) Descriptor() ([]byte, []int)
- func (m *QueryCodeResponse) GetCode() []byte
- func (m *QueryCodeResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCodeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCodeResponse) ProtoMessage()
- func (m *QueryCodeResponse) Reset()
- func (m *QueryCodeResponse) Size() (n int)
- func (m *QueryCodeResponse) String() string
- func (m *QueryCodeResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCodeResponse) XXX_DiscardUnknown()
- func (m *QueryCodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCodeResponse) XXX_Merge(src proto.Message)
- func (m *QueryCodeResponse) XXX_Size() int
- func (m *QueryCodeResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryStaticCallRequest
- func (*QueryStaticCallRequest) Descriptor() ([]byte, []int)
- func (m *QueryStaticCallRequest) GetAddress() string
- func (m *QueryStaticCallRequest) GetInput() []byte
- func (m *QueryStaticCallRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryStaticCallRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStaticCallRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStaticCallRequest) ProtoMessage()
- func (m *QueryStaticCallRequest) Reset()
- func (m *QueryStaticCallRequest) Size() (n int)
- func (m *QueryStaticCallRequest) String() string
- func (m *QueryStaticCallRequest) Unmarshal(dAtA []byte) error
- func (m *QueryStaticCallRequest) XXX_DiscardUnknown()
- func (m *QueryStaticCallRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStaticCallRequest) XXX_Merge(src proto.Message)
- func (m *QueryStaticCallRequest) XXX_Size() int
- func (m *QueryStaticCallRequest) XXX_Unmarshal(b []byte) error
- type QueryStaticCallResponse
- func (*QueryStaticCallResponse) Descriptor() ([]byte, []int)
- func (m *QueryStaticCallResponse) GetData() []byte
- func (m *QueryStaticCallResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryStaticCallResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStaticCallResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStaticCallResponse) ProtoMessage()
- func (m *QueryStaticCallResponse) Reset()
- func (m *QueryStaticCallResponse) Size() (n int)
- func (m *QueryStaticCallResponse) String() string
- func (m *QueryStaticCallResponse) Unmarshal(dAtA []byte) error
- func (m *QueryStaticCallResponse) XXX_DiscardUnknown()
- func (m *QueryStaticCallResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStaticCallResponse) XXX_Merge(src proto.Message)
- func (m *QueryStaticCallResponse) XXX_Size() int
- func (m *QueryStaticCallResponse) XXX_Unmarshal(b []byte) error
- type QueryStorageRequest
- func (*QueryStorageRequest) Descriptor() ([]byte, []int)
- func (m *QueryStorageRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryStorageRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStorageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStorageRequest) ProtoMessage()
- func (m *QueryStorageRequest) Reset()
- func (m *QueryStorageRequest) Size() (n int)
- func (m *QueryStorageRequest) String() string
- func (m *QueryStorageRequest) Unmarshal(dAtA []byte) error
- func (m *QueryStorageRequest) XXX_DiscardUnknown()
- func (m *QueryStorageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStorageRequest) XXX_Merge(src proto.Message)
- func (m *QueryStorageRequest) XXX_Size() int
- func (m *QueryStorageRequest) XXX_Unmarshal(b []byte) error
- type QueryStorageResponse
- func (*QueryStorageResponse) Descriptor() ([]byte, []int)
- func (m *QueryStorageResponse) GetValue() string
- func (m *QueryStorageResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryStorageResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStorageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStorageResponse) ProtoMessage()
- func (m *QueryStorageResponse) Reset()
- func (m *QueryStorageResponse) Size() (n int)
- func (m *QueryStorageResponse) String() string
- func (m *QueryStorageResponse) Unmarshal(dAtA []byte) error
- func (m *QueryStorageResponse) XXX_DiscardUnknown()
- func (m *QueryStorageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStorageResponse) XXX_Merge(src proto.Message)
- func (m *QueryStorageResponse) XXX_Size() int
- func (m *QueryStorageResponse) XXX_Unmarshal(b []byte) error
- type QueryTxLogsRequest
- func (*QueryTxLogsRequest) Descriptor() ([]byte, []int)
- func (m *QueryTxLogsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTxLogsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTxLogsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTxLogsRequest) ProtoMessage()
- func (m *QueryTxLogsRequest) Reset()
- func (m *QueryTxLogsRequest) Size() (n int)
- func (m *QueryTxLogsRequest) String() string
- func (m *QueryTxLogsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTxLogsRequest) XXX_DiscardUnknown()
- func (m *QueryTxLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTxLogsRequest) XXX_Merge(src proto.Message)
- func (m *QueryTxLogsRequest) XXX_Size() int
- func (m *QueryTxLogsRequest) XXX_Unmarshal(b []byte) error
- type QueryTxLogsResponse
- func (*QueryTxLogsResponse) Descriptor() ([]byte, []int)
- func (m *QueryTxLogsResponse) GetLogs() []*Log
- func (m *QueryTxLogsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTxLogsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTxLogsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTxLogsResponse) ProtoMessage()
- func (m *QueryTxLogsResponse) Reset()
- func (m *QueryTxLogsResponse) Size() (n int)
- func (m *QueryTxLogsResponse) String() string
- func (m *QueryTxLogsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTxLogsResponse) XXX_DiscardUnknown()
- func (m *QueryTxLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTxLogsResponse) XXX_Merge(src proto.Message)
- func (m *QueryTxLogsResponse) XXX_Size() int
- func (m *QueryTxLogsResponse) XXX_Unmarshal(b []byte) error
- type QueryTxReceiptRequest
- func (*QueryTxReceiptRequest) Descriptor() ([]byte, []int)
- func (m *QueryTxReceiptRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTxReceiptRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTxReceiptRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTxReceiptRequest) ProtoMessage()
- func (m *QueryTxReceiptRequest) Reset()
- func (m *QueryTxReceiptRequest) Size() (n int)
- func (m *QueryTxReceiptRequest) String() string
- func (m *QueryTxReceiptRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTxReceiptRequest) XXX_DiscardUnknown()
- func (m *QueryTxReceiptRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTxReceiptRequest) XXX_Merge(src proto.Message)
- func (m *QueryTxReceiptRequest) XXX_Size() int
- func (m *QueryTxReceiptRequest) XXX_Unmarshal(b []byte) error
- type QueryTxReceiptResponse
- func (*QueryTxReceiptResponse) Descriptor() ([]byte, []int)
- func (m *QueryTxReceiptResponse) GetReceipt() *TxReceipt
- func (m *QueryTxReceiptResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTxReceiptResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTxReceiptResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTxReceiptResponse) ProtoMessage()
- func (m *QueryTxReceiptResponse) Reset()
- func (m *QueryTxReceiptResponse) Size() (n int)
- func (m *QueryTxReceiptResponse) String() string
- func (m *QueryTxReceiptResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTxReceiptResponse) XXX_DiscardUnknown()
- func (m *QueryTxReceiptResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTxReceiptResponse) XXX_Merge(src proto.Message)
- func (m *QueryTxReceiptResponse) XXX_Size() int
- func (m *QueryTxReceiptResponse) XXX_Unmarshal(b []byte) error
- type QueryTxReceiptsByBlockHashRequest
- func (*QueryTxReceiptsByBlockHashRequest) Descriptor() ([]byte, []int)
- func (m *QueryTxReceiptsByBlockHashRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTxReceiptsByBlockHashRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTxReceiptsByBlockHashRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTxReceiptsByBlockHashRequest) ProtoMessage()
- func (m *QueryTxReceiptsByBlockHashRequest) Reset()
- func (m *QueryTxReceiptsByBlockHashRequest) Size() (n int)
- func (m *QueryTxReceiptsByBlockHashRequest) String() string
- func (m *QueryTxReceiptsByBlockHashRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTxReceiptsByBlockHashRequest) XXX_DiscardUnknown()
- func (m *QueryTxReceiptsByBlockHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTxReceiptsByBlockHashRequest) XXX_Merge(src proto.Message)
- func (m *QueryTxReceiptsByBlockHashRequest) XXX_Size() int
- func (m *QueryTxReceiptsByBlockHashRequest) XXX_Unmarshal(b []byte) error
- type QueryTxReceiptsByBlockHashResponse
- func (*QueryTxReceiptsByBlockHashResponse) Descriptor() ([]byte, []int)
- func (m *QueryTxReceiptsByBlockHashResponse) GetReceipts() []*TxReceipt
- func (m *QueryTxReceiptsByBlockHashResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTxReceiptsByBlockHashResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTxReceiptsByBlockHashResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTxReceiptsByBlockHashResponse) ProtoMessage()
- func (m *QueryTxReceiptsByBlockHashResponse) Reset()
- func (m *QueryTxReceiptsByBlockHashResponse) Size() (n int)
- func (m *QueryTxReceiptsByBlockHashResponse) String() string
- func (m *QueryTxReceiptsByBlockHashResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTxReceiptsByBlockHashResponse) XXX_DiscardUnknown()
- func (m *QueryTxReceiptsByBlockHashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTxReceiptsByBlockHashResponse) XXX_Merge(src proto.Message)
- func (m *QueryTxReceiptsByBlockHashResponse) XXX_Size() int
- func (m *QueryTxReceiptsByBlockHashResponse) XXX_Unmarshal(b []byte) error
- type QueryTxReceiptsByBlockHeightRequest
- func (*QueryTxReceiptsByBlockHeightRequest) Descriptor() ([]byte, []int)
- func (m *QueryTxReceiptsByBlockHeightRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTxReceiptsByBlockHeightRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTxReceiptsByBlockHeightRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTxReceiptsByBlockHeightRequest) ProtoMessage()
- func (m *QueryTxReceiptsByBlockHeightRequest) Reset()
- func (m *QueryTxReceiptsByBlockHeightRequest) Size() (n int)
- func (m *QueryTxReceiptsByBlockHeightRequest) String() string
- func (m *QueryTxReceiptsByBlockHeightRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTxReceiptsByBlockHeightRequest) XXX_DiscardUnknown()
- func (m *QueryTxReceiptsByBlockHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTxReceiptsByBlockHeightRequest) XXX_Merge(src proto.Message)
- func (m *QueryTxReceiptsByBlockHeightRequest) XXX_Size() int
- func (m *QueryTxReceiptsByBlockHeightRequest) XXX_Unmarshal(b []byte) error
- type QueryTxReceiptsByBlockHeightResponse
- func (*QueryTxReceiptsByBlockHeightResponse) Descriptor() ([]byte, []int)
- func (m *QueryTxReceiptsByBlockHeightResponse) GetReceipts() []*TxReceipt
- func (m *QueryTxReceiptsByBlockHeightResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTxReceiptsByBlockHeightResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTxReceiptsByBlockHeightResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTxReceiptsByBlockHeightResponse) ProtoMessage()
- func (m *QueryTxReceiptsByBlockHeightResponse) Reset()
- func (m *QueryTxReceiptsByBlockHeightResponse) Size() (n int)
- func (m *QueryTxReceiptsByBlockHeightResponse) String() string
- func (m *QueryTxReceiptsByBlockHeightResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTxReceiptsByBlockHeightResponse) XXX_DiscardUnknown()
- func (m *QueryTxReceiptsByBlockHeightResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTxReceiptsByBlockHeightResponse) XXX_Merge(src proto.Message)
- func (m *QueryTxReceiptsByBlockHeightResponse) XXX_Size() int
- func (m *QueryTxReceiptsByBlockHeightResponse) XXX_Unmarshal(b []byte) error
- type SigCache
- func (*SigCache) Descriptor() ([]byte, []int)
- func (m *SigCache) Marshal() (dAtA []byte, err error)
- func (m *SigCache) MarshalTo(dAtA []byte) (int, error)
- func (m *SigCache) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SigCache) ProtoMessage()
- func (m *SigCache) Reset()
- func (m *SigCache) Size() (n int)
- func (m *SigCache) String() string
- func (m *SigCache) Unmarshal(dAtA []byte) error
- func (m *SigCache) XXX_DiscardUnknown()
- func (m *SigCache) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SigCache) XXX_Merge(src proto.Message)
- func (m *SigCache) XXX_Size() int
- func (m *SigCache) XXX_Unmarshal(b []byte) error
- type State
- func (*State) Descriptor() ([]byte, []int)
- func (m *State) GetKey() string
- func (m *State) GetValue() string
- func (m *State) Marshal() (dAtA []byte, err error)
- func (m *State) MarshalTo(dAtA []byte) (int, error)
- func (m *State) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*State) ProtoMessage()
- func (m *State) Reset()
- func (m *State) Size() (n int)
- func (m *State) String() string
- func (m *State) Unmarshal(dAtA []byte) error
- func (m *State) XXX_DiscardUnknown()
- func (m *State) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *State) XXX_Merge(src proto.Message)
- func (m *State) XXX_Size() int
- func (m *State) XXX_Unmarshal(b []byte) error
- type TransactionLogs
- func (*TransactionLogs) Descriptor() ([]byte, []int)
- func (m *TransactionLogs) GetHash() string
- func (m *TransactionLogs) GetLogs() []*Log
- func (m *TransactionLogs) Marshal() (dAtA []byte, err error)
- func (m *TransactionLogs) MarshalTo(dAtA []byte) (int, error)
- func (m *TransactionLogs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TransactionLogs) ProtoMessage()
- func (m *TransactionLogs) Reset()
- func (m *TransactionLogs) Size() (n int)
- func (m *TransactionLogs) String() string
- func (m *TransactionLogs) Unmarshal(dAtA []byte) error
- func (m *TransactionLogs) XXX_DiscardUnknown()
- func (m *TransactionLogs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionLogs) XXX_Merge(src proto.Message)
- func (m *TransactionLogs) XXX_Size() int
- func (m *TransactionLogs) XXX_Unmarshal(b []byte) error
- type TxData
- func (*TxData) Descriptor() ([]byte, []int)
- func (m *TxData) Marshal() (dAtA []byte, err error)
- func (m *TxData) MarshalTo(dAtA []byte) (int, error)
- func (m *TxData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TxData) ProtoMessage()
- func (m *TxData) Reset()
- func (m *TxData) Size() (n int)
- func (m *TxData) String() string
- func (m *TxData) Unmarshal(dAtA []byte) error
- func (m *TxData) XXX_DiscardUnknown()
- func (m *TxData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxData) XXX_Merge(src proto.Message)
- func (m *TxData) XXX_Size() int
- func (m *TxData) XXX_Unmarshal(b []byte) error
- type TxReceipt
- func (*TxReceipt) Descriptor() ([]byte, []int)
- func (m *TxReceipt) Marshal() (dAtA []byte, err error)
- func (m *TxReceipt) MarshalTo(dAtA []byte) (int, error)
- func (m *TxReceipt) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TxReceipt) ProtoMessage()
- func (m *TxReceipt) Reset()
- func (m *TxReceipt) Size() (n int)
- func (m *TxReceipt) String() string
- func (m *TxReceipt) Unmarshal(dAtA []byte) error
- func (m *TxReceipt) XXX_DiscardUnknown()
- func (m *TxReceipt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxReceipt) XXX_Merge(src proto.Message)
- func (m *TxReceipt) XXX_Size() int
- func (m *TxReceipt) XXX_Unmarshal(b []byte) error
- type TxResult
- func (*TxResult) Descriptor() ([]byte, []int)
- func (m *TxResult) Marshal() (dAtA []byte, err error)
- func (m *TxResult) MarshalTo(dAtA []byte) (int, error)
- func (m *TxResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TxResult) ProtoMessage()
- func (m *TxResult) Reset()
- func (m *TxResult) Size() (n int)
- func (m *TxResult) String() string
- func (m *TxResult) Unmarshal(dAtA []byte) error
- func (m *TxResult) XXX_DiscardUnknown()
- func (m *TxResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxResult) XXX_Merge(src proto.Message)
- func (m *TxResult) XXX_Size() int
- func (m *TxResult) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Account(ctx context.Context, req *QueryAccountRequest) (*QueryAccountResponse, error)
- func (*UnimplementedQueryServer) Balance(ctx context.Context, req *QueryBalanceRequest) (*QueryBalanceResponse, error)
- func (*UnimplementedQueryServer) BlockBloom(ctx context.Context, req *QueryBlockBloomRequest) (*QueryBlockBloomResponse, error)
- func (*UnimplementedQueryServer) BlockLogs(ctx context.Context, req *QueryBlockLogsRequest) (*QueryBlockLogsResponse, error)
- func (*UnimplementedQueryServer) Code(ctx context.Context, req *QueryCodeRequest) (*QueryCodeResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) StaticCall(ctx context.Context, req *QueryStaticCallRequest) (*QueryStaticCallResponse, error)
- func (*UnimplementedQueryServer) Storage(ctx context.Context, req *QueryStorageRequest) (*QueryStorageResponse, error)
- func (*UnimplementedQueryServer) TxLogs(ctx context.Context, req *QueryTxLogsRequest) (*QueryTxLogsResponse, error)
- func (*UnimplementedQueryServer) TxReceipt(ctx context.Context, req *QueryTxReceiptRequest) (*QueryTxReceiptResponse, error)
- func (*UnimplementedQueryServer) TxReceiptsByBlockHash(ctx context.Context, req *QueryTxReceiptsByBlockHashRequest) (*QueryTxReceiptsByBlockHashResponse, error)
- func (*UnimplementedQueryServer) TxReceiptsByBlockHeight(ctx context.Context, req *QueryTxReceiptsByBlockHeightRequest) (*QueryTxReceiptsByBlockHeightResponse, error)
Constants ¶
const ( EventTypeEthereumTx = TypeMsgEthereumTx AttributeKeyContractAddress = "contract" AttributeKeyRecipient = "recipient" AttributeKeyTxHash = "txHash" AttributeValueCategory = ModuleName )
Evm module events
const ModuleName = "evm"
const (
// ProtocolVersion is the latest supported version of the eth protocol.
ProtocolVersion = eth65
)
Constants to match up protocol versions and messages
const RouterKey = ModuleName
const (
// TypeMsgEthereumTx defines the type string of an Ethereum tranasction
TypeMsgEthereumTx = "ethereum"
)
message type and route constants
Variables ¶
var ( // ErrInvalidState returns an error resulting from an invalid Storage State. ErrInvalidState = sdkerrors.Register(ModuleName, 2, "invalid storage state") // ErrChainConfigNotFound returns an error if the chain config cannot be found on the store. ErrChainConfigNotFound = sdkerrors.Register(ModuleName, 3, "chain configuration not found") // ErrInvalidChainConfig returns an error resulting from an invalid ChainConfig. ErrInvalidChainConfig = sdkerrors.Register(ModuleName, 4, "invalid chain configuration") // ErrZeroAddress returns an error resulting from an zero (empty) ethereum Address. ErrZeroAddress = sdkerrors.Register(ModuleName, 5, "invalid zero address") // ErrEmptyHash returns an error resulting from an empty ethereum Hash. ErrEmptyHash = sdkerrors.Register(ModuleName, 6, "empty hash") // ErrBloomNotFound returns an error if the block bloom cannot be found on the store. ErrBloomNotFound = sdkerrors.Register(ModuleName, 7, "block bloom not found") // ErrInvalidValue returns an error resulting from an invalid value. ErrInvalidValue = sdkerrors.Register(ModuleName, 8, "invalid value") // ErrInvalidChainID returns an error resulting from an invalid chain ID. ErrInvalidChainID = sdkerrors.Register(ModuleName, 9, "invalid chain ID") // ErrVMExecution returns an error resulting from an error in EVM execution. ErrVMExecution = sdkerrors.Register(ModuleName, 10, "error while executing evm transaction") // ErrTxReceiptNotFound returns an error if the transaction receipt could not be found ErrTxReceiptNotFound = sdkerrors.Register(ModuleName, 11, "transaction receipt not found") // ErrCreateDisabled returns an error if the EnableCreate parameter is false. ErrCreateDisabled = sdkerrors.Register(ModuleName, 12, "EVM Create operation is disabled") // ErrCallDisabled returns an error if the EnableCall parameter is false. ErrCallDisabled = sdkerrors.Register(ModuleName, 13, "EVM Call operation is disabled") )
var ( ErrInvalidLengthEvm = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvm = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvm = fmt.Errorf("proto: unexpected end of group") )
var ( ParamStoreKeyEVMDenom = []byte("EVMDenom") ParamStoreKeyEnableCreate = []byte("EnableCreate") ParamStoreKeyEnableCall = []byte("EnableCall") ParamStoreKeyExtraEIPs = []byte("EnableExtraEIPs") )
Parameter keys
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var (
ModuleCdc = codec.NewProtoCodec(codectypes.NewInterfaceRegistry())
)
Functions ¶
func EncodeTransactionLogs ¶
func EncodeTransactionLogs(res *TransactionLogs) ([]byte, error)
EncodeTransactionLogs encodes TransactionLogs slice into a protobuf-encoded byte slice.
func EncodeTxResponse ¶
func EncodeTxResponse(res *MsgEthereumTxResponse) ([]byte, error)
EncodeTxResponse takes all of the necessary data from the EVM execution and returns the data as a byte slice encoded with protobuf.
func IsEmptyHash ¶
IsEmptyHash returns true if the hash corresponds to an empty ethereum hex hash.
func IsZeroAddress ¶
IsZeroAddress returns true if the address corresponds to an empty ethereum hex address.
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable returns the parameter key table.
func RegisterInterfaces ¶
func RegisterInterfaces(registry codectypes.InterfaceRegistry)
RegisterInterfaces registers the client interfaces to protobuf Any.
func RegisterMsgServer ¶
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func ValidateSigner ¶
ValidateSigner attempts to validate a signer for a given slice of bytes over which a signature and signer is given. An error is returned if address derived from the signature and bytes signed does not match the given signer.
Types ¶
type BytesList ¶
type BytesList struct {
Bytes [][]byte `protobuf:"bytes,1,rep,name=bytes,proto3" json:"bytes,omitempty"`
}
func (*BytesList) Descriptor ¶
func (*BytesList) MarshalToSizedBuffer ¶
func (*BytesList) ProtoMessage ¶
func (*BytesList) ProtoMessage()
func (*BytesList) XXX_DiscardUnknown ¶
func (m *BytesList) XXX_DiscardUnknown()
func (*BytesList) XXX_Marshal ¶
func (*BytesList) XXX_Unmarshal ¶
type ChainConfig ¶
type ChainConfig struct { // Homestead switch block (< 0 no fork, 0 = already homestead) HomesteadBlock github_com_cosmos_cosmos_sdk_types.Int `` /* 166-byte string literal not displayed */ // TheDAO hard-fork switch block (< 0 no fork) DAOForkBlock github_com_cosmos_cosmos_sdk_types.Int `` /* 161-byte string literal not displayed */ // Whether the nodes supports or opposes the DAO hard-fork DAOForkSupport bool `` /* 130-byte string literal not displayed */ // EIP150 implements the Gas price changes // (https://github.com/ethereum/EIPs/issues/150) EIP150 HF block (< 0 no fork) EIP150Block github_com_cosmos_cosmos_sdk_types.Int `` /* 154-byte string literal not displayed */ // 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" yaml:"byzantium_block"` // EIP155Block HF block EIP155Block github_com_cosmos_cosmos_sdk_types.Int `` /* 154-byte string literal not displayed */ // EIP158 HF block EIP158Block github_com_cosmos_cosmos_sdk_types.Int `` /* 154-byte string literal not displayed */ // Byzantium switch block (< 0 no fork, 0 = already on byzantium) ByzantiumBlock github_com_cosmos_cosmos_sdk_types.Int `` /* 166-byte string literal not displayed */ // Constantinople switch block (< 0 no fork, 0 = already activated) ConstantinopleBlock github_com_cosmos_cosmos_sdk_types.Int `` /* 186-byte string literal not displayed */ // Petersburg switch block (< 0 same as Constantinople) PetersburgBlock github_com_cosmos_cosmos_sdk_types.Int `` /* 171-byte string literal not displayed */ // Istanbul switch block (< 0 no fork, 0 = already on istanbul) IstanbulBlock github_com_cosmos_cosmos_sdk_types.Int `` /* 163-byte string literal not displayed */ // Eip-2384 (bomb delay) switch block (< 0 no fork, 0 = already activated) MuirGlacierBlock github_com_cosmos_cosmos_sdk_types.Int `` /* 178-byte string literal not displayed */ // YOLO v2: https://github.com/ethereum/EIPs/pull/2657 (Ephemeral testnet) YoloV2Block github_com_cosmos_cosmos_sdk_types.Int `` /* 158-byte string literal not displayed */ // EWASM switch block (< 0 no fork, 0 = already activated) EWASMBlock github_com_cosmos_cosmos_sdk_types.Int `` /* 151-byte string literal not displayed */ }
ChainConfig defines the Ethereum ChainConfig parameters using sdk.Int values instead of big.Int.
NOTE 1: Since empty/uninitialized Ints (i.e with a nil big.Int value) are parsed to zero, we need to manually specify that negative Int values will be considered as nil. See getBlockValue for reference.
NOTE 2: This type is not a configurable Param since the SDK does not allow for validation against a previous stored parameter values or the current block height (retrieved from context). If you want to update the config values, use an software upgrade procedure.
func (*ChainConfig) Descriptor ¶
func (*ChainConfig) Descriptor() ([]byte, []int)
func (*ChainConfig) GetDAOForkSupport ¶
func (m *ChainConfig) GetDAOForkSupport() bool
func (*ChainConfig) GetEIP150Hash ¶
func (m *ChainConfig) GetEIP150Hash() string
func (*ChainConfig) Marshal ¶
func (m *ChainConfig) Marshal() (dAtA []byte, err error)
func (*ChainConfig) MarshalToSizedBuffer ¶
func (m *ChainConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ChainConfig) ProtoMessage ¶
func (*ChainConfig) ProtoMessage()
func (*ChainConfig) Reset ¶
func (m *ChainConfig) Reset()
func (*ChainConfig) Size ¶
func (m *ChainConfig) Size() (n int)
func (*ChainConfig) String ¶
func (m *ChainConfig) String() string
func (*ChainConfig) Unmarshal ¶
func (m *ChainConfig) Unmarshal(dAtA []byte) error
func (*ChainConfig) XXX_DiscardUnknown ¶
func (m *ChainConfig) XXX_DiscardUnknown()
func (*ChainConfig) XXX_Marshal ¶
func (m *ChainConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChainConfig) XXX_Merge ¶
func (m *ChainConfig) XXX_Merge(src proto.Message)
func (*ChainConfig) XXX_Size ¶
func (m *ChainConfig) XXX_Size() int
func (*ChainConfig) XXX_Unmarshal ¶
func (m *ChainConfig) XXX_Unmarshal(b []byte) error
type EIP155Signer ¶
type EIP155Signer struct {
// contains filtered or unexported fields
}
EIP155Transaction implements Signer using the EIP155 rules.
func (*EIP155Signer) Descriptor ¶
func (*EIP155Signer) Descriptor() ([]byte, []int)
func (*EIP155Signer) Marshal ¶
func (m *EIP155Signer) Marshal() (dAtA []byte, err error)
func (*EIP155Signer) MarshalToSizedBuffer ¶
func (m *EIP155Signer) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EIP155Signer) ProtoMessage ¶
func (*EIP155Signer) ProtoMessage()
func (*EIP155Signer) Reset ¶
func (m *EIP155Signer) Reset()
func (*EIP155Signer) Size ¶
func (m *EIP155Signer) Size() (n int)
func (*EIP155Signer) String ¶
func (m *EIP155Signer) String() string
func (*EIP155Signer) Unmarshal ¶
func (m *EIP155Signer) Unmarshal(dAtA []byte) error
func (*EIP155Signer) XXX_DiscardUnknown ¶
func (m *EIP155Signer) XXX_DiscardUnknown()
func (*EIP155Signer) XXX_Marshal ¶
func (m *EIP155Signer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EIP155Signer) XXX_Merge ¶
func (m *EIP155Signer) XXX_Merge(src proto.Message)
func (*EIP155Signer) XXX_Size ¶
func (m *EIP155Signer) XXX_Size() int
func (*EIP155Signer) XXX_Unmarshal ¶
func (m *EIP155Signer) XXX_Unmarshal(b []byte) error
type ExtensionOptionsEthereumTx ¶
type ExtensionOptionsEthereumTx struct { }
func (*ExtensionOptionsEthereumTx) Descriptor ¶
func (*ExtensionOptionsEthereumTx) Descriptor() ([]byte, []int)
func (*ExtensionOptionsEthereumTx) Marshal ¶
func (m *ExtensionOptionsEthereumTx) Marshal() (dAtA []byte, err error)
func (*ExtensionOptionsEthereumTx) MarshalTo ¶
func (m *ExtensionOptionsEthereumTx) MarshalTo(dAtA []byte) (int, error)
func (*ExtensionOptionsEthereumTx) MarshalToSizedBuffer ¶
func (m *ExtensionOptionsEthereumTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ExtensionOptionsEthereumTx) ProtoMessage ¶
func (*ExtensionOptionsEthereumTx) ProtoMessage()
func (*ExtensionOptionsEthereumTx) Reset ¶
func (m *ExtensionOptionsEthereumTx) Reset()
func (*ExtensionOptionsEthereumTx) Size ¶
func (m *ExtensionOptionsEthereumTx) Size() (n int)
func (*ExtensionOptionsEthereumTx) String ¶
func (m *ExtensionOptionsEthereumTx) String() string
func (*ExtensionOptionsEthereumTx) Unmarshal ¶
func (m *ExtensionOptionsEthereumTx) Unmarshal(dAtA []byte) error
func (*ExtensionOptionsEthereumTx) XXX_DiscardUnknown ¶
func (m *ExtensionOptionsEthereumTx) XXX_DiscardUnknown()
func (*ExtensionOptionsEthereumTx) XXX_Marshal ¶
func (m *ExtensionOptionsEthereumTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExtensionOptionsEthereumTx) XXX_Merge ¶
func (m *ExtensionOptionsEthereumTx) XXX_Merge(src proto.Message)
func (*ExtensionOptionsEthereumTx) XXX_Size ¶
func (m *ExtensionOptionsEthereumTx) XXX_Size() int
func (*ExtensionOptionsEthereumTx) XXX_Unmarshal ¶
func (m *ExtensionOptionsEthereumTx) XXX_Unmarshal(b []byte) error
type ExtensionOptionsEthereumTxI ¶
type ExtensionOptionsEthereumTxI interface{}
type ExtensionOptionsWeb3Tx ¶
type ExtensionOptionsWeb3Tx struct { // typedDataChainID used only in EIP712 Domain and should match // Ethereum network ID in a Web3 provider (e.g. Metamask). TypedDataChainID uint64 `protobuf:"varint,1,opt,name=typedDataChainID,proto3" json:"typedDataChainID,omitempty"` }
func (*ExtensionOptionsWeb3Tx) Descriptor ¶
func (*ExtensionOptionsWeb3Tx) Descriptor() ([]byte, []int)
func (*ExtensionOptionsWeb3Tx) Marshal ¶
func (m *ExtensionOptionsWeb3Tx) Marshal() (dAtA []byte, err error)
func (*ExtensionOptionsWeb3Tx) MarshalTo ¶
func (m *ExtensionOptionsWeb3Tx) MarshalTo(dAtA []byte) (int, error)
func (*ExtensionOptionsWeb3Tx) MarshalToSizedBuffer ¶
func (m *ExtensionOptionsWeb3Tx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ExtensionOptionsWeb3Tx) ProtoMessage ¶
func (*ExtensionOptionsWeb3Tx) ProtoMessage()
func (*ExtensionOptionsWeb3Tx) Reset ¶
func (m *ExtensionOptionsWeb3Tx) Reset()
func (*ExtensionOptionsWeb3Tx) Size ¶
func (m *ExtensionOptionsWeb3Tx) Size() (n int)
func (*ExtensionOptionsWeb3Tx) String ¶
func (m *ExtensionOptionsWeb3Tx) String() string
func (*ExtensionOptionsWeb3Tx) Unmarshal ¶
func (m *ExtensionOptionsWeb3Tx) Unmarshal(dAtA []byte) error
func (*ExtensionOptionsWeb3Tx) XXX_DiscardUnknown ¶
func (m *ExtensionOptionsWeb3Tx) XXX_DiscardUnknown()
func (*ExtensionOptionsWeb3Tx) XXX_Marshal ¶
func (m *ExtensionOptionsWeb3Tx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExtensionOptionsWeb3Tx) XXX_Merge ¶
func (m *ExtensionOptionsWeb3Tx) XXX_Merge(src proto.Message)
func (*ExtensionOptionsWeb3Tx) XXX_Size ¶
func (m *ExtensionOptionsWeb3Tx) XXX_Size() int
func (*ExtensionOptionsWeb3Tx) XXX_Unmarshal ¶
func (m *ExtensionOptionsWeb3Tx) XXX_Unmarshal(b []byte) error
type Log ¶
type Log struct { // address of the contract that generated the event Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // list of topics provided by the contract. Topics []string `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"` // supplied by the contract, usually ABI-encoded Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // block in which the transaction was included BlockNumber uint64 `protobuf:"varint,4,opt,name=block_number,json=blockNumber,proto3" json:"blockNumber"` // hash of the transaction TxHash string `protobuf:"bytes,5,opt,name=tx_hash,json=txHash,proto3" json:"transactionHash"` // index of the transaction in the block TxIndex uint64 `protobuf:"varint,6,opt,name=tx_index,json=txIndex,proto3" json:"transactionIndex"` // hash of the block in which the transaction was included BlockHash string `protobuf:"bytes,7,opt,name=block_hash,json=blockHash,proto3" json:"blockHash"` // index of the log in the block Index uint64 `protobuf:"varint,8,opt,name=index,proto3" json:"logIndex"` // The Removed field is true if this log was reverted due to a chain // reorganisation. You must pay attention to this field if you receive logs // through a filter query. Removed bool `protobuf:"varint,9,opt,name=removed,proto3" json:"removed,omitempty"` }
Log represents an protobuf compatible Ethereum Log that defines a contract log event. These events are generated by the LOG opcode and stored/indexed by the node.
func (*Log) Descriptor ¶
func (*Log) GetAddress ¶
func (*Log) GetBlockHash ¶
func (*Log) GetBlockNumber ¶
func (*Log) GetRemoved ¶
func (*Log) GetTxIndex ¶
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
func (*Log) XXX_DiscardUnknown ¶
func (m *Log) XXX_DiscardUnknown()
func (*Log) XXX_Unmarshal ¶
type MsgClient ¶
type MsgClient interface { // EthereumTx defines a method submitting Ethereum transactions. EthereumTx(ctx context.Context, in *MsgEthereumTx, opts ...grpc.CallOption) (*MsgEthereumTxResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgEthereumTx ¶
type MsgEthereumTx struct { Data *TxData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // caches Size_ float64 `protobuf:"fixed64,2,opt,name=size,proto3" json:"-"` From *SigCache `protobuf:"bytes,3,opt,name=from,proto3" json:"-"` }
MsgEthereumTx encapsulates an Ethereum transaction as an SDK message.
func NewMsgEthereumTx ¶
func NewMsgEthereumTx( nonce uint64, to *ethcmn.Address, amount *big.Int, gasLimit uint64, gasPrice *big.Int, payload []byte, ) *MsgEthereumTx
NewMsgEthereumTx returns a reference to a new Ethereum transaction message.
func NewMsgEthereumTxContract ¶
func NewMsgEthereumTxContract( nonce uint64, amount *big.Int, gasLimit uint64, gasPrice *big.Int, payload []byte, ) *MsgEthereumTx
NewMsgEthereumTxContract returns a reference to a new Ethereum transaction message designated for contract creation.
func (*MsgEthereumTx) ChainID ¶
func (msg *MsgEthereumTx) ChainID() *big.Int
ChainID returns which chain id this transaction was signed for (if at all)
func (MsgEthereumTx) Cost ¶
func (msg MsgEthereumTx) Cost() *big.Int
Cost returns amount + gasprice * gaslimit.
func (*MsgEthereumTx) DecodeRLP ¶
func (msg *MsgEthereumTx) DecodeRLP(s *rlp.Stream) error
DecodeRLP implements the rlp.Decoder interface.
func (*MsgEthereumTx) Descriptor ¶
func (*MsgEthereumTx) Descriptor() ([]byte, []int)
func (*MsgEthereumTx) EncodeRLP ¶
func (msg *MsgEthereumTx) EncodeRLP(w io.Writer) error
EncodeRLP implements the rlp.Encoder interface.
func (*MsgEthereumTx) GetFrom ¶
func (msg *MsgEthereumTx) GetFrom() sdk.AccAddress
GetFrom loads the ethereum sender address from the sigcache and returns an sdk.AccAddress from its bytes
func (MsgEthereumTx) GetGas ¶
func (msg MsgEthereumTx) GetGas() uint64
GetGas implements the GasTx interface. It returns the GasLimit of the transaction.
func (*MsgEthereumTx) GetMsgs ¶
func (msg *MsgEthereumTx) GetMsgs() []sdk.Msg
GetMsgs returns a single MsgEthereumTx as an sdk.Msg.
func (MsgEthereumTx) GetSignBytes ¶
func (msg MsgEthereumTx) GetSignBytes() []byte
GetSignBytes returns the Amino bytes of an Ethereum transaction message used for signing.
NOTE: This method cannot be used as a chain ID is needed to create valid bytes to sign over. Use 'RLPSignBytes' instead.
func (MsgEthereumTx) GetSigners ¶
func (msg MsgEthereumTx) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for an Ethereum transaction message. For such a message, there should exist only a single 'signer'.
NOTE: This method panics if 'VerifySig' hasn't been called first.
func (*MsgEthereumTx) Marshal ¶
func (m *MsgEthereumTx) Marshal() (dAtA []byte, err error)
func (*MsgEthereumTx) MarshalToSizedBuffer ¶
func (m *MsgEthereumTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEthereumTx) ProtoMessage ¶
func (*MsgEthereumTx) ProtoMessage()
func (MsgEthereumTx) RLPSignBytes ¶
func (msg MsgEthereumTx) RLPSignBytes(chainID *big.Int) ethcmn.Hash
RLPSignBytes returns the RLP hash of an Ethereum transaction message with a given chainID used for signing.
func (MsgEthereumTx) RLPSignHomesteadBytes ¶
func (msg MsgEthereumTx) RLPSignHomesteadBytes() ethcmn.Hash
RLPSignHomesteadBytes returns the RLP hash of an Ethereum transaction message with a a Homestead layout without chainID.
func (MsgEthereumTx) RawSignatureValues ¶
func (msg MsgEthereumTx) RawSignatureValues() (v, r, s *big.Int)
RawSignatureValues returns the V, R, S signature values of the transaction. The return values should not be modified by the caller.
func (*MsgEthereumTx) Reset ¶
func (m *MsgEthereumTx) Reset()
func (MsgEthereumTx) Route ¶
func (msg MsgEthereumTx) Route() string
Route returns the route value of an MsgEthereumTx.
func (*MsgEthereumTx) Sign ¶
func (msg *MsgEthereumTx) Sign(chainID *big.Int, priv *ecdsa.PrivateKey) error
Sign calculates a secp256k1 ECDSA signature and signs the transaction. It takes a private key and chainID to sign an Ethereum transaction according to EIP155 standard. It mutates the transaction as it populates the V, R, S fields of the Transaction's Signature.
func (*MsgEthereumTx) Size ¶
func (m *MsgEthereumTx) Size() (n int)
func (*MsgEthereumTx) String ¶
func (m *MsgEthereumTx) String() string
func (MsgEthereumTx) To ¶
func (msg MsgEthereumTx) To() *ethcmn.Address
To returns the recipient address of the transaction. It returns nil if the transaction is a contract creation.
func (MsgEthereumTx) Type ¶
func (msg MsgEthereumTx) Type() string
Type returns the type value of an MsgEthereumTx.
func (*MsgEthereumTx) Unmarshal ¶
func (m *MsgEthereumTx) Unmarshal(dAtA []byte) error
func (MsgEthereumTx) ValidateBasic ¶
func (msg MsgEthereumTx) ValidateBasic() error
ValidateBasic implements the sdk.Msg interface. It performs basic validation checks of a Transaction. If returns an error if validation fails.
func (*MsgEthereumTx) VerifySig ¶
VerifySig attempts to verify a Transaction's signature for a given chainID. A derived address is returned upon success or an error if recovery fails.
func (*MsgEthereumTx) VerifySigHomestead ¶
func (msg *MsgEthereumTx) VerifySigHomestead() (ethcmn.Address, error)
VerifySigHomestead attempts to verify a Transaction's signature in legacy way (no EIP155). A derived address is returned upon success or an error if recovery fails.
func (*MsgEthereumTx) XXX_DiscardUnknown ¶
func (m *MsgEthereumTx) XXX_DiscardUnknown()
func (*MsgEthereumTx) XXX_Marshal ¶
func (m *MsgEthereumTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgEthereumTx) XXX_Merge ¶
func (m *MsgEthereumTx) XXX_Merge(src proto.Message)
func (*MsgEthereumTx) XXX_Size ¶
func (m *MsgEthereumTx) XXX_Size() int
func (*MsgEthereumTx) XXX_Unmarshal ¶
func (m *MsgEthereumTx) XXX_Unmarshal(b []byte) error
type MsgEthereumTxResponse ¶
type MsgEthereumTxResponse struct { // contract_address contains the ethereum address of the created contract (if // any). If the state transition is an evm.Call, the contract address will be // empty. ContractAddress string `` /* 130-byte string literal not displayed */ // bloom represents the bloom filter bytes Bloom []byte `protobuf:"bytes,2,opt,name=bloom,proto3" json:"bloom,omitempty"` // tx_logs contains the transaction hash and the proto-compatible ethereum // logs. TxLogs TransactionLogs `protobuf:"bytes,3,opt,name=tx_logs,json=txLogs,proto3" json:"tx_logs" yaml:"tx_logs"` // ret defines the bytes from the execution. Ret []byte `protobuf:"bytes,4,opt,name=ret,proto3" json:"ret,omitempty"` // reverted flag is set to true when the call has been reverted Reverted bool `protobuf:"varint,5,opt,name=reverted,proto3" json:"reverted,omitempty"` }
MsgEthereumTxResponse defines the Msg/EthereumTx response type.
func DecodeTxResponse ¶
func DecodeTxResponse(in []byte) (*MsgEthereumTxResponse, error)
DecodeTxResponse decodes an protobuf-encoded byte slice into TxResponse
func (*MsgEthereumTxResponse) Descriptor ¶
func (*MsgEthereumTxResponse) Descriptor() ([]byte, []int)
func (*MsgEthereumTxResponse) Marshal ¶
func (m *MsgEthereumTxResponse) Marshal() (dAtA []byte, err error)
func (*MsgEthereumTxResponse) MarshalTo ¶
func (m *MsgEthereumTxResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgEthereumTxResponse) MarshalToSizedBuffer ¶
func (m *MsgEthereumTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEthereumTxResponse) ProtoMessage ¶
func (*MsgEthereumTxResponse) ProtoMessage()
func (*MsgEthereumTxResponse) Reset ¶
func (m *MsgEthereumTxResponse) Reset()
func (*MsgEthereumTxResponse) Size ¶
func (m *MsgEthereumTxResponse) Size() (n int)
func (*MsgEthereumTxResponse) String ¶
func (m *MsgEthereumTxResponse) String() string
func (*MsgEthereumTxResponse) Unmarshal ¶
func (m *MsgEthereumTxResponse) Unmarshal(dAtA []byte) error
func (*MsgEthereumTxResponse) XXX_DiscardUnknown ¶
func (m *MsgEthereumTxResponse) XXX_DiscardUnknown()
func (*MsgEthereumTxResponse) XXX_Marshal ¶
func (m *MsgEthereumTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgEthereumTxResponse) XXX_Merge ¶
func (m *MsgEthereumTxResponse) XXX_Merge(src proto.Message)
func (*MsgEthereumTxResponse) XXX_Size ¶
func (m *MsgEthereumTxResponse) XXX_Size() int
func (*MsgEthereumTxResponse) XXX_Unmarshal ¶
func (m *MsgEthereumTxResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // EthereumTx defines a method submitting Ethereum transactions. EthereumTx(context.Context, *MsgEthereumTx) (*MsgEthereumTxResponse, error) }
MsgServer is the server API for Msg service.
type Params ¶
type Params struct { // evm_denom represents the token denomination used to run the EVM state // transitions. EvmDenom string `protobuf:"bytes,1,opt,name=evm_denom,json=evmDenom,proto3" json:"evm_denom,omitempty" yaml:"evm_denom"` // enable_create toggles state transitions that use the vm.Create function EnableCreate bool `protobuf:"varint,2,opt,name=enable_create,json=enableCreate,proto3" json:"enable_create,omitempty" yaml:"enable_create"` // enable_call toggles state transitions that use the vm.Call function EnableCall bool `protobuf:"varint,3,opt,name=enable_call,json=enableCall,proto3" json:"enable_call,omitempty" yaml:"enable_call"` // extra_eips defines the additional EIPs for the vm.Config ExtraEIPs []int64 `protobuf:"varint,4,rep,packed,name=extra_eips,json=extraEips,proto3" json:"extra_eips,omitempty" yaml:"extra_eips"` }
Params defines the EVM module parameters
func (*Params) Descriptor ¶
func (*Params) GetEnableCall ¶
func (*Params) GetEnableCreate ¶
func (*Params) GetEvmDenom ¶
func (*Params) GetExtraEIPs ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs returns the parameter set pairs.
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryAccountRequest ¶
type QueryAccountRequest struct { // address is the ethereum hex address to query the account for. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` }
QueryAccountRequest is the request type for the Query/Account RPC method.
func (*QueryAccountRequest) Descriptor ¶
func (*QueryAccountRequest) Descriptor() ([]byte, []int)
func (*QueryAccountRequest) Marshal ¶
func (m *QueryAccountRequest) Marshal() (dAtA []byte, err error)
func (*QueryAccountRequest) MarshalTo ¶
func (m *QueryAccountRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAccountRequest) MarshalToSizedBuffer ¶
func (m *QueryAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAccountRequest) ProtoMessage ¶
func (*QueryAccountRequest) ProtoMessage()
func (*QueryAccountRequest) Reset ¶
func (m *QueryAccountRequest) Reset()
func (*QueryAccountRequest) Size ¶
func (m *QueryAccountRequest) Size() (n int)
func (*QueryAccountRequest) String ¶
func (m *QueryAccountRequest) String() string
func (*QueryAccountRequest) Unmarshal ¶
func (m *QueryAccountRequest) Unmarshal(dAtA []byte) error
func (*QueryAccountRequest) XXX_DiscardUnknown ¶
func (m *QueryAccountRequest) XXX_DiscardUnknown()
func (*QueryAccountRequest) XXX_Marshal ¶
func (m *QueryAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAccountRequest) XXX_Merge ¶
func (m *QueryAccountRequest) XXX_Merge(src proto.Message)
func (*QueryAccountRequest) XXX_Size ¶
func (m *QueryAccountRequest) XXX_Size() int
func (*QueryAccountRequest) XXX_Unmarshal ¶
func (m *QueryAccountRequest) XXX_Unmarshal(b []byte) error
type QueryAccountResponse ¶
type QueryAccountResponse struct { // balance is the balance of the EVM denomination. Balance string `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"` // code_hash is the code bytes from the EOA. CodeHash []byte `protobuf:"bytes,2,opt,name=code_hash,json=codeHash,proto3" json:"code_hash,omitempty"` // nonce is the account's sequence number. Nonce uint64 `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"` }
QueryAccountResponse is the response type for the Query/Account RPC method.
func (*QueryAccountResponse) Descriptor ¶
func (*QueryAccountResponse) Descriptor() ([]byte, []int)
func (*QueryAccountResponse) GetBalance ¶
func (m *QueryAccountResponse) GetBalance() string
func (*QueryAccountResponse) GetCodeHash ¶
func (m *QueryAccountResponse) GetCodeHash() []byte
func (*QueryAccountResponse) GetNonce ¶
func (m *QueryAccountResponse) GetNonce() uint64
func (*QueryAccountResponse) Marshal ¶
func (m *QueryAccountResponse) Marshal() (dAtA []byte, err error)
func (*QueryAccountResponse) MarshalTo ¶
func (m *QueryAccountResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAccountResponse) MarshalToSizedBuffer ¶
func (m *QueryAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAccountResponse) ProtoMessage ¶
func (*QueryAccountResponse) ProtoMessage()
func (*QueryAccountResponse) Reset ¶
func (m *QueryAccountResponse) Reset()
func (*QueryAccountResponse) Size ¶
func (m *QueryAccountResponse) Size() (n int)
func (*QueryAccountResponse) String ¶
func (m *QueryAccountResponse) String() string
func (*QueryAccountResponse) Unmarshal ¶
func (m *QueryAccountResponse) Unmarshal(dAtA []byte) error
func (*QueryAccountResponse) XXX_DiscardUnknown ¶
func (m *QueryAccountResponse) XXX_DiscardUnknown()
func (*QueryAccountResponse) XXX_Marshal ¶
func (m *QueryAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAccountResponse) XXX_Merge ¶
func (m *QueryAccountResponse) XXX_Merge(src proto.Message)
func (*QueryAccountResponse) XXX_Size ¶
func (m *QueryAccountResponse) XXX_Size() int
func (*QueryAccountResponse) XXX_Unmarshal ¶
func (m *QueryAccountResponse) XXX_Unmarshal(b []byte) error
type QueryBalanceRequest ¶
type QueryBalanceRequest struct { // address is the ethereum hex address to query the balance for. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` }
QueryBalanceRequest is the request type for the Query/Balance RPC method.
func (*QueryBalanceRequest) Descriptor ¶
func (*QueryBalanceRequest) Descriptor() ([]byte, []int)
func (*QueryBalanceRequest) Marshal ¶
func (m *QueryBalanceRequest) Marshal() (dAtA []byte, err error)
func (*QueryBalanceRequest) MarshalTo ¶
func (m *QueryBalanceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryBalanceRequest) MarshalToSizedBuffer ¶
func (m *QueryBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBalanceRequest) ProtoMessage ¶
func (*QueryBalanceRequest) ProtoMessage()
func (*QueryBalanceRequest) Reset ¶
func (m *QueryBalanceRequest) Reset()
func (*QueryBalanceRequest) Size ¶
func (m *QueryBalanceRequest) Size() (n int)
func (*QueryBalanceRequest) String ¶
func (m *QueryBalanceRequest) String() string
func (*QueryBalanceRequest) Unmarshal ¶
func (m *QueryBalanceRequest) Unmarshal(dAtA []byte) error
func (*QueryBalanceRequest) XXX_DiscardUnknown ¶
func (m *QueryBalanceRequest) XXX_DiscardUnknown()
func (*QueryBalanceRequest) XXX_Marshal ¶
func (m *QueryBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBalanceRequest) XXX_Merge ¶
func (m *QueryBalanceRequest) XXX_Merge(src proto.Message)
func (*QueryBalanceRequest) XXX_Size ¶
func (m *QueryBalanceRequest) XXX_Size() int
func (*QueryBalanceRequest) XXX_Unmarshal ¶
func (m *QueryBalanceRequest) XXX_Unmarshal(b []byte) error
type QueryBalanceResponse ¶
type QueryBalanceResponse struct { // balance is the balance of the EVM denomination. Balance string `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"` }
QueryBalanceResponse is the response type for the Query/Balance RPC method.
func (*QueryBalanceResponse) Descriptor ¶
func (*QueryBalanceResponse) Descriptor() ([]byte, []int)
func (*QueryBalanceResponse) GetBalance ¶
func (m *QueryBalanceResponse) GetBalance() string
func (*QueryBalanceResponse) Marshal ¶
func (m *QueryBalanceResponse) Marshal() (dAtA []byte, err error)
func (*QueryBalanceResponse) MarshalTo ¶
func (m *QueryBalanceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBalanceResponse) MarshalToSizedBuffer ¶
func (m *QueryBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBalanceResponse) ProtoMessage ¶
func (*QueryBalanceResponse) ProtoMessage()
func (*QueryBalanceResponse) Reset ¶
func (m *QueryBalanceResponse) Reset()
func (*QueryBalanceResponse) Size ¶
func (m *QueryBalanceResponse) Size() (n int)
func (*QueryBalanceResponse) String ¶
func (m *QueryBalanceResponse) String() string
func (*QueryBalanceResponse) Unmarshal ¶
func (m *QueryBalanceResponse) Unmarshal(dAtA []byte) error
func (*QueryBalanceResponse) XXX_DiscardUnknown ¶
func (m *QueryBalanceResponse) XXX_DiscardUnknown()
func (*QueryBalanceResponse) XXX_Marshal ¶
func (m *QueryBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBalanceResponse) XXX_Merge ¶
func (m *QueryBalanceResponse) XXX_Merge(src proto.Message)
func (*QueryBalanceResponse) XXX_Size ¶
func (m *QueryBalanceResponse) XXX_Size() int
func (*QueryBalanceResponse) XXX_Unmarshal ¶
func (m *QueryBalanceResponse) XXX_Unmarshal(b []byte) error
type QueryBlockBloomRequest ¶
type QueryBlockBloomRequest struct {
Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
}
QueryBlockBloomRequest is the request type for the Query/BlockBloom RPC method.
func (*QueryBlockBloomRequest) Descriptor ¶
func (*QueryBlockBloomRequest) Descriptor() ([]byte, []int)
func (*QueryBlockBloomRequest) GetHeight ¶
func (m *QueryBlockBloomRequest) GetHeight() int64
func (*QueryBlockBloomRequest) Marshal ¶
func (m *QueryBlockBloomRequest) Marshal() (dAtA []byte, err error)
func (*QueryBlockBloomRequest) MarshalTo ¶
func (m *QueryBlockBloomRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryBlockBloomRequest) MarshalToSizedBuffer ¶
func (m *QueryBlockBloomRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBlockBloomRequest) ProtoMessage ¶
func (*QueryBlockBloomRequest) ProtoMessage()
func (*QueryBlockBloomRequest) Reset ¶
func (m *QueryBlockBloomRequest) Reset()
func (*QueryBlockBloomRequest) Size ¶
func (m *QueryBlockBloomRequest) Size() (n int)
func (*QueryBlockBloomRequest) String ¶
func (m *QueryBlockBloomRequest) String() string
func (*QueryBlockBloomRequest) Unmarshal ¶
func (m *QueryBlockBloomRequest) Unmarshal(dAtA []byte) error
func (*QueryBlockBloomRequest) XXX_DiscardUnknown ¶
func (m *QueryBlockBloomRequest) XXX_DiscardUnknown()
func (*QueryBlockBloomRequest) XXX_Marshal ¶
func (m *QueryBlockBloomRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBlockBloomRequest) XXX_Merge ¶
func (m *QueryBlockBloomRequest) XXX_Merge(src proto.Message)
func (*QueryBlockBloomRequest) XXX_Size ¶
func (m *QueryBlockBloomRequest) XXX_Size() int
func (*QueryBlockBloomRequest) XXX_Unmarshal ¶
func (m *QueryBlockBloomRequest) XXX_Unmarshal(b []byte) error
type QueryBlockBloomResponse ¶
type QueryBlockBloomResponse struct { // bloom represents bloom filter for the given block hash. Bloom []byte `protobuf:"bytes,1,opt,name=bloom,proto3" json:"bloom,omitempty"` }
QueryBlockBloomResponse is the response type for the Query/BlockBloom RPC method.
func (*QueryBlockBloomResponse) Descriptor ¶
func (*QueryBlockBloomResponse) Descriptor() ([]byte, []int)
func (*QueryBlockBloomResponse) GetBloom ¶
func (m *QueryBlockBloomResponse) GetBloom() []byte
func (*QueryBlockBloomResponse) Marshal ¶
func (m *QueryBlockBloomResponse) Marshal() (dAtA []byte, err error)
func (*QueryBlockBloomResponse) MarshalTo ¶
func (m *QueryBlockBloomResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBlockBloomResponse) MarshalToSizedBuffer ¶
func (m *QueryBlockBloomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBlockBloomResponse) ProtoMessage ¶
func (*QueryBlockBloomResponse) ProtoMessage()
func (*QueryBlockBloomResponse) Reset ¶
func (m *QueryBlockBloomResponse) Reset()
func (*QueryBlockBloomResponse) Size ¶
func (m *QueryBlockBloomResponse) Size() (n int)
func (*QueryBlockBloomResponse) String ¶
func (m *QueryBlockBloomResponse) String() string
func (*QueryBlockBloomResponse) Unmarshal ¶
func (m *QueryBlockBloomResponse) Unmarshal(dAtA []byte) error
func (*QueryBlockBloomResponse) XXX_DiscardUnknown ¶
func (m *QueryBlockBloomResponse) XXX_DiscardUnknown()
func (*QueryBlockBloomResponse) XXX_Marshal ¶
func (m *QueryBlockBloomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBlockBloomResponse) XXX_Merge ¶
func (m *QueryBlockBloomResponse) XXX_Merge(src proto.Message)
func (*QueryBlockBloomResponse) XXX_Size ¶
func (m *QueryBlockBloomResponse) XXX_Size() int
func (*QueryBlockBloomResponse) XXX_Unmarshal ¶
func (m *QueryBlockBloomResponse) XXX_Unmarshal(b []byte) error
type QueryBlockLogsRequest ¶
type QueryBlockLogsRequest struct { // hash is the block hash to query the logs for. Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` }
QueryBlockLogsRequest is the request type for the Query/BlockLogs RPC method.
func (*QueryBlockLogsRequest) Descriptor ¶
func (*QueryBlockLogsRequest) Descriptor() ([]byte, []int)
func (*QueryBlockLogsRequest) Marshal ¶
func (m *QueryBlockLogsRequest) Marshal() (dAtA []byte, err error)
func (*QueryBlockLogsRequest) MarshalTo ¶
func (m *QueryBlockLogsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryBlockLogsRequest) MarshalToSizedBuffer ¶
func (m *QueryBlockLogsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBlockLogsRequest) ProtoMessage ¶
func (*QueryBlockLogsRequest) ProtoMessage()
func (*QueryBlockLogsRequest) Reset ¶
func (m *QueryBlockLogsRequest) Reset()
func (*QueryBlockLogsRequest) Size ¶
func (m *QueryBlockLogsRequest) Size() (n int)
func (*QueryBlockLogsRequest) String ¶
func (m *QueryBlockLogsRequest) String() string
func (*QueryBlockLogsRequest) Unmarshal ¶
func (m *QueryBlockLogsRequest) Unmarshal(dAtA []byte) error
func (*QueryBlockLogsRequest) XXX_DiscardUnknown ¶
func (m *QueryBlockLogsRequest) XXX_DiscardUnknown()
func (*QueryBlockLogsRequest) XXX_Marshal ¶
func (m *QueryBlockLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBlockLogsRequest) XXX_Merge ¶
func (m *QueryBlockLogsRequest) XXX_Merge(src proto.Message)
func (*QueryBlockLogsRequest) XXX_Size ¶
func (m *QueryBlockLogsRequest) XXX_Size() int
func (*QueryBlockLogsRequest) XXX_Unmarshal ¶
func (m *QueryBlockLogsRequest) XXX_Unmarshal(b []byte) error
type QueryBlockLogsResponse ¶
type QueryBlockLogsResponse struct { // logs represents the ethereum logs generated at the given block hash. TxLogs []TransactionLogs `protobuf:"bytes,1,rep,name=tx_logs,json=txLogs,proto3" json:"tx_logs"` }
QueryTxLogs is the response type for the Query/BlockLogs RPC method.
func (*QueryBlockLogsResponse) Descriptor ¶
func (*QueryBlockLogsResponse) Descriptor() ([]byte, []int)
func (*QueryBlockLogsResponse) GetTxLogs ¶
func (m *QueryBlockLogsResponse) GetTxLogs() []TransactionLogs
func (*QueryBlockLogsResponse) Marshal ¶
func (m *QueryBlockLogsResponse) Marshal() (dAtA []byte, err error)
func (*QueryBlockLogsResponse) MarshalTo ¶
func (m *QueryBlockLogsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBlockLogsResponse) MarshalToSizedBuffer ¶
func (m *QueryBlockLogsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBlockLogsResponse) ProtoMessage ¶
func (*QueryBlockLogsResponse) ProtoMessage()
func (*QueryBlockLogsResponse) Reset ¶
func (m *QueryBlockLogsResponse) Reset()
func (*QueryBlockLogsResponse) Size ¶
func (m *QueryBlockLogsResponse) Size() (n int)
func (*QueryBlockLogsResponse) String ¶
func (m *QueryBlockLogsResponse) String() string
func (*QueryBlockLogsResponse) Unmarshal ¶
func (m *QueryBlockLogsResponse) Unmarshal(dAtA []byte) error
func (*QueryBlockLogsResponse) XXX_DiscardUnknown ¶
func (m *QueryBlockLogsResponse) XXX_DiscardUnknown()
func (*QueryBlockLogsResponse) XXX_Marshal ¶
func (m *QueryBlockLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBlockLogsResponse) XXX_Merge ¶
func (m *QueryBlockLogsResponse) XXX_Merge(src proto.Message)
func (*QueryBlockLogsResponse) XXX_Size ¶
func (m *QueryBlockLogsResponse) XXX_Size() int
func (*QueryBlockLogsResponse) XXX_Unmarshal ¶
func (m *QueryBlockLogsResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Account queries an Ethereum account. Account(ctx context.Context, in *QueryAccountRequest, opts ...grpc.CallOption) (*QueryAccountResponse, error) // Balance queries the balance of a the EVM denomination for a single // EthAccount. Balance(ctx context.Context, in *QueryBalanceRequest, opts ...grpc.CallOption) (*QueryBalanceResponse, error) // Storage queries the balance of all coins for a single account. Storage(ctx context.Context, in *QueryStorageRequest, opts ...grpc.CallOption) (*QueryStorageResponse, error) // Code queries the balance of all coins for a single account. Code(ctx context.Context, in *QueryCodeRequest, opts ...grpc.CallOption) (*QueryCodeResponse, error) // TxLogs queries ethereum logs from a transaction. TxLogs(ctx context.Context, in *QueryTxLogsRequest, opts ...grpc.CallOption) (*QueryTxLogsResponse, error) // TxReceipt queries a receipt by a transaction hash. TxReceipt(ctx context.Context, in *QueryTxReceiptRequest, opts ...grpc.CallOption) (*QueryTxReceiptResponse, error) // TxReceiptsByBlockHeight queries tx receipts by a block height. TxReceiptsByBlockHeight(ctx context.Context, in *QueryTxReceiptsByBlockHeightRequest, opts ...grpc.CallOption) (*QueryTxReceiptsByBlockHeightResponse, error) // TxReceiptsByBlockHash queries tx receipts by a block hash. TxReceiptsByBlockHash(ctx context.Context, in *QueryTxReceiptsByBlockHashRequest, opts ...grpc.CallOption) (*QueryTxReceiptsByBlockHashResponse, error) // BlockLogs queries all the ethereum logs for a given block hash. BlockLogs(ctx context.Context, in *QueryBlockLogsRequest, opts ...grpc.CallOption) (*QueryBlockLogsResponse, error) // BlockBloom queries the block bloom filter bytes at a given height. BlockBloom(ctx context.Context, in *QueryBlockBloomRequest, opts ...grpc.CallOption) (*QueryBlockBloomResponse, error) // Params queries the parameters of x/evm module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // StaticCall queries the static call value of x/evm module. StaticCall(ctx context.Context, in *QueryStaticCallRequest, opts ...grpc.CallOption) (*QueryStaticCallResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryCodeRequest ¶
type QueryCodeRequest struct { // address is the ethereum hex address to query the code for. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` }
QueryCodeRequest is the request type for the Query/Code RPC method.
func (*QueryCodeRequest) Descriptor ¶
func (*QueryCodeRequest) Descriptor() ([]byte, []int)
func (*QueryCodeRequest) Marshal ¶
func (m *QueryCodeRequest) Marshal() (dAtA []byte, err error)
func (*QueryCodeRequest) MarshalToSizedBuffer ¶
func (m *QueryCodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCodeRequest) ProtoMessage ¶
func (*QueryCodeRequest) ProtoMessage()
func (*QueryCodeRequest) Reset ¶
func (m *QueryCodeRequest) Reset()
func (*QueryCodeRequest) Size ¶
func (m *QueryCodeRequest) Size() (n int)
func (*QueryCodeRequest) String ¶
func (m *QueryCodeRequest) String() string
func (*QueryCodeRequest) Unmarshal ¶
func (m *QueryCodeRequest) Unmarshal(dAtA []byte) error
func (*QueryCodeRequest) XXX_DiscardUnknown ¶
func (m *QueryCodeRequest) XXX_DiscardUnknown()
func (*QueryCodeRequest) XXX_Marshal ¶
func (m *QueryCodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCodeRequest) XXX_Merge ¶
func (m *QueryCodeRequest) XXX_Merge(src proto.Message)
func (*QueryCodeRequest) XXX_Size ¶
func (m *QueryCodeRequest) XXX_Size() int
func (*QueryCodeRequest) XXX_Unmarshal ¶
func (m *QueryCodeRequest) XXX_Unmarshal(b []byte) error
type QueryCodeResponse ¶
type QueryCodeResponse struct { // code represents the code bytes from an ethereum address. Code []byte `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` }
QueryCodeResponse is the response type for the Query/Code RPC method.
func (*QueryCodeResponse) Descriptor ¶
func (*QueryCodeResponse) Descriptor() ([]byte, []int)
func (*QueryCodeResponse) GetCode ¶
func (m *QueryCodeResponse) GetCode() []byte
func (*QueryCodeResponse) Marshal ¶
func (m *QueryCodeResponse) Marshal() (dAtA []byte, err error)
func (*QueryCodeResponse) MarshalTo ¶
func (m *QueryCodeResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCodeResponse) MarshalToSizedBuffer ¶
func (m *QueryCodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCodeResponse) ProtoMessage ¶
func (*QueryCodeResponse) ProtoMessage()
func (*QueryCodeResponse) Reset ¶
func (m *QueryCodeResponse) Reset()
func (*QueryCodeResponse) Size ¶
func (m *QueryCodeResponse) Size() (n int)
func (*QueryCodeResponse) String ¶
func (m *QueryCodeResponse) String() string
func (*QueryCodeResponse) Unmarshal ¶
func (m *QueryCodeResponse) Unmarshal(dAtA []byte) error
func (*QueryCodeResponse) XXX_DiscardUnknown ¶
func (m *QueryCodeResponse) XXX_DiscardUnknown()
func (*QueryCodeResponse) XXX_Marshal ¶
func (m *QueryCodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCodeResponse) XXX_Merge ¶
func (m *QueryCodeResponse) XXX_Merge(src proto.Message)
func (*QueryCodeResponse) XXX_Size ¶
func (m *QueryCodeResponse) XXX_Size() int
func (*QueryCodeResponse) XXX_Unmarshal ¶
func (m *QueryCodeResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest defines the request type for querying x/evm parameters.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params define the evm module parameters. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse defines the response type for querying x/evm parameters.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Account queries an Ethereum account. Account(context.Context, *QueryAccountRequest) (*QueryAccountResponse, error) // Balance queries the balance of a the EVM denomination for a single // EthAccount. Balance(context.Context, *QueryBalanceRequest) (*QueryBalanceResponse, error) // Storage queries the balance of all coins for a single account. Storage(context.Context, *QueryStorageRequest) (*QueryStorageResponse, error) // Code queries the balance of all coins for a single account. Code(context.Context, *QueryCodeRequest) (*QueryCodeResponse, error) // TxLogs queries ethereum logs from a transaction. TxLogs(context.Context, *QueryTxLogsRequest) (*QueryTxLogsResponse, error) // TxReceipt queries a receipt by a transaction hash. TxReceipt(context.Context, *QueryTxReceiptRequest) (*QueryTxReceiptResponse, error) // TxReceiptsByBlockHeight queries tx receipts by a block height. TxReceiptsByBlockHeight(context.Context, *QueryTxReceiptsByBlockHeightRequest) (*QueryTxReceiptsByBlockHeightResponse, error) // TxReceiptsByBlockHash queries tx receipts by a block hash. TxReceiptsByBlockHash(context.Context, *QueryTxReceiptsByBlockHashRequest) (*QueryTxReceiptsByBlockHashResponse, error) // BlockLogs queries all the ethereum logs for a given block hash. BlockLogs(context.Context, *QueryBlockLogsRequest) (*QueryBlockLogsResponse, error) // BlockBloom queries the block bloom filter bytes at a given height. BlockBloom(context.Context, *QueryBlockBloomRequest) (*QueryBlockBloomResponse, error) // Params queries the parameters of x/evm module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // StaticCall queries the static call value of x/evm module. StaticCall(context.Context, *QueryStaticCallRequest) (*QueryStaticCallResponse, error) }
QueryServer is the server API for Query service.
type QueryStaticCallRequest ¶
type QueryStaticCallRequest struct { // address is the ethereum contract hex address to for static call. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // static call input generated from abi Input []byte `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"` }
QueryStaticCallRequest defines static call request
func (*QueryStaticCallRequest) Descriptor ¶
func (*QueryStaticCallRequest) Descriptor() ([]byte, []int)
func (*QueryStaticCallRequest) GetAddress ¶
func (m *QueryStaticCallRequest) GetAddress() string
func (*QueryStaticCallRequest) GetInput ¶
func (m *QueryStaticCallRequest) GetInput() []byte
func (*QueryStaticCallRequest) Marshal ¶
func (m *QueryStaticCallRequest) Marshal() (dAtA []byte, err error)
func (*QueryStaticCallRequest) MarshalTo ¶
func (m *QueryStaticCallRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryStaticCallRequest) MarshalToSizedBuffer ¶
func (m *QueryStaticCallRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStaticCallRequest) ProtoMessage ¶
func (*QueryStaticCallRequest) ProtoMessage()
func (*QueryStaticCallRequest) Reset ¶
func (m *QueryStaticCallRequest) Reset()
func (*QueryStaticCallRequest) Size ¶
func (m *QueryStaticCallRequest) Size() (n int)
func (*QueryStaticCallRequest) String ¶
func (m *QueryStaticCallRequest) String() string
func (*QueryStaticCallRequest) Unmarshal ¶
func (m *QueryStaticCallRequest) Unmarshal(dAtA []byte) error
func (*QueryStaticCallRequest) XXX_DiscardUnknown ¶
func (m *QueryStaticCallRequest) XXX_DiscardUnknown()
func (*QueryStaticCallRequest) XXX_Marshal ¶
func (m *QueryStaticCallRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStaticCallRequest) XXX_Merge ¶
func (m *QueryStaticCallRequest) XXX_Merge(src proto.Message)
func (*QueryStaticCallRequest) XXX_Size ¶
func (m *QueryStaticCallRequest) XXX_Size() int
func (*QueryStaticCallRequest) XXX_Unmarshal ¶
func (m *QueryStaticCallRequest) XXX_Unmarshal(b []byte) error
type QueryStaticCallResponse ¶
type QueryStaticCallResponse struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
// QueryStaticCallRequest defines static call response
func (*QueryStaticCallResponse) Descriptor ¶
func (*QueryStaticCallResponse) Descriptor() ([]byte, []int)
func (*QueryStaticCallResponse) GetData ¶
func (m *QueryStaticCallResponse) GetData() []byte
func (*QueryStaticCallResponse) Marshal ¶
func (m *QueryStaticCallResponse) Marshal() (dAtA []byte, err error)
func (*QueryStaticCallResponse) MarshalTo ¶
func (m *QueryStaticCallResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryStaticCallResponse) MarshalToSizedBuffer ¶
func (m *QueryStaticCallResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStaticCallResponse) ProtoMessage ¶
func (*QueryStaticCallResponse) ProtoMessage()
func (*QueryStaticCallResponse) Reset ¶
func (m *QueryStaticCallResponse) Reset()
func (*QueryStaticCallResponse) Size ¶
func (m *QueryStaticCallResponse) Size() (n int)
func (*QueryStaticCallResponse) String ¶
func (m *QueryStaticCallResponse) String() string
func (*QueryStaticCallResponse) Unmarshal ¶
func (m *QueryStaticCallResponse) Unmarshal(dAtA []byte) error
func (*QueryStaticCallResponse) XXX_DiscardUnknown ¶
func (m *QueryStaticCallResponse) XXX_DiscardUnknown()
func (*QueryStaticCallResponse) XXX_Marshal ¶
func (m *QueryStaticCallResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStaticCallResponse) XXX_Merge ¶
func (m *QueryStaticCallResponse) XXX_Merge(src proto.Message)
func (*QueryStaticCallResponse) XXX_Size ¶
func (m *QueryStaticCallResponse) XXX_Size() int
func (*QueryStaticCallResponse) XXX_Unmarshal ¶
func (m *QueryStaticCallResponse) XXX_Unmarshal(b []byte) error
type QueryStorageRequest ¶
type QueryStorageRequest struct { /// address is the ethereum hex address to query the storage state for. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // key defines the key of the storage state Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` }
QueryStorageRequest is the request type for the Query/Storage RPC method.
func (*QueryStorageRequest) Descriptor ¶
func (*QueryStorageRequest) Descriptor() ([]byte, []int)
func (*QueryStorageRequest) Marshal ¶
func (m *QueryStorageRequest) Marshal() (dAtA []byte, err error)
func (*QueryStorageRequest) MarshalTo ¶
func (m *QueryStorageRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryStorageRequest) MarshalToSizedBuffer ¶
func (m *QueryStorageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStorageRequest) ProtoMessage ¶
func (*QueryStorageRequest) ProtoMessage()
func (*QueryStorageRequest) Reset ¶
func (m *QueryStorageRequest) Reset()
func (*QueryStorageRequest) Size ¶
func (m *QueryStorageRequest) Size() (n int)
func (*QueryStorageRequest) String ¶
func (m *QueryStorageRequest) String() string
func (*QueryStorageRequest) Unmarshal ¶
func (m *QueryStorageRequest) Unmarshal(dAtA []byte) error
func (*QueryStorageRequest) XXX_DiscardUnknown ¶
func (m *QueryStorageRequest) XXX_DiscardUnknown()
func (*QueryStorageRequest) XXX_Marshal ¶
func (m *QueryStorageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStorageRequest) XXX_Merge ¶
func (m *QueryStorageRequest) XXX_Merge(src proto.Message)
func (*QueryStorageRequest) XXX_Size ¶
func (m *QueryStorageRequest) XXX_Size() int
func (*QueryStorageRequest) XXX_Unmarshal ¶
func (m *QueryStorageRequest) XXX_Unmarshal(b []byte) error
type QueryStorageResponse ¶
type QueryStorageResponse struct { // key defines the storage state value hash associated with the given key. Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` }
QueryStorageResponse is the response type for the Query/Storage RPC method.
func (*QueryStorageResponse) Descriptor ¶
func (*QueryStorageResponse) Descriptor() ([]byte, []int)
func (*QueryStorageResponse) GetValue ¶
func (m *QueryStorageResponse) GetValue() string
func (*QueryStorageResponse) Marshal ¶
func (m *QueryStorageResponse) Marshal() (dAtA []byte, err error)
func (*QueryStorageResponse) MarshalTo ¶
func (m *QueryStorageResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryStorageResponse) MarshalToSizedBuffer ¶
func (m *QueryStorageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStorageResponse) ProtoMessage ¶
func (*QueryStorageResponse) ProtoMessage()
func (*QueryStorageResponse) Reset ¶
func (m *QueryStorageResponse) Reset()
func (*QueryStorageResponse) Size ¶
func (m *QueryStorageResponse) Size() (n int)
func (*QueryStorageResponse) String ¶
func (m *QueryStorageResponse) String() string
func (*QueryStorageResponse) Unmarshal ¶
func (m *QueryStorageResponse) Unmarshal(dAtA []byte) error
func (*QueryStorageResponse) XXX_DiscardUnknown ¶
func (m *QueryStorageResponse) XXX_DiscardUnknown()
func (*QueryStorageResponse) XXX_Marshal ¶
func (m *QueryStorageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStorageResponse) XXX_Merge ¶
func (m *QueryStorageResponse) XXX_Merge(src proto.Message)
func (*QueryStorageResponse) XXX_Size ¶
func (m *QueryStorageResponse) XXX_Size() int
func (*QueryStorageResponse) XXX_Unmarshal ¶
func (m *QueryStorageResponse) XXX_Unmarshal(b []byte) error
type 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"` }
QueryTxLogsRequest is the request type for the Query/TxLogs RPC method.
func (*QueryTxLogsRequest) Descriptor ¶
func (*QueryTxLogsRequest) Descriptor() ([]byte, []int)
func (*QueryTxLogsRequest) Marshal ¶
func (m *QueryTxLogsRequest) Marshal() (dAtA []byte, err error)
func (*QueryTxLogsRequest) MarshalTo ¶
func (m *QueryTxLogsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTxLogsRequest) MarshalToSizedBuffer ¶
func (m *QueryTxLogsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTxLogsRequest) ProtoMessage ¶
func (*QueryTxLogsRequest) ProtoMessage()
func (*QueryTxLogsRequest) Reset ¶
func (m *QueryTxLogsRequest) Reset()
func (*QueryTxLogsRequest) Size ¶
func (m *QueryTxLogsRequest) Size() (n int)
func (*QueryTxLogsRequest) String ¶
func (m *QueryTxLogsRequest) String() string
func (*QueryTxLogsRequest) Unmarshal ¶
func (m *QueryTxLogsRequest) Unmarshal(dAtA []byte) error
func (*QueryTxLogsRequest) XXX_DiscardUnknown ¶
func (m *QueryTxLogsRequest) XXX_DiscardUnknown()
func (*QueryTxLogsRequest) XXX_Marshal ¶
func (m *QueryTxLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTxLogsRequest) XXX_Merge ¶
func (m *QueryTxLogsRequest) XXX_Merge(src proto.Message)
func (*QueryTxLogsRequest) XXX_Size ¶
func (m *QueryTxLogsRequest) XXX_Size() int
func (*QueryTxLogsRequest) XXX_Unmarshal ¶
func (m *QueryTxLogsRequest) XXX_Unmarshal(b []byte) error
type QueryTxLogsResponse ¶
type QueryTxLogsResponse struct { // logs represents the ethereum logs generated from the given transaction. Logs []*Log `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` }
QueryTxLogs is the response type for the Query/TxLogs RPC method.
func (*QueryTxLogsResponse) Descriptor ¶
func (*QueryTxLogsResponse) Descriptor() ([]byte, []int)
func (*QueryTxLogsResponse) GetLogs ¶
func (m *QueryTxLogsResponse) GetLogs() []*Log
func (*QueryTxLogsResponse) Marshal ¶
func (m *QueryTxLogsResponse) Marshal() (dAtA []byte, err error)
func (*QueryTxLogsResponse) MarshalTo ¶
func (m *QueryTxLogsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTxLogsResponse) MarshalToSizedBuffer ¶
func (m *QueryTxLogsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTxLogsResponse) ProtoMessage ¶
func (*QueryTxLogsResponse) ProtoMessage()
func (*QueryTxLogsResponse) Reset ¶
func (m *QueryTxLogsResponse) Reset()
func (*QueryTxLogsResponse) Size ¶
func (m *QueryTxLogsResponse) Size() (n int)
func (*QueryTxLogsResponse) String ¶
func (m *QueryTxLogsResponse) String() string
func (*QueryTxLogsResponse) Unmarshal ¶
func (m *QueryTxLogsResponse) Unmarshal(dAtA []byte) error
func (*QueryTxLogsResponse) XXX_DiscardUnknown ¶
func (m *QueryTxLogsResponse) XXX_DiscardUnknown()
func (*QueryTxLogsResponse) XXX_Marshal ¶
func (m *QueryTxLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTxLogsResponse) XXX_Merge ¶
func (m *QueryTxLogsResponse) XXX_Merge(src proto.Message)
func (*QueryTxLogsResponse) XXX_Size ¶
func (m *QueryTxLogsResponse) XXX_Size() int
func (*QueryTxLogsResponse) XXX_Unmarshal ¶
func (m *QueryTxLogsResponse) XXX_Unmarshal(b []byte) error
type QueryTxReceiptRequest ¶
type QueryTxReceiptRequest struct { // hash is the ethereum transaction hex hash to query the receipt for. Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` }
QueryTxReceiptRequest is the request type for the Query/TxReceipt RPC method.
func (*QueryTxReceiptRequest) Descriptor ¶
func (*QueryTxReceiptRequest) Descriptor() ([]byte, []int)
func (*QueryTxReceiptRequest) Marshal ¶
func (m *QueryTxReceiptRequest) Marshal() (dAtA []byte, err error)
func (*QueryTxReceiptRequest) MarshalTo ¶
func (m *QueryTxReceiptRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTxReceiptRequest) MarshalToSizedBuffer ¶
func (m *QueryTxReceiptRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTxReceiptRequest) ProtoMessage ¶
func (*QueryTxReceiptRequest) ProtoMessage()
func (*QueryTxReceiptRequest) Reset ¶
func (m *QueryTxReceiptRequest) Reset()
func (*QueryTxReceiptRequest) Size ¶
func (m *QueryTxReceiptRequest) Size() (n int)
func (*QueryTxReceiptRequest) String ¶
func (m *QueryTxReceiptRequest) String() string
func (*QueryTxReceiptRequest) Unmarshal ¶
func (m *QueryTxReceiptRequest) Unmarshal(dAtA []byte) error
func (*QueryTxReceiptRequest) XXX_DiscardUnknown ¶
func (m *QueryTxReceiptRequest) XXX_DiscardUnknown()
func (*QueryTxReceiptRequest) XXX_Marshal ¶
func (m *QueryTxReceiptRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTxReceiptRequest) XXX_Merge ¶
func (m *QueryTxReceiptRequest) XXX_Merge(src proto.Message)
func (*QueryTxReceiptRequest) XXX_Size ¶
func (m *QueryTxReceiptRequest) XXX_Size() int
func (*QueryTxReceiptRequest) XXX_Unmarshal ¶
func (m *QueryTxReceiptRequest) XXX_Unmarshal(b []byte) error
type QueryTxReceiptResponse ¶
type QueryTxReceiptResponse struct { // receipt represents the ethereum receipt for the given transaction. Receipt *TxReceipt `protobuf:"bytes,1,opt,name=receipt,proto3" json:"receipt,omitempty"` }
QueryTxReceiptResponse is the response type for the Query/TxReceipt RPC method.
func (*QueryTxReceiptResponse) Descriptor ¶
func (*QueryTxReceiptResponse) Descriptor() ([]byte, []int)
func (*QueryTxReceiptResponse) GetReceipt ¶
func (m *QueryTxReceiptResponse) GetReceipt() *TxReceipt
func (*QueryTxReceiptResponse) Marshal ¶
func (m *QueryTxReceiptResponse) Marshal() (dAtA []byte, err error)
func (*QueryTxReceiptResponse) MarshalTo ¶
func (m *QueryTxReceiptResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTxReceiptResponse) MarshalToSizedBuffer ¶
func (m *QueryTxReceiptResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTxReceiptResponse) ProtoMessage ¶
func (*QueryTxReceiptResponse) ProtoMessage()
func (*QueryTxReceiptResponse) Reset ¶
func (m *QueryTxReceiptResponse) Reset()
func (*QueryTxReceiptResponse) Size ¶
func (m *QueryTxReceiptResponse) Size() (n int)
func (*QueryTxReceiptResponse) String ¶
func (m *QueryTxReceiptResponse) String() string
func (*QueryTxReceiptResponse) Unmarshal ¶
func (m *QueryTxReceiptResponse) Unmarshal(dAtA []byte) error
func (*QueryTxReceiptResponse) XXX_DiscardUnknown ¶
func (m *QueryTxReceiptResponse) XXX_DiscardUnknown()
func (*QueryTxReceiptResponse) XXX_Marshal ¶
func (m *QueryTxReceiptResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTxReceiptResponse) XXX_Merge ¶
func (m *QueryTxReceiptResponse) XXX_Merge(src proto.Message)
func (*QueryTxReceiptResponse) XXX_Size ¶
func (m *QueryTxReceiptResponse) XXX_Size() int
func (*QueryTxReceiptResponse) XXX_Unmarshal ¶
func (m *QueryTxReceiptResponse) XXX_Unmarshal(b []byte) error
type QueryTxReceiptsByBlockHashRequest ¶
type QueryTxReceiptsByBlockHashRequest struct { // hash is the ethereum transaction hex hash to query the receipt for. Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` }
QueryTxReceiptsByBlockHashRequest is the request type for the Query/TxReceiptsByBlockHash RPC method.
func (*QueryTxReceiptsByBlockHashRequest) Descriptor ¶
func (*QueryTxReceiptsByBlockHashRequest) Descriptor() ([]byte, []int)
func (*QueryTxReceiptsByBlockHashRequest) Marshal ¶
func (m *QueryTxReceiptsByBlockHashRequest) Marshal() (dAtA []byte, err error)
func (*QueryTxReceiptsByBlockHashRequest) MarshalTo ¶
func (m *QueryTxReceiptsByBlockHashRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTxReceiptsByBlockHashRequest) MarshalToSizedBuffer ¶
func (m *QueryTxReceiptsByBlockHashRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTxReceiptsByBlockHashRequest) ProtoMessage ¶
func (*QueryTxReceiptsByBlockHashRequest) ProtoMessage()
func (*QueryTxReceiptsByBlockHashRequest) Reset ¶
func (m *QueryTxReceiptsByBlockHashRequest) Reset()
func (*QueryTxReceiptsByBlockHashRequest) Size ¶
func (m *QueryTxReceiptsByBlockHashRequest) Size() (n int)
func (*QueryTxReceiptsByBlockHashRequest) String ¶
func (m *QueryTxReceiptsByBlockHashRequest) String() string
func (*QueryTxReceiptsByBlockHashRequest) Unmarshal ¶
func (m *QueryTxReceiptsByBlockHashRequest) Unmarshal(dAtA []byte) error
func (*QueryTxReceiptsByBlockHashRequest) XXX_DiscardUnknown ¶
func (m *QueryTxReceiptsByBlockHashRequest) XXX_DiscardUnknown()
func (*QueryTxReceiptsByBlockHashRequest) XXX_Marshal ¶
func (m *QueryTxReceiptsByBlockHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTxReceiptsByBlockHashRequest) XXX_Merge ¶
func (m *QueryTxReceiptsByBlockHashRequest) XXX_Merge(src proto.Message)
func (*QueryTxReceiptsByBlockHashRequest) XXX_Size ¶
func (m *QueryTxReceiptsByBlockHashRequest) XXX_Size() int
func (*QueryTxReceiptsByBlockHashRequest) XXX_Unmarshal ¶
func (m *QueryTxReceiptsByBlockHashRequest) XXX_Unmarshal(b []byte) error
type QueryTxReceiptsByBlockHashResponse ¶
type QueryTxReceiptsByBlockHashResponse struct { // tx receipts list for the block Receipts []*TxReceipt `protobuf:"bytes,1,rep,name=receipts,proto3" json:"receipts,omitempty"` }
QueryTxReceiptsByBlockHashResponse is the response type for the Query/TxReceiptsByBlockHash RPC method.
func (*QueryTxReceiptsByBlockHashResponse) Descriptor ¶
func (*QueryTxReceiptsByBlockHashResponse) Descriptor() ([]byte, []int)
func (*QueryTxReceiptsByBlockHashResponse) GetReceipts ¶
func (m *QueryTxReceiptsByBlockHashResponse) GetReceipts() []*TxReceipt
func (*QueryTxReceiptsByBlockHashResponse) Marshal ¶
func (m *QueryTxReceiptsByBlockHashResponse) Marshal() (dAtA []byte, err error)
func (*QueryTxReceiptsByBlockHashResponse) MarshalTo ¶
func (m *QueryTxReceiptsByBlockHashResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTxReceiptsByBlockHashResponse) MarshalToSizedBuffer ¶
func (m *QueryTxReceiptsByBlockHashResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTxReceiptsByBlockHashResponse) ProtoMessage ¶
func (*QueryTxReceiptsByBlockHashResponse) ProtoMessage()
func (*QueryTxReceiptsByBlockHashResponse) Reset ¶
func (m *QueryTxReceiptsByBlockHashResponse) Reset()
func (*QueryTxReceiptsByBlockHashResponse) Size ¶
func (m *QueryTxReceiptsByBlockHashResponse) Size() (n int)
func (*QueryTxReceiptsByBlockHashResponse) String ¶
func (m *QueryTxReceiptsByBlockHashResponse) String() string
func (*QueryTxReceiptsByBlockHashResponse) Unmarshal ¶
func (m *QueryTxReceiptsByBlockHashResponse) Unmarshal(dAtA []byte) error
func (*QueryTxReceiptsByBlockHashResponse) XXX_DiscardUnknown ¶
func (m *QueryTxReceiptsByBlockHashResponse) XXX_DiscardUnknown()
func (*QueryTxReceiptsByBlockHashResponse) XXX_Marshal ¶
func (m *QueryTxReceiptsByBlockHashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTxReceiptsByBlockHashResponse) XXX_Merge ¶
func (m *QueryTxReceiptsByBlockHashResponse) XXX_Merge(src proto.Message)
func (*QueryTxReceiptsByBlockHashResponse) XXX_Size ¶
func (m *QueryTxReceiptsByBlockHashResponse) XXX_Size() int
func (*QueryTxReceiptsByBlockHashResponse) XXX_Unmarshal ¶
func (m *QueryTxReceiptsByBlockHashResponse) XXX_Unmarshal(b []byte) error
type QueryTxReceiptsByBlockHeightRequest ¶
type QueryTxReceiptsByBlockHeightRequest struct { // height is the block height to query tx receipts for Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` }
QueryTxReceiptsByBlockHeightRequest is the request type for the Query/TxReceiptsByBlockHeight RPC method.
func (*QueryTxReceiptsByBlockHeightRequest) Descriptor ¶
func (*QueryTxReceiptsByBlockHeightRequest) Descriptor() ([]byte, []int)
func (*QueryTxReceiptsByBlockHeightRequest) Marshal ¶
func (m *QueryTxReceiptsByBlockHeightRequest) Marshal() (dAtA []byte, err error)
func (*QueryTxReceiptsByBlockHeightRequest) MarshalTo ¶
func (m *QueryTxReceiptsByBlockHeightRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTxReceiptsByBlockHeightRequest) MarshalToSizedBuffer ¶
func (m *QueryTxReceiptsByBlockHeightRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTxReceiptsByBlockHeightRequest) ProtoMessage ¶
func (*QueryTxReceiptsByBlockHeightRequest) ProtoMessage()
func (*QueryTxReceiptsByBlockHeightRequest) Reset ¶
func (m *QueryTxReceiptsByBlockHeightRequest) Reset()
func (*QueryTxReceiptsByBlockHeightRequest) Size ¶
func (m *QueryTxReceiptsByBlockHeightRequest) Size() (n int)
func (*QueryTxReceiptsByBlockHeightRequest) String ¶
func (m *QueryTxReceiptsByBlockHeightRequest) String() string
func (*QueryTxReceiptsByBlockHeightRequest) Unmarshal ¶
func (m *QueryTxReceiptsByBlockHeightRequest) Unmarshal(dAtA []byte) error
func (*QueryTxReceiptsByBlockHeightRequest) XXX_DiscardUnknown ¶
func (m *QueryTxReceiptsByBlockHeightRequest) XXX_DiscardUnknown()
func (*QueryTxReceiptsByBlockHeightRequest) XXX_Marshal ¶
func (m *QueryTxReceiptsByBlockHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTxReceiptsByBlockHeightRequest) XXX_Merge ¶
func (m *QueryTxReceiptsByBlockHeightRequest) XXX_Merge(src proto.Message)
func (*QueryTxReceiptsByBlockHeightRequest) XXX_Size ¶
func (m *QueryTxReceiptsByBlockHeightRequest) XXX_Size() int
func (*QueryTxReceiptsByBlockHeightRequest) XXX_Unmarshal ¶
func (m *QueryTxReceiptsByBlockHeightRequest) XXX_Unmarshal(b []byte) error
type QueryTxReceiptsByBlockHeightResponse ¶
type QueryTxReceiptsByBlockHeightResponse struct { // tx receipts list for the block Receipts []*TxReceipt `protobuf:"bytes,1,rep,name=receipts,proto3" json:"receipts,omitempty"` }
QueryTxReceiptsByBlockHeightResponse is the response type for the Query/TxReceiptsByBlockHeight RPC method.
func (*QueryTxReceiptsByBlockHeightResponse) Descriptor ¶
func (*QueryTxReceiptsByBlockHeightResponse) Descriptor() ([]byte, []int)
func (*QueryTxReceiptsByBlockHeightResponse) GetReceipts ¶
func (m *QueryTxReceiptsByBlockHeightResponse) GetReceipts() []*TxReceipt
func (*QueryTxReceiptsByBlockHeightResponse) Marshal ¶
func (m *QueryTxReceiptsByBlockHeightResponse) Marshal() (dAtA []byte, err error)
func (*QueryTxReceiptsByBlockHeightResponse) MarshalTo ¶
func (m *QueryTxReceiptsByBlockHeightResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTxReceiptsByBlockHeightResponse) MarshalToSizedBuffer ¶
func (m *QueryTxReceiptsByBlockHeightResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTxReceiptsByBlockHeightResponse) ProtoMessage ¶
func (*QueryTxReceiptsByBlockHeightResponse) ProtoMessage()
func (*QueryTxReceiptsByBlockHeightResponse) Reset ¶
func (m *QueryTxReceiptsByBlockHeightResponse) Reset()
func (*QueryTxReceiptsByBlockHeightResponse) Size ¶
func (m *QueryTxReceiptsByBlockHeightResponse) Size() (n int)
func (*QueryTxReceiptsByBlockHeightResponse) String ¶
func (m *QueryTxReceiptsByBlockHeightResponse) String() string
func (*QueryTxReceiptsByBlockHeightResponse) Unmarshal ¶
func (m *QueryTxReceiptsByBlockHeightResponse) Unmarshal(dAtA []byte) error
func (*QueryTxReceiptsByBlockHeightResponse) XXX_DiscardUnknown ¶
func (m *QueryTxReceiptsByBlockHeightResponse) XXX_DiscardUnknown()
func (*QueryTxReceiptsByBlockHeightResponse) XXX_Marshal ¶
func (m *QueryTxReceiptsByBlockHeightResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTxReceiptsByBlockHeightResponse) XXX_Merge ¶
func (m *QueryTxReceiptsByBlockHeightResponse) XXX_Merge(src proto.Message)
func (*QueryTxReceiptsByBlockHeightResponse) XXX_Size ¶
func (m *QueryTxReceiptsByBlockHeightResponse) XXX_Size() int
func (*QueryTxReceiptsByBlockHeightResponse) XXX_Unmarshal ¶
func (m *QueryTxReceiptsByBlockHeightResponse) XXX_Unmarshal(b []byte) error
type SigCache ¶
type SigCache struct { Signer *EIP155Signer `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` Address []byte `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` }
SigCache is used to cache the derived sender and contains the signer used to derive it.
func (*SigCache) Descriptor ¶
func (*SigCache) MarshalToSizedBuffer ¶
func (*SigCache) ProtoMessage ¶
func (*SigCache) ProtoMessage()
func (*SigCache) XXX_DiscardUnknown ¶
func (m *SigCache) XXX_DiscardUnknown()
func (*SigCache) XXX_Marshal ¶
func (*SigCache) XXX_Unmarshal ¶
type State ¶
type State struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` }
State represents a single Storage key value pair item.
func (*State) Descriptor ¶
func (*State) ProtoMessage ¶
func (*State) ProtoMessage()
func (*State) XXX_DiscardUnknown ¶
func (m *State) XXX_DiscardUnknown()
func (*State) XXX_Marshal ¶
func (*State) XXX_Unmarshal ¶
type TransactionLogs ¶
type TransactionLogs struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Logs []*Log `protobuf:"bytes,2,rep,name=logs,proto3" json:"logs,omitempty"` }
TransactionLogs define the logs generated from a transaction execution with a given hash. It it used for import/export data as transactions are not persisted on blockchain state after an upgrade.
func DecodeTransactionLogs ¶
func DecodeTransactionLogs(data []byte) (TransactionLogs, error)
DecodeTxResponse decodes an protobuf-encoded byte slice into TransactionLogs
func (*TransactionLogs) Descriptor ¶
func (*TransactionLogs) Descriptor() ([]byte, []int)
func (*TransactionLogs) GetHash ¶
func (m *TransactionLogs) GetHash() string
func (*TransactionLogs) GetLogs ¶
func (m *TransactionLogs) GetLogs() []*Log
func (*TransactionLogs) Marshal ¶
func (m *TransactionLogs) Marshal() (dAtA []byte, err error)
func (*TransactionLogs) MarshalToSizedBuffer ¶
func (m *TransactionLogs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TransactionLogs) ProtoMessage ¶
func (*TransactionLogs) ProtoMessage()
func (*TransactionLogs) Reset ¶
func (m *TransactionLogs) Reset()
func (*TransactionLogs) Size ¶
func (m *TransactionLogs) Size() (n int)
func (*TransactionLogs) String ¶
func (m *TransactionLogs) String() string
func (*TransactionLogs) Unmarshal ¶
func (m *TransactionLogs) Unmarshal(dAtA []byte) error
func (*TransactionLogs) XXX_DiscardUnknown ¶
func (m *TransactionLogs) XXX_DiscardUnknown()
func (*TransactionLogs) XXX_Marshal ¶
func (m *TransactionLogs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionLogs) XXX_Merge ¶
func (m *TransactionLogs) XXX_Merge(src proto.Message)
func (*TransactionLogs) XXX_Size ¶
func (m *TransactionLogs) XXX_Size() int
func (*TransactionLogs) XXX_Unmarshal ¶
func (m *TransactionLogs) XXX_Unmarshal(b []byte) error
type TxData ¶
type TxData struct { AccountNonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` Price []byte `protobuf:"bytes,2,opt,name=price,proto3" json:"gasPrice"` GasLimit uint64 `protobuf:"varint,3,opt,name=gas,proto3" json:"gas,omitempty"` Recipient []byte `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"` Amount []byte `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` Payload []byte `protobuf:"bytes,6,opt,name=input,proto3" json:"input,omitempty"` // signature values V []byte `protobuf:"bytes,7,opt,name=v,proto3" json:"v,omitempty"` R []byte `protobuf:"bytes,8,opt,name=r,proto3" json:"r,omitempty"` S []byte `protobuf:"bytes,9,opt,name=s,proto3" json:"s,omitempty"` // hash defines the tx data hash, which is only used when marshaling to JSON. Hash string `protobuf:"bytes,10,opt,name=hash,proto3" json:"hash,omitempty" rlp:"-"` }
TxData implements the Ethereum transaction data structure. It is used solely as intended in Ethereum abiding by the protocol.
func (*TxData) Descriptor ¶
func (*TxData) MarshalToSizedBuffer ¶
func (*TxData) ProtoMessage ¶
func (*TxData) ProtoMessage()
func (*TxData) XXX_DiscardUnknown ¶
func (m *TxData) XXX_DiscardUnknown()
func (*TxData) XXX_Marshal ¶
func (*TxData) XXX_Unmarshal ¶
type TxReceipt ¶
type TxReceipt struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` From []byte `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` Data *TxData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` Result *TxResult `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` Index uint64 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"` BlockHeight uint64 `protobuf:"varint,6,opt,name=blockHeight,proto3" json:"blockHeight,omitempty"` BlockHash []byte `protobuf:"bytes,7,opt,name=blockHash,proto3" json:"blockHash,omitempty"` }
TxReceipt defines the receipt type stored in KV for each EVM transaction.
func (*TxReceipt) Descriptor ¶
func (*TxReceipt) MarshalToSizedBuffer ¶
func (*TxReceipt) ProtoMessage ¶
func (*TxReceipt) ProtoMessage()
func (*TxReceipt) XXX_DiscardUnknown ¶
func (m *TxReceipt) XXX_DiscardUnknown()
func (*TxReceipt) XXX_Marshal ¶
func (*TxReceipt) XXX_Unmarshal ¶
type TxResult ¶
type TxResult struct { // contract_address contains the ethereum address of the created contract (if // any). If the state transition is an evm.Call, the contract address will be // empty. ContractAddress string `` /* 130-byte string literal not displayed */ // bloom represents the bloom filter bytes Bloom []byte `protobuf:"bytes,2,opt,name=bloom,proto3" json:"bloom,omitempty"` // tx_logs contains the transaction hash and the proto-compatible ethereum // logs. TxLogs TransactionLogs `protobuf:"bytes,3,opt,name=tx_logs,json=txLogs,proto3" json:"tx_logs" yaml:"tx_logs"` // ret defines the bytes from the execution. Ret []byte `protobuf:"bytes,4,opt,name=ret,proto3" json:"ret,omitempty"` // reverted flag is set to true when the call has been reverted Reverted bool `protobuf:"varint,5,opt,name=reverted,proto3" json:"reverted,omitempty"` // gas_used notes the amount of gas consumed while execution GasUsed uint64 `protobuf:"varint,6,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` }
TxResult stores results of Tx execution.
func (*TxResult) Descriptor ¶
func (*TxResult) MarshalToSizedBuffer ¶
func (*TxResult) ProtoMessage ¶
func (*TxResult) ProtoMessage()
func (*TxResult) XXX_DiscardUnknown ¶
func (m *TxResult) XXX_DiscardUnknown()
func (*TxResult) XXX_Marshal ¶
func (*TxResult) XXX_Unmarshal ¶
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) EthereumTx ¶
func (*UnimplementedMsgServer) EthereumTx(ctx context.Context, req *MsgEthereumTx) (*MsgEthereumTxResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Account ¶
func (*UnimplementedQueryServer) Account(ctx context.Context, req *QueryAccountRequest) (*QueryAccountResponse, error)
func (*UnimplementedQueryServer) Balance ¶
func (*UnimplementedQueryServer) Balance(ctx context.Context, req *QueryBalanceRequest) (*QueryBalanceResponse, error)
func (*UnimplementedQueryServer) BlockBloom ¶
func (*UnimplementedQueryServer) BlockBloom(ctx context.Context, req *QueryBlockBloomRequest) (*QueryBlockBloomResponse, error)
func (*UnimplementedQueryServer) BlockLogs ¶
func (*UnimplementedQueryServer) BlockLogs(ctx context.Context, req *QueryBlockLogsRequest) (*QueryBlockLogsResponse, error)
func (*UnimplementedQueryServer) Code ¶
func (*UnimplementedQueryServer) Code(ctx context.Context, req *QueryCodeRequest) (*QueryCodeResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) StaticCall ¶
func (*UnimplementedQueryServer) StaticCall(ctx context.Context, req *QueryStaticCallRequest) (*QueryStaticCallResponse, error)
func (*UnimplementedQueryServer) Storage ¶
func (*UnimplementedQueryServer) Storage(ctx context.Context, req *QueryStorageRequest) (*QueryStorageResponse, error)
func (*UnimplementedQueryServer) TxLogs ¶
func (*UnimplementedQueryServer) TxLogs(ctx context.Context, req *QueryTxLogsRequest) (*QueryTxLogsResponse, error)
func (*UnimplementedQueryServer) TxReceipt ¶
func (*UnimplementedQueryServer) TxReceipt(ctx context.Context, req *QueryTxReceiptRequest) (*QueryTxReceiptResponse, error)
func (*UnimplementedQueryServer) TxReceiptsByBlockHash ¶
func (*UnimplementedQueryServer) TxReceiptsByBlockHash(ctx context.Context, req *QueryTxReceiptsByBlockHashRequest) (*QueryTxReceiptsByBlockHashResponse, error)
func (*UnimplementedQueryServer) TxReceiptsByBlockHeight ¶
func (*UnimplementedQueryServer) TxReceiptsByBlockHeight(ctx context.Context, req *QueryTxReceiptsByBlockHeightRequest) (*QueryTxReceiptsByBlockHeightResponse, error)