Documentation
¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func AddressStoragePrefix(address common.Address) []byte
- func BinSearch(lo, hi uint64, executable func(uint64) (bool, *MsgEthereumTxResponse, error)) (uint64, error)
- func ConvertAmountTo18Decimals256Int(amt *uint256.Int) *uint256.Int
- func ConvertAmountTo18DecimalsBigInt(amt *big.Int) *big.Int
- func ConvertAmountTo18DecimalsLegacy(amt sdkmath.LegacyDec) sdkmath.LegacyDec
- func ConvertBigIntFrom18DecimalsToLegacyDec(amt *big.Int) sdkmath.LegacyDec
- func ConvertCoinsDenomToExtendedDenom(coins sdk.Coins) sdk.Coins
- func ConvertEvmCoinDenomToExtendedDenom(coin sdk.Coin) (sdk.Coin, error)
- func DecodeTxLogsFromEvents(in []byte, events []abci.Event, blockNumber uint64) ([]*ethtypes.Log, error)
- func EffectiveGasPrice(baseFee, feeCap, tipCap *big.Int) *big.Int
- func EncodeTransactionLogs(res *TransactionLogs) ([]byte, error)
- func GetEVMCoinDenom() string
- func GetEVMCoinDisplayDenom() string
- func GetEVMCoinExtendedDenom() string
- func GetEthChainConfig() *geth.ChainConfig
- func GetTxPriority(ethTx *ethtypes.Transaction, baseFee *big.Int) (priority int64)
- func GetTxTypeName(txType int) string
- func HexAddress(a []byte) string
- func IsEmptyCodeHash(bz []byte) bool
- func IsLondon(ethConfig *params.ChainConfig, height int64) bool
- func LogsToEthereum(logs []*Log) []*ethtypes.Log
- func NewNoOpTracer() *tracing.Hooks
- func NewTracer(tracer string, msg core.Message, cfg *params.ChainConfig, height int64, ...) *tracing.Hooks
- func ParamKeyTable() paramtypes.KeyTabledeprecated
- func ParseTxLogsFromEvent(event abci.Event) ([]*ethtypes.Log, error)
- func RegisterInterfaces(registry codectypes.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterMsgHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MsgClient) error
- func RegisterMsgHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterMsgHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MsgServer) error
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func RevertReasonBytes(reason string) ([]byte, error)
- func SortedKVStoreKeys(keys map[string]*storetypes.KVStoreKey) []*storetypes.KVStoreKey
- func StateKey(address common.Address, key []byte) []byte
- func TxLogsFromEvents(events []abci.Event, msgIndex int) ([]*ethtypes.Log, error)
- func ValidatePrecompiles(i interface{}) error
- type AccessControl
- func (*AccessControl) Descriptor() ([]byte, []int)
- func (m *AccessControl) GetCall() AccessControlType
- func (m *AccessControl) GetCreate() AccessControlType
- func (m *AccessControl) Marshal() (dAtA []byte, err error)
- func (m *AccessControl) MarshalTo(dAtA []byte) (int, error)
- func (m *AccessControl) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccessControl) ProtoMessage()
- func (m *AccessControl) Reset()
- func (m *AccessControl) Size() (n int)
- func (m *AccessControl) String() string
- func (m *AccessControl) Unmarshal(dAtA []byte) error
- func (ac AccessControl) Validate() error
- func (m *AccessControl) XXX_DiscardUnknown()
- func (m *AccessControl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccessControl) XXX_Merge(src proto.Message)
- func (m *AccessControl) XXX_Size() int
- func (m *AccessControl) XXX_Unmarshal(b []byte) error
- type AccessControlType
- func (*AccessControlType) Descriptor() ([]byte, []int)
- func (m *AccessControlType) GetAccessControlList() []string
- func (m *AccessControlType) GetAccessType() AccessType
- func (m *AccessControlType) Marshal() (dAtA []byte, err error)
- func (m *AccessControlType) MarshalTo(dAtA []byte) (int, error)
- func (m *AccessControlType) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccessControlType) ProtoMessage()
- func (m *AccessControlType) Reset()
- func (m *AccessControlType) Size() (n int)
- func (m *AccessControlType) String() string
- func (m *AccessControlType) Unmarshal(dAtA []byte) error
- func (act AccessControlType) Validate() error
- func (m *AccessControlType) XXX_DiscardUnknown()
- func (m *AccessControlType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccessControlType) XXX_Merge(src proto.Message)
- func (m *AccessControlType) XXX_Size() int
- func (m *AccessControlType) XXX_Unmarshal(b []byte) error
- type AccessTuple
- func (*AccessTuple) Descriptor() ([]byte, []int)
- func (m *AccessTuple) Marshal() (dAtA []byte, err error)
- func (m *AccessTuple) MarshalTo(dAtA []byte) (int, error)
- func (m *AccessTuple) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccessTuple) ProtoMessage()
- func (m *AccessTuple) Reset()
- func (m *AccessTuple) Size() (n int)
- func (m *AccessTuple) String() string
- func (m *AccessTuple) Unmarshal(dAtA []byte) error
- func (m *AccessTuple) XXX_DiscardUnknown()
- func (m *AccessTuple) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccessTuple) XXX_Merge(src proto.Message)
- func (m *AccessTuple) XXX_Size() int
- func (m *AccessTuple) XXX_Unmarshal(b []byte) error
- type AccessType
- type AccountKeeper
- type BankKeeper
- type BankWrapper
- type CallHook
- type CallType
- type ChainConfig
- func (*ChainConfig) Descriptor() ([]byte, []int)
- func (cc ChainConfig) EthereumConfig(chainID *big.Int) *gethparams.ChainConfig
- func (m *ChainConfig) GetChainId() uint64
- func (m *ChainConfig) GetDAOForkSupport() bool
- func (m *ChainConfig) GetDecimals() uint64
- func (m *ChainConfig) GetDenom() string
- func (m *ChainConfig) Marshal() (dAtA []byte, err error)
- func (m *ChainConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *ChainConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChainConfig) ProtoMessage()
- func (m *ChainConfig) Reset()
- func (m *ChainConfig) Size() (n int)
- func (m *ChainConfig) String() string
- func (m *ChainConfig) Unmarshal(dAtA []byte) error
- func (cc ChainConfig) Validate() error
- func (m *ChainConfig) XXX_DiscardUnknown()
- func (m *ChainConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChainConfig) XXX_Merge(src proto.Message)
- func (m *ChainConfig) XXX_Size() int
- func (m *ChainConfig) XXX_Unmarshal(b []byte) error
- type CompiledContract
- type ConsensusParamsKeeper
- type CreateHook
- type Decimals
- type DefaultOpCodesHooks
- func (h *DefaultOpCodesHooks) AddCallHooks(hooks ...CallHook)
- func (h *DefaultOpCodesHooks) AddCreateHooks(hooks ...CreateHook)
- func (h *DefaultOpCodesHooks) CallHook(evm *vm.EVM, caller common.Address, recipient common.Address) error
- func (h *DefaultOpCodesHooks) CreateHook(evm *vm.EVM, caller common.Address) error
- type EVMConfigurator
- func (ec *EVMConfigurator) Configure() error
- func (ec *EVMConfigurator) ResetTestConfig()
- func (ec *EVMConfigurator) WithChainConfig(cc *ChainConfig) *EVMConfigurator
- func (ec *EVMConfigurator) WithEVMCoinInfo(coinInfo EvmCoinInfo) *EVMConfigurator
- func (ec *EVMConfigurator) WithExtendedDefaultExtraEIPs(eips ...int64) *EVMConfigurator
- func (ec *EVMConfigurator) WithExtendedEips(extendedEIPs map[int]func(*vm.JumpTable)) *EVMConfigurator
- type Erc20Keeper
- type EstimateGasResponse
- func (*EstimateGasResponse) Descriptor() ([]byte, []int)
- func (egr EstimateGasResponse) Failed() bool
- func (m *EstimateGasResponse) GetGas() uint64
- func (m *EstimateGasResponse) GetRet() []byte
- func (m *EstimateGasResponse) GetVmError() string
- func (m *EstimateGasResponse) Marshal() (dAtA []byte, err error)
- func (m *EstimateGasResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *EstimateGasResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EstimateGasResponse) ProtoMessage()
- func (m *EstimateGasResponse) Reset()
- func (m *EstimateGasResponse) Size() (n int)
- func (m *EstimateGasResponse) String() string
- func (m *EstimateGasResponse) Unmarshal(dAtA []byte) error
- func (m *EstimateGasResponse) XXX_DiscardUnknown()
- func (m *EstimateGasResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EstimateGasResponse) XXX_Merge(src proto.Message)
- func (m *EstimateGasResponse) XXX_Size() int
- func (m *EstimateGasResponse) XXX_Unmarshal(b []byte) error
- type EthCallRequest
- func (*EthCallRequest) Descriptor() ([]byte, []int)
- func (m *EthCallRequest) GetArgs() []byte
- func (m *EthCallRequest) GetChainId() int64
- func (m *EthCallRequest) GetGasCap() uint64
- func (m *EthCallRequest) GetProposerAddress() github_com_cosmos_cosmos_sdk_types.ConsAddress
- func (m *EthCallRequest) Marshal() (dAtA []byte, err error)
- func (m *EthCallRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *EthCallRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EthCallRequest) ProtoMessage()
- func (m *EthCallRequest) Reset()
- func (m *EthCallRequest) Size() (n int)
- func (m *EthCallRequest) String() string
- func (m *EthCallRequest) Unmarshal(dAtA []byte) error
- func (m *EthCallRequest) XXX_DiscardUnknown()
- func (m *EthCallRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EthCallRequest) XXX_Merge(src proto.Message)
- func (m *EthCallRequest) XXX_Size() int
- func (m *EthCallRequest) XXX_Unmarshal(b []byte) error
- type EthereumTx
- type EventBlockBloom
- func (*EventBlockBloom) Descriptor() ([]byte, []int)
- func (m *EventBlockBloom) GetBloom() string
- func (m *EventBlockBloom) Marshal() (dAtA []byte, err error)
- func (m *EventBlockBloom) MarshalTo(dAtA []byte) (int, error)
- func (m *EventBlockBloom) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventBlockBloom) ProtoMessage()
- func (m *EventBlockBloom) Reset()
- func (m *EventBlockBloom) Size() (n int)
- func (m *EventBlockBloom) String() string
- func (m *EventBlockBloom) Unmarshal(dAtA []byte) error
- func (m *EventBlockBloom) XXX_DiscardUnknown()
- func (m *EventBlockBloom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventBlockBloom) XXX_Merge(src proto.Message)
- func (m *EventBlockBloom) XXX_Size() int
- func (m *EventBlockBloom) XXX_Unmarshal(b []byte) error
- type EventEthereumTx
- func (*EventEthereumTx) Descriptor() ([]byte, []int)
- func (m *EventEthereumTx) GetAmount() string
- func (m *EventEthereumTx) GetEthHash() string
- func (m *EventEthereumTx) GetEthTxFailed() string
- func (m *EventEthereumTx) GetGasUsed() string
- func (m *EventEthereumTx) GetHash() string
- func (m *EventEthereumTx) GetIndex() string
- func (m *EventEthereumTx) GetRecipient() string
- func (m *EventEthereumTx) Marshal() (dAtA []byte, err error)
- func (m *EventEthereumTx) MarshalTo(dAtA []byte) (int, error)
- func (m *EventEthereumTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventEthereumTx) ProtoMessage()
- func (m *EventEthereumTx) Reset()
- func (m *EventEthereumTx) Size() (n int)
- func (m *EventEthereumTx) String() string
- func (m *EventEthereumTx) Unmarshal(dAtA []byte) error
- func (m *EventEthereumTx) XXX_DiscardUnknown()
- func (m *EventEthereumTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventEthereumTx) XXX_Merge(src proto.Message)
- func (m *EventEthereumTx) XXX_Size() int
- func (m *EventEthereumTx) XXX_Unmarshal(b []byte) error
- type EventMessage
- func (*EventMessage) Descriptor() ([]byte, []int)
- func (m *EventMessage) GetModule() string
- func (m *EventMessage) GetSender() string
- func (m *EventMessage) GetTxType() string
- func (m *EventMessage) Marshal() (dAtA []byte, err error)
- func (m *EventMessage) MarshalTo(dAtA []byte) (int, error)
- func (m *EventMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventMessage) ProtoMessage()
- func (m *EventMessage) Reset()
- func (m *EventMessage) Size() (n int)
- func (m *EventMessage) String() string
- func (m *EventMessage) Unmarshal(dAtA []byte) error
- func (m *EventMessage) XXX_DiscardUnknown()
- func (m *EventMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventMessage) XXX_Merge(src proto.Message)
- func (m *EventMessage) XXX_Size() int
- func (m *EventMessage) XXX_Unmarshal(b []byte) error
- type EventTxLog
- func (*EventTxLog) Descriptor() ([]byte, []int)
- func (m *EventTxLog) GetTxLogs() []string
- func (m *EventTxLog) Marshal() (dAtA []byte, err error)
- func (m *EventTxLog) MarshalTo(dAtA []byte) (int, error)
- func (m *EventTxLog) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventTxLog) ProtoMessage()
- func (m *EventTxLog) Reset()
- func (m *EventTxLog) Size() (n int)
- func (m *EventTxLog) String() string
- func (m *EventTxLog) Unmarshal(dAtA []byte) error
- func (m *EventTxLog) XXX_DiscardUnknown()
- func (m *EventTxLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventTxLog) XXX_Merge(src proto.Message)
- func (m *EventTxLog) XXX_Size() int
- func (m *EventTxLog) XXX_Unmarshal(b []byte) error
- type EvmCoinInfo
- type EvmHooks
- type EvmTxArgs
- 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 FeeMarketKeeper
- type GenesisAccount
- func (*GenesisAccount) Descriptor() ([]byte, []int)
- func (m *GenesisAccount) GetAddress() string
- func (m *GenesisAccount) GetCode() string
- func (m *GenesisAccount) GetStorage() Storage
- func (m *GenesisAccount) Marshal() (dAtA []byte, err error)
- func (m *GenesisAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisAccount) ProtoMessage()
- func (m *GenesisAccount) Reset()
- func (m *GenesisAccount) Size() (n int)
- func (m *GenesisAccount) String() string
- func (m *GenesisAccount) Unmarshal(dAtA []byte) error
- func (ga GenesisAccount) Validate() error
- func (m *GenesisAccount) XXX_DiscardUnknown()
- func (m *GenesisAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisAccount) XXX_Merge(src proto.Message)
- func (m *GenesisAccount) XXX_Size() int
- func (m *GenesisAccount) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetAccounts() []GenesisAccount
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetPreinstalls() []Preinstall
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type HardhatCompiledContract
- type HexString
- 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 (log *Log) ToEthereum() *ethtypes.Log
- func (m *Log) Unmarshal(dAtA []byte) error
- func (log *Log) Validate() error
- func (m *Log) XXX_DiscardUnknown()
- func (m *Log) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Log) XXX_Merge(src proto.Message)
- func (m *Log) XXX_Size() int
- func (m *Log) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgEthereumTx
- func (msg MsgEthereumTx) AsMessage(baseFee *big.Int) *core.Message
- func (msg MsgEthereumTx) AsTransaction() *ethtypes.Transaction
- func (msg *MsgEthereumTx) BuildTx(b client.TxBuilder, evmDenom string) (signing.Tx, error)
- func (*MsgEthereumTx) Descriptor() ([]byte, []int)
- func (msg *MsgEthereumTx) FromEthereumTx(tx *ethtypes.Transaction)
- func (msg *MsgEthereumTx) FromSignedEthereumTx(tx *ethtypes.Transaction, signer ethtypes.Signer) error
- func (msg MsgEthereumTx) GetEffectiveFee(baseFee *big.Int) *big.Int
- func (msg MsgEthereumTx) GetFee() *big.Int
- func (msg *MsgEthereumTx) GetFrom() sdk.AccAddress
- func (msg MsgEthereumTx) GetGas() uint64
- func (msg *MsgEthereumTx) GetMsgs() []sdk.Msg
- func (msg *MsgEthereumTx) GetMsgsV2() ([]protov2.Message, error)
- func (msg *MsgEthereumTx) GetSender() common.Address
- func (msg *MsgEthereumTx) GetSenderLegacy(signer ethtypes.Signer) (common.Address, error)
- func (msg MsgEthereumTx) GetSignBytes() []byte
- func (msg *MsgEthereumTx) GetSigners() []sdk.AccAddress
- func (msg *MsgEthereumTx) Hash() common.Hash
- func (m *MsgEthereumTx) Marshal() (dAtA []byte, err error)
- func (m *MsgEthereumTx) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEthereumTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEthereumTx) ProtoMessage()
- func (m *MsgEthereumTx) Reset()
- func (msg MsgEthereumTx) Route() string
- func (msg *MsgEthereumTx) Sign(ethSigner ethtypes.Signer, keyringSigner keyring.Signer) error
- func (m *MsgEthereumTx) Size() (n int)
- func (m *MsgEthereumTx) String() string
- func (msg MsgEthereumTx) Type() string
- func (m *MsgEthereumTx) Unmarshal(dAtA []byte) error
- func (msg *MsgEthereumTx) UnmarshalBinary(b []byte, signer ethtypes.Signer) error
- func (msg MsgEthereumTx) ValidateBasic() error
- func (msg *MsgEthereumTx) VerifySender(signer ethtypes.Signer) 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) Failed() bool
- func (m *MsgEthereumTxResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgEthereumTxResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEthereumTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEthereumTxResponse) ProtoMessage()
- func (m *MsgEthereumTxResponse) Reset()
- func (m *MsgEthereumTxResponse) Return() []byte
- func (m *MsgEthereumTxResponse) Revert() []byte
- func (m *MsgEthereumTxResponse) Size() (n int)
- func (m *MsgEthereumTxResponse) String() string
- func (m *MsgEthereumTxResponse) Unmarshal(dAtA []byte) error
- func (m *MsgEthereumTxResponse) XXX_DiscardUnknown()
- func (m *MsgEthereumTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEthereumTxResponse) XXX_Merge(src proto.Message)
- func (m *MsgEthereumTxResponse) XXX_Size() int
- func (m *MsgEthereumTxResponse) XXX_Unmarshal(b []byte) error
- type MsgRegisterPreinstalls
- func (*MsgRegisterPreinstalls) Descriptor() ([]byte, []int)
- func (m *MsgRegisterPreinstalls) GetAuthority() string
- func (m *MsgRegisterPreinstalls) GetPreinstalls() []Preinstall
- func (m *MsgRegisterPreinstalls) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterPreinstalls) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterPreinstalls) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterPreinstalls) ProtoMessage()
- func (m *MsgRegisterPreinstalls) Reset()
- func (m *MsgRegisterPreinstalls) Size() (n int)
- func (m *MsgRegisterPreinstalls) String() string
- func (m *MsgRegisterPreinstalls) Unmarshal(dAtA []byte) error
- func (m *MsgRegisterPreinstalls) XXX_DiscardUnknown()
- func (m *MsgRegisterPreinstalls) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterPreinstalls) XXX_Merge(src proto.Message)
- func (m *MsgRegisterPreinstalls) XXX_Size() int
- func (m *MsgRegisterPreinstalls) XXX_Unmarshal(b []byte) error
- type MsgRegisterPreinstallsResponse
- func (*MsgRegisterPreinstallsResponse) Descriptor() ([]byte, []int)
- func (m *MsgRegisterPreinstallsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterPreinstallsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterPreinstallsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterPreinstallsResponse) ProtoMessage()
- func (m *MsgRegisterPreinstallsResponse) Reset()
- func (m *MsgRegisterPreinstallsResponse) Size() (n int)
- func (m *MsgRegisterPreinstallsResponse) String() string
- func (m *MsgRegisterPreinstallsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRegisterPreinstallsResponse) XXX_DiscardUnknown()
- func (m *MsgRegisterPreinstallsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterPreinstallsResponse) XXX_Merge(src proto.Message)
- func (m *MsgRegisterPreinstallsResponse) XXX_Size() int
- func (m *MsgRegisterPreinstallsResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParams) GetAuthority() string
- func (m *MsgUpdateParams) GetParams() Params
- func (m MsgUpdateParams) GetSignBytes() []byte
- func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParams) ProtoMessage()
- func (m *MsgUpdateParams) Reset()
- func (m *MsgUpdateParams) Size() (n int)
- func (m *MsgUpdateParams) String() string
- func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParams) ValidateBasic() error
- func (m *MsgUpdateParams) XXX_DiscardUnknown()
- func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParams) XXX_Size() int
- func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateParamsResponse
- func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParamsResponse) ProtoMessage()
- func (m *MsgUpdateParamsResponse) Reset()
- func (m *MsgUpdateParamsResponse) Size() (n int)
- func (m *MsgUpdateParamsResponse) String() string
- func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParamsResponse) XXX_Size() int
- func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
- type NoOpTracer
- func (dt *NoOpTracer) OnBalanceChange(_ common.Address, _, _ *big.Int, _ tracing.BalanceChangeReason)
- func (dt *NoOpTracer) OnBlockEnd(_ error)
- func (dt *NoOpTracer) OnBlockStart(_ tracing.BlockEvent)
- func (dt *NoOpTracer) OnBlockchainInit(_ *params.ChainConfig)
- func (dt *NoOpTracer) OnCodeChange(_ common.Address, _ common.Hash, _ []byte, _ common.Hash, _ []byte)
- func (dt *NoOpTracer) OnEnter(_ int, _ byte, _ common.Address, _ common.Address, _ []byte, _ uint64, ...)
- func (dt *NoOpTracer) OnExit(_ int, _ []byte, _ uint64, _ error, _ bool)
- func (dt *NoOpTracer) OnFault(_ uint64, _ byte, _, _ uint64, _ tracing.OpContext, _ int, _ error)
- func (dt *NoOpTracer) OnGasChange(_, _ uint64, _ tracing.GasChangeReason)
- func (dt *NoOpTracer) OnGenesisBlock(_ *types.Block, _ types.GenesisAlloc)
- func (dt *NoOpTracer) OnLog(_ *types.Log)
- func (dt *NoOpTracer) OnNonceChange(_ common.Address, _, _ uint64)
- func (dt *NoOpTracer) OnOpcode(_ uint64, _ byte, _, _ uint64, _ tracing.OpContext, _ []byte, _ int, _ error)
- func (dt *NoOpTracer) OnSkippedBlock(_ tracing.BlockEvent)
- func (dt *NoOpTracer) OnStorageChange(_ common.Address, _, _, _ common.Hash)
- func (dt *NoOpTracer) OnTxEnd(_ *types.Receipt, _ error)
- func (dt *NoOpTracer) OnTxStart(_ *tracing.VMContext, _ *types.Transaction, _ common.Address)
- type OpCodeHooks
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (p Params) EIPs() []int
- func (m *Params) GetAccessControl() AccessControl
- func (m *Params) GetActiveStaticPrecompiles() []string
- func (p Params) GetActiveStaticPrecompilesAddrs() []common.Address
- func (m *Params) GetAllowUnprotectedTxs() bool
- func (m *Params) GetEVMChannels() []string
- func (m *Params) GetEvmDenom() string
- func (m *Params) GetExtraEIPs() []int64
- func (p Params) IsEVMChannel(channel string) bool
- 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.ParamSetPairsdeprecated
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type PermissionPolicy
- type Preinstall
- func (*Preinstall) Descriptor() ([]byte, []int)
- func (m *Preinstall) GetAddress() string
- func (m *Preinstall) GetCode() string
- func (m *Preinstall) GetName() string
- func (m *Preinstall) Marshal() (dAtA []byte, err error)
- func (m *Preinstall) MarshalTo(dAtA []byte) (int, error)
- func (m *Preinstall) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Preinstall) ProtoMessage()
- func (m *Preinstall) Reset()
- func (m *Preinstall) Size() (n int)
- func (m *Preinstall) String() string
- func (m *Preinstall) Unmarshal(dAtA []byte) error
- func (p Preinstall) Validate() error
- func (m *Preinstall) XXX_DiscardUnknown()
- func (m *Preinstall) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Preinstall) XXX_Merge(src proto.Message)
- func (m *Preinstall) XXX_Size() int
- func (m *Preinstall) 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() string
- func (m *QueryAccountResponse) GetNonce() uint64
- func (m *QueryAccountResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAccountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAccountResponse) ProtoMessage()
- func (m *QueryAccountResponse) Reset()
- func (m *QueryAccountResponse) Size() (n int)
- func (m *QueryAccountResponse) String() string
- func (m *QueryAccountResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAccountResponse) XXX_DiscardUnknown()
- func (m *QueryAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAccountResponse) XXX_Merge(src proto.Message)
- func (m *QueryAccountResponse) XXX_Size() int
- func (m *QueryAccountResponse) XXX_Unmarshal(b []byte) error
- type QueryBalanceRequest
- func (*QueryBalanceRequest) Descriptor() ([]byte, []int)
- func (m *QueryBalanceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBalanceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBalanceRequest) ProtoMessage()
- func (m *QueryBalanceRequest) Reset()
- func (m *QueryBalanceRequest) Size() (n int)
- func (m *QueryBalanceRequest) String() string
- func (m *QueryBalanceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBalanceRequest) XXX_DiscardUnknown()
- func (m *QueryBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBalanceRequest) XXX_Merge(src proto.Message)
- func (m *QueryBalanceRequest) XXX_Size() int
- func (m *QueryBalanceRequest) XXX_Unmarshal(b []byte) error
- type QueryBalanceResponse
- func (*QueryBalanceResponse) Descriptor() ([]byte, []int)
- func (m *QueryBalanceResponse) GetBalance() string
- func (m *QueryBalanceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBalanceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBalanceResponse) ProtoMessage()
- func (m *QueryBalanceResponse) Reset()
- func (m *QueryBalanceResponse) Size() (n int)
- func (m *QueryBalanceResponse) String() string
- func (m *QueryBalanceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBalanceResponse) XXX_DiscardUnknown()
- func (m *QueryBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBalanceResponse) XXX_Merge(src proto.Message)
- func (m *QueryBalanceResponse) XXX_Size() int
- func (m *QueryBalanceResponse) XXX_Unmarshal(b []byte) error
- type QueryBaseFeeRequest
- func (*QueryBaseFeeRequest) Descriptor() ([]byte, []int)
- func (m *QueryBaseFeeRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBaseFeeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBaseFeeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBaseFeeRequest) ProtoMessage()
- func (m *QueryBaseFeeRequest) Reset()
- func (m *QueryBaseFeeRequest) Size() (n int)
- func (m *QueryBaseFeeRequest) String() string
- func (m *QueryBaseFeeRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBaseFeeRequest) XXX_DiscardUnknown()
- func (m *QueryBaseFeeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBaseFeeRequest) XXX_Merge(src proto.Message)
- func (m *QueryBaseFeeRequest) XXX_Size() int
- func (m *QueryBaseFeeRequest) XXX_Unmarshal(b []byte) error
- type QueryBaseFeeResponse
- func (*QueryBaseFeeResponse) Descriptor() ([]byte, []int)
- func (m *QueryBaseFeeResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBaseFeeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBaseFeeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBaseFeeResponse) ProtoMessage()
- func (m *QueryBaseFeeResponse) Reset()
- func (m *QueryBaseFeeResponse) Size() (n int)
- func (m *QueryBaseFeeResponse) String() string
- func (m *QueryBaseFeeResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBaseFeeResponse) XXX_DiscardUnknown()
- func (m *QueryBaseFeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBaseFeeResponse) XXX_Merge(src proto.Message)
- func (m *QueryBaseFeeResponse) XXX_Size() int
- func (m *QueryBaseFeeResponse) XXX_Unmarshal(b []byte) error
- type 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 QueryConfigRequest
- func (*QueryConfigRequest) Descriptor() ([]byte, []int)
- func (m *QueryConfigRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryConfigRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConfigRequest) ProtoMessage()
- func (m *QueryConfigRequest) Reset()
- func (m *QueryConfigRequest) Size() (n int)
- func (m *QueryConfigRequest) String() string
- func (m *QueryConfigRequest) Unmarshal(dAtA []byte) error
- func (m *QueryConfigRequest) XXX_DiscardUnknown()
- func (m *QueryConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConfigRequest) XXX_Merge(src proto.Message)
- func (m *QueryConfigRequest) XXX_Size() int
- func (m *QueryConfigRequest) XXX_Unmarshal(b []byte) error
- type QueryConfigResponse
- func (*QueryConfigResponse) Descriptor() ([]byte, []int)
- func (m *QueryConfigResponse) GetConfig() *ChainConfig
- func (m *QueryConfigResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryConfigResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConfigResponse) ProtoMessage()
- func (m *QueryConfigResponse) Reset()
- func (m *QueryConfigResponse) Size() (n int)
- func (m *QueryConfigResponse) String() string
- func (m *QueryConfigResponse) Unmarshal(dAtA []byte) error
- func (m *QueryConfigResponse) XXX_DiscardUnknown()
- func (m *QueryConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConfigResponse) XXX_Merge(src proto.Message)
- func (m *QueryConfigResponse) XXX_Size() int
- func (m *QueryConfigResponse) XXX_Unmarshal(b []byte) error
- type QueryCosmosAccountRequest
- func (*QueryCosmosAccountRequest) Descriptor() ([]byte, []int)
- func (m *QueryCosmosAccountRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCosmosAccountRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCosmosAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCosmosAccountRequest) ProtoMessage()
- func (m *QueryCosmosAccountRequest) Reset()
- func (m *QueryCosmosAccountRequest) Size() (n int)
- func (m *QueryCosmosAccountRequest) String() string
- func (m *QueryCosmosAccountRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCosmosAccountRequest) XXX_DiscardUnknown()
- func (m *QueryCosmosAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCosmosAccountRequest) XXX_Merge(src proto.Message)
- func (m *QueryCosmosAccountRequest) XXX_Size() int
- func (m *QueryCosmosAccountRequest) XXX_Unmarshal(b []byte) error
- type QueryCosmosAccountResponse
- func (*QueryCosmosAccountResponse) Descriptor() ([]byte, []int)
- func (m *QueryCosmosAccountResponse) GetAccountNumber() uint64
- func (m *QueryCosmosAccountResponse) GetCosmosAddress() string
- func (m *QueryCosmosAccountResponse) GetSequence() uint64
- func (m *QueryCosmosAccountResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCosmosAccountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCosmosAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCosmosAccountResponse) ProtoMessage()
- func (m *QueryCosmosAccountResponse) Reset()
- func (m *QueryCosmosAccountResponse) Size() (n int)
- func (m *QueryCosmosAccountResponse) String() string
- func (m *QueryCosmosAccountResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCosmosAccountResponse) XXX_DiscardUnknown()
- func (m *QueryCosmosAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCosmosAccountResponse) XXX_Merge(src proto.Message)
- func (m *QueryCosmosAccountResponse) XXX_Size() int
- func (m *QueryCosmosAccountResponse) XXX_Unmarshal(b []byte) error
- type QueryGlobalMinGasPriceRequest
- func (*QueryGlobalMinGasPriceRequest) Descriptor() ([]byte, []int)
- func (m *QueryGlobalMinGasPriceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGlobalMinGasPriceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGlobalMinGasPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGlobalMinGasPriceRequest) ProtoMessage()
- func (m *QueryGlobalMinGasPriceRequest) Reset()
- func (m *QueryGlobalMinGasPriceRequest) Size() (n int)
- func (m *QueryGlobalMinGasPriceRequest) String() string
- func (m *QueryGlobalMinGasPriceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGlobalMinGasPriceRequest) XXX_DiscardUnknown()
- func (m *QueryGlobalMinGasPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGlobalMinGasPriceRequest) XXX_Merge(src proto.Message)
- func (m *QueryGlobalMinGasPriceRequest) XXX_Size() int
- func (m *QueryGlobalMinGasPriceRequest) XXX_Unmarshal(b []byte) error
- type QueryGlobalMinGasPriceResponse
- func (*QueryGlobalMinGasPriceResponse) Descriptor() ([]byte, []int)
- func (m *QueryGlobalMinGasPriceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGlobalMinGasPriceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGlobalMinGasPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGlobalMinGasPriceResponse) ProtoMessage()
- func (m *QueryGlobalMinGasPriceResponse) Reset()
- func (m *QueryGlobalMinGasPriceResponse) Size() (n int)
- func (m *QueryGlobalMinGasPriceResponse) String() string
- func (m *QueryGlobalMinGasPriceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGlobalMinGasPriceResponse) XXX_DiscardUnknown()
- func (m *QueryGlobalMinGasPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGlobalMinGasPriceResponse) XXX_Merge(src proto.Message)
- func (m *QueryGlobalMinGasPriceResponse) XXX_Size() int
- func (m *QueryGlobalMinGasPriceResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryStorageRequest
- func (*QueryStorageRequest) Descriptor() ([]byte, []int)
- func (m *QueryStorageRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryStorageRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStorageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStorageRequest) ProtoMessage()
- func (m *QueryStorageRequest) Reset()
- func (m *QueryStorageRequest) Size() (n int)
- func (m *QueryStorageRequest) String() string
- func (m *QueryStorageRequest) Unmarshal(dAtA []byte) error
- func (m *QueryStorageRequest) XXX_DiscardUnknown()
- func (m *QueryStorageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStorageRequest) XXX_Merge(src proto.Message)
- func (m *QueryStorageRequest) XXX_Size() int
- func (m *QueryStorageRequest) XXX_Unmarshal(b []byte) error
- type QueryStorageResponse
- func (*QueryStorageResponse) Descriptor() ([]byte, []int)
- func (m *QueryStorageResponse) GetValue() string
- func (m *QueryStorageResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryStorageResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStorageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStorageResponse) ProtoMessage()
- func (m *QueryStorageResponse) Reset()
- func (m *QueryStorageResponse) Size() (n int)
- func (m *QueryStorageResponse) String() string
- func (m *QueryStorageResponse) Unmarshal(dAtA []byte) error
- func (m *QueryStorageResponse) XXX_DiscardUnknown()
- func (m *QueryStorageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStorageResponse) XXX_Merge(src proto.Message)
- func (m *QueryStorageResponse) XXX_Size() int
- func (m *QueryStorageResponse) XXX_Unmarshal(b []byte) error
- type QueryTraceBlockRequest
- func (*QueryTraceBlockRequest) Descriptor() ([]byte, []int)
- func (m *QueryTraceBlockRequest) GetBlockHash() string
- func (m *QueryTraceBlockRequest) GetBlockMaxGas() int64
- func (m *QueryTraceBlockRequest) GetBlockNumber() int64
- func (m *QueryTraceBlockRequest) GetBlockTime() time.Time
- func (m *QueryTraceBlockRequest) GetChainId() int64
- func (m *QueryTraceBlockRequest) GetProposerAddress() github_com_cosmos_cosmos_sdk_types.ConsAddress
- func (m *QueryTraceBlockRequest) GetTraceConfig() *TraceConfig
- func (m *QueryTraceBlockRequest) GetTxs() []*MsgEthereumTx
- func (m *QueryTraceBlockRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTraceBlockRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTraceBlockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTraceBlockRequest) ProtoMessage()
- func (m *QueryTraceBlockRequest) Reset()
- func (m *QueryTraceBlockRequest) Size() (n int)
- func (m *QueryTraceBlockRequest) String() string
- func (m *QueryTraceBlockRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTraceBlockRequest) XXX_DiscardUnknown()
- func (m *QueryTraceBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTraceBlockRequest) XXX_Merge(src proto.Message)
- func (m *QueryTraceBlockRequest) XXX_Size() int
- func (m *QueryTraceBlockRequest) XXX_Unmarshal(b []byte) error
- type QueryTraceBlockResponse
- func (*QueryTraceBlockResponse) Descriptor() ([]byte, []int)
- func (m *QueryTraceBlockResponse) GetData() []byte
- func (m *QueryTraceBlockResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTraceBlockResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTraceBlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTraceBlockResponse) ProtoMessage()
- func (m *QueryTraceBlockResponse) Reset()
- func (m *QueryTraceBlockResponse) Size() (n int)
- func (m *QueryTraceBlockResponse) String() string
- func (m *QueryTraceBlockResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTraceBlockResponse) XXX_DiscardUnknown()
- func (m *QueryTraceBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTraceBlockResponse) XXX_Merge(src proto.Message)
- func (m *QueryTraceBlockResponse) XXX_Size() int
- func (m *QueryTraceBlockResponse) XXX_Unmarshal(b []byte) error
- type QueryTraceTxRequest
- func (*QueryTraceTxRequest) Descriptor() ([]byte, []int)
- func (m *QueryTraceTxRequest) GetBlockHash() string
- func (m *QueryTraceTxRequest) GetBlockMaxGas() int64
- func (m *QueryTraceTxRequest) GetBlockNumber() int64
- func (m *QueryTraceTxRequest) GetBlockTime() time.Time
- func (m *QueryTraceTxRequest) GetChainId() int64
- func (m *QueryTraceTxRequest) GetMsg() *MsgEthereumTx
- func (m *QueryTraceTxRequest) GetPredecessors() []*MsgEthereumTx
- func (m *QueryTraceTxRequest) GetProposerAddress() github_com_cosmos_cosmos_sdk_types.ConsAddress
- func (m *QueryTraceTxRequest) GetTraceConfig() *TraceConfig
- func (m *QueryTraceTxRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTraceTxRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTraceTxRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTraceTxRequest) ProtoMessage()
- func (m *QueryTraceTxRequest) Reset()
- func (m *QueryTraceTxRequest) Size() (n int)
- func (m *QueryTraceTxRequest) String() string
- func (m *QueryTraceTxRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTraceTxRequest) XXX_DiscardUnknown()
- func (m *QueryTraceTxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTraceTxRequest) XXX_Merge(src proto.Message)
- func (m *QueryTraceTxRequest) XXX_Size() int
- func (m *QueryTraceTxRequest) XXX_Unmarshal(b []byte) error
- type QueryTraceTxResponse
- func (*QueryTraceTxResponse) Descriptor() ([]byte, []int)
- func (m *QueryTraceTxResponse) GetData() []byte
- func (m *QueryTraceTxResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTraceTxResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTraceTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTraceTxResponse) ProtoMessage()
- func (m *QueryTraceTxResponse) Reset()
- func (m *QueryTraceTxResponse) Size() (n int)
- func (m *QueryTraceTxResponse) String() string
- func (m *QueryTraceTxResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTraceTxResponse) XXX_DiscardUnknown()
- func (m *QueryTraceTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTraceTxResponse) XXX_Merge(src proto.Message)
- func (m *QueryTraceTxResponse) XXX_Size() int
- func (m *QueryTraceTxResponse) XXX_Unmarshal(b []byte) error
- type QueryTxLogsRequest
- func (*QueryTxLogsRequest) Descriptor() ([]byte, []int)
- func (m *QueryTxLogsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTxLogsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTxLogsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTxLogsRequest) ProtoMessage()
- func (m *QueryTxLogsRequest) Reset()
- func (m *QueryTxLogsRequest) Size() (n int)
- func (m *QueryTxLogsRequest) String() string
- func (m *QueryTxLogsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTxLogsRequest) XXX_DiscardUnknown()
- func (m *QueryTxLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTxLogsRequest) XXX_Merge(src proto.Message)
- func (m *QueryTxLogsRequest) XXX_Size() int
- func (m *QueryTxLogsRequest) XXX_Unmarshal(b []byte) error
- type QueryTxLogsResponse
- func (*QueryTxLogsResponse) Descriptor() ([]byte, []int)
- func (m *QueryTxLogsResponse) GetLogs() []*Log
- func (m *QueryTxLogsResponse) GetPagination() *query.PageResponse
- func (m *QueryTxLogsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTxLogsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTxLogsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTxLogsResponse) ProtoMessage()
- func (m *QueryTxLogsResponse) Reset()
- func (m *QueryTxLogsResponse) Size() (n int)
- func (m *QueryTxLogsResponse) String() string
- func (m *QueryTxLogsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTxLogsResponse) XXX_DiscardUnknown()
- func (m *QueryTxLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTxLogsResponse) XXX_Merge(src proto.Message)
- func (m *QueryTxLogsResponse) XXX_Size() int
- func (m *QueryTxLogsResponse) XXX_Unmarshal(b []byte) error
- type QueryValidatorAccountRequest
- func (*QueryValidatorAccountRequest) Descriptor() ([]byte, []int)
- func (m *QueryValidatorAccountRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorAccountRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorAccountRequest) ProtoMessage()
- func (m *QueryValidatorAccountRequest) Reset()
- func (m *QueryValidatorAccountRequest) Size() (n int)
- func (m *QueryValidatorAccountRequest) String() string
- func (m *QueryValidatorAccountRequest) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorAccountRequest) XXX_DiscardUnknown()
- func (m *QueryValidatorAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorAccountRequest) XXX_Merge(src proto.Message)
- func (m *QueryValidatorAccountRequest) XXX_Size() int
- func (m *QueryValidatorAccountRequest) XXX_Unmarshal(b []byte) error
- type QueryValidatorAccountResponse
- func (*QueryValidatorAccountResponse) Descriptor() ([]byte, []int)
- func (m *QueryValidatorAccountResponse) GetAccountAddress() string
- func (m *QueryValidatorAccountResponse) GetAccountNumber() uint64
- func (m *QueryValidatorAccountResponse) GetSequence() uint64
- func (m *QueryValidatorAccountResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorAccountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorAccountResponse) ProtoMessage()
- func (m *QueryValidatorAccountResponse) Reset()
- func (m *QueryValidatorAccountResponse) Size() (n int)
- func (m *QueryValidatorAccountResponse) String() string
- func (m *QueryValidatorAccountResponse) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorAccountResponse) XXX_DiscardUnknown()
- func (m *QueryValidatorAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorAccountResponse) XXX_Merge(src proto.Message)
- func (m *QueryValidatorAccountResponse) XXX_Size() int
- func (m *QueryValidatorAccountResponse) XXX_Unmarshal(b []byte) error
- type RestrictedPermissionPolicy
- func (p RestrictedPermissionPolicy) CanCall(_, caller, _ common.Address) bool
- func (p RestrictedPermissionPolicy) CanCreate(_, caller common.Address) bool
- func (p RestrictedPermissionPolicy) GetCallHook(signer common.Address) CallHook
- func (p RestrictedPermissionPolicy) GetCreateHook(signer common.Address) CreateHook
- type RevertError
- type StakingKeeper
- 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 (s State) Validate() error
- func (m *State) XXX_DiscardUnknown()
- func (m *State) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *State) XXX_Merge(src proto.Message)
- func (m *State) XXX_Size() int
- func (m *State) XXX_Unmarshal(b []byte) error
- type Storage
- type TraceConfig
- func (*TraceConfig) Descriptor() ([]byte, []int)
- func (m *TraceConfig) GetDebug() bool
- func (m *TraceConfig) GetDisableStack() bool
- func (m *TraceConfig) GetDisableStorage() bool
- func (m *TraceConfig) GetEnableMemory() bool
- func (m *TraceConfig) GetEnableReturnData() bool
- func (m *TraceConfig) GetLimit() int32
- func (m *TraceConfig) GetOverrides() *ChainConfig
- func (m *TraceConfig) GetReexec() uint64
- func (m *TraceConfig) GetTimeout() string
- func (m *TraceConfig) GetTracer() string
- func (m *TraceConfig) GetTracerJsonConfig() string
- func (m *TraceConfig) Marshal() (dAtA []byte, err error)
- func (m *TraceConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *TraceConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TraceConfig) ProtoMessage()
- func (m *TraceConfig) Reset()
- func (m *TraceConfig) Size() (n int)
- func (m *TraceConfig) String() string
- func (m *TraceConfig) Unmarshal(dAtA []byte) error
- func (m *TraceConfig) XXX_DiscardUnknown()
- func (m *TraceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TraceConfig) XXX_Merge(src proto.Message)
- func (m *TraceConfig) XXX_Size() int
- func (m *TraceConfig) XXX_Unmarshal(b []byte) error
- type TransactionArgs
- func (args *TransactionArgs) CallDefaults(globalGasCap uint64, baseFee *big.Int, chainID *big.Int) error
- func (args *TransactionArgs) GetData() []byte
- func (args *TransactionArgs) GetFrom() common.Address
- func (args *TransactionArgs) IsEIP4844() bool
- func (args *TransactionArgs) ToMessage(baseFee *big.Int, skipNonceCheck, skipEoACheck bool) *core.Message
- func (args *TransactionArgs) ToTransaction(defaultType int) *types.Transaction
- type TransactionLogs
- func (*TransactionLogs) Descriptor() ([]byte, []int)
- func (tx TransactionLogs) EthLogs() []*ethtypes.Log
- func (m *TransactionLogs) GetHash() string
- func (m *TransactionLogs) GetLogs() []*Log
- func (m *TransactionLogs) Marshal() (dAtA []byte, err error)
- func (m *TransactionLogs) MarshalTo(dAtA []byte) (int, error)
- func (m *TransactionLogs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TransactionLogs) ProtoMessage()
- func (m *TransactionLogs) Reset()
- func (m *TransactionLogs) Size() (n int)
- func (m *TransactionLogs) String() string
- func (m *TransactionLogs) Unmarshal(dAtA []byte) error
- func (tx TransactionLogs) Validate() error
- func (m *TransactionLogs) XXX_DiscardUnknown()
- func (m *TransactionLogs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionLogs) XXX_Merge(src proto.Message)
- func (m *TransactionLogs) XXX_Size() int
- func (m *TransactionLogs) XXX_Unmarshal(b []byte) error
- type 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 TxTraceResult
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) EthereumTx(ctx context.Context, req *MsgEthereumTx) (*MsgEthereumTxResponse, error)
- func (*UnimplementedMsgServer) RegisterPreinstalls(ctx context.Context, req *MsgRegisterPreinstalls) (*MsgRegisterPreinstallsResponse, error)
- func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Account(ctx context.Context, req *QueryAccountRequest) (*QueryAccountResponse, error)
- func (*UnimplementedQueryServer) Balance(ctx context.Context, req *QueryBalanceRequest) (*QueryBalanceResponse, error)
- func (*UnimplementedQueryServer) BaseFee(ctx context.Context, req *QueryBaseFeeRequest) (*QueryBaseFeeResponse, error)
- func (*UnimplementedQueryServer) Code(ctx context.Context, req *QueryCodeRequest) (*QueryCodeResponse, error)
- func (*UnimplementedQueryServer) Config(ctx context.Context, req *QueryConfigRequest) (*QueryConfigResponse, error)
- func (*UnimplementedQueryServer) CosmosAccount(ctx context.Context, req *QueryCosmosAccountRequest) (*QueryCosmosAccountResponse, error)
- func (*UnimplementedQueryServer) EstimateGas(ctx context.Context, req *EthCallRequest) (*EstimateGasResponse, error)
- func (*UnimplementedQueryServer) EthCall(ctx context.Context, req *EthCallRequest) (*MsgEthereumTxResponse, error)
- func (*UnimplementedQueryServer) GlobalMinGasPrice(ctx context.Context, req *QueryGlobalMinGasPriceRequest) (*QueryGlobalMinGasPriceResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) Storage(ctx context.Context, req *QueryStorageRequest) (*QueryStorageResponse, error)
- func (*UnimplementedQueryServer) TraceBlock(ctx context.Context, req *QueryTraceBlockRequest) (*QueryTraceBlockResponse, error)
- func (*UnimplementedQueryServer) TraceTx(ctx context.Context, req *QueryTraceTxRequest) (*QueryTraceTxResponse, error)
- func (*UnimplementedQueryServer) ValidatorAccount(ctx context.Context, req *QueryValidatorAccountRequest) (*QueryValidatorAccountResponse, error)
Constants ¶
const ( EventTypeEthereumTx = TypeMsgEthereumTx EventTypeBlockBloom = "block_bloom" EventTypeTxLog = "tx_log" EventTypeFeeMarket = "evm_fee_market" AttributeKeyBaseFee = "base_fee" AttributeKeyContractAddress = "contract" AttributeKeyRecipient = "recipient" AttributeKeyTxHash = "txHash" AttributeKeyEthereumTxHash = "ethereumTxHash" AttributeKeyTxIndex = "txIndex" AttributeKeyTxGasUsed = "txGasUsed" AttributeKeyTxType = "txType" AttributeKeyTxLog = "txLog" // tx failed in eth vm execution AttributeKeyEthereumTxFailed = "ethereumTxFailed" AttributeValueCategory = ModuleName AttributeKeyEthereumBloom = "bloom" MetricKeyTransitionDB = "transition_db" MetricKeyStaticCall = "static_call" )
Evm module events
const ( // ModuleName string name of module ModuleName = "evm" // StoreKey key for ethereum storage data, account code (StateDB) or block // related data for Web3. // The EVM module should use a prefix store. StoreKey = ModuleName // TransientKey is the key to access the EVM transient store, that is reset // during the Commit phase. TransientKey = "transient_" + ModuleName // RouterKey uses module name for routing RouterKey = ModuleName )
const ( P256PrecompileAddress = "0x0000000000000000000000000000000000000100" Bech32PrecompileAddress = "0x0000000000000000000000000000000000000400" )
const ( StakingPrecompileAddress = "0x0000000000000000000000000000000000000800" DistributionPrecompileAddress = "0x0000000000000000000000000000000000000801" ICS20PrecompileAddress = "0x0000000000000000000000000000000000000802" VestingPrecompileAddress = "0x0000000000000000000000000000000000000803" BankPrecompileAddress = "0x0000000000000000000000000000000000000804" GovPrecompileAddress = "0x0000000000000000000000000000000000000805" SlashingPrecompileAddress = "0x0000000000000000000000000000000000000806" )
const ( TracerAccessList = "access_list" TracerJSON = "json" TracerStruct = "struct" TracerMarkdown = "markdown" )
const MaxPrecompileCalls uint8 = 7
MaxPrecompileCalls is the maximum number of precompile calls within a transaction. We want to limit this because for each precompile tx we're creating a cached context
const (
// TypeMsgEthereumTx defines the type string of an Ethereum transaction
TypeMsgEthereumTx = "ethereum_tx"
)
message type and route constants
Variables ¶
var ( // ModuleCdc references the global evm module codec. Note, the codec should // ONLY be used in certain instances of tests and for JSON encoding. ModuleCdc = codec.NewProtoCodec(codectypes.NewInterfaceRegistry()) // AminoCdc is a amino codec created to support amino JSON compatible msgs. AminoCdc = codec.NewLegacyAmino() )
var ( // ErrInvalidState returns an error resulting from an invalid Storage State. ErrInvalidState = errorsmod.Register(ModuleName, codeErrInvalidState, "invalid storage state") // ErrInvalidChainConfig returns an error resulting from an invalid ChainConfig. ErrInvalidChainConfig = errorsmod.Register(ModuleName, codeErrInvalidChainConfig, "invalid chain configuration") // ErrZeroAddress returns an error resulting from an zero (empty) ethereum Address. ErrZeroAddress = errorsmod.Register(ModuleName, codeErrZeroAddress, "invalid zero address") // ErrCreateDisabled returns an error if the EnableCreate parameter is false. ErrCreateDisabled = errorsmod.Register(ModuleName, codeErrCreateDisabled, "EVM create operation is disabled") // ErrCallDisabled returns an error if the EnableCall parameter is false. ErrCallDisabled = errorsmod.Register(ModuleName, codeErrCallDisabled, "EVM Call operation is disabled") // ErrInvalidAmount returns an error if a tx contains an invalid amount. ErrInvalidAmount = errorsmod.Register(ModuleName, codeErrInvalidAmount, "invalid transaction amount") // ErrInvalidGasPrice returns an error if an invalid gas price is provided to the tx. ErrInvalidGasPrice = errorsmod.Register(ModuleName, codeErrInvalidGasPrice, "invalid gas price") // ErrInvalidGasFee returns an error if the tx gas fee is out of bound. ErrInvalidGasFee = errorsmod.Register(ModuleName, codeErrInvalidGasFee, "invalid gas fee") // ErrVMExecution returns an error resulting from an error in EVM execution. ErrVMExecution = errorsmod.Register(ModuleName, codeErrVMExecution, "evm transaction execution failed") // ErrInvalidRefund returns an error if a the gas refund value is invalid. ErrInvalidRefund = errorsmod.Register(ModuleName, codeErrInvalidRefund, "invalid gas refund amount") // ErrInvalidGasCap returns an error if a the gas cap value is negative or invalid ErrInvalidGasCap = errorsmod.Register(ModuleName, codeErrInvalidGasCap, "invalid gas cap") // ErrInvalidBaseFee returns an error if a the base fee cap value is invalid ErrInvalidBaseFee = errorsmod.Register(ModuleName, codeErrInvalidBaseFee, "invalid base fee") // ErrGasOverflow returns an error if gas computation overlow/underflow ErrGasOverflow = errorsmod.Register(ModuleName, codeErrGasOverflow, "gas computation overflow/underflow") // ErrInvalidAccount returns an error if the account is not an EVM compatible account ErrInvalidAccount = errorsmod.Register(ModuleName, codeErrInvalidAccount, "account type is not a valid ethereum account") // ErrInvalidGasLimit returns an error if gas limit value is invalid ErrInvalidGasLimit = errorsmod.Register(ModuleName, codeErrInvalidGasLimit, "invalid gas limit") // ErrInactivePrecompile returns an error if a call is made to an inactive precompile ErrInactivePrecompile = errorsmod.Register(ModuleName, codeErrInactivePrecompile, "precompile not enabled") // ErrABIPack returns an error if the contract ABI packing fails ErrABIPack = errorsmod.Register(ModuleName, codeErrABIPack, "contract ABI pack failed") // ErrABIUnpack returns an error if the contract ABI unpacking fails ErrABIUnpack = errorsmod.Register(ModuleName, codeErrABIUnpack, "contract ABI unpack failed") // ErrInvalidPreinstall returns an error if a preinstall is invalid ErrInvalidPreinstall = errorsmod.Register(ModuleName, codeErrInvalidPreinstall, "invalid preinstall") // RevertSelector is selector of ErrExecutionReverted RevertSelector = crypto.Keccak256([]byte("Error(string)"))[:4] )
var ( ErrInvalidLengthEvents = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvents = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthEvm = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvm = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvm = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( KeyPrefixCode = []byte{prefixCode} KeyPrefixStorage = []byte{prefixStorage} KeyPrefixParams = []byte{prefixParams} KeyPrefixCodeHash = []byte{prefixCodeHash} )
KVStore key prefixes
var ( KeyPrefixTransientBloom = []byte{prefixTransientBloom} KeyPrefixTransientTxIndex = []byte{prefixTransientTxIndex} KeyPrefixTransientLogSize = []byte{prefixTransientLogSize} KeyPrefixTransientGasUsed = []byte{prefixTransientGasUsed} )
Transient Store key prefixes
var ( // DefaultEVMDenom is the default value for the evm denom DefaultEVMDenom = "atest" // DefaultEVMChainID is the default value for the evm chain ID DefaultEVMChainID = "cosmos_262144-1" // DefaultEVMDecimals is the default value for the evm denom decimal precision DefaultEVMDecimals uint64 = 18 // DefaultAllowUnprotectedTxs rejects all unprotected txs (i.e false) DefaultAllowUnprotectedTxs = false // DefaultStaticPrecompiles defines the default active precompiles. DefaultStaticPrecompiles []string // DefaultExtraEIPs defines the default extra EIPs to be included. DefaultExtraEIPs []int64 // DefaultEVMChannels defines a list of IBC channels that connect to EVM chains like injective or cronos. DefaultEVMChannels []string DefaultCreateAllowlistAddresses []string DefaultCallAllowlistAddresses []string DefaultAccessControl = AccessControl{ Create: AccessControlType{ AccessType: AccessTypePermissionless, AccessControlList: DefaultCreateAllowlistAddresses, }, Call: AccessControlType{ AccessType: AccessTypePermissionless, AccessControlList: DefaultCallAllowlistAddresses, }, } )
var ( ParamStoreKeyEVMDenom = []byte("EVMDenom") ParamStoreKeyEnableCreate = []byte("EnableCreate") ParamStoreKeyEnableCall = []byte("EnableCall") ParamStoreKeyExtraEIPs = []byte("EnableExtraEIPs") ParamStoreKeyChainConfig = []byte("ChainConfig") ParamStoreKeyAllowUnprotectedTxs = []byte("AllowUnprotectedTxs") )
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 ( // DefaultPriorityReduction is the default amount of price values required for 1 unit of priority. // Because priority is `int64` while price is `big.Int`, it's necessary to scale down the range to keep it more pratical. // The default value is the same as the `sdk.DefaultPowerReduction`. DefaultPriorityReduction = sdk.DefaultPowerReduction // EmptyCodeHash is keccak256 hash of nil to represent empty code. EmptyCodeHash = crypto.Keccak256(nil) )
var AccessType_name = map[int32]string{
0: "ACCESS_TYPE_PERMISSIONLESS",
1: "ACCESS_TYPE_RESTRICTED",
2: "ACCESS_TYPE_PERMISSIONED",
}
var AccessType_value = map[string]int32{
"ACCESS_TYPE_PERMISSIONLESS": 0,
"ACCESS_TYPE_RESTRICTED": 1,
"ACCESS_TYPE_PERMISSIONED": 2,
}
var AvailableStaticPrecompiles = []string{ P256PrecompileAddress, Bech32PrecompileAddress, StakingPrecompileAddress, DistributionPrecompileAddress, ICS20PrecompileAddress, VestingPrecompileAddress, BankPrecompileAddress, GovPrecompileAddress, SlashingPrecompileAddress, }
AvailableStaticPrecompiles defines the full list of all available EVM extension addresses.
NOTE: To be explicit, this list does not include the dynamically registered EVM extensions like the ERC-20 extensions.
var ConversionFactor = map[Decimals]math.Int{ OneDecimals: math.NewInt(1e17), TwoDecimals: math.NewInt(1e16), ThreeDecimals: math.NewInt(1e15), FourDecimals: math.NewInt(1e14), FiveDecimals: math.NewInt(1e13), SixDecimals: math.NewInt(1e12), SevenDecimals: math.NewInt(1e11), EightDecimals: math.NewInt(1e10), NineDecimals: math.NewInt(1e9), TenDecimals: math.NewInt(1e8), ElevenDecimals: math.NewInt(1e7), TwelveDecimals: math.NewInt(1e6), ThirteenDecimals: math.NewInt(1e5), FourteenDecimals: math.NewInt(1e4), FifteenDecimals: math.NewInt(1e3), SixteenDecimals: math.NewInt(1e2), SeventeenDecimals: math.NewInt(1e1), EighteenDecimals: math.NewInt(1e0), }
var DefaultPreinstalls = []Preinstall{
{
Name: "Create2",
Address: "0x4e59b44847b379578588920ca78fbf26c0b4956c",
Code: "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe03601600081602082378035828234f58015156039578182fd5b8082525050506014600cf3",
},
{
Name: "Multicall3",
Address: "0xcA11bde05977b3631167028862bE2a173976CA11",
Code: "0x6080604052600436106100f35760003560e01c80634d2301cc1161008a578063a8b0574e11610059578063a8b0574e1461025a578063bce38bd714610275578063c3077fa914610288578063ee82ac5e1461029b57600080fd5b80634d2301cc146101ec57806372425d9d1461022157806382ad56cb1461023457806386d516e81461024757600080fd5b80633408e470116100c65780633408e47014610191578063399542e9146101a45780633e64a696146101c657806342cbb15c146101d957600080fd5b80630f28c97d146100f8578063174dea711461011a578063252dba421461013a57806327e86d6e1461015b575b600080fd5b34801561010457600080fd5b50425b6040519081526020015b60405180910390f35b61012d610128366004610a85565b6102ba565b6040516101119190610bbe565b61014d610148366004610a85565b6104ef565b604051610111929190610bd8565b34801561016757600080fd5b50437fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0140610107565b34801561019d57600080fd5b5046610107565b6101b76101b2366004610c60565b610690565b60405161011193929190610cba565b3480156101d257600080fd5b5048610107565b3480156101e557600080fd5b5043610107565b3480156101f857600080fd5b50610107610207366004610ce2565b73ffffffffffffffffffffffffffffffffffffffff163190565b34801561022d57600080fd5b5044610107565b61012d610242366004610a85565b6106ab565b34801561025357600080fd5b5045610107565b34801561026657600080fd5b50604051418152602001610111565b61012d610283366004610c60565b61085a565b6101b7610296366004610a85565b610a1a565b3480156102a757600080fd5b506101076102b6366004610d18565b4090565b60606000828067ffffffffffffffff8111156102d8576102d8610d31565b60405190808252806020026020018201604052801561031e57816020015b6040805180820190915260008152606060208201528152602001906001900390816102f65790505b5092503660005b8281101561047757600085828151811061034157610341610d60565b6020026020010151905087878381811061035d5761035d610d60565b905060200281019061036f9190610d8f565b6040810135958601959093506103886020850185610ce2565b73ffffffffffffffffffffffffffffffffffffffff16816103ac6060870187610dcd565b6040516103ba929190610e32565b60006040518083038185875af1925050503d80600081146103f7576040519150601f19603f3d011682016040523d82523d6000602084013e6103fc565b606091505b50602080850191909152901515808452908501351761046d577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260846000fd5b5050600101610325565b508234146104e6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f4d756c746963616c6c333a2076616c7565206d69736d6174636800000000000060448201526064015b60405180910390fd5b50505092915050565b436060828067ffffffffffffffff81111561050c5761050c610d31565b60405190808252806020026020018201604052801561053f57816020015b606081526020019060019003908161052a5790505b5091503660005b8281101561068657600087878381811061056257610562610d60565b90506020028101906105749190610e42565b92506105836020840184610ce2565b73ffffffffffffffffffffffffffffffffffffffff166105a66020850185610dcd565b6040516105b4929190610e32565b6000604051808303816000865af19150503d80600081146105f1576040519150601f19603f3d011682016040523d82523d6000602084013e6105f6565b606091505b5086848151811061060957610609610d60565b602090810291909101015290508061067d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060448201526064016104dd565b50600101610546565b5050509250929050565b43804060606106a086868661085a565b905093509350939050565b6060818067ffffffffffffffff8111156106c7576106c7610d31565b60405190808252806020026020018201604052801561070d57816020015b6040805180820190915260008152606060208201528152602001906001900390816106e55790505b5091503660005b828110156104e657600084828151811061073057610730610d60565b6020026020010151905086868381811061074c5761074c610d60565b905060200281019061075e9190610e76565b925061076d6020840184610ce2565b73ffffffffffffffffffffffffffffffffffffffff166107906040850185610dcd565b60405161079e929190610e32565b6000604051808303816000865af19150503d80600081146107db576040519150601f19603f3d011682016040523d82523d6000602084013e6107e0565b606091505b506020808401919091529015158083529084013517610851577f08c379a000000000000000000000000000000000000000000000000000000000600052602060045260176024527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060445260646000fd5b50600101610714565b6060818067ffffffffffffffff81111561087657610876610d31565b6040519080825280602002602001820160405280156108bc57816020015b6040805180820190915260008152606060208201528152602001906001900390816108945790505b5091503660005b82811015610a105760008482815181106108df576108df610d60565b602002602001015190508686838181106108fb576108fb610d60565b905060200281019061090d9190610e42565b925061091c6020840184610ce2565b73ffffffffffffffffffffffffffffffffffffffff1661093f6020850185610dcd565b60405161094d929190610e32565b6000604051808303816000865af19150503d806000811461098a576040519150601f19603f3d011682016040523d82523d6000602084013e61098f565b606091505b506020830152151581528715610a07578051610a07576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4d756c746963616c6c333a2063616c6c206661696c656400000000000000000060448201526064016104dd565b506001016108c3565b5050509392505050565b6000806060610a2b60018686610690565b919790965090945092505050565b60008083601f840112610a4b57600080fd5b50813567ffffffffffffffff811115610a6357600080fd5b6020830191508360208260051b8501011115610a7e57600080fd5b9250929050565b60008060208385031215610a9857600080fd5b823567ffffffffffffffff811115610aaf57600080fd5b610abb85828601610a39565b90969095509350505050565b6000815180845260005b81811015610aed57602081850181015186830182015201610ad1565b81811115610aff576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600082825180855260208086019550808260051b84010181860160005b84811015610bb1578583037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe001895281518051151584528401516040858501819052610b9d81860183610ac7565b9a86019a9450505090830190600101610b4f565b5090979650505050505050565b602081526000610bd16020830184610b32565b9392505050565b600060408201848352602060408185015281855180845260608601915060608160051b870101935082870160005b82811015610c52577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa0888703018452610c40868351610ac7565b95509284019290840190600101610c06565b509398975050505050505050565b600080600060408486031215610c7557600080fd5b83358015158114610c8557600080fd5b9250602084013567ffffffffffffffff811115610ca157600080fd5b610cad86828701610a39565b9497909650939450505050565b838152826020820152606060408201526000610cd96060830184610b32565b95945050505050565b600060208284031215610cf457600080fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610bd157600080fd5b600060208284031215610d2a57600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81833603018112610dc357600080fd5b9190910192915050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1843603018112610e0257600080fd5b83018035915067ffffffffffffffff821115610e1d57600080fd5b602001915036819003821315610a7e57600080fd5b8183823760009101908152919050565b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc1833603018112610dc357600080fd5b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa1833603018112610dc357600080fdfea2646970667358221220bb2b5c71a328032f97c676ae39a1ec2148d3e5d6f73d95e9b17910152d61f16264736f6c634300080c0033",
},
{
Name: "Permit2",
Address: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
Code: "0x6040608081526004908136101561001557600080fd5b600090813560e01c80630d58b1db1461126c578063137c29fe146110755780632a2d80d114610db75780632b67b57014610bde57806330f28b7a14610ade5780633644e51514610a9d57806336c7851614610a285780633ff9dcb1146109a85780634fe02b441461093f57806365d9723c146107ac57806387517c451461067a578063927da105146105c3578063cc53287f146104a3578063edd9444b1461033a5763fe8ec1a7146100c657600080fd5b346103365760c07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126103365767ffffffffffffffff833581811161033257610114903690860161164b565b60243582811161032e5761012b903690870161161a565b6101336114e6565b9160843585811161032a5761014b9036908a016115c1565b98909560a43590811161032657610164913691016115c1565b969095815190610173826113ff565b606b82527f5065726d697442617463685769746e6573735472616e7366657246726f6d285460208301527f6f6b656e5065726d697373696f6e735b5d207065726d69747465642c61646472838301527f657373207370656e6465722c75696e74323536206e6f6e63652c75696e74323560608301527f3620646561646c696e652c000000000000000000000000000000000000000000608083015282519a8b9181610222602085018096611f93565b918237018a8152039961025b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09b8c8101835282611437565b5190209085515161026b81611ebb565b908a5b8181106102f95750506102f6999a6102ed9183516102a081610294602082018095611f66565b03848101835282611437565b519020602089810151858b015195519182019687526040820192909252336060820152608081019190915260a081019390935260643560c08401528260e081015b03908101835282611437565b51902093611cf7565b80f35b8061031161030b610321938c5161175e565b51612054565b61031b828661175e565b52611f0a565b61026e565b8880fd5b8780fd5b8480fd5b8380fd5b5080fd5b5091346103365760807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126103365767ffffffffffffffff9080358281116103325761038b903690830161164b565b60243583811161032e576103a2903690840161161a565b9390926103ad6114e6565b9160643590811161049f576103c4913691016115c1565b949093835151976103d489611ebb565b98885b81811061047d5750506102f697988151610425816103f9602082018095611f66565b037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08101835282611437565b5190206020860151828701519083519260208401947ffcf35f5ac6a2c28868dc44c302166470266239195f02b0ee408334829333b7668652840152336060840152608083015260a082015260a081526102ed8161141b565b808b61031b8261049461030b61049a968d5161175e565b9261175e565b6103d7565b8680fd5b5082346105bf57602090817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126103325780359067ffffffffffffffff821161032e576104f49136910161161a565b929091845b848110610504578580f35b8061051a610515600193888861196c565b61197c565b61052f84610529848a8a61196c565b0161197c565b3389528385528589209173ffffffffffffffffffffffffffffffffffffffff80911692838b528652868a20911690818a5285528589207fffffffffffffffffffffffff000000000000000000000000000000000000000081541690558551918252848201527f89b1add15eff56b3dfe299ad94e01f2b52fbcb80ae1a3baea6ae8c04cb2b98a4853392a2016104f9565b8280fd5b50346103365760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033657610676816105ff6114a0565b936106086114c3565b6106106114e6565b73ffffffffffffffffffffffffffffffffffffffff968716835260016020908152848420928816845291825283832090871683528152919020549251938316845260a083901c65ffffffffffff169084015260d09190911c604083015281906060820190565b0390f35b50346103365760807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610336576106b26114a0565b906106bb6114c3565b916106c46114e6565b65ffffffffffff926064358481169081810361032a5779ffffffffffff0000000000000000000000000000000000000000947fda9fa7c1b00402c17d0161b249b1ab8bbec047c5a52207b9c112deffd817036b94338a5260016020527fffffffffffff0000000000000000000000000000000000000000000000000000858b209873ffffffffffffffffffffffffffffffffffffffff809416998a8d5260205283878d209b169a8b8d52602052868c209486156000146107a457504216925b8454921697889360a01b16911617179055815193845260208401523392a480f35b905092610783565b5082346105bf5760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126105bf576107e56114a0565b906107ee6114c3565b9265ffffffffffff604435818116939084810361032a57338852602091600183528489209673ffffffffffffffffffffffffffffffffffffffff80911697888b528452858a20981697888a5283528489205460d01c93848711156109175761ffff9085840316116108f05750907f55eb90d810e1700b35a8e7e25395ff7f2b2259abd7415ca2284dfb1c246418f393929133895260018252838920878a528252838920888a5282528389209079ffffffffffffffffffffffffffffffffffffffffffffffffffff7fffffffffffff000000000000000000000000000000000000000000000000000083549260d01b16911617905582519485528401523392a480f35b84517f24d35a26000000000000000000000000000000000000000000000000000000008152fd5b5084517f756688fe000000000000000000000000000000000000000000000000000000008152fd5b503461033657807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610336578060209273ffffffffffffffffffffffffffffffffffffffff61098f6114a0565b1681528084528181206024358252845220549051908152f35b5082346105bf57817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126105bf577f3704902f963766a4e561bbaab6e6cdc1b1dd12f6e9e99648da8843b3f46b918d90359160243533855284602052818520848652602052818520818154179055815193845260208401523392a280f35b8234610a9a5760807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610a9a57610a606114a0565b610a686114c3565b610a706114e6565b6064359173ffffffffffffffffffffffffffffffffffffffff8316830361032e576102f6936117a1565b80fd5b503461033657817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033657602090610ad7611b1e565b9051908152f35b508290346105bf576101007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126105bf57610b1a3661152a565b90807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7c36011261033257610b4c611478565b9160e43567ffffffffffffffff8111610bda576102f694610b6f913691016115c1565b939092610b7c8351612054565b6020840151828501519083519260208401947f939c21a48a8dbe3a9a2404a1d46691e4d39f6583d6ec6b35714604c986d801068652840152336060840152608083015260a082015260a08152610bd18161141b565b51902091611c25565b8580fd5b509134610336576101007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033657610c186114a0565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdc360160c08112610332576080855191610c51836113e3565b1261033257845190610c6282611398565b73ffffffffffffffffffffffffffffffffffffffff91602435838116810361049f578152604435838116810361049f57602082015265ffffffffffff606435818116810361032a5788830152608435908116810361049f576060820152815260a435938285168503610bda576020820194855260c4359087830182815260e43567ffffffffffffffff811161032657610cfe90369084016115c1565b929093804211610d88575050918591610d786102f6999a610d7e95610d238851611fbe565b90898c511690519083519260208401947ff3841cd1ff0085026a6327b620b67997ce40f282c88a8e905a7a5626e310f3d086528401526060830152608082015260808152610d70816113ff565b519020611bd9565b916120c7565b519251169161199d565b602492508a51917fcd21db4f000000000000000000000000000000000000000000000000000000008352820152fd5b5091346103365760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc93818536011261033257610df36114a0565b9260249081359267ffffffffffffffff9788851161032a578590853603011261049f578051978589018981108282111761104a578252848301358181116103265785019036602383011215610326578382013591610e50836115ef565b90610e5d85519283611437565b838252602093878584019160071b83010191368311611046578801905b828210610fe9575050508a526044610e93868801611509565b96838c01978852013594838b0191868352604435908111610fe557610ebb90369087016115c1565b959096804211610fba575050508998995151610ed681611ebb565b908b5b818110610f9757505092889492610d7892610f6497958351610f02816103f98682018095611f66565b5190209073ffffffffffffffffffffffffffffffffffffffff9a8b8b51169151928551948501957faf1b0d30d2cab0380e68f0689007e3254993c596f2fdd0aaa7f4d04f794408638752850152830152608082015260808152610d70816113ff565b51169082515192845b848110610f78578580f35b80610f918585610f8b600195875161175e565b5161199d565b01610f6d565b80610311610fac8e9f9e93610fb2945161175e565b51611fbe565b9b9a9b610ed9565b8551917fcd21db4f000000000000000000000000000000000000000000000000000000008352820152fd5b8a80fd5b6080823603126110465785608091885161100281611398565b61100b85611509565b8152611018838601611509565b838201526110278a8601611607565b8a8201528d611037818701611607565b90820152815201910190610e7a565b8c80fd5b84896041867f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b5082346105bf576101407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126105bf576110b03661152a565b91807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7c360112610332576110e2611478565b67ffffffffffffffff93906101043585811161049f5761110590369086016115c1565b90936101243596871161032a57611125610bd1966102f6983691016115c1565b969095825190611134826113ff565b606482527f5065726d69745769746e6573735472616e7366657246726f6d28546f6b656e5060208301527f65726d697373696f6e73207065726d69747465642c6164647265737320737065848301527f6e6465722c75696e74323536206e6f6e63652c75696e7432353620646561646c60608301527f696e652c0000000000000000000000000000000000000000000000000000000060808301528351948591816111e3602085018096611f93565b918237018b8152039361121c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe095868101835282611437565b5190209261122a8651612054565b6020878101518589015195519182019687526040820192909252336060820152608081019190915260a081019390935260e43560c08401528260e081016102e1565b5082346105bf576020807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261033257813567ffffffffffffffff92838211610bda5736602383011215610bda5781013592831161032e576024906007368386831b8401011161049f57865b8581106112e5578780f35b80821b83019060807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdc83360301126103265761139288876001946060835161132c81611398565b611368608461133c8d8601611509565b9485845261134c60448201611509565b809785015261135d60648201611509565b809885015201611509565b918291015273ffffffffffffffffffffffffffffffffffffffff80808093169516931691166117a1565b016112da565b6080810190811067ffffffffffffffff8211176113b457604052565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6060810190811067ffffffffffffffff8211176113b457604052565b60a0810190811067ffffffffffffffff8211176113b457604052565b60c0810190811067ffffffffffffffff8211176113b457604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff8211176113b457604052565b60c4359073ffffffffffffffffffffffffffffffffffffffff8216820361149b57565b600080fd5b6004359073ffffffffffffffffffffffffffffffffffffffff8216820361149b57565b6024359073ffffffffffffffffffffffffffffffffffffffff8216820361149b57565b6044359073ffffffffffffffffffffffffffffffffffffffff8216820361149b57565b359073ffffffffffffffffffffffffffffffffffffffff8216820361149b57565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc01906080821261149b576040805190611563826113e3565b8082941261149b57805181810181811067ffffffffffffffff8211176113b457825260043573ffffffffffffffffffffffffffffffffffffffff8116810361149b578152602435602082015282526044356020830152606435910152565b9181601f8401121561149b5782359167ffffffffffffffff831161149b576020838186019501011161149b57565b67ffffffffffffffff81116113b45760051b60200190565b359065ffffffffffff8216820361149b57565b9181601f8401121561149b5782359167ffffffffffffffff831161149b576020808501948460061b01011161149b57565b91909160608184031261149b576040805191611666836113e3565b8294813567ffffffffffffffff9081811161149b57830182601f8201121561149b578035611693816115ef565b926116a087519485611437565b818452602094858086019360061b8501019381851161149b579086899897969594939201925b8484106116e3575050505050855280820135908501520135910152565b90919293949596978483031261149b578851908982019082821085831117611730578a928992845261171487611509565b81528287013583820152815201930191908897969594936116c6565b602460007f4e487b710000000000000000000000000000000000000000000000000000000081526041600452fd5b80518210156117725760209160051b010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b92919273ffffffffffffffffffffffffffffffffffffffff604060008284168152600160205282828220961695868252602052818120338252602052209485549565ffffffffffff8760a01c16804211611884575082871696838803611812575b5050611810955016926118b5565b565b878484161160001461184f57602488604051907ff96fb0710000000000000000000000000000000000000000000000000000000082526004820152fd5b7fffffffffffffffffffffffff000000000000000000000000000000000000000084846118109a031691161790553880611802565b602490604051907fd81b2f2e0000000000000000000000000000000000000000000000000000000082526004820152fd5b9060006064926020958295604051947f23b872dd0000000000000000000000000000000000000000000000000000000086526004860152602485015260448401525af13d15601f3d116001600051141617161561190e57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5452414e534645525f46524f4d5f4641494c45440000000000000000000000006044820152fd5b91908110156117725760061b0190565b3573ffffffffffffffffffffffffffffffffffffffff8116810361149b5790565b9065ffffffffffff908160608401511673ffffffffffffffffffffffffffffffffffffffff908185511694826020820151169280866040809401511695169560009187835260016020528383208984526020528383209916988983526020528282209184835460d01c03611af5579185611ace94927fc6a377bfc4eb120024a8ac08eef205be16b817020812c73223e81d1bdb9708ec98979694508715600014611ad35779ffffffffffff00000000000000000000000000000000000000009042165b60a01b167fffffffffffff00000000000000000000000000000000000000000000000000006001860160d01b1617179055519384938491604091949373ffffffffffffffffffffffffffffffffffffffff606085019616845265ffffffffffff809216602085015216910152565b0390a4565b5079ffffffffffff000000000000000000000000000000000000000087611a60565b600484517f756688fe000000000000000000000000000000000000000000000000000000008152fd5b467f000000000000000000000000000000000000000000000000000000000000000103611b69577f866a5aba21966af95d6c7ab78eb2b2fc913915c28be3b9aa07cc04ff903e3f2890565b60405160208101907f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86682527f9ac997416e8ff9d2ff6bebeb7149f65cdae5e32e2b90440b566bb3044041d36a604082015246606082015230608082015260808152611bd3816113ff565b51902090565b611be1611b1e565b906040519060208201927f190100000000000000000000000000000000000000000000000000000000000084526022830152604282015260428152611bd381611398565b9192909360a435936040840151804211611cc65750602084510151808611611c955750918591610d78611c6594611c60602088015186611e47565b611bd9565b73ffffffffffffffffffffffffffffffffffffffff809151511692608435918216820361149b57611810936118b5565b602490604051907f3728b83d0000000000000000000000000000000000000000000000000000000082526004820152fd5b602490604051907fcd21db4f0000000000000000000000000000000000000000000000000000000082526004820152fd5b959093958051519560409283830151804211611e175750848803611dee57611d2e918691610d7860209b611c608d88015186611e47565b60005b868110611d42575050505050505050565b611d4d81835161175e565b5188611d5a83878a61196c565b01359089810151808311611dbe575091818888886001968596611d84575b50505050505001611d31565b611db395611dad9273ffffffffffffffffffffffffffffffffffffffff6105159351169561196c565b916118b5565b803888888883611d78565b6024908651907f3728b83d0000000000000000000000000000000000000000000000000000000082526004820152fd5b600484517fff633a38000000000000000000000000000000000000000000000000000000008152fd5b6024908551907fcd21db4f0000000000000000000000000000000000000000000000000000000082526004820152fd5b9073ffffffffffffffffffffffffffffffffffffffff600160ff83161b9216600052600060205260406000209060081c6000526020526040600020818154188091551615611e9157565b60046040517f756688fe000000000000000000000000000000000000000000000000000000008152fd5b90611ec5826115ef565b611ed26040519182611437565b8281527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0611f0082946115ef565b0190602036910137565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611f375760010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b805160208092019160005b828110611f7f575050505090565b835185529381019392810192600101611f71565b9081519160005b838110611fab575050016000815290565b8060208092840101518185015201611f9a565b60405160208101917f65626cad6cb96493bf6f5ebea28756c966f023ab9e8a83a7101849d5573b3678835273ffffffffffffffffffffffffffffffffffffffff8082511660408401526020820151166060830152606065ffffffffffff9182604082015116608085015201511660a082015260a0815260c0810181811067ffffffffffffffff8211176113b45760405251902090565b6040516020808201927f618358ac3db8dc274f0cd8829da7e234bd48cd73c4a740aede1adec9846d06a1845273ffffffffffffffffffffffffffffffffffffffff81511660408401520151606082015260608152611bd381611398565b919082604091031261149b576020823592013590565b6000843b61222e5750604182036121ac576120e4828201826120b1565b939092604010156117725760209360009360ff6040608095013560f81c5b60405194855216868401526040830152606082015282805260015afa156121a05773ffffffffffffffffffffffffffffffffffffffff806000511691821561217657160361214c57565b60046040517f815e1d64000000000000000000000000000000000000000000000000000000008152fd5b60046040517f8baa579f000000000000000000000000000000000000000000000000000000008152fd5b6040513d6000823e3d90fd5b60408203612204576121c0918101906120b1565b91601b7f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84169360ff1c019060ff8211611f375760209360009360ff608094612102565b60046040517f4be6321b000000000000000000000000000000000000000000000000000000008152fd5b929391601f928173ffffffffffffffffffffffffffffffffffffffff60646020957fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0604051988997889687947f1626ba7e000000000000000000000000000000000000000000000000000000009e8f8752600487015260406024870152816044870152868601378b85828601015201168101030192165afa9081156123a857829161232a575b507fffffffff000000000000000000000000000000000000000000000000000000009150160361230057565b60046040517fb0669cbc000000000000000000000000000000000000000000000000000000008152fd5b90506020813d82116123a0575b8161234460209383611437565b810103126103365751907fffffffff0000000000000000000000000000000000000000000000000000000082168203610a9a57507fffffffff0000000000000000000000000000000000000000000000000000000090386122d4565b3d9150612337565b6040513d84823e3d90fdfea164736f6c6343000811000a",
},
{
Name: "Safe singleton factory",
Address: "0x914d7Fec6aaC8cd542e72Bca78B30650d45643d7",
Code: "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe03601600081602082378035828234f58015156039578182fd5b8082525050506014600cf3",
},
}
var MsgEthereumTxCustomGetSigner = txsigning.CustomGetSigner{ MsgType: protov2.MessageName(&evmapi.MsgEthereumTx{}), Fn: evmapi.GetSigners, }
Functions ¶
func AddressStoragePrefix ¶
AddressStoragePrefix returns a prefix to iterate over a given account storage.
func BinSearch ¶
func BinSearch(lo, hi uint64, executable func(uint64) (bool, *MsgEthereumTxResponse, error)) (uint64, error)
BinSearch executes the binary search and hone in on an executable gas limit
func ConvertAmountTo18Decimals256Int ¶ added in v0.3.0
ConvertAmountTo18Decimals256Int convert the given amount into a 18 decimals representation.
func ConvertAmountTo18DecimalsBigInt ¶
ConvertAmountTo18DecimalsBigInt convert the given amount into a 18 decimals representation.
func ConvertAmountTo18DecimalsLegacy ¶
ConvertAmountToLegacy18Decimals convert the given amount into a 18 decimals representation.
func ConvertBigIntFrom18DecimalsToLegacyDec ¶
ConvertBigIntFrom18DecimalsToLegacyDec converts the given amount into a LegacyDec with the corresponding decimals of the EVM denom.
func ConvertCoinsDenomToExtendedDenom ¶ added in v0.2.0
ConvertCoinsDenomToExtendedDenom returns the given coins with the Denom of the evm coin converted to the extended denom.
func ConvertEvmCoinDenomToExtendedDenom ¶ added in v0.2.0
ConvertEvmCoinDenomToExtendedDenom converts the coin's Denom to the extended denom. Return an error if the coin denom is not the EVM.
func DecodeTxLogsFromEvents ¶ added in v0.4.0
func DecodeTxLogsFromEvents(in []byte, events []abci.Event, blockNumber uint64) ([]*ethtypes.Log, error)
DecodeTxLogsFromEvents decodes a protobuf-encoded byte slice into ethereum logs
func EffectiveGasPrice ¶
EffectiveGasPrice computes the effective gas price based on eip-1559 rules `effectiveGasPrice = min(baseFee + tipCap, feeCap)`
func EncodeTransactionLogs ¶
func EncodeTransactionLogs(res *TransactionLogs) ([]byte, error)
EncodeTransactionLogs encodes TransactionLogs slice into a protobuf-encoded byte slice.
func GetEVMCoinDenom ¶
func GetEVMCoinDenom() string
GetEVMCoinDenom returns the denom used for the EVM coin.
func GetEVMCoinDisplayDenom ¶ added in v0.4.0
func GetEVMCoinDisplayDenom() string
GetEVMCoinDisplayDenom returns the display denom used for the EVM coin.
func GetEVMCoinExtendedDenom ¶ added in v0.2.0
func GetEVMCoinExtendedDenom() string
GetEVMCoinExtendedDenom returns the extended denom used for the EVM coin.
func GetEthChainConfig ¶
func GetEthChainConfig() *geth.ChainConfig
GetEthChainConfig returns the `chainConfig` used in the EVM (geth type).
func GetTxPriority ¶
func GetTxPriority(ethTx *ethtypes.Transaction, baseFee *big.Int) (priority int64)
GetTxPriority returns the priority of a given Ethereum tx. It relies of the priority reduction global variable to calculate the tx priority given the tx tip price:
tx_priority = tip_price / priority_reduction
func GetTxTypeName ¶
func HexAddress ¶ added in v0.4.0
HexAddress encode ethereum address without checksum, faster to run for state machine
func IsEmptyCodeHash ¶
IsEmptyCodeHash checks if the given byte slice represents an empty code hash.
func IsLondon ¶
func IsLondon(ethConfig *params.ChainConfig, height int64) bool
IsLondon returns if london hardfork is enabled.
func LogsToEthereum ¶
LogsToEthereum casts the Cosmos EVM logs to a slice of Ethereum Logs.
func NewTracer ¶
func NewTracer(tracer string, msg core.Message, cfg *params.ChainConfig, height int64, timestamp uint64) *tracing.Hooks
NewTracer creates a new Logger tracer to collect execution traces from an EVM transaction.
func ParamKeyTable
deprecated
func ParamKeyTable() paramtypes.KeyTable
Deprecated: ParamKeyTable returns the parameter key table. Usage of x/params to manage parameters is deprecated in favor of x/gov controlled execution of MsgUpdateParams messages. These types remain solely for migration purposes and will be removed in a future release.
func ParseTxLogsFromEvent ¶ added in v0.4.0
ParseTxLogsFromEvent parse tx logs from one event
func RegisterInterfaces ¶
func RegisterInterfaces(registry codectypes.InterfaceRegistry)
RegisterInterfaces registers the client interfaces to protobuf Any.
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec required for EIP-712
func RegisterMsgHandler ¶
RegisterMsgHandler registers the http handlers for service Msg to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterMsgHandlerClient ¶
RegisterMsgHandlerClient registers the http handlers for service Msg to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MsgClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MsgClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MsgClient" to call the correct interceptors.
func RegisterMsgHandlerFromEndpoint ¶
func RegisterMsgHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterMsgHandlerFromEndpoint is same as RegisterMsgHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterMsgHandlerServer ¶
RegisterMsgHandlerServer registers the http handlers for service Msg to "mux". UnaryRPC :call MsgServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterMsgHandlerFromEndpoint instead.
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func RevertReasonBytes ¶ added in v0.3.0
RevertReasonBytes converts a message to ABI-encoded revert bytes.
func SortedKVStoreKeys ¶ added in v0.3.0
func SortedKVStoreKeys(keys map[string]*storetypes.KVStoreKey) []*storetypes.KVStoreKey
SortedKVStoreKeys returns a slice of *KVStoreKey sorted by their map key.
func TxLogsFromEvents ¶ added in v0.4.0
TxLogsFromEvents parses ethereum logs from cosmos events for specific msg index
func ValidatePrecompiles ¶
func ValidatePrecompiles(i interface{}) error
ValidatePrecompiles checks if the precompile addresses are valid and unique.
Types ¶
type AccessControl ¶
type AccessControl struct { // create defines the permission policy for creating contracts Create AccessControlType `protobuf:"bytes,1,opt,name=create,proto3" json:"create"` // call defines the permission policy for calling contracts Call AccessControlType `protobuf:"bytes,2,opt,name=call,proto3" json:"call"` }
AccessControl defines the permission policy of the EVM for creating and calling contracts
func (*AccessControl) Descriptor ¶
func (*AccessControl) Descriptor() ([]byte, []int)
func (*AccessControl) GetCall ¶
func (m *AccessControl) GetCall() AccessControlType
func (*AccessControl) GetCreate ¶
func (m *AccessControl) GetCreate() AccessControlType
func (*AccessControl) Marshal ¶
func (m *AccessControl) Marshal() (dAtA []byte, err error)
func (*AccessControl) MarshalToSizedBuffer ¶
func (m *AccessControl) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccessControl) ProtoMessage ¶
func (*AccessControl) ProtoMessage()
func (*AccessControl) Reset ¶
func (m *AccessControl) Reset()
func (*AccessControl) Size ¶
func (m *AccessControl) Size() (n int)
func (*AccessControl) String ¶
func (m *AccessControl) String() string
func (*AccessControl) Unmarshal ¶
func (m *AccessControl) Unmarshal(dAtA []byte) error
func (AccessControl) Validate ¶
func (ac AccessControl) Validate() error
func (*AccessControl) XXX_DiscardUnknown ¶
func (m *AccessControl) XXX_DiscardUnknown()
func (*AccessControl) XXX_Marshal ¶
func (m *AccessControl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccessControl) XXX_Merge ¶
func (m *AccessControl) XXX_Merge(src proto.Message)
func (*AccessControl) XXX_Size ¶
func (m *AccessControl) XXX_Size() int
func (*AccessControl) XXX_Unmarshal ¶
func (m *AccessControl) XXX_Unmarshal(b []byte) error
type AccessControlType ¶
type AccessControlType struct { // access_type defines which type of permission is required for the operation AccessType AccessType `` /* 144-byte string literal not displayed */ // access_control_list defines defines different things depending on the // AccessType: // - ACCESS_TYPE_PERMISSIONLESS: list of addresses that are blocked from // performing the operation // - ACCESS_TYPE_RESTRICTED: ignored // - ACCESS_TYPE_PERMISSIONED: list of addresses that are allowed to perform // the operation AccessControlList []string `` /* 141-byte string literal not displayed */ }
AccessControlType defines the permission type for policies
func (*AccessControlType) Descriptor ¶
func (*AccessControlType) Descriptor() ([]byte, []int)
func (*AccessControlType) GetAccessControlList ¶
func (m *AccessControlType) GetAccessControlList() []string
func (*AccessControlType) GetAccessType ¶
func (m *AccessControlType) GetAccessType() AccessType
func (*AccessControlType) Marshal ¶
func (m *AccessControlType) Marshal() (dAtA []byte, err error)
func (*AccessControlType) MarshalTo ¶
func (m *AccessControlType) MarshalTo(dAtA []byte) (int, error)
func (*AccessControlType) MarshalToSizedBuffer ¶
func (m *AccessControlType) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccessControlType) ProtoMessage ¶
func (*AccessControlType) ProtoMessage()
func (*AccessControlType) Reset ¶
func (m *AccessControlType) Reset()
func (*AccessControlType) Size ¶
func (m *AccessControlType) Size() (n int)
func (*AccessControlType) String ¶
func (m *AccessControlType) String() string
func (*AccessControlType) Unmarshal ¶
func (m *AccessControlType) Unmarshal(dAtA []byte) error
func (AccessControlType) Validate ¶
func (act AccessControlType) Validate() error
func (*AccessControlType) XXX_DiscardUnknown ¶
func (m *AccessControlType) XXX_DiscardUnknown()
func (*AccessControlType) XXX_Marshal ¶
func (m *AccessControlType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccessControlType) XXX_Merge ¶
func (m *AccessControlType) XXX_Merge(src proto.Message)
func (*AccessControlType) XXX_Size ¶
func (m *AccessControlType) XXX_Size() int
func (*AccessControlType) XXX_Unmarshal ¶
func (m *AccessControlType) XXX_Unmarshal(b []byte) error
type AccessTuple ¶
type AccessTuple struct { // address is a hex formatted ethereum address Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // storage_keys are hex formatted hashes of the storage keys StorageKeys []string `protobuf:"bytes,2,rep,name=storage_keys,json=storageKeys,proto3" json:"storageKeys"` }
AccessTuple is the element type of an access list.
func (*AccessTuple) Descriptor ¶
func (*AccessTuple) Descriptor() ([]byte, []int)
func (*AccessTuple) Marshal ¶
func (m *AccessTuple) Marshal() (dAtA []byte, err error)
func (*AccessTuple) MarshalToSizedBuffer ¶
func (m *AccessTuple) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccessTuple) ProtoMessage ¶
func (*AccessTuple) ProtoMessage()
func (*AccessTuple) Reset ¶
func (m *AccessTuple) Reset()
func (*AccessTuple) Size ¶
func (m *AccessTuple) Size() (n int)
func (*AccessTuple) String ¶
func (m *AccessTuple) String() string
func (*AccessTuple) Unmarshal ¶
func (m *AccessTuple) Unmarshal(dAtA []byte) error
func (*AccessTuple) XXX_DiscardUnknown ¶
func (m *AccessTuple) XXX_DiscardUnknown()
func (*AccessTuple) XXX_Marshal ¶
func (m *AccessTuple) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccessTuple) XXX_Merge ¶
func (m *AccessTuple) XXX_Merge(src proto.Message)
func (*AccessTuple) XXX_Size ¶
func (m *AccessTuple) XXX_Size() int
func (*AccessTuple) XXX_Unmarshal ¶
func (m *AccessTuple) XXX_Unmarshal(b []byte) error
type AccessType ¶
type AccessType int32
AccessType defines the types of permissions for the operations
const ( // ACCESS_TYPE_PERMISSIONLESS does not restrict the operation to anyone AccessTypePermissionless AccessType = 0 // ACCESS_TYPE_RESTRICTED restrict the operation to anyone AccessTypeRestricted AccessType = 1 // ACCESS_TYPE_PERMISSIONED only allows the operation for specific addresses AccessTypePermissioned AccessType = 2 )
func (AccessType) EnumDescriptor ¶
func (AccessType) EnumDescriptor() ([]byte, []int)
func (AccessType) String ¶
func (x AccessType) String() string
type AccountKeeper ¶
type AccountKeeper interface { NewAccountWithAddress(ctx context.Context, addr sdk.AccAddress) sdk.AccountI GetModuleAddress(moduleName string) sdk.AccAddress HasAccount(ctx context.Context, addr sdk.AccAddress) bool GetAccount(ctx context.Context, addr sdk.AccAddress) sdk.AccountI SetAccount(ctx context.Context, account sdk.AccountI) RemoveAccount(ctx context.Context, account sdk.AccountI) GetParams(ctx context.Context) (params authtypes.Params) GetSequence(ctx context.Context, account sdk.AccAddress) (uint64, error) AddressCodec() address.Codec UnorderedTransactionsEnabled() bool RemoveExpiredUnorderedNonces(ctx sdk.Context) error TryAddUnorderedNonce(ctx sdk.Context, sender []byte, timestamp time.Time) error }
AccountKeeper defines the expected account keeper interface
type BankKeeper ¶
type BankKeeper interface { authtypes.BankKeeper SpendableCoin(ctx context.Context, addr sdk.AccAddress, denom string) sdk.Coin GetBalance(ctx context.Context, addr sdk.AccAddress, denom string) sdk.Coin SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error MintCoins(ctx context.Context, moduleName string, amt sdk.Coins) error BurnCoins(ctx context.Context, moduleName string, amt sdk.Coins) error IterateAccountBalances(ctx context.Context, account sdk.AccAddress, cb func(coin sdk.Coin) bool) IterateTotalSupply(ctx context.Context, cb func(coin sdk.Coin) bool) GetSupply(ctx context.Context, denom string) sdk.Coin GetDenomMetaData(ctx context.Context, denom string) (banktypes.Metadata, bool) SetDenomMetaData(ctx context.Context, denomMetaData banktypes.Metadata) }
BankKeeper defines the expected interface needed to retrieve account balances.
type BankWrapper ¶
type BankWrapper interface { BankKeeper MintAmountToAccount(ctx context.Context, recipientAddr sdk.AccAddress, amt *big.Int) error BurnAmountFromAccount(ctx context.Context, account sdk.AccAddress, amt *big.Int) error }
BankWrapper defines the methods required by the wrapper around the Cosmos SDK x/bank keeper that is used to manage an EVM coin with a configurable value for decimals.
type ChainConfig ¶
type ChainConfig struct { // homestead_block switch (nil no fork, 0 = already homestead) HomesteadBlock *cosmossdk_io_math.Int `` /* 159-byte string literal not displayed */ // dao_fork_block corresponds to TheDAO hard-fork switch block (nil no fork) DAOForkBlock *cosmossdk_io_math.Int `` /* 154-byte string literal not displayed */ // dao_fork_support defines whether the nodes supports or opposes the DAO // hard-fork DAOForkSupport bool `` /* 130-byte string literal not displayed */ // eip150_block: EIP150 implements the Gas price changes // (https://github.com/ethereum/EIPs/issues/150) EIP150 HF block (nil no fork) EIP150Block *cosmossdk_io_math.Int `` /* 147-byte string literal not displayed */ // eip155_block: EIP155Block HF block EIP155Block *cosmossdk_io_math.Int `` /* 147-byte string literal not displayed */ // eip158_block: EIP158 HF block EIP158Block *cosmossdk_io_math.Int `` /* 147-byte string literal not displayed */ // byzantium_block: Byzantium switch block (nil no fork, 0 = already on // byzantium) ByzantiumBlock *cosmossdk_io_math.Int `` /* 159-byte string literal not displayed */ // constantinople_block: Constantinople switch block (nil no fork, 0 = already // activated) ConstantinopleBlock *cosmossdk_io_math.Int `` /* 179-byte string literal not displayed */ // petersburg_block: Petersburg switch block (nil same as Constantinople) PetersburgBlock *cosmossdk_io_math.Int `` /* 164-byte string literal not displayed */ // istanbul_block: Istanbul switch block (nil no fork, 0 = already on // istanbul) IstanbulBlock *cosmossdk_io_math.Int `` /* 156-byte string literal not displayed */ // muir_glacier_block: Eip-2384 (bomb delay) switch block (nil no fork, 0 = // already activated) MuirGlacierBlock *cosmossdk_io_math.Int `` /* 171-byte string literal not displayed */ // berlin_block: Berlin switch block (nil = no fork, 0 = already on berlin) BerlinBlock *cosmossdk_io_math.Int `` /* 148-byte string literal not displayed */ // london_block: London switch block (nil = no fork, 0 = already on london) LondonBlock *cosmossdk_io_math.Int `` /* 148-byte string literal not displayed */ // arrow_glacier_block: Eip-4345 (bomb delay) switch block (nil = no fork, 0 = // already activated) ArrowGlacierBlock *cosmossdk_io_math.Int `` /* 175-byte string literal not displayed */ // gray_glacier_block: EIP-5133 (bomb delay) switch block (nil = no fork, 0 = // already activated) GrayGlacierBlock *cosmossdk_io_math.Int `` /* 171-byte string literal not displayed */ // merge_netsplit_block: Virtual fork after The Merge to use as a network // splitter MergeNetsplitBlock *cosmossdk_io_math.Int `` /* 179-byte string literal not displayed */ // chain_id is the id of the chain (EIP-155) ChainId uint64 `protobuf:"varint,24,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // denom is the denomination used on the EVM Denom string `protobuf:"bytes,25,opt,name=denom,proto3" json:"denom,omitempty"` // decimals is the real decimal precision of the denomination used on the EVM Decimals uint64 `protobuf:"varint,26,opt,name=decimals,proto3" json:"decimals,omitempty"` // shanghai_time: Shanghai switch time (nil = no fork, 0 = already on // shanghai) ShanghaiTime *cosmossdk_io_math.Int `` /* 152-byte string literal not displayed */ // cancun_time: Cancun switch time (nil = no fork, 0 = already on cancun) CancunTime *cosmossdk_io_math.Int `` /* 144-byte string literal not displayed */ // prague_time: Prague switch time (nil = no fork, 0 = already on prague) PragueTime *cosmossdk_io_math.Int `` /* 144-byte string literal not displayed */ // verkle_time: Verkle switch time (nil = no fork, 0 = already on verkle) VerkleTime *cosmossdk_io_math.Int `` /* 144-byte string literal not displayed */ // osaka_time: Osaka switch time (nil = no fork, 0 = already on osaka) OsakaTime *cosmossdk_io_math.Int `` /* 140-byte string literal not displayed */ }
ChainConfig defines the Ethereum ChainConfig parameters using *sdk.Int values instead of *big.Int.
func DefaultChainConfig ¶
func DefaultChainConfig(evmChainID uint64) *ChainConfig
func (*ChainConfig) Descriptor ¶
func (*ChainConfig) Descriptor() ([]byte, []int)
func (ChainConfig) EthereumConfig ¶
func (cc ChainConfig) EthereumConfig(chainID *big.Int) *gethparams.ChainConfig
EthereumConfig returns an Ethereum ChainConfig for EVM state transitions. All the negative or nil values are converted to nil
func (*ChainConfig) GetChainId ¶
func (m *ChainConfig) GetChainId() uint64
func (*ChainConfig) GetDAOForkSupport ¶
func (m *ChainConfig) GetDAOForkSupport() bool
func (*ChainConfig) GetDecimals ¶
func (m *ChainConfig) GetDecimals() uint64
func (*ChainConfig) GetDenom ¶
func (m *ChainConfig) GetDenom() string
func (*ChainConfig) Marshal ¶
func (m *ChainConfig) Marshal() (dAtA []byte, err error)
func (*ChainConfig) MarshalToSizedBuffer ¶
func (m *ChainConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ChainConfig) ProtoMessage ¶
func (*ChainConfig) ProtoMessage()
func (*ChainConfig) Reset ¶
func (m *ChainConfig) Reset()
func (*ChainConfig) Size ¶
func (m *ChainConfig) Size() (n int)
func (*ChainConfig) String ¶
func (m *ChainConfig) String() string
func (*ChainConfig) Unmarshal ¶
func (m *ChainConfig) Unmarshal(dAtA []byte) error
func (ChainConfig) Validate ¶
func (cc ChainConfig) Validate() error
Validate performs a basic validation of the ChainConfig params. The function will return an error if any of the block values is uninitialized (i.e nil) or if the EIP150Hash is an invalid hash.
func (*ChainConfig) XXX_DiscardUnknown ¶
func (m *ChainConfig) XXX_DiscardUnknown()
func (*ChainConfig) XXX_Marshal ¶
func (m *ChainConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChainConfig) XXX_Merge ¶
func (m *ChainConfig) XXX_Merge(src proto.Message)
func (*ChainConfig) XXX_Size ¶
func (m *ChainConfig) XXX_Size() int
func (*ChainConfig) XXX_Unmarshal ¶
func (m *ChainConfig) XXX_Unmarshal(b []byte) error
type CompiledContract ¶
CompiledContract contains compiled bytecode and abi
func (CompiledContract) MarshalJSON ¶
func (s CompiledContract) MarshalJSON() ([]byte, error)
MarshalJSON serializes ByteArray to hex
func (*CompiledContract) UnmarshalJSON ¶
func (s *CompiledContract) UnmarshalJSON(data []byte) error
UnmarshalJSON deserializes ByteArray to hex
type ConsensusParamsKeeper ¶ added in v0.3.0
type ConsensusParamsKeeper interface {
Params(context.Context, *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
}
ConsensusParamsKeeper defines the expected consensus params keeper.
type Decimals ¶
type Decimals uint8
Decimals represents the decimal representation of a Cosmos coin.
const ( OneDecimals Decimals = 1 TwoDecimals Decimals = 2 ThreeDecimals Decimals = 3 FourDecimals Decimals = 4 FiveDecimals Decimals = 5 SixDecimals Decimals = 6 // SixDecimals is the Decimals used for Cosmos coin with 6 decimals. SevenDecimals Decimals = 7 EightDecimals Decimals = 8 NineDecimals Decimals = 9 TenDecimals Decimals = 10 ElevenDecimals Decimals = 11 TwelveDecimals Decimals = 12 ThirteenDecimals Decimals = 13 FourteenDecimals Decimals = 14 FifteenDecimals Decimals = 15 SixteenDecimals Decimals = 16 SeventeenDecimals Decimals = 17 EighteenDecimals Decimals = 18 // EighteenDecimals is the Decimals used for Cosmos coin with 18 decimals. )
NOTE: Remember to add the ConversionFactor associated with constants.
func GetEVMCoinDecimals ¶
func GetEVMCoinDecimals() Decimals
GetEVMCoinDecimals returns the decimals used in the representation of the EVM coin.
func (Decimals) ConversionFactor ¶
ConversionFactor returns the conversion factor between the Decimals value and the 18 decimals representation, i.e. `EighteenDecimals`.
NOTE: This function does not check if the Decimal instance is valid or not and by default returns the conversion factor of 1, i.e. from 18 decimals to 18 decimals. We cannot have a non supported Decimal since it is checked and validated.
type DefaultOpCodesHooks ¶
type DefaultOpCodesHooks struct {
// contains filtered or unexported fields
}
DefaultOpCodesHooks is the default implementation of OpCodeHooks for ATOM chain The hooks are used to enforce access control policies on EVM operations. They are ran BEFORE the respective opcode execution every time they are called.
func (*DefaultOpCodesHooks) AddCallHooks ¶
func (h *DefaultOpCodesHooks) AddCallHooks(hooks ...CallHook)
AddCallHooks adds one or more hooks to the queue to be executed before the CALL opcode. Hooks will be executed in the order they are added.
func (*DefaultOpCodesHooks) AddCreateHooks ¶
func (h *DefaultOpCodesHooks) AddCreateHooks(hooks ...CreateHook)
AddCreateHooks adds one or more hooks to the queue to be executed before the CREATE opcode. Hooks will be executed in the order they are added.
func (*DefaultOpCodesHooks) CallHook ¶
func (h *DefaultOpCodesHooks) CallHook(evm *vm.EVM, caller common.Address, recipient common.Address) error
CallHook checks if the caller has permission to perform a call
func (*DefaultOpCodesHooks) CreateHook ¶
CreateHook checks if the caller has permission to deploy contracts
type EVMConfigurator ¶
type EVMConfigurator struct {
// contains filtered or unexported fields
}
EVMConfigurator allows to extend x/evm module configurations. The configurator modifies the EVM before starting the node. This means that all init genesis validations will be applied to each change.
func NewEVMConfigurator ¶
func NewEVMConfigurator() *EVMConfigurator
NewEVMConfigurator returns a pointer to a new EVMConfigurator object.
func (*EVMConfigurator) Configure ¶
func (ec *EVMConfigurator) Configure() error
Configure applies the changes to the virtual machine configuration.
func (*EVMConfigurator) ResetTestConfig ¶
func (ec *EVMConfigurator) ResetTestConfig()
func (*EVMConfigurator) WithChainConfig ¶
func (ec *EVMConfigurator) WithChainConfig(cc *ChainConfig) *EVMConfigurator
WithChainConfig allows to define a custom `chainConfig` to be used in the EVM.
func (*EVMConfigurator) WithEVMCoinInfo ¶
func (ec *EVMConfigurator) WithEVMCoinInfo(coinInfo EvmCoinInfo) *EVMConfigurator
WithEVMCoinInfo allows to define the denom and decimals of the token used as the EVM token.
func (*EVMConfigurator) WithExtendedDefaultExtraEIPs ¶
func (ec *EVMConfigurator) WithExtendedDefaultExtraEIPs(eips ...int64) *EVMConfigurator
WithExtendedDefaultExtraEIPs update the x/evm DefaultExtraEIPs params by adding provided EIP numbers.
func (*EVMConfigurator) WithExtendedEips ¶
func (ec *EVMConfigurator) WithExtendedEips(extendedEIPs map[int]func(*vm.JumpTable)) *EVMConfigurator
WithExtendedEips allows to add to the go-ethereum activators map the provided EIP activators.
type Erc20Keeper ¶
type Erc20Keeper interface {
GetERC20PrecompileInstance(ctx sdk.Context, address common.Address) (contract vm.PrecompiledContract, found bool, err error)
}
Erc20Keeper defines the expected interface needed to instantiate ERC20 precompiles.
type EstimateGasResponse ¶
type EstimateGasResponse struct { // gas returns the estimated gas Gas uint64 `protobuf:"varint,1,opt,name=gas,proto3" json:"gas,omitempty"` // ret is the returned data from evm function (result or data supplied with // revert opcode) Ret []byte `protobuf:"bytes,2,opt,name=ret,proto3" json:"ret,omitempty"` // vm_error is the error returned by vm execution VmError string `protobuf:"bytes,3,opt,name=vm_error,json=vmError,proto3" json:"vm_error,omitempty"` }
EstimateGasResponse defines EstimateGas response
func (*EstimateGasResponse) Descriptor ¶
func (*EstimateGasResponse) Descriptor() ([]byte, []int)
func (EstimateGasResponse) Failed ¶
func (egr EstimateGasResponse) Failed() bool
Failed returns if the contract execution failed in vm errors
func (*EstimateGasResponse) GetGas ¶
func (m *EstimateGasResponse) GetGas() uint64
func (*EstimateGasResponse) GetRet ¶
func (m *EstimateGasResponse) GetRet() []byte
func (*EstimateGasResponse) GetVmError ¶
func (m *EstimateGasResponse) GetVmError() string
func (*EstimateGasResponse) Marshal ¶
func (m *EstimateGasResponse) Marshal() (dAtA []byte, err error)
func (*EstimateGasResponse) MarshalTo ¶
func (m *EstimateGasResponse) MarshalTo(dAtA []byte) (int, error)
func (*EstimateGasResponse) MarshalToSizedBuffer ¶
func (m *EstimateGasResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EstimateGasResponse) ProtoMessage ¶
func (*EstimateGasResponse) ProtoMessage()
func (*EstimateGasResponse) Reset ¶
func (m *EstimateGasResponse) Reset()
func (*EstimateGasResponse) Size ¶
func (m *EstimateGasResponse) Size() (n int)
func (*EstimateGasResponse) String ¶
func (m *EstimateGasResponse) String() string
func (*EstimateGasResponse) Unmarshal ¶
func (m *EstimateGasResponse) Unmarshal(dAtA []byte) error
func (*EstimateGasResponse) XXX_DiscardUnknown ¶
func (m *EstimateGasResponse) XXX_DiscardUnknown()
func (*EstimateGasResponse) XXX_Marshal ¶
func (m *EstimateGasResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EstimateGasResponse) XXX_Merge ¶
func (m *EstimateGasResponse) XXX_Merge(src proto.Message)
func (*EstimateGasResponse) XXX_Size ¶
func (m *EstimateGasResponse) XXX_Size() int
func (*EstimateGasResponse) XXX_Unmarshal ¶
func (m *EstimateGasResponse) XXX_Unmarshal(b []byte) error
type EthCallRequest ¶
type EthCallRequest struct { // args uses the same json format as the json rpc api. Args []byte `protobuf:"bytes,1,opt,name=args,proto3" json:"args,omitempty"` // gas_cap defines the default gas cap to be used GasCap uint64 `protobuf:"varint,2,opt,name=gas_cap,json=gasCap,proto3" json:"gas_cap,omitempty"` // proposer_address of the requested block in hex format ProposerAddress github_com_cosmos_cosmos_sdk_types.ConsAddress `` /* 162-byte string literal not displayed */ // chain_id is the eip155 chain id parsed from the requested block header ChainId int64 `protobuf:"varint,4,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` }
EthCallRequest defines EthCall request
func (*EthCallRequest) Descriptor ¶
func (*EthCallRequest) Descriptor() ([]byte, []int)
func (*EthCallRequest) GetArgs ¶
func (m *EthCallRequest) GetArgs() []byte
func (*EthCallRequest) GetChainId ¶
func (m *EthCallRequest) GetChainId() int64
func (*EthCallRequest) GetGasCap ¶
func (m *EthCallRequest) GetGasCap() uint64
func (*EthCallRequest) GetProposerAddress ¶
func (m *EthCallRequest) GetProposerAddress() github_com_cosmos_cosmos_sdk_types.ConsAddress
func (*EthCallRequest) Marshal ¶
func (m *EthCallRequest) Marshal() (dAtA []byte, err error)
func (*EthCallRequest) MarshalToSizedBuffer ¶
func (m *EthCallRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EthCallRequest) ProtoMessage ¶
func (*EthCallRequest) ProtoMessage()
func (*EthCallRequest) Reset ¶
func (m *EthCallRequest) Reset()
func (*EthCallRequest) Size ¶
func (m *EthCallRequest) Size() (n int)
func (*EthCallRequest) String ¶
func (m *EthCallRequest) String() string
func (*EthCallRequest) Unmarshal ¶
func (m *EthCallRequest) Unmarshal(dAtA []byte) error
func (*EthCallRequest) XXX_DiscardUnknown ¶
func (m *EthCallRequest) XXX_DiscardUnknown()
func (*EthCallRequest) XXX_Marshal ¶
func (m *EthCallRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EthCallRequest) XXX_Merge ¶
func (m *EthCallRequest) XXX_Merge(src proto.Message)
func (*EthCallRequest) XXX_Size ¶
func (m *EthCallRequest) XXX_Size() int
func (*EthCallRequest) XXX_Unmarshal ¶
func (m *EthCallRequest) XXX_Unmarshal(b []byte) error
type EthereumTx ¶ added in v0.4.0
type EthereumTx struct {
*ethtypes.Transaction
}
func (EthereumTx) MarshalJSON ¶ added in v0.4.0
func (tx EthereumTx) MarshalJSON() ([]byte, error)
func (EthereumTx) MarshalTo ¶ added in v0.4.0
func (tx EthereumTx) MarshalTo(dst []byte) (int, error)
func (EthereumTx) Size ¶ added in v0.4.0
func (tx EthereumTx) Size() int
func (*EthereumTx) Unmarshal ¶ added in v0.4.0
func (tx *EthereumTx) Unmarshal(dst []byte) error
func (*EthereumTx) UnmarshalJSON ¶ added in v0.4.0
func (tx *EthereumTx) UnmarshalJSON(bz []byte) error
func (EthereumTx) Validate ¶ added in v0.4.0
func (tx EthereumTx) Validate() error
type EventBlockBloom ¶
type EventBlockBloom struct { // bloom is the bloom filter of the block Bloom string `protobuf:"bytes,1,opt,name=bloom,proto3" json:"bloom,omitempty"` }
EventBlockBloom defines an Ethereum block bloom filter event
func (*EventBlockBloom) Descriptor ¶
func (*EventBlockBloom) Descriptor() ([]byte, []int)
func (*EventBlockBloom) GetBloom ¶
func (m *EventBlockBloom) GetBloom() string
func (*EventBlockBloom) Marshal ¶
func (m *EventBlockBloom) Marshal() (dAtA []byte, err error)
func (*EventBlockBloom) MarshalToSizedBuffer ¶
func (m *EventBlockBloom) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventBlockBloom) ProtoMessage ¶
func (*EventBlockBloom) ProtoMessage()
func (*EventBlockBloom) Reset ¶
func (m *EventBlockBloom) Reset()
func (*EventBlockBloom) Size ¶
func (m *EventBlockBloom) Size() (n int)
func (*EventBlockBloom) String ¶
func (m *EventBlockBloom) String() string
func (*EventBlockBloom) Unmarshal ¶
func (m *EventBlockBloom) Unmarshal(dAtA []byte) error
func (*EventBlockBloom) XXX_DiscardUnknown ¶
func (m *EventBlockBloom) XXX_DiscardUnknown()
func (*EventBlockBloom) XXX_Marshal ¶
func (m *EventBlockBloom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventBlockBloom) XXX_Merge ¶
func (m *EventBlockBloom) XXX_Merge(src proto.Message)
func (*EventBlockBloom) XXX_Size ¶
func (m *EventBlockBloom) XXX_Size() int
func (*EventBlockBloom) XXX_Unmarshal ¶
func (m *EventBlockBloom) XXX_Unmarshal(b []byte) error
type EventEthereumTx ¶
type EventEthereumTx struct { // amount Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` // eth_hash is the Ethereum hash of the transaction EthHash string `protobuf:"bytes,2,opt,name=eth_hash,json=ethHash,proto3" json:"eth_hash,omitempty"` // index of the transaction in the block Index string `protobuf:"bytes,3,opt,name=index,proto3" json:"index,omitempty"` // gas_used is the amount of gas used by the transaction GasUsed string `protobuf:"bytes,4,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` // hash is the CometBFT hash of the transaction Hash string `protobuf:"bytes,5,opt,name=hash,proto3" json:"hash,omitempty"` // recipient of the transaction Recipient string `protobuf:"bytes,6,opt,name=recipient,proto3" json:"recipient,omitempty"` // eth_tx_failed contains a VM error should it occur EthTxFailed string `protobuf:"bytes,7,opt,name=eth_tx_failed,json=ethTxFailed,proto3" json:"eth_tx_failed,omitempty"` }
EventEthereumTx defines the event for an Ethereum transaction
func (*EventEthereumTx) Descriptor ¶
func (*EventEthereumTx) Descriptor() ([]byte, []int)
func (*EventEthereumTx) GetAmount ¶
func (m *EventEthereumTx) GetAmount() string
func (*EventEthereumTx) GetEthHash ¶
func (m *EventEthereumTx) GetEthHash() string
func (*EventEthereumTx) GetEthTxFailed ¶
func (m *EventEthereumTx) GetEthTxFailed() string
func (*EventEthereumTx) GetGasUsed ¶
func (m *EventEthereumTx) GetGasUsed() string
func (*EventEthereumTx) GetHash ¶
func (m *EventEthereumTx) GetHash() string
func (*EventEthereumTx) GetIndex ¶
func (m *EventEthereumTx) GetIndex() string
func (*EventEthereumTx) GetRecipient ¶
func (m *EventEthereumTx) GetRecipient() string
func (*EventEthereumTx) Marshal ¶
func (m *EventEthereumTx) Marshal() (dAtA []byte, err error)
func (*EventEthereumTx) MarshalToSizedBuffer ¶
func (m *EventEthereumTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventEthereumTx) ProtoMessage ¶
func (*EventEthereumTx) ProtoMessage()
func (*EventEthereumTx) Reset ¶
func (m *EventEthereumTx) Reset()
func (*EventEthereumTx) Size ¶
func (m *EventEthereumTx) Size() (n int)
func (*EventEthereumTx) String ¶
func (m *EventEthereumTx) String() string
func (*EventEthereumTx) Unmarshal ¶
func (m *EventEthereumTx) Unmarshal(dAtA []byte) error
func (*EventEthereumTx) XXX_DiscardUnknown ¶
func (m *EventEthereumTx) XXX_DiscardUnknown()
func (*EventEthereumTx) XXX_Marshal ¶
func (m *EventEthereumTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventEthereumTx) XXX_Merge ¶
func (m *EventEthereumTx) XXX_Merge(src proto.Message)
func (*EventEthereumTx) XXX_Size ¶
func (m *EventEthereumTx) XXX_Size() int
func (*EventEthereumTx) XXX_Unmarshal ¶
func (m *EventEthereumTx) XXX_Unmarshal(b []byte) error
type EventMessage ¶
type EventMessage struct { // module which emits the event Module string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` // sender of the message Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"` // tx_type is the type of the message TxType string `protobuf:"bytes,3,opt,name=tx_type,json=txType,proto3" json:"tx_type,omitempty"` }
EventMessage
func (*EventMessage) Descriptor ¶
func (*EventMessage) Descriptor() ([]byte, []int)
func (*EventMessage) GetModule ¶
func (m *EventMessage) GetModule() string
func (*EventMessage) GetSender ¶
func (m *EventMessage) GetSender() string
func (*EventMessage) GetTxType ¶
func (m *EventMessage) GetTxType() string
func (*EventMessage) Marshal ¶
func (m *EventMessage) Marshal() (dAtA []byte, err error)
func (*EventMessage) MarshalToSizedBuffer ¶
func (m *EventMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventMessage) ProtoMessage ¶
func (*EventMessage) ProtoMessage()
func (*EventMessage) Reset ¶
func (m *EventMessage) Reset()
func (*EventMessage) Size ¶
func (m *EventMessage) Size() (n int)
func (*EventMessage) String ¶
func (m *EventMessage) String() string
func (*EventMessage) Unmarshal ¶
func (m *EventMessage) Unmarshal(dAtA []byte) error
func (*EventMessage) XXX_DiscardUnknown ¶
func (m *EventMessage) XXX_DiscardUnknown()
func (*EventMessage) XXX_Marshal ¶
func (m *EventMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventMessage) XXX_Merge ¶
func (m *EventMessage) XXX_Merge(src proto.Message)
func (*EventMessage) XXX_Size ¶
func (m *EventMessage) XXX_Size() int
func (*EventMessage) XXX_Unmarshal ¶
func (m *EventMessage) XXX_Unmarshal(b []byte) error
type EventTxLog ¶
type EventTxLog struct { // tx_logs is an array of transaction logs TxLogs []string `protobuf:"bytes,1,rep,name=tx_logs,json=txLogs,proto3" json:"tx_logs,omitempty"` }
EventTxLog defines the event for an Ethereum transaction log
func (*EventTxLog) Descriptor ¶
func (*EventTxLog) Descriptor() ([]byte, []int)
func (*EventTxLog) GetTxLogs ¶
func (m *EventTxLog) GetTxLogs() []string
func (*EventTxLog) Marshal ¶
func (m *EventTxLog) Marshal() (dAtA []byte, err error)
func (*EventTxLog) MarshalToSizedBuffer ¶
func (m *EventTxLog) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventTxLog) ProtoMessage ¶
func (*EventTxLog) ProtoMessage()
func (*EventTxLog) Reset ¶
func (m *EventTxLog) Reset()
func (*EventTxLog) Size ¶
func (m *EventTxLog) Size() (n int)
func (*EventTxLog) String ¶
func (m *EventTxLog) String() string
func (*EventTxLog) Unmarshal ¶
func (m *EventTxLog) Unmarshal(dAtA []byte) error
func (*EventTxLog) XXX_DiscardUnknown ¶
func (m *EventTxLog) XXX_DiscardUnknown()
func (*EventTxLog) XXX_Marshal ¶
func (m *EventTxLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventTxLog) XXX_Merge ¶
func (m *EventTxLog) XXX_Merge(src proto.Message)
func (*EventTxLog) XXX_Size ¶
func (m *EventTxLog) XXX_Size() int
func (*EventTxLog) XXX_Unmarshal ¶
func (m *EventTxLog) XXX_Unmarshal(b []byte) error
type EvmCoinInfo ¶
EvmCoinInfo struct holds the name and decimals of the EVM denom. The EVM denom is the token used to pay fees in the EVM.
TODO: move to own file? at least rename file because it's unclear to use "denom"
type EvmHooks ¶ added in v0.2.0
type EvmHooks interface { // Must be called after tx is processed successfully, if return an error, the whole transaction is reverted. PostTxProcessing(ctx sdk.Context, sender common.Address, msg core.Message, receipt *ethtypes.Receipt) error }
EvmHooks event hooks for evm tx processing
type EvmTxArgs ¶
type EvmTxArgs struct { Nonce uint64 GasLimit uint64 Input []byte GasFeeCap *big.Int GasPrice *big.Int ChainID *big.Int Amount *big.Int GasTipCap *big.Int To *common.Address Accesses *ethtypes.AccessList // For SetCodeTxType AuthorizationList []ethtypes.SetCodeAuthorization `json:"authorizationList"` }
EvmTxArgs encapsulates all possible params to create all EVM txs types. This includes LegacyTx, DynamicFeeTx and AccessListTx
func (*EvmTxArgs) ToTx ¶ added in v0.4.0
func (args *EvmTxArgs) ToTx() *ethtypes.Transaction
func (*EvmTxArgs) ToTxData ¶
func (args *EvmTxArgs) ToTxData() *TransactionArgs
ToTxData converts the EvmTxArgs to TxData
type ExtensionOptionsEthereumTx ¶
type ExtensionOptionsEthereumTx struct { }
ExtensionOptionsEthereumTx is an extension option for ethereum transactions
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 FeeMarketKeeper ¶
type FeeMarketKeeper interface { GetBaseFee(ctx sdk.Context) math.LegacyDec GetParams(ctx sdk.Context) feemarkettypes.Params CalculateBaseFee(ctx sdk.Context) math.LegacyDec }
FeeMarketKeeper defines the expected interfaces needed for the feemarket
type GenesisAccount ¶
type GenesisAccount struct { // address defines an ethereum hex formated address of an account Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // code defines the hex bytes of the account code. Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` // storage defines the set of state key values for the account. Storage Storage `protobuf:"bytes,3,rep,name=storage,proto3,castrepeated=Storage" json:"storage"` }
GenesisAccount defines an account to be initialized in the genesis state. Its main difference between with Geth's GenesisAccount is that it uses a custom storage type and that it doesn't contain the private key field.
func (*GenesisAccount) Descriptor ¶
func (*GenesisAccount) Descriptor() ([]byte, []int)
func (*GenesisAccount) GetAddress ¶
func (m *GenesisAccount) GetAddress() string
func (*GenesisAccount) GetCode ¶
func (m *GenesisAccount) GetCode() string
func (*GenesisAccount) GetStorage ¶
func (m *GenesisAccount) GetStorage() Storage
func (*GenesisAccount) Marshal ¶
func (m *GenesisAccount) Marshal() (dAtA []byte, err error)
func (*GenesisAccount) MarshalToSizedBuffer ¶
func (m *GenesisAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisAccount) ProtoMessage ¶
func (*GenesisAccount) ProtoMessage()
func (*GenesisAccount) Reset ¶
func (m *GenesisAccount) Reset()
func (*GenesisAccount) Size ¶
func (m *GenesisAccount) Size() (n int)
func (*GenesisAccount) String ¶
func (m *GenesisAccount) String() string
func (*GenesisAccount) Unmarshal ¶
func (m *GenesisAccount) Unmarshal(dAtA []byte) error
func (GenesisAccount) Validate ¶
func (ga GenesisAccount) Validate() error
Validate performs a basic validation of a GenesisAccount fields.
func (*GenesisAccount) XXX_DiscardUnknown ¶
func (m *GenesisAccount) XXX_DiscardUnknown()
func (*GenesisAccount) XXX_Marshal ¶
func (m *GenesisAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisAccount) XXX_Merge ¶
func (m *GenesisAccount) XXX_Merge(src proto.Message)
func (*GenesisAccount) XXX_Size ¶
func (m *GenesisAccount) XXX_Size() int
func (*GenesisAccount) XXX_Unmarshal ¶
func (m *GenesisAccount) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { // accounts is an array containing the ethereum genesis accounts. Accounts []GenesisAccount `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts"` // params defines all the parameters of the module. Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` // preinstalls defines a set of predefined contracts Preinstalls []Preinstall `protobuf:"bytes,3,rep,name=preinstalls,proto3" json:"preinstalls"` }
GenesisState defines the evm module's genesis state.
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
DefaultGenesisState sets default evm genesis state with empty accounts and default params and chain config values.
func NewGenesisState ¶
func NewGenesisState(params Params, accounts []GenesisAccount, preinstalls []Preinstall) *GenesisState
NewGenesisState creates a new genesis state.
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetAccounts ¶
func (m *GenesisState) GetAccounts() []GenesisAccount
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetPreinstalls ¶ added in v0.4.0
func (m *GenesisState) GetPreinstalls() []Preinstall
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type HardhatCompiledContract ¶
type HardhatCompiledContract struct { Format string `json:"_format"` ContractName string `json:"contractName"` SourceName string `json:"sourceName"` ABI abi.ABI `json:"abi"` Bytecode string `json:"bytecode"` }
HardhatCompiledContract is a type used to unpack the compiled JSON data which is generated by running `npx hardhat compile` for a given smart contract.
func (HardhatCompiledContract) ToCompiledContract ¶
func (c HardhatCompiledContract) ToCompiledContract() (CompiledContract, error)
type HexString ¶
type HexString []byte
HexString is a byte array that serializes to hex
func (HexString) MarshalJSON ¶
MarshalJSON serializes ByteArray to hex
func (*HexString) UnmarshalJSON ¶
UnmarshalJSON deserializes ByteArray to hex
type Log ¶
type Log struct { // address of the contract that generated the event Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // topics is a list of topics provided by the contract. Topics []string `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"` // data which is supplied by the contract, usually ABI-encoded Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // block_number of the block in which the transaction was included BlockNumber uint64 `protobuf:"varint,4,opt,name=block_number,json=blockNumber,proto3" json:"blockNumber"` // tx_hash is the transaction hash TxHash string `protobuf:"bytes,5,opt,name=tx_hash,json=txHash,proto3" json:"transactionHash"` // tx_index of the transaction in the block TxIndex uint64 `protobuf:"varint,6,opt,name=tx_index,json=txIndex,proto3" json:"transactionIndex"` // block_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"` // removed is true if this log was reverted due to a chain // reorganisation. You must pay attention to this field if you receive logs // through a filter query. Removed bool `protobuf:"varint,9,opt,name=removed,proto3" json:"removed,omitempty"` }
Log represents an protobuf compatible Ethereum Log that defines a contract log event. These events are generated by the LOG opcode and stored/indexed by the node.
NOTE: address, topics and data are consensus fields. The rest of the fields are derived, i.e. filled in by the nodes, but not secured by consensus.
func NewLogFromEth ¶
NewLogFromEth creates a new Log instance from a Ethereum type Log.
func NewLogsFromEth ¶
func (*Log) Descriptor ¶
func (*Log) GetAddress ¶
func (*Log) GetBlockHash ¶
func (*Log) GetBlockNumber ¶
func (*Log) GetRemoved ¶
func (*Log) GetTxIndex ¶
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
func (*Log) ToEthereum ¶
ToEthereum returns the Ethereum type Log from a Cosmos EVM proto compatible Log.
func (*Log) XXX_DiscardUnknown ¶
func (m *Log) XXX_DiscardUnknown()
func (*Log) XXX_Unmarshal ¶
type MsgClient ¶
type MsgClient interface { // EthereumTx defines a method submitting Ethereum transactions. EthereumTx(ctx context.Context, in *MsgEthereumTx, opts ...grpc.CallOption) (*MsgEthereumTxResponse, error) // UpdateParams defined a governance operation for updating the x/vm module // parameters. The authority is hard-coded to the Cosmos SDK x/gov module // account UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) // RegisterPreinstalls defines a governance operation for directly registering // preinstalled contracts in the EVM. The authority is the same as is used for // Params updates. RegisterPreinstalls(ctx context.Context, in *MsgRegisterPreinstalls, opts ...grpc.CallOption) (*MsgRegisterPreinstallsResponse, 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 { // from is the bytes of ethereum signer address. This address value is checked // against the address derived from the signature (V, R, S) using the // secp256k1 elliptic curve From []byte `protobuf:"bytes,5,opt,name=from,proto3" json:"from,omitempty"` // raw is the raw ethereum transaction Raw EthereumTx `protobuf:"bytes,6,opt,name=raw,proto3,customtype=EthereumTx" json:"raw"` }
MsgEthereumTx encapsulates an Ethereum transaction as an SDK message.
func NewTx ¶
func NewTx(tx *EvmTxArgs) *MsgEthereumTx
NewTx returns a reference to a new Ethereum transaction message.
func NewTxFromArgs ¶ added in v0.4.0
func NewTxFromArgs(args *TransactionArgs) *MsgEthereumTx
func UnpackEthMsg ¶
func UnpackEthMsg(msg sdk.Msg) ( ethMsg *MsgEthereumTx, ethTx *ethtypes.Transaction, err error, )
UnpackEthMsg unpacks an Ethereum message from a Cosmos SDK message
func UnwrapEthereumMsg ¶
UnwrapEthereumMsg extracts MsgEthereumTx from wrapping sdk.Tx
func (MsgEthereumTx) AsMessage ¶
func (msg MsgEthereumTx) AsMessage(baseFee *big.Int) *core.Message
AsMessage vendors the core.TransactionToMessage function to avoid sender recovery, assume the From field is set correctly in the MsgEthereumTx.
func (MsgEthereumTx) AsTransaction ¶
func (msg MsgEthereumTx) AsTransaction() *ethtypes.Transaction
AsTransaction creates an Ethereum Transaction type from the msg fields
func (*MsgEthereumTx) Descriptor ¶
func (*MsgEthereumTx) Descriptor() ([]byte, []int)
func (*MsgEthereumTx) FromEthereumTx ¶
func (msg *MsgEthereumTx) FromEthereumTx(tx *ethtypes.Transaction)
FromEthereumTx populates the message fields from the given ethereum transaction
func (*MsgEthereumTx) FromSignedEthereumTx ¶ added in v0.4.0
func (msg *MsgEthereumTx) FromSignedEthereumTx(tx *ethtypes.Transaction, signer ethtypes.Signer) error
FromSignedEthereumTx populates the message fields from the given signed ethereum transaction, and set From field.
func (MsgEthereumTx) GetEffectiveFee ¶
func (msg MsgEthereumTx) GetEffectiveFee(baseFee *big.Int) *big.Int
GetEffectiveFee returns the fee for dynamic fee tx
func (MsgEthereumTx) GetFee ¶
func (msg MsgEthereumTx) GetFee() *big.Int
GetFee returns the fee for non dynamic fee tx
func (*MsgEthereumTx) GetFrom ¶
func (msg *MsgEthereumTx) GetFrom() sdk.AccAddress
GetFrom loads the ethereum sender address from the sigcache and returns 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) GetSender ¶
func (msg *MsgEthereumTx) GetSender() common.Address
GetSender convert the From field to common.Address From should always be set, which is validated in ValidateBasic
func (*MsgEthereumTx) GetSenderLegacy ¶ added in v0.4.0
GetSenderLegacy fallbacks to old behavior if From is empty, should be used by json-rpc
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 ¶ added in v0.4.0
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'.
func (*MsgEthereumTx) Hash ¶
func (msg *MsgEthereumTx) Hash() common.Hash
func (*MsgEthereumTx) Marshal ¶
func (m *MsgEthereumTx) Marshal() (dAtA []byte, err error)
func (*MsgEthereumTx) MarshalToSizedBuffer ¶
func (m *MsgEthereumTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEthereumTx) ProtoMessage ¶
func (*MsgEthereumTx) ProtoMessage()
func (*MsgEthereumTx) Reset ¶
func (m *MsgEthereumTx) Reset()
func (MsgEthereumTx) Route ¶
func (msg MsgEthereumTx) Route() string
Route returns the route value of an MsgEthereumTx.
func (*MsgEthereumTx) Sign ¶
Sign calculates a secp256k1 ECDSA signature and signs the transaction. It takes a keyring signer and the chainID to sign an Ethereum transaction according to EIP155 standard. This method mutates the transaction as it populates the V, R, S fields of the Transaction's Signature. The function will fail if the sender address is not defined for the msg or if the sender is not registered on the keyring
func (*MsgEthereumTx) Size ¶
func (m *MsgEthereumTx) Size() (n int)
func (*MsgEthereumTx) String ¶
func (m *MsgEthereumTx) String() string
func (MsgEthereumTx) Type ¶
func (msg MsgEthereumTx) Type() string
Type returns the type value of an MsgEthereumTx.
func (*MsgEthereumTx) Unmarshal ¶
func (m *MsgEthereumTx) Unmarshal(dAtA []byte) error
func (*MsgEthereumTx) UnmarshalBinary ¶
func (msg *MsgEthereumTx) UnmarshalBinary(b []byte, signer ethtypes.Signer) error
UnmarshalBinary decodes the canonical encoding of transactions.
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) VerifySender ¶ added in v0.4.0
func (msg *MsgEthereumTx) VerifySender(signer ethtypes.Signer) error
VerifySender verify the sender address against the signature values using the latest signer for the given chainID.
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 { // hash of the ethereum transaction in hex format. This hash differs from the // CometBFT sha256 hash of the transaction bytes. See // https://github.com/tendermint/tendermint/issues/6539 for reference Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // logs contains the transaction hash and the proto-compatible ethereum // logs. Logs []*Log `protobuf:"bytes,2,rep,name=logs,proto3" json:"logs,omitempty"` // ret is the returned data from evm function (result or data supplied with // revert opcode) Ret []byte `protobuf:"bytes,3,opt,name=ret,proto3" json:"ret,omitempty"` // vm_error is the error returned by vm execution VmError string `protobuf:"bytes,4,opt,name=vm_error,json=vmError,proto3" json:"vm_error,omitempty"` // gas_used specifies how much gas was consumed by the transaction GasUsed uint64 `protobuf:"varint,5,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` }
MsgEthereumTxResponse defines the Msg/EthereumTx response type.
func DecodeTxResponse ¶
func DecodeTxResponse(in []byte) (*MsgEthereumTxResponse, error)
DecodeTxResponse decodes a protobuf-encoded byte slice into TxResponse
func DecodeTxResponses ¶ added in v0.4.0
func DecodeTxResponses(in []byte) ([]*MsgEthereumTxResponse, error)
DecodeTxResponses decodes a protobuf-encoded byte slice into TxResponses
func (*MsgEthereumTxResponse) Descriptor ¶
func (*MsgEthereumTxResponse) Descriptor() ([]byte, []int)
func (*MsgEthereumTxResponse) Failed ¶
func (m *MsgEthereumTxResponse) Failed() bool
Failed returns if the contract execution failed in vm errors
func (*MsgEthereumTxResponse) Marshal ¶
func (m *MsgEthereumTxResponse) Marshal() (dAtA []byte, err error)
func (*MsgEthereumTxResponse) MarshalTo ¶
func (m *MsgEthereumTxResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgEthereumTxResponse) MarshalToSizedBuffer ¶
func (m *MsgEthereumTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEthereumTxResponse) ProtoMessage ¶
func (*MsgEthereumTxResponse) ProtoMessage()
func (*MsgEthereumTxResponse) Reset ¶
func (m *MsgEthereumTxResponse) Reset()
func (*MsgEthereumTxResponse) Return ¶
func (m *MsgEthereumTxResponse) Return() []byte
Return is a helper function to help caller distinguish between revert reason and function return. Return returns the data after execution if no error occurs.
func (*MsgEthereumTxResponse) Revert ¶
func (m *MsgEthereumTxResponse) Revert() []byte
Revert returns the concrete revert reason if the execution is aborted by `REVERT` opcode. Note the reason can be nil if no data supplied with revert opcode.
func (*MsgEthereumTxResponse) Size ¶
func (m *MsgEthereumTxResponse) Size() (n int)
func (*MsgEthereumTxResponse) String ¶
func (m *MsgEthereumTxResponse) String() string
func (*MsgEthereumTxResponse) Unmarshal ¶
func (m *MsgEthereumTxResponse) Unmarshal(dAtA []byte) error
func (*MsgEthereumTxResponse) XXX_DiscardUnknown ¶
func (m *MsgEthereumTxResponse) XXX_DiscardUnknown()
func (*MsgEthereumTxResponse) XXX_Marshal ¶
func (m *MsgEthereumTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgEthereumTxResponse) XXX_Merge ¶
func (m *MsgEthereumTxResponse) XXX_Merge(src proto.Message)
func (*MsgEthereumTxResponse) XXX_Size ¶
func (m *MsgEthereumTxResponse) XXX_Size() int
func (*MsgEthereumTxResponse) XXX_Unmarshal ¶
func (m *MsgEthereumTxResponse) XXX_Unmarshal(b []byte) error
type MsgRegisterPreinstalls ¶ added in v0.4.0
type MsgRegisterPreinstalls struct { // authority is the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // preinstalls defines the preinstalls to create. Preinstalls []Preinstall `protobuf:"bytes,2,rep,name=preinstalls,proto3" json:"preinstalls"` }
MsgRegisterPreinstalls defines a Msg for creating preinstalls in evm state.
func (*MsgRegisterPreinstalls) Descriptor ¶ added in v0.4.0
func (*MsgRegisterPreinstalls) Descriptor() ([]byte, []int)
func (*MsgRegisterPreinstalls) GetAuthority ¶ added in v0.4.0
func (m *MsgRegisterPreinstalls) GetAuthority() string
func (*MsgRegisterPreinstalls) GetPreinstalls ¶ added in v0.4.0
func (m *MsgRegisterPreinstalls) GetPreinstalls() []Preinstall
func (*MsgRegisterPreinstalls) Marshal ¶ added in v0.4.0
func (m *MsgRegisterPreinstalls) Marshal() (dAtA []byte, err error)
func (*MsgRegisterPreinstalls) MarshalTo ¶ added in v0.4.0
func (m *MsgRegisterPreinstalls) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterPreinstalls) MarshalToSizedBuffer ¶ added in v0.4.0
func (m *MsgRegisterPreinstalls) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterPreinstalls) ProtoMessage ¶ added in v0.4.0
func (*MsgRegisterPreinstalls) ProtoMessage()
func (*MsgRegisterPreinstalls) Reset ¶ added in v0.4.0
func (m *MsgRegisterPreinstalls) Reset()
func (*MsgRegisterPreinstalls) Size ¶ added in v0.4.0
func (m *MsgRegisterPreinstalls) Size() (n int)
func (*MsgRegisterPreinstalls) String ¶ added in v0.4.0
func (m *MsgRegisterPreinstalls) String() string
func (*MsgRegisterPreinstalls) Unmarshal ¶ added in v0.4.0
func (m *MsgRegisterPreinstalls) Unmarshal(dAtA []byte) error
func (*MsgRegisterPreinstalls) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *MsgRegisterPreinstalls) XXX_DiscardUnknown()
func (*MsgRegisterPreinstalls) XXX_Marshal ¶ added in v0.4.0
func (m *MsgRegisterPreinstalls) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterPreinstalls) XXX_Merge ¶ added in v0.4.0
func (m *MsgRegisterPreinstalls) XXX_Merge(src proto.Message)
func (*MsgRegisterPreinstalls) XXX_Size ¶ added in v0.4.0
func (m *MsgRegisterPreinstalls) XXX_Size() int
func (*MsgRegisterPreinstalls) XXX_Unmarshal ¶ added in v0.4.0
func (m *MsgRegisterPreinstalls) XXX_Unmarshal(b []byte) error
type MsgRegisterPreinstallsResponse ¶ added in v0.4.0
type MsgRegisterPreinstallsResponse struct { }
MsgRegisterPreinstallsResponse defines the response structure for executing a MsgRegisterPreinstalls message.
func (*MsgRegisterPreinstallsResponse) Descriptor ¶ added in v0.4.0
func (*MsgRegisterPreinstallsResponse) Descriptor() ([]byte, []int)
func (*MsgRegisterPreinstallsResponse) Marshal ¶ added in v0.4.0
func (m *MsgRegisterPreinstallsResponse) Marshal() (dAtA []byte, err error)
func (*MsgRegisterPreinstallsResponse) MarshalTo ¶ added in v0.4.0
func (m *MsgRegisterPreinstallsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterPreinstallsResponse) MarshalToSizedBuffer ¶ added in v0.4.0
func (m *MsgRegisterPreinstallsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterPreinstallsResponse) ProtoMessage ¶ added in v0.4.0
func (*MsgRegisterPreinstallsResponse) ProtoMessage()
func (*MsgRegisterPreinstallsResponse) Reset ¶ added in v0.4.0
func (m *MsgRegisterPreinstallsResponse) Reset()
func (*MsgRegisterPreinstallsResponse) Size ¶ added in v0.4.0
func (m *MsgRegisterPreinstallsResponse) Size() (n int)
func (*MsgRegisterPreinstallsResponse) String ¶ added in v0.4.0
func (m *MsgRegisterPreinstallsResponse) String() string
func (*MsgRegisterPreinstallsResponse) Unmarshal ¶ added in v0.4.0
func (m *MsgRegisterPreinstallsResponse) Unmarshal(dAtA []byte) error
func (*MsgRegisterPreinstallsResponse) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *MsgRegisterPreinstallsResponse) XXX_DiscardUnknown()
func (*MsgRegisterPreinstallsResponse) XXX_Marshal ¶ added in v0.4.0
func (m *MsgRegisterPreinstallsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterPreinstallsResponse) XXX_Merge ¶ added in v0.4.0
func (m *MsgRegisterPreinstallsResponse) XXX_Merge(src proto.Message)
func (*MsgRegisterPreinstallsResponse) XXX_Size ¶ added in v0.4.0
func (m *MsgRegisterPreinstallsResponse) XXX_Size() int
func (*MsgRegisterPreinstallsResponse) XXX_Unmarshal ¶ added in v0.4.0
func (m *MsgRegisterPreinstallsResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // EthereumTx defines a method submitting Ethereum transactions. EthereumTx(context.Context, *MsgEthereumTx) (*MsgEthereumTxResponse, error) // UpdateParams defined a governance operation for updating the x/vm module // parameters. The authority is hard-coded to the Cosmos SDK x/gov module // account UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) // RegisterPreinstalls defines a governance operation for directly registering // preinstalled contracts in the EVM. The authority is the same as is used for // Params updates. RegisterPreinstalls(context.Context, *MsgRegisterPreinstalls) (*MsgRegisterPreinstallsResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateParams ¶
type MsgUpdateParams struct { // authority is the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // params defines the x/vm parameters to update. // NOTE: All parameters must be supplied. Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` }
MsgUpdateParams defines a Msg for updating the x/vm module parameters.
func (*MsgUpdateParams) Descriptor ¶
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
func (*MsgUpdateParams) GetAuthority ¶
func (m *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶
func (m *MsgUpdateParams) GetParams() Params
func (MsgUpdateParams) GetSignBytes ¶
func (m MsgUpdateParams) GetSignBytes() []byte
GetSignBytes implements the LegacyMsg interface.
func (*MsgUpdateParams) Marshal ¶
func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParams) MarshalToSizedBuffer ¶
func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) Reset ¶
func (m *MsgUpdateParams) Reset()
func (*MsgUpdateParams) Size ¶
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶
func (m *MsgUpdateParams) String() string
func (*MsgUpdateParams) Unmarshal ¶
func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
func (*MsgUpdateParams) ValidateBasic ¶
func (m *MsgUpdateParams) ValidateBasic() error
ValidateBasic does a sanity check of the provided data
func (*MsgUpdateParams) XXX_DiscardUnknown ¶
func (m *MsgUpdateParams) XXX_DiscardUnknown()
func (*MsgUpdateParams) XXX_Marshal ¶
func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParams) XXX_Merge ¶
func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
func (*MsgUpdateParams) XXX_Size ¶
func (m *MsgUpdateParams) XXX_Size() int
func (*MsgUpdateParams) XXX_Unmarshal ¶
func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct { }
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
func (*MsgUpdateParamsResponse) Descriptor ¶
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateParamsResponse) Marshal ¶
func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParamsResponse) MarshalTo ¶
func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) Reset ¶
func (m *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) Size ¶
func (m *MsgUpdateParamsResponse) Size() (n int)
func (*MsgUpdateParamsResponse) String ¶
func (m *MsgUpdateParamsResponse) String() string
func (*MsgUpdateParamsResponse) Unmarshal ¶
func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateParamsResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateParamsResponse) XXX_Marshal ¶
func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParamsResponse) XXX_Merge ¶
func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateParamsResponse) XXX_Size ¶
func (m *MsgUpdateParamsResponse) XXX_Size() int
func (*MsgUpdateParamsResponse) XXX_Unmarshal ¶
func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
type NoOpTracer ¶
type NoOpTracer struct{}
NoOpTracer is an empty implementation of vm.Tracer interface
func (*NoOpTracer) OnBalanceChange ¶ added in v0.3.0
func (dt *NoOpTracer) OnBalanceChange(_ common.Address, _, _ *big.Int, _ tracing.BalanceChangeReason)
func (*NoOpTracer) OnBlockEnd ¶ added in v0.3.0
func (dt *NoOpTracer) OnBlockEnd(_ error)
func (*NoOpTracer) OnBlockStart ¶ added in v0.3.0
func (dt *NoOpTracer) OnBlockStart(_ tracing.BlockEvent)
func (*NoOpTracer) OnBlockchainInit ¶ added in v0.3.0
func (dt *NoOpTracer) OnBlockchainInit(_ *params.ChainConfig)
func (*NoOpTracer) OnCodeChange ¶ added in v0.3.0
func (*NoOpTracer) OnGasChange ¶ added in v0.3.0
func (dt *NoOpTracer) OnGasChange(_, _ uint64, _ tracing.GasChangeReason)
func (*NoOpTracer) OnGenesisBlock ¶ added in v0.3.0
func (dt *NoOpTracer) OnGenesisBlock(_ *types.Block, _ types.GenesisAlloc)
func (*NoOpTracer) OnLog ¶ added in v0.3.0
func (dt *NoOpTracer) OnLog(_ *types.Log)
func (*NoOpTracer) OnNonceChange ¶ added in v0.3.0
func (dt *NoOpTracer) OnNonceChange(_ common.Address, _, _ uint64)
func (*NoOpTracer) OnSkippedBlock ¶ added in v0.3.0
func (dt *NoOpTracer) OnSkippedBlock(_ tracing.BlockEvent)
func (*NoOpTracer) OnStorageChange ¶ added in v0.3.0
func (dt *NoOpTracer) OnStorageChange(_ common.Address, _, _, _ common.Hash)
func (*NoOpTracer) OnTxEnd ¶ added in v0.3.0
func (dt *NoOpTracer) OnTxEnd(_ *types.Receipt, _ error)
func (*NoOpTracer) OnTxStart ¶ added in v0.3.0
func (dt *NoOpTracer) OnTxStart(_ *tracing.VMContext, _ *types.Transaction, _ common.Address)
type OpCodeHooks ¶
type OpCodeHooks interface { vm.OpCodeHooks AddCallHooks(hooks ...CallHook) AddCreateHooks(hooks ...CreateHook) }
OpCodeHooks extends the geth OpCodeHooks interface to add custom hooks for EVM operations. The hooks run before the respective opcode execution every time they are called.
func NewDefaultOpCodesHooks ¶
func NewDefaultOpCodesHooks() OpCodeHooks
NewDefaultOpCodesHooks creates a new DefaultOpCodesHooks instance
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"` // 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"` // allow_unprotected_txs defines if replay-protected (i.e non EIP155 // signed) transactions can be executed on the state machine. AllowUnprotectedTxs bool `protobuf:"varint,5,opt,name=allow_unprotected_txs,json=allowUnprotectedTxs,proto3" json:"allow_unprotected_txs,omitempty"` // evm_channels is the list of channel identifiers from EVM compatible chains EVMChannels []string `protobuf:"bytes,7,rep,name=evm_channels,json=evmChannels,proto3" json:"evm_channels,omitempty"` // access_control defines the permission policy of the EVM AccessControl AccessControl `protobuf:"bytes,8,opt,name=access_control,json=accessControl,proto3" json:"access_control"` // active_static_precompiles defines the slice of hex addresses of the // precompiled contracts that are active ActiveStaticPrecompiles []string `` /* 132-byte string literal not displayed */ }
Params defines the EVM module parameters
func NewParams ¶
func NewParams( allowUnprotectedTxs bool, extraEIPs []int64, activeStaticPrecompiles, evmChannels []string, accessControl AccessControl, ) Params
NewParams creates a new Params instance
func (*Params) Descriptor ¶
func (*Params) GetAccessControl ¶
func (m *Params) GetAccessControl() AccessControl
func (*Params) GetActiveStaticPrecompiles ¶
func (Params) GetActiveStaticPrecompilesAddrs ¶
GetActiveStaticPrecompilesAddrs is a util function that the Active Precompiles as a slice of addresses.
func (*Params) GetAllowUnprotectedTxs ¶
func (*Params) GetEVMChannels ¶
func (*Params) GetEvmDenom ¶
func (*Params) GetExtraEIPs ¶
func (Params) IsEVMChannel ¶
IsEVMChannel returns true if the channel provided is in the list of EVM channels
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs
deprecated
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
Deprecated: ParamSetPairs returns the parameter set pairs. Usage of x/params to manage parameters is deprecated in favor of x/gov controlled execution of MsgUpdateParams messages. These types remain solely for migration purposes and will be removed in a future release.
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type PermissionPolicy ¶
type PermissionPolicy interface { // CanCreate checks if the contract creation is allowed. CanCreate(signer, caller common.Address) bool // CanCall checks if the any type of CALL opcode execution is allowed. This includes // contract calls and transfers. CanCall(signer, caller, recipient common.Address) bool // GetCallHook returns a CallHook that checks if the caller is allowed to perform a call. // This is used by the EVM opcode hooks to enforce access control policies. GetCallHook(signer common.Address) CallHook // GetCreateHook returns a CreateHook that checks if the caller is allowed to deploy contracts. // This is used by the EVM opcode hooks to enforce access control policies. GetCreateHook(signer common.Address) CreateHook }
PermissionPolicy is the interface that defines the permission policy for contract creation and calls. It is used to enforce access control policies on EVM operations. The policy is ran BEFORE the respective opcode execution every time they are called.
func NewRestrictedPermissionPolicy ¶
func NewRestrictedPermissionPolicy(accessControl *AccessControl, signer common.Address) PermissionPolicy
type Preinstall ¶ added in v0.4.0
type Preinstall struct { // name of the preinstall contract Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // address in hex format of the preinstall contract Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // code in hex format for the preinstall contract Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` }
Preinstall defines a contract that is preinstalled on-chain with a specific contract address and bytecode
func (*Preinstall) Descriptor ¶ added in v0.4.0
func (*Preinstall) Descriptor() ([]byte, []int)
func (*Preinstall) GetAddress ¶ added in v0.4.0
func (m *Preinstall) GetAddress() string
func (*Preinstall) GetCode ¶ added in v0.4.0
func (m *Preinstall) GetCode() string
func (*Preinstall) GetName ¶ added in v0.4.0
func (m *Preinstall) GetName() string
func (*Preinstall) Marshal ¶ added in v0.4.0
func (m *Preinstall) Marshal() (dAtA []byte, err error)
func (*Preinstall) MarshalTo ¶ added in v0.4.0
func (m *Preinstall) MarshalTo(dAtA []byte) (int, error)
func (*Preinstall) MarshalToSizedBuffer ¶ added in v0.4.0
func (m *Preinstall) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Preinstall) ProtoMessage ¶ added in v0.4.0
func (*Preinstall) ProtoMessage()
func (*Preinstall) Reset ¶ added in v0.4.0
func (m *Preinstall) Reset()
func (*Preinstall) Size ¶ added in v0.4.0
func (m *Preinstall) Size() (n int)
func (*Preinstall) String ¶ added in v0.4.0
func (m *Preinstall) String() string
func (*Preinstall) Unmarshal ¶ added in v0.4.0
func (m *Preinstall) Unmarshal(dAtA []byte) error
func (Preinstall) Validate ¶ added in v0.4.0
func (p Preinstall) Validate() error
Validate performs basic validation checks on the Preinstall
func (*Preinstall) XXX_DiscardUnknown ¶ added in v0.4.0
func (m *Preinstall) XXX_DiscardUnknown()
func (*Preinstall) XXX_Marshal ¶ added in v0.4.0
func (m *Preinstall) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Preinstall) XXX_Merge ¶ added in v0.4.0
func (m *Preinstall) XXX_Merge(src proto.Message)
func (*Preinstall) XXX_Size ¶ added in v0.4.0
func (m *Preinstall) XXX_Size() int
func (*Preinstall) XXX_Unmarshal ¶ added in v0.4.0
func (m *Preinstall) XXX_Unmarshal(b []byte) error
type QueryAccountRequest ¶
type QueryAccountRequest struct { // address is the ethereum hex address to query the account for. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` }
QueryAccountRequest is the request type for the Query/Account RPC method.
func (*QueryAccountRequest) Descriptor ¶
func (*QueryAccountRequest) Descriptor() ([]byte, []int)
func (*QueryAccountRequest) Marshal ¶
func (m *QueryAccountRequest) Marshal() (dAtA []byte, err error)
func (*QueryAccountRequest) MarshalTo ¶
func (m *QueryAccountRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAccountRequest) MarshalToSizedBuffer ¶
func (m *QueryAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAccountRequest) ProtoMessage ¶
func (*QueryAccountRequest) ProtoMessage()
func (*QueryAccountRequest) Reset ¶
func (m *QueryAccountRequest) Reset()
func (*QueryAccountRequest) Size ¶
func (m *QueryAccountRequest) Size() (n int)
func (*QueryAccountRequest) String ¶
func (m *QueryAccountRequest) String() string
func (*QueryAccountRequest) Unmarshal ¶
func (m *QueryAccountRequest) Unmarshal(dAtA []byte) error
func (*QueryAccountRequest) XXX_DiscardUnknown ¶
func (m *QueryAccountRequest) XXX_DiscardUnknown()
func (*QueryAccountRequest) XXX_Marshal ¶
func (m *QueryAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAccountRequest) XXX_Merge ¶
func (m *QueryAccountRequest) XXX_Merge(src proto.Message)
func (*QueryAccountRequest) XXX_Size ¶
func (m *QueryAccountRequest) XXX_Size() int
func (*QueryAccountRequest) XXX_Unmarshal ¶
func (m *QueryAccountRequest) XXX_Unmarshal(b []byte) error
type QueryAccountResponse ¶
type QueryAccountResponse struct { // balance is the balance of the EVM denomination. Balance string `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"` // code_hash is the hex-formatted code bytes from the EOA. CodeHash string `protobuf:"bytes,2,opt,name=code_hash,json=codeHash,proto3" json:"code_hash,omitempty"` // nonce is the account's sequence number. Nonce uint64 `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"` }
QueryAccountResponse is the response type for the Query/Account RPC method.
func (*QueryAccountResponse) Descriptor ¶
func (*QueryAccountResponse) Descriptor() ([]byte, []int)
func (*QueryAccountResponse) GetBalance ¶
func (m *QueryAccountResponse) GetBalance() string
func (*QueryAccountResponse) GetCodeHash ¶
func (m *QueryAccountResponse) GetCodeHash() string
func (*QueryAccountResponse) GetNonce ¶
func (m *QueryAccountResponse) GetNonce() uint64
func (*QueryAccountResponse) Marshal ¶
func (m *QueryAccountResponse) Marshal() (dAtA []byte, err error)
func (*QueryAccountResponse) MarshalTo ¶
func (m *QueryAccountResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAccountResponse) MarshalToSizedBuffer ¶
func (m *QueryAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAccountResponse) ProtoMessage ¶
func (*QueryAccountResponse) ProtoMessage()
func (*QueryAccountResponse) Reset ¶
func (m *QueryAccountResponse) Reset()
func (*QueryAccountResponse) Size ¶
func (m *QueryAccountResponse) Size() (n int)
func (*QueryAccountResponse) String ¶
func (m *QueryAccountResponse) String() string
func (*QueryAccountResponse) Unmarshal ¶
func (m *QueryAccountResponse) Unmarshal(dAtA []byte) error
func (*QueryAccountResponse) XXX_DiscardUnknown ¶
func (m *QueryAccountResponse) XXX_DiscardUnknown()
func (*QueryAccountResponse) XXX_Marshal ¶
func (m *QueryAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAccountResponse) XXX_Merge ¶
func (m *QueryAccountResponse) XXX_Merge(src proto.Message)
func (*QueryAccountResponse) XXX_Size ¶
func (m *QueryAccountResponse) XXX_Size() int
func (*QueryAccountResponse) XXX_Unmarshal ¶
func (m *QueryAccountResponse) XXX_Unmarshal(b []byte) error
type QueryBalanceRequest ¶
type QueryBalanceRequest struct { // address is the ethereum hex address to query the balance for. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` }
QueryBalanceRequest is the request type for the Query/Balance RPC method.
func (*QueryBalanceRequest) Descriptor ¶
func (*QueryBalanceRequest) Descriptor() ([]byte, []int)
func (*QueryBalanceRequest) Marshal ¶
func (m *QueryBalanceRequest) Marshal() (dAtA []byte, err error)
func (*QueryBalanceRequest) MarshalTo ¶
func (m *QueryBalanceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryBalanceRequest) MarshalToSizedBuffer ¶
func (m *QueryBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBalanceRequest) ProtoMessage ¶
func (*QueryBalanceRequest) ProtoMessage()
func (*QueryBalanceRequest) Reset ¶
func (m *QueryBalanceRequest) Reset()
func (*QueryBalanceRequest) Size ¶
func (m *QueryBalanceRequest) Size() (n int)
func (*QueryBalanceRequest) String ¶
func (m *QueryBalanceRequest) String() string
func (*QueryBalanceRequest) Unmarshal ¶
func (m *QueryBalanceRequest) Unmarshal(dAtA []byte) error
func (*QueryBalanceRequest) XXX_DiscardUnknown ¶
func (m *QueryBalanceRequest) XXX_DiscardUnknown()
func (*QueryBalanceRequest) XXX_Marshal ¶
func (m *QueryBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBalanceRequest) XXX_Merge ¶
func (m *QueryBalanceRequest) XXX_Merge(src proto.Message)
func (*QueryBalanceRequest) XXX_Size ¶
func (m *QueryBalanceRequest) XXX_Size() int
func (*QueryBalanceRequest) XXX_Unmarshal ¶
func (m *QueryBalanceRequest) XXX_Unmarshal(b []byte) error
type QueryBalanceResponse ¶
type QueryBalanceResponse struct { // balance is the balance of the EVM denomination. Balance string `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"` }
QueryBalanceResponse is the response type for the Query/Balance RPC method.
func (*QueryBalanceResponse) Descriptor ¶
func (*QueryBalanceResponse) Descriptor() ([]byte, []int)
func (*QueryBalanceResponse) GetBalance ¶
func (m *QueryBalanceResponse) GetBalance() string
func (*QueryBalanceResponse) Marshal ¶
func (m *QueryBalanceResponse) Marshal() (dAtA []byte, err error)
func (*QueryBalanceResponse) MarshalTo ¶
func (m *QueryBalanceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBalanceResponse) MarshalToSizedBuffer ¶
func (m *QueryBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBalanceResponse) ProtoMessage ¶
func (*QueryBalanceResponse) ProtoMessage()
func (*QueryBalanceResponse) Reset ¶
func (m *QueryBalanceResponse) Reset()
func (*QueryBalanceResponse) Size ¶
func (m *QueryBalanceResponse) Size() (n int)
func (*QueryBalanceResponse) String ¶
func (m *QueryBalanceResponse) String() string
func (*QueryBalanceResponse) Unmarshal ¶
func (m *QueryBalanceResponse) Unmarshal(dAtA []byte) error
func (*QueryBalanceResponse) XXX_DiscardUnknown ¶
func (m *QueryBalanceResponse) XXX_DiscardUnknown()
func (*QueryBalanceResponse) XXX_Marshal ¶
func (m *QueryBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBalanceResponse) XXX_Merge ¶
func (m *QueryBalanceResponse) XXX_Merge(src proto.Message)
func (*QueryBalanceResponse) XXX_Size ¶
func (m *QueryBalanceResponse) XXX_Size() int
func (*QueryBalanceResponse) XXX_Unmarshal ¶
func (m *QueryBalanceResponse) XXX_Unmarshal(b []byte) error
type QueryBaseFeeRequest ¶
type QueryBaseFeeRequest struct { }
QueryBaseFeeRequest defines the request type for querying the EIP1559 base fee.
func (*QueryBaseFeeRequest) Descriptor ¶
func (*QueryBaseFeeRequest) Descriptor() ([]byte, []int)
func (*QueryBaseFeeRequest) Marshal ¶
func (m *QueryBaseFeeRequest) Marshal() (dAtA []byte, err error)
func (*QueryBaseFeeRequest) MarshalTo ¶
func (m *QueryBaseFeeRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryBaseFeeRequest) MarshalToSizedBuffer ¶
func (m *QueryBaseFeeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBaseFeeRequest) ProtoMessage ¶
func (*QueryBaseFeeRequest) ProtoMessage()
func (*QueryBaseFeeRequest) Reset ¶
func (m *QueryBaseFeeRequest) Reset()
func (*QueryBaseFeeRequest) Size ¶
func (m *QueryBaseFeeRequest) Size() (n int)
func (*QueryBaseFeeRequest) String ¶
func (m *QueryBaseFeeRequest) String() string
func (*QueryBaseFeeRequest) Unmarshal ¶
func (m *QueryBaseFeeRequest) Unmarshal(dAtA []byte) error
func (*QueryBaseFeeRequest) XXX_DiscardUnknown ¶
func (m *QueryBaseFeeRequest) XXX_DiscardUnknown()
func (*QueryBaseFeeRequest) XXX_Marshal ¶
func (m *QueryBaseFeeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBaseFeeRequest) XXX_Merge ¶
func (m *QueryBaseFeeRequest) XXX_Merge(src proto.Message)
func (*QueryBaseFeeRequest) XXX_Size ¶
func (m *QueryBaseFeeRequest) XXX_Size() int
func (*QueryBaseFeeRequest) XXX_Unmarshal ¶
func (m *QueryBaseFeeRequest) XXX_Unmarshal(b []byte) error
type QueryBaseFeeResponse ¶
type QueryBaseFeeResponse struct { // base_fee is the EIP1559 base fee BaseFee *cosmossdk_io_math.Int `protobuf:"bytes,1,opt,name=base_fee,json=baseFee,proto3,customtype=cosmossdk.io/math.Int" json:"base_fee,omitempty"` }
QueryBaseFeeResponse returns the EIP1559 base fee.
func (*QueryBaseFeeResponse) Descriptor ¶
func (*QueryBaseFeeResponse) Descriptor() ([]byte, []int)
func (*QueryBaseFeeResponse) Marshal ¶
func (m *QueryBaseFeeResponse) Marshal() (dAtA []byte, err error)
func (*QueryBaseFeeResponse) MarshalTo ¶
func (m *QueryBaseFeeResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBaseFeeResponse) MarshalToSizedBuffer ¶
func (m *QueryBaseFeeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBaseFeeResponse) ProtoMessage ¶
func (*QueryBaseFeeResponse) ProtoMessage()
func (*QueryBaseFeeResponse) Reset ¶
func (m *QueryBaseFeeResponse) Reset()
func (*QueryBaseFeeResponse) Size ¶
func (m *QueryBaseFeeResponse) Size() (n int)
func (*QueryBaseFeeResponse) String ¶
func (m *QueryBaseFeeResponse) String() string
func (*QueryBaseFeeResponse) Unmarshal ¶
func (m *QueryBaseFeeResponse) Unmarshal(dAtA []byte) error
func (*QueryBaseFeeResponse) XXX_DiscardUnknown ¶
func (m *QueryBaseFeeResponse) XXX_DiscardUnknown()
func (*QueryBaseFeeResponse) XXX_Marshal ¶
func (m *QueryBaseFeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBaseFeeResponse) XXX_Merge ¶
func (m *QueryBaseFeeResponse) XXX_Merge(src proto.Message)
func (*QueryBaseFeeResponse) XXX_Size ¶
func (m *QueryBaseFeeResponse) XXX_Size() int
func (*QueryBaseFeeResponse) XXX_Unmarshal ¶
func (m *QueryBaseFeeResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Account queries an Ethereum account. Account(ctx context.Context, in *QueryAccountRequest, opts ...grpc.CallOption) (*QueryAccountResponse, error) // CosmosAccount queries an Ethereum account's Cosmos Address. CosmosAccount(ctx context.Context, in *QueryCosmosAccountRequest, opts ...grpc.CallOption) (*QueryCosmosAccountResponse, error) // ValidatorAccount queries an Ethereum account's from a validator consensus // Address. ValidatorAccount(ctx context.Context, in *QueryValidatorAccountRequest, opts ...grpc.CallOption) (*QueryValidatorAccountResponse, error) // Balance queries the balance of a the EVM denomination for a single // account. Balance(ctx context.Context, in *QueryBalanceRequest, opts ...grpc.CallOption) (*QueryBalanceResponse, error) // Storage queries the balance of all coins for a single account. Storage(ctx context.Context, in *QueryStorageRequest, opts ...grpc.CallOption) (*QueryStorageResponse, error) // Code queries the balance of all coins for a single account. Code(ctx context.Context, in *QueryCodeRequest, opts ...grpc.CallOption) (*QueryCodeResponse, error) // Params queries the parameters of x/vm module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // EthCall implements the `eth_call` rpc api EthCall(ctx context.Context, in *EthCallRequest, opts ...grpc.CallOption) (*MsgEthereumTxResponse, error) // EstimateGas implements the `eth_estimateGas` rpc api EstimateGas(ctx context.Context, in *EthCallRequest, opts ...grpc.CallOption) (*EstimateGasResponse, error) // TraceTx implements the `debug_traceTransaction` rpc api TraceTx(ctx context.Context, in *QueryTraceTxRequest, opts ...grpc.CallOption) (*QueryTraceTxResponse, error) // TraceBlock implements the `debug_traceBlockByNumber` and // `debug_traceBlockByHash` rpc api TraceBlock(ctx context.Context, in *QueryTraceBlockRequest, opts ...grpc.CallOption) (*QueryTraceBlockResponse, error) // BaseFee queries the base fee of the parent block of the current block, // it's similar to feemarket module's method, but also checks london hardfork // status. BaseFee(ctx context.Context, in *QueryBaseFeeRequest, opts ...grpc.CallOption) (*QueryBaseFeeResponse, error) // Config queries the EVM configuration Config(ctx context.Context, in *QueryConfigRequest, opts ...grpc.CallOption) (*QueryConfigResponse, error) // GlobalMinGasPrice queries the MinGasPrice // it's similar to feemarket module's method, // but makes the conversion to 18 decimals // when the evm denom is represented with a different precision. GlobalMinGasPrice(ctx context.Context, in *QueryGlobalMinGasPriceRequest, opts ...grpc.CallOption) (*QueryGlobalMinGasPriceResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://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 QueryConfigRequest ¶
type QueryConfigRequest struct { }
QueryConfigRequest defines the request type for querying the config
func (*QueryConfigRequest) Descriptor ¶
func (*QueryConfigRequest) Descriptor() ([]byte, []int)
func (*QueryConfigRequest) Marshal ¶
func (m *QueryConfigRequest) Marshal() (dAtA []byte, err error)
func (*QueryConfigRequest) MarshalTo ¶
func (m *QueryConfigRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryConfigRequest) MarshalToSizedBuffer ¶
func (m *QueryConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConfigRequest) ProtoMessage ¶
func (*QueryConfigRequest) ProtoMessage()
func (*QueryConfigRequest) Reset ¶
func (m *QueryConfigRequest) Reset()
func (*QueryConfigRequest) Size ¶
func (m *QueryConfigRequest) Size() (n int)
func (*QueryConfigRequest) String ¶
func (m *QueryConfigRequest) String() string
func (*QueryConfigRequest) Unmarshal ¶
func (m *QueryConfigRequest) Unmarshal(dAtA []byte) error
func (*QueryConfigRequest) XXX_DiscardUnknown ¶
func (m *QueryConfigRequest) XXX_DiscardUnknown()
func (*QueryConfigRequest) XXX_Marshal ¶
func (m *QueryConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConfigRequest) XXX_Merge ¶
func (m *QueryConfigRequest) XXX_Merge(src proto.Message)
func (*QueryConfigRequest) XXX_Size ¶
func (m *QueryConfigRequest) XXX_Size() int
func (*QueryConfigRequest) XXX_Unmarshal ¶
func (m *QueryConfigRequest) XXX_Unmarshal(b []byte) error
type QueryConfigResponse ¶
type QueryConfigResponse struct { // config is the evm configuration Config *ChainConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` }
QueryConfigResponse returns the EVM config.
func (*QueryConfigResponse) Descriptor ¶
func (*QueryConfigResponse) Descriptor() ([]byte, []int)
func (*QueryConfigResponse) GetConfig ¶
func (m *QueryConfigResponse) GetConfig() *ChainConfig
func (*QueryConfigResponse) Marshal ¶
func (m *QueryConfigResponse) Marshal() (dAtA []byte, err error)
func (*QueryConfigResponse) MarshalTo ¶
func (m *QueryConfigResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryConfigResponse) MarshalToSizedBuffer ¶
func (m *QueryConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConfigResponse) ProtoMessage ¶
func (*QueryConfigResponse) ProtoMessage()
func (*QueryConfigResponse) Reset ¶
func (m *QueryConfigResponse) Reset()
func (*QueryConfigResponse) Size ¶
func (m *QueryConfigResponse) Size() (n int)
func (*QueryConfigResponse) String ¶
func (m *QueryConfigResponse) String() string
func (*QueryConfigResponse) Unmarshal ¶
func (m *QueryConfigResponse) Unmarshal(dAtA []byte) error
func (*QueryConfigResponse) XXX_DiscardUnknown ¶
func (m *QueryConfigResponse) XXX_DiscardUnknown()
func (*QueryConfigResponse) XXX_Marshal ¶
func (m *QueryConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConfigResponse) XXX_Merge ¶
func (m *QueryConfigResponse) XXX_Merge(src proto.Message)
func (*QueryConfigResponse) XXX_Size ¶
func (m *QueryConfigResponse) XXX_Size() int
func (*QueryConfigResponse) XXX_Unmarshal ¶
func (m *QueryConfigResponse) XXX_Unmarshal(b []byte) error
type QueryCosmosAccountRequest ¶
type QueryCosmosAccountRequest struct { // address is the ethereum hex address to query the account for. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` }
QueryCosmosAccountRequest is the request type for the Query/CosmosAccount RPC method.
func (*QueryCosmosAccountRequest) Descriptor ¶
func (*QueryCosmosAccountRequest) Descriptor() ([]byte, []int)
func (*QueryCosmosAccountRequest) Marshal ¶
func (m *QueryCosmosAccountRequest) Marshal() (dAtA []byte, err error)
func (*QueryCosmosAccountRequest) MarshalTo ¶
func (m *QueryCosmosAccountRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCosmosAccountRequest) MarshalToSizedBuffer ¶
func (m *QueryCosmosAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCosmosAccountRequest) ProtoMessage ¶
func (*QueryCosmosAccountRequest) ProtoMessage()
func (*QueryCosmosAccountRequest) Reset ¶
func (m *QueryCosmosAccountRequest) Reset()
func (*QueryCosmosAccountRequest) Size ¶
func (m *QueryCosmosAccountRequest) Size() (n int)
func (*QueryCosmosAccountRequest) String ¶
func (m *QueryCosmosAccountRequest) String() string
func (*QueryCosmosAccountRequest) Unmarshal ¶
func (m *QueryCosmosAccountRequest) Unmarshal(dAtA []byte) error
func (*QueryCosmosAccountRequest) XXX_DiscardUnknown ¶
func (m *QueryCosmosAccountRequest) XXX_DiscardUnknown()
func (*QueryCosmosAccountRequest) XXX_Marshal ¶
func (m *QueryCosmosAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCosmosAccountRequest) XXX_Merge ¶
func (m *QueryCosmosAccountRequest) XXX_Merge(src proto.Message)
func (*QueryCosmosAccountRequest) XXX_Size ¶
func (m *QueryCosmosAccountRequest) XXX_Size() int
func (*QueryCosmosAccountRequest) XXX_Unmarshal ¶
func (m *QueryCosmosAccountRequest) XXX_Unmarshal(b []byte) error
type QueryCosmosAccountResponse ¶
type QueryCosmosAccountResponse struct { // cosmos_address is the cosmos address of the account. CosmosAddress string `protobuf:"bytes,1,opt,name=cosmos_address,json=cosmosAddress,proto3" json:"cosmos_address,omitempty"` // sequence is the account's sequence number. Sequence uint64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"` // account_number is the account number AccountNumber uint64 `protobuf:"varint,3,opt,name=account_number,json=accountNumber,proto3" json:"account_number,omitempty"` }
QueryCosmosAccountResponse is the response type for the Query/CosmosAccount RPC method.
func (*QueryCosmosAccountResponse) Descriptor ¶
func (*QueryCosmosAccountResponse) Descriptor() ([]byte, []int)
func (*QueryCosmosAccountResponse) GetAccountNumber ¶
func (m *QueryCosmosAccountResponse) GetAccountNumber() uint64
func (*QueryCosmosAccountResponse) GetCosmosAddress ¶
func (m *QueryCosmosAccountResponse) GetCosmosAddress() string
func (*QueryCosmosAccountResponse) GetSequence ¶
func (m *QueryCosmosAccountResponse) GetSequence() uint64
func (*QueryCosmosAccountResponse) Marshal ¶
func (m *QueryCosmosAccountResponse) Marshal() (dAtA []byte, err error)
func (*QueryCosmosAccountResponse) MarshalTo ¶
func (m *QueryCosmosAccountResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCosmosAccountResponse) MarshalToSizedBuffer ¶
func (m *QueryCosmosAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCosmosAccountResponse) ProtoMessage ¶
func (*QueryCosmosAccountResponse) ProtoMessage()
func (*QueryCosmosAccountResponse) Reset ¶
func (m *QueryCosmosAccountResponse) Reset()
func (*QueryCosmosAccountResponse) Size ¶
func (m *QueryCosmosAccountResponse) Size() (n int)
func (*QueryCosmosAccountResponse) String ¶
func (m *QueryCosmosAccountResponse) String() string
func (*QueryCosmosAccountResponse) Unmarshal ¶
func (m *QueryCosmosAccountResponse) Unmarshal(dAtA []byte) error
func (*QueryCosmosAccountResponse) XXX_DiscardUnknown ¶
func (m *QueryCosmosAccountResponse) XXX_DiscardUnknown()
func (*QueryCosmosAccountResponse) XXX_Marshal ¶
func (m *QueryCosmosAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCosmosAccountResponse) XXX_Merge ¶
func (m *QueryCosmosAccountResponse) XXX_Merge(src proto.Message)
func (*QueryCosmosAccountResponse) XXX_Size ¶
func (m *QueryCosmosAccountResponse) XXX_Size() int
func (*QueryCosmosAccountResponse) XXX_Unmarshal ¶
func (m *QueryCosmosAccountResponse) XXX_Unmarshal(b []byte) error
type QueryGlobalMinGasPriceRequest ¶
type QueryGlobalMinGasPriceRequest struct { }
QueryGlobalMinGasPriceRequest defines the request type for querying the GlobalMinGasPrice
func (*QueryGlobalMinGasPriceRequest) Descriptor ¶
func (*QueryGlobalMinGasPriceRequest) Descriptor() ([]byte, []int)
func (*QueryGlobalMinGasPriceRequest) Marshal ¶
func (m *QueryGlobalMinGasPriceRequest) Marshal() (dAtA []byte, err error)
func (*QueryGlobalMinGasPriceRequest) MarshalTo ¶
func (m *QueryGlobalMinGasPriceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGlobalMinGasPriceRequest) MarshalToSizedBuffer ¶
func (m *QueryGlobalMinGasPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGlobalMinGasPriceRequest) ProtoMessage ¶
func (*QueryGlobalMinGasPriceRequest) ProtoMessage()
func (*QueryGlobalMinGasPriceRequest) Reset ¶
func (m *QueryGlobalMinGasPriceRequest) Reset()
func (*QueryGlobalMinGasPriceRequest) Size ¶
func (m *QueryGlobalMinGasPriceRequest) Size() (n int)
func (*QueryGlobalMinGasPriceRequest) String ¶
func (m *QueryGlobalMinGasPriceRequest) String() string
func (*QueryGlobalMinGasPriceRequest) Unmarshal ¶
func (m *QueryGlobalMinGasPriceRequest) Unmarshal(dAtA []byte) error
func (*QueryGlobalMinGasPriceRequest) XXX_DiscardUnknown ¶
func (m *QueryGlobalMinGasPriceRequest) XXX_DiscardUnknown()
func (*QueryGlobalMinGasPriceRequest) XXX_Marshal ¶
func (m *QueryGlobalMinGasPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGlobalMinGasPriceRequest) XXX_Merge ¶
func (m *QueryGlobalMinGasPriceRequest) XXX_Merge(src proto.Message)
func (*QueryGlobalMinGasPriceRequest) XXX_Size ¶
func (m *QueryGlobalMinGasPriceRequest) XXX_Size() int
func (*QueryGlobalMinGasPriceRequest) XXX_Unmarshal ¶
func (m *QueryGlobalMinGasPriceRequest) XXX_Unmarshal(b []byte) error
type QueryGlobalMinGasPriceResponse ¶
type QueryGlobalMinGasPriceResponse struct { // min_gas_price is the feemarket's min_gas_price MinGasPrice cosmossdk_io_math.Int `protobuf:"bytes,1,opt,name=min_gas_price,json=minGasPrice,proto3,customtype=cosmossdk.io/math.Int" json:"min_gas_price"` }
QueryGlobalMinGasPriceResponse returns the GlobalMinGasPrice
func (*QueryGlobalMinGasPriceResponse) Descriptor ¶
func (*QueryGlobalMinGasPriceResponse) Descriptor() ([]byte, []int)
func (*QueryGlobalMinGasPriceResponse) Marshal ¶
func (m *QueryGlobalMinGasPriceResponse) Marshal() (dAtA []byte, err error)
func (*QueryGlobalMinGasPriceResponse) MarshalTo ¶
func (m *QueryGlobalMinGasPriceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGlobalMinGasPriceResponse) MarshalToSizedBuffer ¶
func (m *QueryGlobalMinGasPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGlobalMinGasPriceResponse) ProtoMessage ¶
func (*QueryGlobalMinGasPriceResponse) ProtoMessage()
func (*QueryGlobalMinGasPriceResponse) Reset ¶
func (m *QueryGlobalMinGasPriceResponse) Reset()
func (*QueryGlobalMinGasPriceResponse) Size ¶
func (m *QueryGlobalMinGasPriceResponse) Size() (n int)
func (*QueryGlobalMinGasPriceResponse) String ¶
func (m *QueryGlobalMinGasPriceResponse) String() string
func (*QueryGlobalMinGasPriceResponse) Unmarshal ¶
func (m *QueryGlobalMinGasPriceResponse) Unmarshal(dAtA []byte) error
func (*QueryGlobalMinGasPriceResponse) XXX_DiscardUnknown ¶
func (m *QueryGlobalMinGasPriceResponse) XXX_DiscardUnknown()
func (*QueryGlobalMinGasPriceResponse) XXX_Marshal ¶
func (m *QueryGlobalMinGasPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGlobalMinGasPriceResponse) XXX_Merge ¶
func (m *QueryGlobalMinGasPriceResponse) XXX_Merge(src proto.Message)
func (*QueryGlobalMinGasPriceResponse) XXX_Size ¶
func (m *QueryGlobalMinGasPriceResponse) XXX_Size() int
func (*QueryGlobalMinGasPriceResponse) XXX_Unmarshal ¶
func (m *QueryGlobalMinGasPriceResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest defines the request type for querying x/vm 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/vm parameters.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Account queries an Ethereum account. Account(context.Context, *QueryAccountRequest) (*QueryAccountResponse, error) // CosmosAccount queries an Ethereum account's Cosmos Address. CosmosAccount(context.Context, *QueryCosmosAccountRequest) (*QueryCosmosAccountResponse, error) // ValidatorAccount queries an Ethereum account's from a validator consensus // Address. ValidatorAccount(context.Context, *QueryValidatorAccountRequest) (*QueryValidatorAccountResponse, error) // Balance queries the balance of a the EVM denomination for a single // account. Balance(context.Context, *QueryBalanceRequest) (*QueryBalanceResponse, error) // Storage queries the balance of all coins for a single account. Storage(context.Context, *QueryStorageRequest) (*QueryStorageResponse, error) // Code queries the balance of all coins for a single account. Code(context.Context, *QueryCodeRequest) (*QueryCodeResponse, error) // Params queries the parameters of x/vm module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // EthCall implements the `eth_call` rpc api EthCall(context.Context, *EthCallRequest) (*MsgEthereumTxResponse, error) // EstimateGas implements the `eth_estimateGas` rpc api EstimateGas(context.Context, *EthCallRequest) (*EstimateGasResponse, error) // TraceTx implements the `debug_traceTransaction` rpc api TraceTx(context.Context, *QueryTraceTxRequest) (*QueryTraceTxResponse, error) // TraceBlock implements the `debug_traceBlockByNumber` and // `debug_traceBlockByHash` rpc api TraceBlock(context.Context, *QueryTraceBlockRequest) (*QueryTraceBlockResponse, error) // BaseFee queries the base fee of the parent block of the current block, // it's similar to feemarket module's method, but also checks london hardfork // status. BaseFee(context.Context, *QueryBaseFeeRequest) (*QueryBaseFeeResponse, error) // Config queries the EVM configuration Config(context.Context, *QueryConfigRequest) (*QueryConfigResponse, error) // GlobalMinGasPrice queries the MinGasPrice // it's similar to feemarket module's method, // but makes the conversion to 18 decimals // when the evm denom is represented with a different precision. GlobalMinGasPrice(context.Context, *QueryGlobalMinGasPriceRequest) (*QueryGlobalMinGasPriceResponse, error) }
QueryServer is the server API for Query service.
type QueryStorageRequest ¶
type QueryStorageRequest struct { // address is the ethereum hex address to query the storage state for. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // key defines the key of the storage state Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` }
QueryStorageRequest is the request type for the Query/Storage RPC method.
func (*QueryStorageRequest) Descriptor ¶
func (*QueryStorageRequest) Descriptor() ([]byte, []int)
func (*QueryStorageRequest) Marshal ¶
func (m *QueryStorageRequest) Marshal() (dAtA []byte, err error)
func (*QueryStorageRequest) MarshalTo ¶
func (m *QueryStorageRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryStorageRequest) MarshalToSizedBuffer ¶
func (m *QueryStorageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStorageRequest) ProtoMessage ¶
func (*QueryStorageRequest) ProtoMessage()
func (*QueryStorageRequest) Reset ¶
func (m *QueryStorageRequest) Reset()
func (*QueryStorageRequest) Size ¶
func (m *QueryStorageRequest) Size() (n int)
func (*QueryStorageRequest) String ¶
func (m *QueryStorageRequest) String() string
func (*QueryStorageRequest) Unmarshal ¶
func (m *QueryStorageRequest) Unmarshal(dAtA []byte) error
func (*QueryStorageRequest) XXX_DiscardUnknown ¶
func (m *QueryStorageRequest) XXX_DiscardUnknown()
func (*QueryStorageRequest) XXX_Marshal ¶
func (m *QueryStorageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStorageRequest) XXX_Merge ¶
func (m *QueryStorageRequest) XXX_Merge(src proto.Message)
func (*QueryStorageRequest) XXX_Size ¶
func (m *QueryStorageRequest) XXX_Size() int
func (*QueryStorageRequest) XXX_Unmarshal ¶
func (m *QueryStorageRequest) XXX_Unmarshal(b []byte) error
type QueryStorageResponse ¶
type QueryStorageResponse struct { // value defines the storage state value hash associated with the given key. Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` }
QueryStorageResponse is the response type for the Query/Storage RPC method.
func (*QueryStorageResponse) Descriptor ¶
func (*QueryStorageResponse) Descriptor() ([]byte, []int)
func (*QueryStorageResponse) GetValue ¶
func (m *QueryStorageResponse) GetValue() string
func (*QueryStorageResponse) Marshal ¶
func (m *QueryStorageResponse) Marshal() (dAtA []byte, err error)
func (*QueryStorageResponse) MarshalTo ¶
func (m *QueryStorageResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryStorageResponse) MarshalToSizedBuffer ¶
func (m *QueryStorageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStorageResponse) ProtoMessage ¶
func (*QueryStorageResponse) ProtoMessage()
func (*QueryStorageResponse) Reset ¶
func (m *QueryStorageResponse) Reset()
func (*QueryStorageResponse) Size ¶
func (m *QueryStorageResponse) Size() (n int)
func (*QueryStorageResponse) String ¶
func (m *QueryStorageResponse) String() string
func (*QueryStorageResponse) Unmarshal ¶
func (m *QueryStorageResponse) Unmarshal(dAtA []byte) error
func (*QueryStorageResponse) XXX_DiscardUnknown ¶
func (m *QueryStorageResponse) XXX_DiscardUnknown()
func (*QueryStorageResponse) XXX_Marshal ¶
func (m *QueryStorageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStorageResponse) XXX_Merge ¶
func (m *QueryStorageResponse) XXX_Merge(src proto.Message)
func (*QueryStorageResponse) XXX_Size ¶
func (m *QueryStorageResponse) XXX_Size() int
func (*QueryStorageResponse) XXX_Unmarshal ¶
func (m *QueryStorageResponse) XXX_Unmarshal(b []byte) error
type QueryTraceBlockRequest ¶
type QueryTraceBlockRequest struct { // txs is an array of messages in the block Txs []*MsgEthereumTx `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"` // trace_config holds extra parameters to trace functions. TraceConfig *TraceConfig `protobuf:"bytes,3,opt,name=trace_config,json=traceConfig,proto3" json:"trace_config,omitempty"` // block_number of the traced block BlockNumber int64 `protobuf:"varint,5,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` // block_hash (hex) of the traced block BlockHash string `protobuf:"bytes,6,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // block_time of the traced block BlockTime time.Time `protobuf:"bytes,7,opt,name=block_time,json=blockTime,proto3,stdtime" json:"block_time"` // proposer_address is the address of the requested block ProposerAddress github_com_cosmos_cosmos_sdk_types.ConsAddress `` /* 162-byte string literal not displayed */ // chain_id is the eip155 chain id parsed from the requested block header ChainId int64 `protobuf:"varint,9,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // block_max_gas of the traced block BlockMaxGas int64 `protobuf:"varint,10,opt,name=block_max_gas,json=blockMaxGas,proto3" json:"block_max_gas,omitempty"` }
QueryTraceBlockRequest defines TraceTx request
func (*QueryTraceBlockRequest) Descriptor ¶
func (*QueryTraceBlockRequest) Descriptor() ([]byte, []int)
func (*QueryTraceBlockRequest) GetBlockHash ¶
func (m *QueryTraceBlockRequest) GetBlockHash() string
func (*QueryTraceBlockRequest) GetBlockMaxGas ¶
func (m *QueryTraceBlockRequest) GetBlockMaxGas() int64
func (*QueryTraceBlockRequest) GetBlockNumber ¶
func (m *QueryTraceBlockRequest) GetBlockNumber() int64
func (*QueryTraceBlockRequest) GetBlockTime ¶
func (m *QueryTraceBlockRequest) GetBlockTime() time.Time
func (*QueryTraceBlockRequest) GetChainId ¶
func (m *QueryTraceBlockRequest) GetChainId() int64
func (*QueryTraceBlockRequest) GetProposerAddress ¶
func (m *QueryTraceBlockRequest) GetProposerAddress() github_com_cosmos_cosmos_sdk_types.ConsAddress
func (*QueryTraceBlockRequest) GetTraceConfig ¶
func (m *QueryTraceBlockRequest) GetTraceConfig() *TraceConfig
func (*QueryTraceBlockRequest) GetTxs ¶
func (m *QueryTraceBlockRequest) GetTxs() []*MsgEthereumTx
func (*QueryTraceBlockRequest) Marshal ¶
func (m *QueryTraceBlockRequest) Marshal() (dAtA []byte, err error)
func (*QueryTraceBlockRequest) MarshalTo ¶
func (m *QueryTraceBlockRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTraceBlockRequest) MarshalToSizedBuffer ¶
func (m *QueryTraceBlockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTraceBlockRequest) ProtoMessage ¶
func (*QueryTraceBlockRequest) ProtoMessage()
func (*QueryTraceBlockRequest) Reset ¶
func (m *QueryTraceBlockRequest) Reset()
func (*QueryTraceBlockRequest) Size ¶
func (m *QueryTraceBlockRequest) Size() (n int)
func (*QueryTraceBlockRequest) String ¶
func (m *QueryTraceBlockRequest) String() string
func (*QueryTraceBlockRequest) Unmarshal ¶
func (m *QueryTraceBlockRequest) Unmarshal(dAtA []byte) error
func (*QueryTraceBlockRequest) XXX_DiscardUnknown ¶
func (m *QueryTraceBlockRequest) XXX_DiscardUnknown()
func (*QueryTraceBlockRequest) XXX_Marshal ¶
func (m *QueryTraceBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTraceBlockRequest) XXX_Merge ¶
func (m *QueryTraceBlockRequest) XXX_Merge(src proto.Message)
func (*QueryTraceBlockRequest) XXX_Size ¶
func (m *QueryTraceBlockRequest) XXX_Size() int
func (*QueryTraceBlockRequest) XXX_Unmarshal ¶
func (m *QueryTraceBlockRequest) XXX_Unmarshal(b []byte) error
type QueryTraceBlockResponse ¶
type QueryTraceBlockResponse struct { // data is the response serialized in bytes Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` }
QueryTraceBlockResponse defines TraceBlock response
func (*QueryTraceBlockResponse) Descriptor ¶
func (*QueryTraceBlockResponse) Descriptor() ([]byte, []int)
func (*QueryTraceBlockResponse) GetData ¶
func (m *QueryTraceBlockResponse) GetData() []byte
func (*QueryTraceBlockResponse) Marshal ¶
func (m *QueryTraceBlockResponse) Marshal() (dAtA []byte, err error)
func (*QueryTraceBlockResponse) MarshalTo ¶
func (m *QueryTraceBlockResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTraceBlockResponse) MarshalToSizedBuffer ¶
func (m *QueryTraceBlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTraceBlockResponse) ProtoMessage ¶
func (*QueryTraceBlockResponse) ProtoMessage()
func (*QueryTraceBlockResponse) Reset ¶
func (m *QueryTraceBlockResponse) Reset()
func (*QueryTraceBlockResponse) Size ¶
func (m *QueryTraceBlockResponse) Size() (n int)
func (*QueryTraceBlockResponse) String ¶
func (m *QueryTraceBlockResponse) String() string
func (*QueryTraceBlockResponse) Unmarshal ¶
func (m *QueryTraceBlockResponse) Unmarshal(dAtA []byte) error
func (*QueryTraceBlockResponse) XXX_DiscardUnknown ¶
func (m *QueryTraceBlockResponse) XXX_DiscardUnknown()
func (*QueryTraceBlockResponse) XXX_Marshal ¶
func (m *QueryTraceBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTraceBlockResponse) XXX_Merge ¶
func (m *QueryTraceBlockResponse) XXX_Merge(src proto.Message)
func (*QueryTraceBlockResponse) XXX_Size ¶
func (m *QueryTraceBlockResponse) XXX_Size() int
func (*QueryTraceBlockResponse) XXX_Unmarshal ¶
func (m *QueryTraceBlockResponse) XXX_Unmarshal(b []byte) error
type QueryTraceTxRequest ¶
type QueryTraceTxRequest struct { // msg is the MsgEthereumTx for the requested transaction Msg *MsgEthereumTx `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // trace_config holds extra parameters to trace functions. TraceConfig *TraceConfig `protobuf:"bytes,3,opt,name=trace_config,json=traceConfig,proto3" json:"trace_config,omitempty"` // predecessors is an array of transactions included in the same block // need to be replayed first to get correct context for tracing. Predecessors []*MsgEthereumTx `protobuf:"bytes,4,rep,name=predecessors,proto3" json:"predecessors,omitempty"` // block_number of requested transaction BlockNumber int64 `protobuf:"varint,5,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` // block_hash of requested transaction BlockHash string `protobuf:"bytes,6,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // block_time of requested transaction BlockTime time.Time `protobuf:"bytes,7,opt,name=block_time,json=blockTime,proto3,stdtime" json:"block_time"` // proposer_address is the proposer of the requested block ProposerAddress github_com_cosmos_cosmos_sdk_types.ConsAddress `` /* 162-byte string literal not displayed */ // chain_id is the eip155 chain id parsed from the requested block header ChainId int64 `protobuf:"varint,9,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // block_max_gas of the block of the requested transaction BlockMaxGas int64 `protobuf:"varint,10,opt,name=block_max_gas,json=blockMaxGas,proto3" json:"block_max_gas,omitempty"` }
QueryTraceTxRequest defines TraceTx request
func (*QueryTraceTxRequest) Descriptor ¶
func (*QueryTraceTxRequest) Descriptor() ([]byte, []int)
func (*QueryTraceTxRequest) GetBlockHash ¶
func (m *QueryTraceTxRequest) GetBlockHash() string
func (*QueryTraceTxRequest) GetBlockMaxGas ¶
func (m *QueryTraceTxRequest) GetBlockMaxGas() int64
func (*QueryTraceTxRequest) GetBlockNumber ¶
func (m *QueryTraceTxRequest) GetBlockNumber() int64
func (*QueryTraceTxRequest) GetBlockTime ¶
func (m *QueryTraceTxRequest) GetBlockTime() time.Time
func (*QueryTraceTxRequest) GetChainId ¶
func (m *QueryTraceTxRequest) GetChainId() int64
func (*QueryTraceTxRequest) GetMsg ¶
func (m *QueryTraceTxRequest) GetMsg() *MsgEthereumTx
func (*QueryTraceTxRequest) GetPredecessors ¶
func (m *QueryTraceTxRequest) GetPredecessors() []*MsgEthereumTx
func (*QueryTraceTxRequest) GetProposerAddress ¶
func (m *QueryTraceTxRequest) GetProposerAddress() github_com_cosmos_cosmos_sdk_types.ConsAddress
func (*QueryTraceTxRequest) GetTraceConfig ¶
func (m *QueryTraceTxRequest) GetTraceConfig() *TraceConfig
func (*QueryTraceTxRequest) Marshal ¶
func (m *QueryTraceTxRequest) Marshal() (dAtA []byte, err error)
func (*QueryTraceTxRequest) MarshalTo ¶
func (m *QueryTraceTxRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTraceTxRequest) MarshalToSizedBuffer ¶
func (m *QueryTraceTxRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTraceTxRequest) ProtoMessage ¶
func (*QueryTraceTxRequest) ProtoMessage()
func (*QueryTraceTxRequest) Reset ¶
func (m *QueryTraceTxRequest) Reset()
func (*QueryTraceTxRequest) Size ¶
func (m *QueryTraceTxRequest) Size() (n int)
func (*QueryTraceTxRequest) String ¶
func (m *QueryTraceTxRequest) String() string
func (*QueryTraceTxRequest) Unmarshal ¶
func (m *QueryTraceTxRequest) Unmarshal(dAtA []byte) error
func (*QueryTraceTxRequest) XXX_DiscardUnknown ¶
func (m *QueryTraceTxRequest) XXX_DiscardUnknown()
func (*QueryTraceTxRequest) XXX_Marshal ¶
func (m *QueryTraceTxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTraceTxRequest) XXX_Merge ¶
func (m *QueryTraceTxRequest) XXX_Merge(src proto.Message)
func (*QueryTraceTxRequest) XXX_Size ¶
func (m *QueryTraceTxRequest) XXX_Size() int
func (*QueryTraceTxRequest) XXX_Unmarshal ¶
func (m *QueryTraceTxRequest) XXX_Unmarshal(b []byte) error
type QueryTraceTxResponse ¶
type QueryTraceTxResponse struct { // data is the response serialized in bytes Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` }
QueryTraceTxResponse defines TraceTx response
func (*QueryTraceTxResponse) Descriptor ¶
func (*QueryTraceTxResponse) Descriptor() ([]byte, []int)
func (*QueryTraceTxResponse) GetData ¶
func (m *QueryTraceTxResponse) GetData() []byte
func (*QueryTraceTxResponse) Marshal ¶
func (m *QueryTraceTxResponse) Marshal() (dAtA []byte, err error)
func (*QueryTraceTxResponse) MarshalTo ¶
func (m *QueryTraceTxResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTraceTxResponse) MarshalToSizedBuffer ¶
func (m *QueryTraceTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTraceTxResponse) ProtoMessage ¶
func (*QueryTraceTxResponse) ProtoMessage()
func (*QueryTraceTxResponse) Reset ¶
func (m *QueryTraceTxResponse) Reset()
func (*QueryTraceTxResponse) Size ¶
func (m *QueryTraceTxResponse) Size() (n int)
func (*QueryTraceTxResponse) String ¶
func (m *QueryTraceTxResponse) String() string
func (*QueryTraceTxResponse) Unmarshal ¶
func (m *QueryTraceTxResponse) Unmarshal(dAtA []byte) error
func (*QueryTraceTxResponse) XXX_DiscardUnknown ¶
func (m *QueryTraceTxResponse) XXX_DiscardUnknown()
func (*QueryTraceTxResponse) XXX_Marshal ¶
func (m *QueryTraceTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTraceTxResponse) XXX_Merge ¶
func (m *QueryTraceTxResponse) XXX_Merge(src proto.Message)
func (*QueryTraceTxResponse) XXX_Size ¶
func (m *QueryTraceTxResponse) XXX_Size() int
func (*QueryTraceTxResponse) XXX_Unmarshal ¶
func (m *QueryTraceTxResponse) XXX_Unmarshal(b []byte) error
type QueryTxLogsRequest ¶
type QueryTxLogsRequest struct { // hash is the ethereum transaction hex hash to query the logs for. Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryTxLogsRequest is the request type for the Query/TxLogs RPC method.
func (*QueryTxLogsRequest) Descriptor ¶
func (*QueryTxLogsRequest) Descriptor() ([]byte, []int)
func (*QueryTxLogsRequest) Marshal ¶
func (m *QueryTxLogsRequest) Marshal() (dAtA []byte, err error)
func (*QueryTxLogsRequest) MarshalTo ¶
func (m *QueryTxLogsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTxLogsRequest) MarshalToSizedBuffer ¶
func (m *QueryTxLogsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTxLogsRequest) ProtoMessage ¶
func (*QueryTxLogsRequest) ProtoMessage()
func (*QueryTxLogsRequest) Reset ¶
func (m *QueryTxLogsRequest) Reset()
func (*QueryTxLogsRequest) Size ¶
func (m *QueryTxLogsRequest) Size() (n int)
func (*QueryTxLogsRequest) String ¶
func (m *QueryTxLogsRequest) String() string
func (*QueryTxLogsRequest) Unmarshal ¶
func (m *QueryTxLogsRequest) Unmarshal(dAtA []byte) error
func (*QueryTxLogsRequest) XXX_DiscardUnknown ¶
func (m *QueryTxLogsRequest) XXX_DiscardUnknown()
func (*QueryTxLogsRequest) XXX_Marshal ¶
func (m *QueryTxLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTxLogsRequest) XXX_Merge ¶
func (m *QueryTxLogsRequest) XXX_Merge(src proto.Message)
func (*QueryTxLogsRequest) XXX_Size ¶
func (m *QueryTxLogsRequest) XXX_Size() int
func (*QueryTxLogsRequest) XXX_Unmarshal ¶
func (m *QueryTxLogsRequest) XXX_Unmarshal(b []byte) error
type QueryTxLogsResponse ¶
type QueryTxLogsResponse struct { // logs represents the ethereum logs generated from the given transaction. Logs []*Log `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` // pagination defines the pagination in the response. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryTxLogsResponse is the response type for the Query/TxLogs RPC method.
func (*QueryTxLogsResponse) Descriptor ¶
func (*QueryTxLogsResponse) Descriptor() ([]byte, []int)
func (*QueryTxLogsResponse) GetLogs ¶
func (m *QueryTxLogsResponse) GetLogs() []*Log
func (*QueryTxLogsResponse) GetPagination ¶
func (m *QueryTxLogsResponse) GetPagination() *query.PageResponse
func (*QueryTxLogsResponse) Marshal ¶
func (m *QueryTxLogsResponse) Marshal() (dAtA []byte, err error)
func (*QueryTxLogsResponse) MarshalTo ¶
func (m *QueryTxLogsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTxLogsResponse) MarshalToSizedBuffer ¶
func (m *QueryTxLogsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTxLogsResponse) ProtoMessage ¶
func (*QueryTxLogsResponse) ProtoMessage()
func (*QueryTxLogsResponse) Reset ¶
func (m *QueryTxLogsResponse) Reset()
func (*QueryTxLogsResponse) Size ¶
func (m *QueryTxLogsResponse) Size() (n int)
func (*QueryTxLogsResponse) String ¶
func (m *QueryTxLogsResponse) String() string
func (*QueryTxLogsResponse) Unmarshal ¶
func (m *QueryTxLogsResponse) Unmarshal(dAtA []byte) error
func (*QueryTxLogsResponse) XXX_DiscardUnknown ¶
func (m *QueryTxLogsResponse) XXX_DiscardUnknown()
func (*QueryTxLogsResponse) XXX_Marshal ¶
func (m *QueryTxLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTxLogsResponse) XXX_Merge ¶
func (m *QueryTxLogsResponse) XXX_Merge(src proto.Message)
func (*QueryTxLogsResponse) XXX_Size ¶
func (m *QueryTxLogsResponse) XXX_Size() int
func (*QueryTxLogsResponse) XXX_Unmarshal ¶
func (m *QueryTxLogsResponse) XXX_Unmarshal(b []byte) error
type QueryValidatorAccountRequest ¶
type QueryValidatorAccountRequest struct { // cons_address is the validator cons address to query the account for. ConsAddress string `protobuf:"bytes,1,opt,name=cons_address,json=consAddress,proto3" json:"cons_address,omitempty"` }
QueryValidatorAccountRequest is the request type for the Query/ValidatorAccount RPC method.
func (*QueryValidatorAccountRequest) Descriptor ¶
func (*QueryValidatorAccountRequest) Descriptor() ([]byte, []int)
func (*QueryValidatorAccountRequest) Marshal ¶
func (m *QueryValidatorAccountRequest) Marshal() (dAtA []byte, err error)
func (*QueryValidatorAccountRequest) MarshalTo ¶
func (m *QueryValidatorAccountRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorAccountRequest) MarshalToSizedBuffer ¶
func (m *QueryValidatorAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorAccountRequest) ProtoMessage ¶
func (*QueryValidatorAccountRequest) ProtoMessage()
func (*QueryValidatorAccountRequest) Reset ¶
func (m *QueryValidatorAccountRequest) Reset()
func (*QueryValidatorAccountRequest) Size ¶
func (m *QueryValidatorAccountRequest) Size() (n int)
func (*QueryValidatorAccountRequest) String ¶
func (m *QueryValidatorAccountRequest) String() string
func (*QueryValidatorAccountRequest) Unmarshal ¶
func (m *QueryValidatorAccountRequest) Unmarshal(dAtA []byte) error
func (*QueryValidatorAccountRequest) XXX_DiscardUnknown ¶
func (m *QueryValidatorAccountRequest) XXX_DiscardUnknown()
func (*QueryValidatorAccountRequest) XXX_Marshal ¶
func (m *QueryValidatorAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorAccountRequest) XXX_Merge ¶
func (m *QueryValidatorAccountRequest) XXX_Merge(src proto.Message)
func (*QueryValidatorAccountRequest) XXX_Size ¶
func (m *QueryValidatorAccountRequest) XXX_Size() int
func (*QueryValidatorAccountRequest) XXX_Unmarshal ¶
func (m *QueryValidatorAccountRequest) XXX_Unmarshal(b []byte) error
type QueryValidatorAccountResponse ¶
type QueryValidatorAccountResponse struct { // account_address is the cosmos address of the account in bech32 format. AccountAddress string `protobuf:"bytes,1,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"` // sequence is the account's sequence number. Sequence uint64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"` // account_number is the account number AccountNumber uint64 `protobuf:"varint,3,opt,name=account_number,json=accountNumber,proto3" json:"account_number,omitempty"` }
QueryValidatorAccountResponse is the response type for the Query/ValidatorAccount RPC method.
func (*QueryValidatorAccountResponse) Descriptor ¶
func (*QueryValidatorAccountResponse) Descriptor() ([]byte, []int)
func (*QueryValidatorAccountResponse) GetAccountAddress ¶
func (m *QueryValidatorAccountResponse) GetAccountAddress() string
func (*QueryValidatorAccountResponse) GetAccountNumber ¶
func (m *QueryValidatorAccountResponse) GetAccountNumber() uint64
func (*QueryValidatorAccountResponse) GetSequence ¶
func (m *QueryValidatorAccountResponse) GetSequence() uint64
func (*QueryValidatorAccountResponse) Marshal ¶
func (m *QueryValidatorAccountResponse) Marshal() (dAtA []byte, err error)
func (*QueryValidatorAccountResponse) MarshalTo ¶
func (m *QueryValidatorAccountResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorAccountResponse) MarshalToSizedBuffer ¶
func (m *QueryValidatorAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorAccountResponse) ProtoMessage ¶
func (*QueryValidatorAccountResponse) ProtoMessage()
func (*QueryValidatorAccountResponse) Reset ¶
func (m *QueryValidatorAccountResponse) Reset()
func (*QueryValidatorAccountResponse) Size ¶
func (m *QueryValidatorAccountResponse) Size() (n int)
func (*QueryValidatorAccountResponse) String ¶
func (m *QueryValidatorAccountResponse) String() string
func (*QueryValidatorAccountResponse) Unmarshal ¶
func (m *QueryValidatorAccountResponse) Unmarshal(dAtA []byte) error
func (*QueryValidatorAccountResponse) XXX_DiscardUnknown ¶
func (m *QueryValidatorAccountResponse) XXX_DiscardUnknown()
func (*QueryValidatorAccountResponse) XXX_Marshal ¶
func (m *QueryValidatorAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorAccountResponse) XXX_Merge ¶
func (m *QueryValidatorAccountResponse) XXX_Merge(src proto.Message)
func (*QueryValidatorAccountResponse) XXX_Size ¶
func (m *QueryValidatorAccountResponse) XXX_Size() int
func (*QueryValidatorAccountResponse) XXX_Unmarshal ¶
func (m *QueryValidatorAccountResponse) XXX_Unmarshal(b []byte) error
type RestrictedPermissionPolicy ¶
type RestrictedPermissionPolicy struct {
// contains filtered or unexported fields
}
RestrictedPermissionPolicy is a permission policy that restricts contract creation and calls based on a set of accessControl. Note that all the properties are private, this enforces the permissions not to be modified anywhere else within the code. For users that require a custom permission policy, they can implement the PermissionPolicy interface.
func (RestrictedPermissionPolicy) CanCall ¶
func (p RestrictedPermissionPolicy) CanCall(_, caller, _ common.Address) bool
CanCreate implements the PermissionPolicy interface. It allows calls if access type is set to everybody. Otherwise, it checks if: - The signer is allowed to do so. - If the signer is not allowed, then we check if the caller is allowed to do so.
func (RestrictedPermissionPolicy) CanCreate ¶
func (p RestrictedPermissionPolicy) CanCreate(_, caller common.Address) bool
CanCreate implements the PermissionPolicy interface. It allows contract creation if access type is set to everybody. Otherwise, it checks if: - The signer is allowed to do so. - If the signer is not allowed, then we check if the caller is allowed to do so.
func (RestrictedPermissionPolicy) GetCallHook ¶
func (p RestrictedPermissionPolicy) GetCallHook(signer common.Address) CallHook
GetCallHook returns a CallHook that checks if the caller is allowed to perform a call.
func (RestrictedPermissionPolicy) GetCreateHook ¶
func (p RestrictedPermissionPolicy) GetCreateHook(signer common.Address) CreateHook
GetCreateHook returns a CreateHook that checks if the caller is allowed to deploy contracts.
type RevertError ¶
type RevertError struct {
// contains filtered or unexported fields
}
RevertError is an API error that encompass an EVM revert with JSON error code and a binary data blob.
func NewExecErrorWithReason ¶
func NewExecErrorWithReason(revertReason []byte) *RevertError
NewExecErrorWithReason unpacks the revert return bytes and returns a wrapped error with the return reason.
func (*RevertError) ErrorCode ¶
func (e *RevertError) ErrorCode() int
ErrorCode returns the JSON error code for a revert. See: https://github.com/ethereum/wiki/wiki/JSON-RPC-Error-Codes-Improvement-Proposal
func (*RevertError) ErrorData ¶
func (e *RevertError) ErrorData() interface{}
ErrorData returns the hex encoded revert reason.
type StakingKeeper ¶
type StakingKeeper interface { GetHistoricalInfo(ctx context.Context, height int64) (stakingtypes.HistoricalInfo, error) GetValidatorByConsAddr(ctx context.Context, consAddr sdk.ConsAddress) (stakingtypes.Validator, error) ValidatorAddressCodec() address.Codec }
StakingKeeper returns the historical headers kept in store.
type State ¶
type State struct { // key is the stored key Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // value is the stored value for the given key Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` }
State represents a single Storage key value pair item.
func (*State) Descriptor ¶
func (*State) ProtoMessage ¶
func (*State) ProtoMessage()
func (State) Validate ¶
Validate performs a basic validation of the State fields. NOTE: state value can be empty
func (*State) XXX_DiscardUnknown ¶
func (m *State) XXX_DiscardUnknown()
func (*State) XXX_Marshal ¶
func (*State) XXX_Unmarshal ¶
type Storage ¶
type Storage []State
Storage represents the account Storage map as a slice of single key value State pairs. This is to prevent non determinism at genesis initialization or export.
type TraceConfig ¶
type TraceConfig struct { // tracer is a custom javascript tracer Tracer string `protobuf:"bytes,1,opt,name=tracer,proto3" json:"tracer,omitempty"` // timeout overrides the default timeout of 5 seconds for JavaScript-based // tracing calls Timeout string `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty"` // reexec defines the number of blocks the tracer is willing to go back Reexec uint64 `protobuf:"varint,3,opt,name=reexec,proto3" json:"reexec,omitempty"` // disable_stack switches stack capture DisableStack bool `protobuf:"varint,5,opt,name=disable_stack,json=disableStack,proto3" json:"disableStack"` // disable_storage switches storage capture DisableStorage bool `protobuf:"varint,6,opt,name=disable_storage,json=disableStorage,proto3" json:"disableStorage"` // debug can be used to print output during capture end Debug bool `protobuf:"varint,8,opt,name=debug,proto3" json:"debug,omitempty"` // limit defines the maximum length of output, but zero means unlimited Limit int32 `protobuf:"varint,9,opt,name=limit,proto3" json:"limit,omitempty"` // overrides can be used to execute a trace using future fork rules Overrides *ChainConfig `protobuf:"bytes,10,opt,name=overrides,proto3" json:"overrides,omitempty"` // enable_memory switches memory capture EnableMemory bool `protobuf:"varint,11,opt,name=enable_memory,json=enableMemory,proto3" json:"enableMemory"` // enable_return_data switches the capture of return data EnableReturnData bool `protobuf:"varint,12,opt,name=enable_return_data,json=enableReturnData,proto3" json:"enableReturnData"` // tracer_json_config configures the tracer using a JSON string TracerJsonConfig string `protobuf:"bytes,13,opt,name=tracer_json_config,json=tracerJsonConfig,proto3" json:"tracerConfig"` }
TraceConfig holds extra parameters to trace functions.
func (*TraceConfig) Descriptor ¶
func (*TraceConfig) Descriptor() ([]byte, []int)
func (*TraceConfig) GetDebug ¶
func (m *TraceConfig) GetDebug() bool
func (*TraceConfig) GetDisableStack ¶
func (m *TraceConfig) GetDisableStack() bool
func (*TraceConfig) GetDisableStorage ¶
func (m *TraceConfig) GetDisableStorage() bool
func (*TraceConfig) GetEnableMemory ¶
func (m *TraceConfig) GetEnableMemory() bool
func (*TraceConfig) GetEnableReturnData ¶
func (m *TraceConfig) GetEnableReturnData() bool
func (*TraceConfig) GetLimit ¶
func (m *TraceConfig) GetLimit() int32
func (*TraceConfig) GetOverrides ¶
func (m *TraceConfig) GetOverrides() *ChainConfig
func (*TraceConfig) GetReexec ¶
func (m *TraceConfig) GetReexec() uint64
func (*TraceConfig) GetTimeout ¶
func (m *TraceConfig) GetTimeout() string
func (*TraceConfig) GetTracer ¶
func (m *TraceConfig) GetTracer() string
func (*TraceConfig) GetTracerJsonConfig ¶
func (m *TraceConfig) GetTracerJsonConfig() string
func (*TraceConfig) Marshal ¶
func (m *TraceConfig) Marshal() (dAtA []byte, err error)
func (*TraceConfig) MarshalToSizedBuffer ¶
func (m *TraceConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TraceConfig) ProtoMessage ¶
func (*TraceConfig) ProtoMessage()
func (*TraceConfig) Reset ¶
func (m *TraceConfig) Reset()
func (*TraceConfig) Size ¶
func (m *TraceConfig) Size() (n int)
func (*TraceConfig) String ¶
func (m *TraceConfig) String() string
func (*TraceConfig) Unmarshal ¶
func (m *TraceConfig) Unmarshal(dAtA []byte) error
func (*TraceConfig) XXX_DiscardUnknown ¶
func (m *TraceConfig) XXX_DiscardUnknown()
func (*TraceConfig) XXX_Marshal ¶
func (m *TraceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TraceConfig) XXX_Merge ¶
func (m *TraceConfig) XXX_Merge(src proto.Message)
func (*TraceConfig) XXX_Size ¶
func (m *TraceConfig) XXX_Size() int
func (*TraceConfig) XXX_Unmarshal ¶
func (m *TraceConfig) XXX_Unmarshal(b []byte) error
type TransactionArgs ¶
type TransactionArgs struct { From *common.Address `json:"from"` To *common.Address `json:"to"` Gas *hexutil.Uint64 `json:"gas"` GasPrice *hexutil.Big `json:"gasPrice"` MaxFeePerGas *hexutil.Big `json:"maxFeePerGas"` MaxPriorityFeePerGas *hexutil.Big `json:"maxPriorityFeePerGas"` Value *hexutil.Big `json:"value"` Nonce *hexutil.Uint64 `json:"nonce"` // We accept "data" and "input" for backwards-compatibility reasons. // "input" is the newer name and should be preferred by clients. // Issue detail: https://github.com/ethereum/go-ethereum/issues/15628 Data *hexutil.Bytes `json:"data"` Input *hexutil.Bytes `json:"input"` // Introduced by AccessListTxType transaction. AccessList *types.AccessList `json:"accessList,omitempty"` ChainID *hexutil.Big `json:"chainId,omitempty"` // For BlobTxType BlobFeeCap *hexutil.Big `json:"maxFeePerBlobGas"` BlobHashes []common.Hash `json:"blobVersionedHashes,omitempty"` // For BlobTxType transactions with blob sidecar Blobs []kzg4844.Blob `json:"blobs"` Commitments []kzg4844.Commitment `json:"commitments"` Proofs []kzg4844.Proof `json:"proofs"` // For SetCodeTxType AuthorizationList []types.SetCodeAuthorization `json:"authorizationList"` }
TransactionArgs represents the arguments to construct a new transaction or a message call.
func (*TransactionArgs) CallDefaults ¶ added in v0.4.0
func (args *TransactionArgs) CallDefaults(globalGasCap uint64, baseFee *big.Int, chainID *big.Int) error
CallDefaults sanitizes the transaction arguments, often filling in zero values, for the purpose of eth_call class of RPC methods.
func (*TransactionArgs) GetData ¶
func (args *TransactionArgs) GetData() []byte
GetData retrieves the transaction calldata. Input field is preferred.
func (*TransactionArgs) GetFrom ¶
func (args *TransactionArgs) GetFrom() common.Address
GetFrom retrieves the transaction sender address.
func (*TransactionArgs) IsEIP4844 ¶ added in v0.4.0
func (args *TransactionArgs) IsEIP4844() bool
IsEIP4844 returns an indicator if the args contains EIP4844 fields.
func (*TransactionArgs) ToMessage ¶
func (args *TransactionArgs) ToMessage(baseFee *big.Int, skipNonceCheck, skipEoACheck bool) *core.Message
ToMessage converts the transaction arguments to the Message type used by the core evm. This method is used in calls and traces that do not require a real live transaction. Assumes that fields are not nil, i.e. setDefaults or CallDefaults has been called.
func (*TransactionArgs) ToTransaction ¶
func (args *TransactionArgs) ToTransaction(defaultType int) *types.Transaction
ToTransaction converts the arguments to a transaction. This assumes that setDefaults has been called.
type TransactionLogs ¶
type TransactionLogs struct { // hash of the transaction Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // logs is an array of Logs for the given transaction hash Logs []*Log `protobuf:"bytes,2,rep,name=logs,proto3" json:"logs,omitempty"` }
TransactionLogs define the logs generated from a transaction execution with a given hash. It it used for import/export data as transactions are not persisted on blockchain state after an upgrade.
func DecodeTransactionLogs ¶
func DecodeTransactionLogs(data []byte) (TransactionLogs, error)
DecodeTransactionLogs decodes an protobuf-encoded byte slice into TransactionLogs
func NewTransactionLogs ¶
func NewTransactionLogs(hash common.Hash, logs []*Log) TransactionLogs
NewTransactionLogs creates a new NewTransactionLogs instance.
func NewTransactionLogsFromEth ¶
func NewTransactionLogsFromEth(hash common.Hash, ethlogs []*ethtypes.Log) TransactionLogs
NewTransactionLogsFromEth creates a new NewTransactionLogs instance using []*ethtypes.Log.
func (*TransactionLogs) Descriptor ¶
func (*TransactionLogs) Descriptor() ([]byte, []int)
func (TransactionLogs) EthLogs ¶
func (tx TransactionLogs) EthLogs() []*ethtypes.Log
EthLogs returns the Ethereum type Logs from the Transaction Logs.
func (*TransactionLogs) GetHash ¶
func (m *TransactionLogs) GetHash() string
func (*TransactionLogs) GetLogs ¶
func (m *TransactionLogs) GetLogs() []*Log
func (*TransactionLogs) Marshal ¶
func (m *TransactionLogs) Marshal() (dAtA []byte, err error)
func (*TransactionLogs) MarshalToSizedBuffer ¶
func (m *TransactionLogs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TransactionLogs) ProtoMessage ¶
func (*TransactionLogs) ProtoMessage()
func (*TransactionLogs) Reset ¶
func (m *TransactionLogs) Reset()
func (*TransactionLogs) Size ¶
func (m *TransactionLogs) Size() (n int)
func (*TransactionLogs) String ¶
func (m *TransactionLogs) String() string
func (*TransactionLogs) Unmarshal ¶
func (m *TransactionLogs) Unmarshal(dAtA []byte) error
func (TransactionLogs) Validate ¶
func (tx TransactionLogs) Validate() error
Validate performs a basic validation of a GenesisAccount fields.
func (*TransactionLogs) XXX_DiscardUnknown ¶
func (m *TransactionLogs) XXX_DiscardUnknown()
func (*TransactionLogs) XXX_Marshal ¶
func (m *TransactionLogs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionLogs) XXX_Merge ¶
func (m *TransactionLogs) XXX_Merge(src proto.Message)
func (*TransactionLogs) XXX_Size ¶
func (m *TransactionLogs) XXX_Size() int
func (*TransactionLogs) XXX_Unmarshal ¶
func (m *TransactionLogs) XXX_Unmarshal(b []byte) error
type 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 TxTraceResult ¶
type TxTraceResult struct { Result interface{} `json:"result,omitempty"` // Trace results produced by the tracer Error string `json:"error,omitempty"` // Trace failure produced by the tracer }
TxTraceResult is the result of a single transaction trace during a block trace.
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) EthereumTx ¶
func (*UnimplementedMsgServer) EthereumTx(ctx context.Context, req *MsgEthereumTx) (*MsgEthereumTxResponse, error)
func (*UnimplementedMsgServer) RegisterPreinstalls ¶ added in v0.4.0
func (*UnimplementedMsgServer) RegisterPreinstalls(ctx context.Context, req *MsgRegisterPreinstalls) (*MsgRegisterPreinstallsResponse, error)
func (*UnimplementedMsgServer) UpdateParams ¶
func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Account ¶
func (*UnimplementedQueryServer) Account(ctx context.Context, req *QueryAccountRequest) (*QueryAccountResponse, error)
func (*UnimplementedQueryServer) Balance ¶
func (*UnimplementedQueryServer) Balance(ctx context.Context, req *QueryBalanceRequest) (*QueryBalanceResponse, error)
func (*UnimplementedQueryServer) BaseFee ¶
func (*UnimplementedQueryServer) BaseFee(ctx context.Context, req *QueryBaseFeeRequest) (*QueryBaseFeeResponse, error)
func (*UnimplementedQueryServer) Code ¶
func (*UnimplementedQueryServer) Code(ctx context.Context, req *QueryCodeRequest) (*QueryCodeResponse, error)
func (*UnimplementedQueryServer) Config ¶
func (*UnimplementedQueryServer) Config(ctx context.Context, req *QueryConfigRequest) (*QueryConfigResponse, error)
func (*UnimplementedQueryServer) CosmosAccount ¶
func (*UnimplementedQueryServer) CosmosAccount(ctx context.Context, req *QueryCosmosAccountRequest) (*QueryCosmosAccountResponse, error)
func (*UnimplementedQueryServer) EstimateGas ¶
func (*UnimplementedQueryServer) EstimateGas(ctx context.Context, req *EthCallRequest) (*EstimateGasResponse, error)
func (*UnimplementedQueryServer) EthCall ¶
func (*UnimplementedQueryServer) EthCall(ctx context.Context, req *EthCallRequest) (*MsgEthereumTxResponse, error)
func (*UnimplementedQueryServer) GlobalMinGasPrice ¶
func (*UnimplementedQueryServer) GlobalMinGasPrice(ctx context.Context, req *QueryGlobalMinGasPriceRequest) (*QueryGlobalMinGasPriceResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) Storage ¶
func (*UnimplementedQueryServer) Storage(ctx context.Context, req *QueryStorageRequest) (*QueryStorageResponse, error)
func (*UnimplementedQueryServer) TraceBlock ¶
func (*UnimplementedQueryServer) TraceBlock(ctx context.Context, req *QueryTraceBlockRequest) (*QueryTraceBlockResponse, error)
func (*UnimplementedQueryServer) TraceTx ¶
func (*UnimplementedQueryServer) TraceTx(ctx context.Context, req *QueryTraceTxRequest) (*QueryTraceTxResponse, error)
func (*UnimplementedQueryServer) ValidatorAccount ¶
func (*UnimplementedQueryServer) ValidatorAccount(ctx context.Context, req *QueryValidatorAccountRequest) (*QueryValidatorAccountResponse, error)
Source Files
¶
- call.go
- chain_config.go
- codec.go
- compiled_contract.go
- config.go
- configurator.go
- denom.go
- denom_config.go
- errors.go
- eth.go
- events.go
- events.pb.go
- evm.pb.go
- genesis.go
- genesis.pb.go
- interfaces.go
- key.go
- logs.go
- msg.go
- opcodes_hooks.go
- params.go
- params_legacy.go
- permissions.go
- precompiles.go
- preinstall.go
- query.go
- query.pb.go
- query.pb.gw.go
- scaling.go
- storage.go
- tracer.go
- tx.go
- tx.pb.go
- tx.pb.gw.go
- tx_args.go
- tx_types.go
- utils.go