evmv1

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2025 License: LGPL-3.0 Imports: 19 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

View Source
const (
	Query_Account_FullMethodName          = "/ethermint.evm.v1.Query/Account"
	Query_CosmosAccount_FullMethodName    = "/ethermint.evm.v1.Query/CosmosAccount"
	Query_ValidatorAccount_FullMethodName = "/ethermint.evm.v1.Query/ValidatorAccount"
	Query_Balance_FullMethodName          = "/ethermint.evm.v1.Query/Balance"
	Query_Storage_FullMethodName          = "/ethermint.evm.v1.Query/Storage"
	Query_Code_FullMethodName             = "/ethermint.evm.v1.Query/Code"
	Query_Params_FullMethodName           = "/ethermint.evm.v1.Query/Params"
	Query_EthCall_FullMethodName          = "/ethermint.evm.v1.Query/EthCall"
	Query_EstimateGas_FullMethodName      = "/ethermint.evm.v1.Query/EstimateGas"
	Query_TraceTx_FullMethodName          = "/ethermint.evm.v1.Query/TraceTx"
	Query_TraceBlock_FullMethodName       = "/ethermint.evm.v1.Query/TraceBlock"
	Query_BaseFee_FullMethodName          = "/ethermint.evm.v1.Query/BaseFee"
)
View Source
const (
	Msg_EthereumTx_FullMethodName   = "/ethermint.evm.v1.Msg/EthereumTx"
	Msg_UpdateParams_FullMethodName = "/ethermint.evm.v1.Msg/UpdateParams"
)

Variables

View Source
var File_ethermint_evm_v1_evm_proto protoreflect.FileDescriptor
View Source
var File_ethermint_evm_v1_genesis_proto protoreflect.FileDescriptor
View Source
var File_ethermint_evm_v1_query_proto protoreflect.FileDescriptor
View Source
var File_ethermint_evm_v1_tx_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ethermint.evm.v1.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "EthereumTx",
			Handler:    _Msg_EthereumTx_Handler,
		},
		{
			MethodName: "UpdateParams",
			Handler:    _Msg_UpdateParams_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "ethermint/evm/v1/tx.proto",
}

Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Query_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ethermint.evm.v1.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Account",
			Handler:    _Query_Account_Handler,
		},
		{
			MethodName: "CosmosAccount",
			Handler:    _Query_CosmosAccount_Handler,
		},
		{
			MethodName: "ValidatorAccount",
			Handler:    _Query_ValidatorAccount_Handler,
		},
		{
			MethodName: "Balance",
			Handler:    _Query_Balance_Handler,
		},
		{
			MethodName: "Storage",
			Handler:    _Query_Storage_Handler,
		},
		{
			MethodName: "Code",
			Handler:    _Query_Code_Handler,
		},
		{
			MethodName: "Params",
			Handler:    _Query_Params_Handler,
		},
		{
			MethodName: "EthCall",
			Handler:    _Query_EthCall_Handler,
		},
		{
			MethodName: "EstimateGas",
			Handler:    _Query_EstimateGas_Handler,
		},
		{
			MethodName: "TraceTx",
			Handler:    _Query_TraceTx_Handler,
		},
		{
			MethodName: "TraceBlock",
			Handler:    _Query_TraceBlock_Handler,
		},
		{
			MethodName: "BaseFee",
			Handler:    _Query_BaseFee_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "ethermint/evm/v1/query.proto",
}

Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterMsgServer

func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)

func RegisterQueryServer

func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)

Types

type AccessTuple

type AccessTuple struct {

	// address is a hex formatted ethereum address
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// storage_keys are hex formatted hashes of the storage keys
	StorageKeys []string `protobuf:"bytes,2,rep,name=storage_keys,json=storageKeys,proto3" json:"storage_keys,omitempty"`
	// contains filtered or unexported fields
}

AccessTuple is the element type of an access list.

func (*AccessTuple) Descriptor deprecated

func (*AccessTuple) Descriptor() ([]byte, []int)

Deprecated: Use AccessTuple.ProtoReflect.Descriptor instead.

func (*AccessTuple) GetAddress

func (x *AccessTuple) GetAddress() string

func (*AccessTuple) GetStorageKeys

func (x *AccessTuple) GetStorageKeys() []string

func (*AccessTuple) ProtoMessage

func (*AccessTuple) ProtoMessage()

func (*AccessTuple) ProtoReflect

func (x *AccessTuple) ProtoReflect() protoreflect.Message

func (*AccessTuple) Reset

func (x *AccessTuple) Reset()

func (*AccessTuple) String

func (x *AccessTuple) String() string

type ChainConfig

type ChainConfig struct {

	// homestead_block switch (nil no fork, 0 = already homestead)
	HomesteadBlock string `protobuf:"bytes,1,opt,name=homestead_block,json=homesteadBlock,proto3" json:"homestead_block,omitempty"`
	// dao_fork_block corresponds to TheDAO hard-fork switch block (nil no fork)
	DaoForkBlock string `protobuf:"bytes,2,opt,name=dao_fork_block,json=daoForkBlock,proto3" json:"dao_fork_block,omitempty"`
	// dao_fork_support defines whether the nodes supports or opposes the DAO hard-fork
	DaoForkSupport bool `protobuf:"varint,3,opt,name=dao_fork_support,json=daoForkSupport,proto3" json:"dao_fork_support,omitempty"`
	// eip150_block: EIP150 implements the Gas price changes
	// (https://github.com/ethereum/EIPs/issues/150) EIP150 HF block (nil no fork)
	Eip150Block string `protobuf:"bytes,4,opt,name=eip150_block,json=eip150Block,proto3" json:"eip150_block,omitempty"`
	// eip150_hash: EIP150 HF hash (needed for header only clients as only gas pricing changed)
	Eip150Hash string `protobuf:"bytes,5,opt,name=eip150_hash,json=eip150Hash,proto3" json:"eip150_hash,omitempty"`
	// eip155_block: EIP155Block HF block
	Eip155Block string `protobuf:"bytes,6,opt,name=eip155_block,json=eip155Block,proto3" json:"eip155_block,omitempty"`
	// eip158_block: EIP158 HF block
	Eip158Block string `protobuf:"bytes,7,opt,name=eip158_block,json=eip158Block,proto3" json:"eip158_block,omitempty"`
	// byzantium_block: Byzantium switch block (nil no fork, 0 = already on byzantium)
	ByzantiumBlock string `protobuf:"bytes,8,opt,name=byzantium_block,json=byzantiumBlock,proto3" json:"byzantium_block,omitempty"`
	// constantinople_block: Constantinople switch block (nil no fork, 0 = already activated)
	ConstantinopleBlock string `protobuf:"bytes,9,opt,name=constantinople_block,json=constantinopleBlock,proto3" json:"constantinople_block,omitempty"`
	// petersburg_block: Petersburg switch block (nil same as Constantinople)
	PetersburgBlock string `protobuf:"bytes,10,opt,name=petersburg_block,json=petersburgBlock,proto3" json:"petersburg_block,omitempty"`
	// istanbul_block: Istanbul switch block (nil no fork, 0 = already on istanbul)
	IstanbulBlock string `protobuf:"bytes,11,opt,name=istanbul_block,json=istanbulBlock,proto3" json:"istanbul_block,omitempty"`
	// muir_glacier_block: Eip-2384 (bomb delay) switch block (nil no fork, 0 = already activated)
	MuirGlacierBlock string `protobuf:"bytes,12,opt,name=muir_glacier_block,json=muirGlacierBlock,proto3" json:"muir_glacier_block,omitempty"`
	// berlin_block: Berlin switch block (nil = no fork, 0 = already on berlin)
	BerlinBlock string `protobuf:"bytes,13,opt,name=berlin_block,json=berlinBlock,proto3" json:"berlin_block,omitempty"`
	// london_block: London switch block (nil = no fork, 0 = already on london)
	LondonBlock string `protobuf:"bytes,17,opt,name=london_block,json=londonBlock,proto3" json:"london_block,omitempty"`
	// arrow_glacier_block: Eip-4345 (bomb delay) switch block (nil = no fork, 0 = already activated)
	ArrowGlacierBlock string `protobuf:"bytes,18,opt,name=arrow_glacier_block,json=arrowGlacierBlock,proto3" json:"arrow_glacier_block,omitempty"`
	// gray_glacier_block: EIP-5133 (bomb delay) switch block (nil = no fork, 0 = already activated)
	GrayGlacierBlock string `protobuf:"bytes,20,opt,name=gray_glacier_block,json=grayGlacierBlock,proto3" json:"gray_glacier_block,omitempty"`
	// merge_netsplit_block: Virtual fork after The Merge to use as a network splitter
	MergeNetsplitBlock string `protobuf:"bytes,21,opt,name=merge_netsplit_block,json=mergeNetsplitBlock,proto3" json:"merge_netsplit_block,omitempty"`
	// shanghai_block switch block (nil = no fork, 0 = already on shanghai)
	ShanghaiBlock string `protobuf:"bytes,22,opt,name=shanghai_block,json=shanghaiBlock,proto3" json:"shanghai_block,omitempty"`
	// cancun_block switch block (nil = no fork, 0 = already on cancun)
	CancunBlock string `protobuf:"bytes,23,opt,name=cancun_block,json=cancunBlock,proto3" json:"cancun_block,omitempty"`
	// contains filtered or unexported fields
}

ChainConfig defines the Ethereum ChainConfig parameters using *sdk.Int values instead of *big.Int.

func (*ChainConfig) Descriptor deprecated

func (*ChainConfig) Descriptor() ([]byte, []int)

Deprecated: Use ChainConfig.ProtoReflect.Descriptor instead.

func (*ChainConfig) GetArrowGlacierBlock

func (x *ChainConfig) GetArrowGlacierBlock() string

func (*ChainConfig) GetBerlinBlock

func (x *ChainConfig) GetBerlinBlock() string

func (*ChainConfig) GetByzantiumBlock

func (x *ChainConfig) GetByzantiumBlock() string

func (*ChainConfig) GetCancunBlock

func (x *ChainConfig) GetCancunBlock() string

func (*ChainConfig) GetConstantinopleBlock

func (x *ChainConfig) GetConstantinopleBlock() string

func (*ChainConfig) GetDaoForkBlock

func (x *ChainConfig) GetDaoForkBlock() string

func (*ChainConfig) GetDaoForkSupport

func (x *ChainConfig) GetDaoForkSupport() bool

func (*ChainConfig) GetEip150Block

func (x *ChainConfig) GetEip150Block() string

func (*ChainConfig) GetEip150Hash

func (x *ChainConfig) GetEip150Hash() string

func (*ChainConfig) GetEip155Block

func (x *ChainConfig) GetEip155Block() string

func (*ChainConfig) GetEip158Block

func (x *ChainConfig) GetEip158Block() string

func (*ChainConfig) GetGrayGlacierBlock

func (x *ChainConfig) GetGrayGlacierBlock() string

func (*ChainConfig) GetHomesteadBlock

func (x *ChainConfig) GetHomesteadBlock() string

func (*ChainConfig) GetIstanbulBlock

func (x *ChainConfig) GetIstanbulBlock() string

func (*ChainConfig) GetLondonBlock

func (x *ChainConfig) GetLondonBlock() string

func (*ChainConfig) GetMergeNetsplitBlock

func (x *ChainConfig) GetMergeNetsplitBlock() string

func (*ChainConfig) GetMuirGlacierBlock

func (x *ChainConfig) GetMuirGlacierBlock() string

func (*ChainConfig) GetPetersburgBlock

func (x *ChainConfig) GetPetersburgBlock() string

func (*ChainConfig) GetShanghaiBlock

func (x *ChainConfig) GetShanghaiBlock() string

func (*ChainConfig) ProtoMessage

func (*ChainConfig) ProtoMessage()

func (*ChainConfig) ProtoReflect

func (x *ChainConfig) ProtoReflect() protoreflect.Message

func (*ChainConfig) Reset

func (x *ChainConfig) Reset()

func (*ChainConfig) String

func (x *ChainConfig) String() string

type EstimateGasResponse

type EstimateGasResponse struct {

	// gas returns the estimated gas
	Gas uint64 `protobuf:"varint,1,opt,name=gas,proto3" json:"gas,omitempty"`
	// contains filtered or unexported fields
}

EstimateGasResponse defines EstimateGas response

func (*EstimateGasResponse) Descriptor deprecated

func (*EstimateGasResponse) Descriptor() ([]byte, []int)

Deprecated: Use EstimateGasResponse.ProtoReflect.Descriptor instead.

func (*EstimateGasResponse) GetGas

func (x *EstimateGasResponse) GetGas() uint64

func (*EstimateGasResponse) ProtoMessage

func (*EstimateGasResponse) ProtoMessage()

func (*EstimateGasResponse) ProtoReflect

func (x *EstimateGasResponse) ProtoReflect() protoreflect.Message

func (*EstimateGasResponse) Reset

func (x *EstimateGasResponse) Reset()

func (*EstimateGasResponse) String

func (x *EstimateGasResponse) String() string

type EthCallRequest

type EthCallRequest struct {

	// args uses the same json format as the json rpc api.
	Args []byte `protobuf:"bytes,1,opt,name=args,proto3" json:"args,omitempty"`
	// gas_cap defines the default gas cap to be used
	GasCap uint64 `protobuf:"varint,2,opt,name=gas_cap,json=gasCap,proto3" json:"gas_cap,omitempty"`
	// contains filtered or unexported fields
}

EthCallRequest defines EthCall request

func (*EthCallRequest) Descriptor deprecated

func (*EthCallRequest) Descriptor() ([]byte, []int)

Deprecated: Use EthCallRequest.ProtoReflect.Descriptor instead.

func (*EthCallRequest) GetArgs

func (x *EthCallRequest) GetArgs() []byte

func (*EthCallRequest) GetGasCap

func (x *EthCallRequest) GetGasCap() uint64

func (*EthCallRequest) ProtoMessage

func (*EthCallRequest) ProtoMessage()

func (*EthCallRequest) ProtoReflect

func (x *EthCallRequest) ProtoReflect() protoreflect.Message

func (*EthCallRequest) Reset

func (x *EthCallRequest) Reset()

func (*EthCallRequest) String

func (x *EthCallRequest) String() string

type ExtensionOptionsEthereumTx

type ExtensionOptionsEthereumTx struct {
	// contains filtered or unexported fields
}

ExtensionOptionsEthereumTx is an extension option for ethereum transactions

func (*ExtensionOptionsEthereumTx) Descriptor deprecated

func (*ExtensionOptionsEthereumTx) Descriptor() ([]byte, []int)

Deprecated: Use ExtensionOptionsEthereumTx.ProtoReflect.Descriptor instead.

func (*ExtensionOptionsEthereumTx) ProtoMessage

func (*ExtensionOptionsEthereumTx) ProtoMessage()

func (*ExtensionOptionsEthereumTx) ProtoReflect

func (*ExtensionOptionsEthereumTx) Reset

func (x *ExtensionOptionsEthereumTx) Reset()

func (*ExtensionOptionsEthereumTx) String

func (x *ExtensionOptionsEthereumTx) String() string

type GenesisAccount

type GenesisAccount struct {

	// address defines an ethereum hex formated address of an account
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// code defines the hex bytes of the account code.
	Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	// storage defines the set of state key values for the account.
	Storage []*State `protobuf:"bytes,3,rep,name=storage,proto3" json:"storage,omitempty"`
	// contains filtered or unexported fields
}

GenesisAccount defines an account to be initialized in the genesis state. Its main difference between with Geth's GenesisAccount is that it uses a custom storage type and that it doesn't contain the private key field.

func (*GenesisAccount) Descriptor deprecated

func (*GenesisAccount) Descriptor() ([]byte, []int)

Deprecated: Use GenesisAccount.ProtoReflect.Descriptor instead.

func (*GenesisAccount) GetAddress

func (x *GenesisAccount) GetAddress() string

func (*GenesisAccount) GetCode

func (x *GenesisAccount) GetCode() string

func (*GenesisAccount) GetStorage

func (x *GenesisAccount) GetStorage() []*State

func (*GenesisAccount) ProtoMessage

func (*GenesisAccount) ProtoMessage()

func (*GenesisAccount) ProtoReflect

func (x *GenesisAccount) ProtoReflect() protoreflect.Message

func (*GenesisAccount) Reset

func (x *GenesisAccount) Reset()

func (*GenesisAccount) String

func (x *GenesisAccount) String() string

type GenesisState

type GenesisState struct {

	// accounts is an array containing the ethereum genesis accounts.
	Accounts []*GenesisAccount `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// params defines all the parameters of the module.
	Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

GenesisState defines the evm module's genesis state.

func (*GenesisState) Descriptor deprecated

func (*GenesisState) Descriptor() ([]byte, []int)

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

func (*GenesisState) GetAccounts

func (x *GenesisState) GetAccounts() []*GenesisAccount

func (*GenesisState) GetParams

func (x *GenesisState) GetParams() *Params

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) ProtoReflect

func (x *GenesisState) ProtoReflect() protoreflect.Message

func (*GenesisState) Reset

func (x *GenesisState) Reset()

func (*GenesisState) String

func (x *GenesisState) String() string

type MsgClient

type MsgClient interface {
	// EthereumTx defines a method submitting Ethereum transactions.
	EthereumTx(ctx context.Context, in *MsgEthereumTx, opts ...grpc.CallOption) (*MsgEthereumTxResponse, error)
	// UpdateParams defined a governance operation for updating the x/evm module parameters.
	// The authority is hard-coded to the Cosmos SDK x/gov module account
	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc.ClientConnInterface) MsgClient

type MsgEthereumTx

type MsgEthereumTx struct {

	// from is the ethereum signer address in bech32 format. This address value is checked
	// against the address derived from the signature (V, R, S) using the
	// secp256k1 elliptic curve
	From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	// marshalled_tx is the binary of the Ethereum tx.
	MarshalledTx []byte `protobuf:"bytes,2,opt,name=marshalled_tx,json=marshalledTx,proto3" json:"marshalled_tx,omitempty"`
	// contains filtered or unexported fields
}

MsgEthereumTx encapsulates an Ethereum transaction as an SDK message.

func (*MsgEthereumTx) Descriptor deprecated

func (*MsgEthereumTx) Descriptor() ([]byte, []int)

Deprecated: Use MsgEthereumTx.ProtoReflect.Descriptor instead.

func (*MsgEthereumTx) GetFrom

func (x *MsgEthereumTx) GetFrom() string

func (*MsgEthereumTx) GetMarshalledTx

func (x *MsgEthereumTx) GetMarshalledTx() []byte

func (*MsgEthereumTx) ProtoMessage

func (*MsgEthereumTx) ProtoMessage()

func (*MsgEthereumTx) ProtoReflect

func (x *MsgEthereumTx) ProtoReflect() protoreflect.Message

func (*MsgEthereumTx) Reset

func (x *MsgEthereumTx) Reset()

func (*MsgEthereumTx) String

func (x *MsgEthereumTx) String() string

type MsgEthereumTxResponse

type MsgEthereumTxResponse struct {

	// hash of the ethereum transaction in hex format.
	// This hash differs from the 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"`
	// 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"`
	// gas_used specifies how much gas was consumed by the transaction
	GasUsed uint64 `protobuf:"varint,4,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"`
	// marshalled_receipt is the marshalled version of Ethereum tx receipt
	MarshalledReceipt []byte `protobuf:"bytes,5,opt,name=marshalled_receipt,json=marshalledReceipt,proto3" json:"marshalled_receipt,omitempty"`
	// contains filtered or unexported fields
}

MsgEthereumTxResponse defines the Msg/EthereumTx response type.

func (*MsgEthereumTxResponse) Descriptor deprecated

func (*MsgEthereumTxResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgEthereumTxResponse.ProtoReflect.Descriptor instead.

func (*MsgEthereumTxResponse) GetGasUsed

func (x *MsgEthereumTxResponse) GetGasUsed() uint64

func (*MsgEthereumTxResponse) GetHash

func (x *MsgEthereumTxResponse) GetHash() string

func (*MsgEthereumTxResponse) GetMarshalledReceipt

func (x *MsgEthereumTxResponse) GetMarshalledReceipt() []byte

func (*MsgEthereumTxResponse) GetRet

func (x *MsgEthereumTxResponse) GetRet() []byte

func (*MsgEthereumTxResponse) GetVmError

func (x *MsgEthereumTxResponse) GetVmError() string

func (*MsgEthereumTxResponse) ProtoMessage

func (*MsgEthereumTxResponse) ProtoMessage()

func (*MsgEthereumTxResponse) ProtoReflect

func (x *MsgEthereumTxResponse) ProtoReflect() protoreflect.Message

func (*MsgEthereumTxResponse) Reset

func (x *MsgEthereumTxResponse) Reset()

func (*MsgEthereumTxResponse) String

func (x *MsgEthereumTxResponse) String() string

type MsgServer

type MsgServer interface {
	// EthereumTx defines a method submitting Ethereum transactions.
	EthereumTx(context.Context, *MsgEthereumTx) (*MsgEthereumTxResponse, error)
	// UpdateParams defined a governance operation for updating the x/evm module parameters.
	// The authority is hard-coded to the Cosmos SDK x/gov module account
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
	// contains filtered or unexported methods
}

MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility

type MsgUpdateParams

type MsgUpdateParams struct {

	// authority is the address of the governance account.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// params defines the x/evm parameters to update.
	// NOTE: All parameters must be supplied.
	Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

MsgUpdateParams defines a Msg for updating the x/evm module parameters.

func (*MsgUpdateParams) Descriptor deprecated

func (*MsgUpdateParams) Descriptor() ([]byte, []int)

Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.

func (*MsgUpdateParams) GetAuthority

func (x *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (x *MsgUpdateParams) GetParams() *Params

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) ProtoReflect

func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message

func (*MsgUpdateParams) Reset

func (x *MsgUpdateParams) Reset()

func (*MsgUpdateParams) String

func (x *MsgUpdateParams) String() string

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
	// contains filtered or unexported fields
}

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

func (*MsgUpdateParamsResponse) Descriptor deprecated

func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)

Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) ProtoReflect

func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message

func (*MsgUpdateParamsResponse) Reset

func (x *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) String

func (x *MsgUpdateParamsResponse) String() string

type Params

type Params struct {

	// evm_denom represents the token denomination used to run the EVM state
	// transitions.
	EvmDenom string `protobuf:"bytes,1,opt,name=evm_denom,json=evmDenom,proto3" json:"evm_denom,omitempty"`
	// enable_create toggles state transitions that use the vm.Create function
	EnableCreate bool `protobuf:"varint,2,opt,name=enable_create,json=enableCreate,proto3" json:"enable_create,omitempty"`
	// enable_call toggles state transitions that use the vm.Call function
	EnableCall bool `protobuf:"varint,3,opt,name=enable_call,json=enableCall,proto3" json:"enable_call,omitempty"`
	// extra_eips defines the additional EIPs for the vm.Config
	ExtraEips []int64 `protobuf:"varint,4,rep,packed,name=extra_eips,json=extraEips,proto3" json:"extra_eips,omitempty"`
	// chain_config defines the EVM chain configuration parameters
	ChainConfig *ChainConfig `protobuf:"bytes,5,opt,name=chain_config,json=chainConfig,proto3" json:"chain_config,omitempty"`
	// contains filtered or unexported fields
}

Params defines the EVM module parameters

func (*Params) Descriptor deprecated

func (*Params) Descriptor() ([]byte, []int)

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) GetChainConfig

func (x *Params) GetChainConfig() *ChainConfig

func (*Params) GetEnableCall

func (x *Params) GetEnableCall() bool

func (*Params) GetEnableCreate

func (x *Params) GetEnableCreate() bool

func (*Params) GetEvmDenom

func (x *Params) GetEvmDenom() string

func (*Params) GetExtraEips

func (x *Params) GetExtraEips() []int64

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) ProtoReflect

func (x *Params) ProtoReflect() protoreflect.Message

func (*Params) Reset

func (x *Params) Reset()

func (*Params) String

func (x *Params) String() string

type QueryAccountRequest

type QueryAccountRequest struct {

	// address is the ethereum hex address to query the account for.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

QueryAccountRequest is the request type for the Query/Account RPC method.

func (*QueryAccountRequest) Descriptor deprecated

func (*QueryAccountRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryAccountRequest.ProtoReflect.Descriptor instead.

func (*QueryAccountRequest) GetAddress

func (x *QueryAccountRequest) GetAddress() string

func (*QueryAccountRequest) ProtoMessage

func (*QueryAccountRequest) ProtoMessage()

func (*QueryAccountRequest) ProtoReflect

func (x *QueryAccountRequest) ProtoReflect() protoreflect.Message

func (*QueryAccountRequest) Reset

func (x *QueryAccountRequest) Reset()

func (*QueryAccountRequest) String

func (x *QueryAccountRequest) String() string

type QueryAccountResponse

type QueryAccountResponse struct {

	// balance is the balance of the EVM denomination.
	Balance string `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"`
	// code_hash is the hex-formatted code bytes from the EOA.
	CodeHash string `protobuf:"bytes,2,opt,name=code_hash,json=codeHash,proto3" json:"code_hash,omitempty"`
	// nonce is the account's sequence number.
	Nonce uint64 `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// contains filtered or unexported fields
}

QueryAccountResponse is the response type for the Query/Account RPC method.

func (*QueryAccountResponse) Descriptor deprecated

func (*QueryAccountResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryAccountResponse.ProtoReflect.Descriptor instead.

func (*QueryAccountResponse) GetBalance

func (x *QueryAccountResponse) GetBalance() string

func (*QueryAccountResponse) GetCodeHash

func (x *QueryAccountResponse) GetCodeHash() string

func (*QueryAccountResponse) GetNonce

func (x *QueryAccountResponse) GetNonce() uint64

func (*QueryAccountResponse) ProtoMessage

func (*QueryAccountResponse) ProtoMessage()

func (*QueryAccountResponse) ProtoReflect

func (x *QueryAccountResponse) ProtoReflect() protoreflect.Message

func (*QueryAccountResponse) Reset

func (x *QueryAccountResponse) Reset()

func (*QueryAccountResponse) String

func (x *QueryAccountResponse) String() string

type QueryBalanceRequest

type QueryBalanceRequest struct {

	// address is the ethereum hex address to query the balance for.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

QueryBalanceRequest is the request type for the Query/Balance RPC method.

func (*QueryBalanceRequest) Descriptor deprecated

func (*QueryBalanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryBalanceRequest.ProtoReflect.Descriptor instead.

func (*QueryBalanceRequest) GetAddress

func (x *QueryBalanceRequest) GetAddress() string

func (*QueryBalanceRequest) ProtoMessage

func (*QueryBalanceRequest) ProtoMessage()

func (*QueryBalanceRequest) ProtoReflect

func (x *QueryBalanceRequest) ProtoReflect() protoreflect.Message

func (*QueryBalanceRequest) Reset

func (x *QueryBalanceRequest) Reset()

func (*QueryBalanceRequest) String

func (x *QueryBalanceRequest) String() string

type QueryBalanceResponse

type QueryBalanceResponse struct {

	// balance is the balance of the EVM denomination.
	Balance string `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"`
	// contains filtered or unexported fields
}

QueryBalanceResponse is the response type for the Query/Balance RPC method.

func (*QueryBalanceResponse) Descriptor deprecated

func (*QueryBalanceResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryBalanceResponse.ProtoReflect.Descriptor instead.

func (*QueryBalanceResponse) GetBalance

func (x *QueryBalanceResponse) GetBalance() string

func (*QueryBalanceResponse) ProtoMessage

func (*QueryBalanceResponse) ProtoMessage()

func (*QueryBalanceResponse) ProtoReflect

func (x *QueryBalanceResponse) ProtoReflect() protoreflect.Message

func (*QueryBalanceResponse) Reset

func (x *QueryBalanceResponse) Reset()

func (*QueryBalanceResponse) String

func (x *QueryBalanceResponse) String() string

type QueryBaseFeeRequest

type QueryBaseFeeRequest struct {
	// contains filtered or unexported fields
}

QueryBaseFeeRequest defines the request type for querying the EIP1559 base fee.

func (*QueryBaseFeeRequest) Descriptor deprecated

func (*QueryBaseFeeRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryBaseFeeRequest.ProtoReflect.Descriptor instead.

func (*QueryBaseFeeRequest) ProtoMessage

func (*QueryBaseFeeRequest) ProtoMessage()

func (*QueryBaseFeeRequest) ProtoReflect

func (x *QueryBaseFeeRequest) ProtoReflect() protoreflect.Message

func (*QueryBaseFeeRequest) Reset

func (x *QueryBaseFeeRequest) Reset()

func (*QueryBaseFeeRequest) String

func (x *QueryBaseFeeRequest) String() string

type QueryBaseFeeResponse

type QueryBaseFeeResponse struct {

	// base_fee is the EIP1559 base fee
	BaseFee string `protobuf:"bytes,1,opt,name=base_fee,json=baseFee,proto3" json:"base_fee,omitempty"`
	// contains filtered or unexported fields
}

QueryBaseFeeResponse returns the EIP1559 base fee.

func (*QueryBaseFeeResponse) Descriptor deprecated

func (*QueryBaseFeeResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryBaseFeeResponse.ProtoReflect.Descriptor instead.

func (*QueryBaseFeeResponse) GetBaseFee

func (x *QueryBaseFeeResponse) GetBaseFee() string

func (*QueryBaseFeeResponse) ProtoMessage

func (*QueryBaseFeeResponse) ProtoMessage()

func (*QueryBaseFeeResponse) ProtoReflect

func (x *QueryBaseFeeResponse) ProtoReflect() protoreflect.Message

func (*QueryBaseFeeResponse) Reset

func (x *QueryBaseFeeResponse) Reset()

func (*QueryBaseFeeResponse) String

func (x *QueryBaseFeeResponse) String() string

type QueryClient

type QueryClient interface {
	// Account queries an Ethereum account.
	Account(ctx context.Context, in *QueryAccountRequest, opts ...grpc.CallOption) (*QueryAccountResponse, error)
	// CosmosAccount queries an Ethereum account's Cosmos Address.
	CosmosAccount(ctx context.Context, in *QueryCosmosAccountRequest, opts ...grpc.CallOption) (*QueryCosmosAccountResponse, error)
	// ValidatorAccount queries an Ethereum account's from a validator consensus
	// Address.
	ValidatorAccount(ctx context.Context, in *QueryValidatorAccountRequest, opts ...grpc.CallOption) (*QueryValidatorAccountResponse, error)
	// Balance queries the balance of a the EVM denomination for a single account.
	Balance(ctx context.Context, in *QueryBalanceRequest, opts ...grpc.CallOption) (*QueryBalanceResponse, error)
	// Storage queries the balance of all coins for a single account.
	Storage(ctx context.Context, in *QueryStorageRequest, opts ...grpc.CallOption) (*QueryStorageResponse, error)
	// Code queries the balance of all coins for a single account.
	Code(ctx context.Context, in *QueryCodeRequest, opts ...grpc.CallOption) (*QueryCodeResponse, error)
	// Params queries the parameters of x/evm module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// EthCall implements the `eth_call` rpc api
	EthCall(ctx context.Context, in *EthCallRequest, opts ...grpc.CallOption) (*MsgEthereumTxResponse, error)
	// EstimateGas implements the `eth_estimateGas` rpc api
	EstimateGas(ctx context.Context, in *EthCallRequest, opts ...grpc.CallOption) (*EstimateGasResponse, error)
	// TraceTx implements the `debug_traceTransaction` rpc api
	TraceTx(ctx context.Context, in *QueryTraceTxRequest, opts ...grpc.CallOption) (*QueryTraceTxResponse, error)
	// TraceBlock implements the `debug_traceBlockByNumber` and `debug_traceBlockByHash` rpc api
	TraceBlock(ctx context.Context, in *QueryTraceBlockRequest, opts ...grpc.CallOption) (*QueryTraceBlockResponse, error)
	// BaseFee queries the base fee of the current block.
	BaseFee(ctx context.Context, in *QueryBaseFeeRequest, opts ...grpc.CallOption) (*QueryBaseFeeResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc.ClientConnInterface) QueryClient

type QueryCodeRequest

type QueryCodeRequest struct {

	// address is the ethereum hex address to query the code for.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

QueryCodeRequest is the request type for the Query/Code RPC method.

func (*QueryCodeRequest) Descriptor deprecated

func (*QueryCodeRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryCodeRequest.ProtoReflect.Descriptor instead.

func (*QueryCodeRequest) GetAddress

func (x *QueryCodeRequest) GetAddress() string

func (*QueryCodeRequest) ProtoMessage

func (*QueryCodeRequest) ProtoMessage()

func (*QueryCodeRequest) ProtoReflect

func (x *QueryCodeRequest) ProtoReflect() protoreflect.Message

func (*QueryCodeRequest) Reset

func (x *QueryCodeRequest) Reset()

func (*QueryCodeRequest) String

func (x *QueryCodeRequest) String() string

type QueryCodeResponse

type QueryCodeResponse struct {

	// code represents the code bytes from an ethereum address.
	Code []byte `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}

QueryCodeResponse is the response type for the Query/Code RPC method.

func (*QueryCodeResponse) Descriptor deprecated

func (*QueryCodeResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryCodeResponse.ProtoReflect.Descriptor instead.

func (*QueryCodeResponse) GetCode

func (x *QueryCodeResponse) GetCode() []byte

func (*QueryCodeResponse) ProtoMessage

func (*QueryCodeResponse) ProtoMessage()

func (*QueryCodeResponse) ProtoReflect

func (x *QueryCodeResponse) ProtoReflect() protoreflect.Message

func (*QueryCodeResponse) Reset

func (x *QueryCodeResponse) Reset()

func (*QueryCodeResponse) String

func (x *QueryCodeResponse) String() string

type QueryCosmosAccountRequest

type QueryCosmosAccountRequest struct {

	// address is the ethereum hex address to query the account for.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

QueryCosmosAccountRequest is the request type for the Query/CosmosAccount RPC method.

func (*QueryCosmosAccountRequest) Descriptor deprecated

func (*QueryCosmosAccountRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryCosmosAccountRequest.ProtoReflect.Descriptor instead.

func (*QueryCosmosAccountRequest) GetAddress

func (x *QueryCosmosAccountRequest) GetAddress() string

func (*QueryCosmosAccountRequest) ProtoMessage

func (*QueryCosmosAccountRequest) ProtoMessage()

func (*QueryCosmosAccountRequest) ProtoReflect

func (*QueryCosmosAccountRequest) Reset

func (x *QueryCosmosAccountRequest) Reset()

func (*QueryCosmosAccountRequest) String

func (x *QueryCosmosAccountRequest) String() string

type QueryCosmosAccountResponse

type QueryCosmosAccountResponse struct {

	// cosmos_address is the cosmos address of the account.
	CosmosAddress string `protobuf:"bytes,1,opt,name=cosmos_address,json=cosmosAddress,proto3" json:"cosmos_address,omitempty"`
	// sequence is the account's sequence number.
	Sequence uint64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"`
	// account_number is the account number
	AccountNumber uint64 `protobuf:"varint,3,opt,name=account_number,json=accountNumber,proto3" json:"account_number,omitempty"`
	// contains filtered or unexported fields
}

QueryCosmosAccountResponse is the response type for the Query/CosmosAccount RPC method.

func (*QueryCosmosAccountResponse) Descriptor deprecated

func (*QueryCosmosAccountResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryCosmosAccountResponse.ProtoReflect.Descriptor instead.

func (*QueryCosmosAccountResponse) GetAccountNumber

func (x *QueryCosmosAccountResponse) GetAccountNumber() uint64

func (*QueryCosmosAccountResponse) GetCosmosAddress

func (x *QueryCosmosAccountResponse) GetCosmosAddress() string

func (*QueryCosmosAccountResponse) GetSequence

func (x *QueryCosmosAccountResponse) GetSequence() uint64

func (*QueryCosmosAccountResponse) ProtoMessage

func (*QueryCosmosAccountResponse) ProtoMessage()

func (*QueryCosmosAccountResponse) ProtoReflect

func (*QueryCosmosAccountResponse) Reset

func (x *QueryCosmosAccountResponse) Reset()

func (*QueryCosmosAccountResponse) String

func (x *QueryCosmosAccountResponse) String() string

type QueryParamsRequest

type QueryParamsRequest struct {
	// contains filtered or unexported fields
}

QueryParamsRequest defines the request type for querying x/evm parameters.

func (*QueryParamsRequest) Descriptor deprecated

func (*QueryParamsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) ProtoReflect

func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message

func (*QueryParamsRequest) Reset

func (x *QueryParamsRequest) Reset()

func (*QueryParamsRequest) String

func (x *QueryParamsRequest) String() string

type QueryParamsResponse

type QueryParamsResponse struct {

	// params define the evm module parameters.
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

QueryParamsResponse defines the response type for querying x/evm parameters.

func (*QueryParamsResponse) Descriptor deprecated

func (*QueryParamsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.

func (*QueryParamsResponse) GetParams

func (x *QueryParamsResponse) GetParams() *Params

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) ProtoReflect

func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message

func (*QueryParamsResponse) Reset

func (x *QueryParamsResponse) Reset()

func (*QueryParamsResponse) String

func (x *QueryParamsResponse) String() string

type QueryServer

type QueryServer interface {
	// Account queries an Ethereum account.
	Account(context.Context, *QueryAccountRequest) (*QueryAccountResponse, error)
	// CosmosAccount queries an Ethereum account's Cosmos Address.
	CosmosAccount(context.Context, *QueryCosmosAccountRequest) (*QueryCosmosAccountResponse, error)
	// ValidatorAccount queries an Ethereum account's from a validator consensus
	// Address.
	ValidatorAccount(context.Context, *QueryValidatorAccountRequest) (*QueryValidatorAccountResponse, error)
	// Balance queries the balance of a the EVM denomination for a single account.
	Balance(context.Context, *QueryBalanceRequest) (*QueryBalanceResponse, error)
	// Storage queries the balance of all coins for a single account.
	Storage(context.Context, *QueryStorageRequest) (*QueryStorageResponse, error)
	// Code queries the balance of all coins for a single account.
	Code(context.Context, *QueryCodeRequest) (*QueryCodeResponse, error)
	// Params queries the parameters of x/evm module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// EthCall implements the `eth_call` rpc api
	EthCall(context.Context, *EthCallRequest) (*MsgEthereumTxResponse, error)
	// EstimateGas implements the `eth_estimateGas` rpc api
	EstimateGas(context.Context, *EthCallRequest) (*EstimateGasResponse, error)
	// TraceTx implements the `debug_traceTransaction` rpc api
	TraceTx(context.Context, *QueryTraceTxRequest) (*QueryTraceTxResponse, error)
	// TraceBlock implements the `debug_traceBlockByNumber` and `debug_traceBlockByHash` rpc api
	TraceBlock(context.Context, *QueryTraceBlockRequest) (*QueryTraceBlockResponse, error)
	// BaseFee queries the base fee of the current block.
	BaseFee(context.Context, *QueryBaseFeeRequest) (*QueryBaseFeeResponse, error)
	// contains filtered or unexported methods
}

QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility

type QueryStorageRequest

type QueryStorageRequest struct {

	// address is the ethereum hex address to query the storage state for.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// key defines the key of the storage state
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

QueryStorageRequest is the request type for the Query/Storage RPC method.

func (*QueryStorageRequest) Descriptor deprecated

func (*QueryStorageRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryStorageRequest.ProtoReflect.Descriptor instead.

func (*QueryStorageRequest) GetAddress

func (x *QueryStorageRequest) GetAddress() string

func (*QueryStorageRequest) GetKey

func (x *QueryStorageRequest) GetKey() string

func (*QueryStorageRequest) ProtoMessage

func (*QueryStorageRequest) ProtoMessage()

func (*QueryStorageRequest) ProtoReflect

func (x *QueryStorageRequest) ProtoReflect() protoreflect.Message

func (*QueryStorageRequest) Reset

func (x *QueryStorageRequest) Reset()

func (*QueryStorageRequest) String

func (x *QueryStorageRequest) String() string

type QueryStorageResponse

type QueryStorageResponse struct {

	// value defines the storage state value hash associated with the given key.
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

QueryStorageResponse is the response type for the Query/Storage RPC method.

func (*QueryStorageResponse) Descriptor deprecated

func (*QueryStorageResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryStorageResponse.ProtoReflect.Descriptor instead.

func (*QueryStorageResponse) GetValue

func (x *QueryStorageResponse) GetValue() string

func (*QueryStorageResponse) ProtoMessage

func (*QueryStorageResponse) ProtoMessage()

func (*QueryStorageResponse) ProtoReflect

func (x *QueryStorageResponse) ProtoReflect() protoreflect.Message

func (*QueryStorageResponse) Reset

func (x *QueryStorageResponse) Reset()

func (*QueryStorageResponse) String

func (x *QueryStorageResponse) String() string

type QueryTraceBlockRequest

type QueryTraceBlockRequest struct {

	// txs is an array of messages in the block
	Txs []*MsgEthereumTx `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
	// trace_config holds extra parameters to trace functions.
	TraceConfig *TraceConfig `protobuf:"bytes,3,opt,name=trace_config,json=traceConfig,proto3" json:"trace_config,omitempty"`
	// block_number of the traced block
	BlockNumber int64 `protobuf:"varint,5,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
	// block_hash (hex) of the traced block
	BlockHash string `protobuf:"bytes,6,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	// block_time of the traced block
	BlockTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"`
	// proposer_address is the proposer of the requested block
	ProposerAddress []byte `protobuf:"bytes,8,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"`
	// contains filtered or unexported fields
}

QueryTraceBlockRequest defines TraceTx request

func (*QueryTraceBlockRequest) Descriptor deprecated

func (*QueryTraceBlockRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryTraceBlockRequest.ProtoReflect.Descriptor instead.

func (*QueryTraceBlockRequest) GetBlockHash

func (x *QueryTraceBlockRequest) GetBlockHash() string

func (*QueryTraceBlockRequest) GetBlockNumber

func (x *QueryTraceBlockRequest) GetBlockNumber() int64

func (*QueryTraceBlockRequest) GetBlockTime

func (x *QueryTraceBlockRequest) GetBlockTime() *timestamppb.Timestamp

func (*QueryTraceBlockRequest) GetProposerAddress

func (x *QueryTraceBlockRequest) GetProposerAddress() []byte

func (*QueryTraceBlockRequest) GetTraceConfig

func (x *QueryTraceBlockRequest) GetTraceConfig() *TraceConfig

func (*QueryTraceBlockRequest) GetTxs

func (x *QueryTraceBlockRequest) GetTxs() []*MsgEthereumTx

func (*QueryTraceBlockRequest) ProtoMessage

func (*QueryTraceBlockRequest) ProtoMessage()

func (*QueryTraceBlockRequest) ProtoReflect

func (x *QueryTraceBlockRequest) ProtoReflect() protoreflect.Message

func (*QueryTraceBlockRequest) Reset

func (x *QueryTraceBlockRequest) Reset()

func (*QueryTraceBlockRequest) String

func (x *QueryTraceBlockRequest) String() string

type QueryTraceBlockResponse

type QueryTraceBlockResponse struct {

	// data is the response serialized in bytes
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

QueryTraceBlockResponse defines TraceBlock response

func (*QueryTraceBlockResponse) Descriptor deprecated

func (*QueryTraceBlockResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryTraceBlockResponse.ProtoReflect.Descriptor instead.

func (*QueryTraceBlockResponse) GetData

func (x *QueryTraceBlockResponse) GetData() []byte

func (*QueryTraceBlockResponse) ProtoMessage

func (*QueryTraceBlockResponse) ProtoMessage()

func (*QueryTraceBlockResponse) ProtoReflect

func (x *QueryTraceBlockResponse) ProtoReflect() protoreflect.Message

func (*QueryTraceBlockResponse) Reset

func (x *QueryTraceBlockResponse) Reset()

func (*QueryTraceBlockResponse) String

func (x *QueryTraceBlockResponse) String() string

type QueryTraceTxRequest

type QueryTraceTxRequest struct {

	// msg is the MsgEthereumTx for the requested transaction
	Msg *MsgEthereumTx `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	// trace_config holds extra parameters to trace functions.
	TraceConfig *TraceConfig `protobuf:"bytes,2,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,3,rep,name=predecessors,proto3" json:"predecessors,omitempty"`
	// block_number of requested transaction
	BlockNumber int64 `protobuf:"varint,4,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
	// block_hash of requested transaction
	BlockHash string `protobuf:"bytes,5,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	// block_time of requested transaction
	BlockTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"`
	// proposer_address is the proposer of the requested block
	ProposerAddress []byte `protobuf:"bytes,7,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"`
	// contains filtered or unexported fields
}

QueryTraceTxRequest defines TraceTx request

func (*QueryTraceTxRequest) Descriptor deprecated

func (*QueryTraceTxRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryTraceTxRequest.ProtoReflect.Descriptor instead.

func (*QueryTraceTxRequest) GetBlockHash

func (x *QueryTraceTxRequest) GetBlockHash() string

func (*QueryTraceTxRequest) GetBlockNumber

func (x *QueryTraceTxRequest) GetBlockNumber() int64

func (*QueryTraceTxRequest) GetBlockTime

func (x *QueryTraceTxRequest) GetBlockTime() *timestamppb.Timestamp

func (*QueryTraceTxRequest) GetMsg

func (x *QueryTraceTxRequest) GetMsg() *MsgEthereumTx

func (*QueryTraceTxRequest) GetPredecessors

func (x *QueryTraceTxRequest) GetPredecessors() []*MsgEthereumTx

func (*QueryTraceTxRequest) GetProposerAddress

func (x *QueryTraceTxRequest) GetProposerAddress() []byte

func (*QueryTraceTxRequest) GetTraceConfig

func (x *QueryTraceTxRequest) GetTraceConfig() *TraceConfig

func (*QueryTraceTxRequest) ProtoMessage

func (*QueryTraceTxRequest) ProtoMessage()

func (*QueryTraceTxRequest) ProtoReflect

func (x *QueryTraceTxRequest) ProtoReflect() protoreflect.Message

func (*QueryTraceTxRequest) Reset

func (x *QueryTraceTxRequest) Reset()

func (*QueryTraceTxRequest) String

func (x *QueryTraceTxRequest) String() string

type QueryTraceTxResponse

type QueryTraceTxResponse struct {

	// data is the response serialized in bytes
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

QueryTraceTxResponse defines TraceTx response

func (*QueryTraceTxResponse) Descriptor deprecated

func (*QueryTraceTxResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryTraceTxResponse.ProtoReflect.Descriptor instead.

func (*QueryTraceTxResponse) GetData

func (x *QueryTraceTxResponse) GetData() []byte

func (*QueryTraceTxResponse) ProtoMessage

func (*QueryTraceTxResponse) ProtoMessage()

func (*QueryTraceTxResponse) ProtoReflect

func (x *QueryTraceTxResponse) ProtoReflect() protoreflect.Message

func (*QueryTraceTxResponse) Reset

func (x *QueryTraceTxResponse) Reset()

func (*QueryTraceTxResponse) String

func (x *QueryTraceTxResponse) String() string

type QueryValidatorAccountRequest

type QueryValidatorAccountRequest struct {

	// cons_address is the validator cons address to query the account for.
	ConsAddress string `protobuf:"bytes,1,opt,name=cons_address,json=consAddress,proto3" json:"cons_address,omitempty"`
	// contains filtered or unexported fields
}

QueryValidatorAccountRequest is the request type for the Query/ValidatorAccount RPC method.

func (*QueryValidatorAccountRequest) Descriptor deprecated

func (*QueryValidatorAccountRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryValidatorAccountRequest.ProtoReflect.Descriptor instead.

func (*QueryValidatorAccountRequest) GetConsAddress

func (x *QueryValidatorAccountRequest) GetConsAddress() string

func (*QueryValidatorAccountRequest) ProtoMessage

func (*QueryValidatorAccountRequest) ProtoMessage()

func (*QueryValidatorAccountRequest) ProtoReflect

func (*QueryValidatorAccountRequest) Reset

func (x *QueryValidatorAccountRequest) Reset()

func (*QueryValidatorAccountRequest) String

type QueryValidatorAccountResponse

type QueryValidatorAccountResponse struct {

	// account_address is the cosmos address of the account in bech32 format.
	AccountAddress string `protobuf:"bytes,1,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
	// sequence is the account's sequence number.
	Sequence uint64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"`
	// account_number is the account number
	AccountNumber uint64 `protobuf:"varint,3,opt,name=account_number,json=accountNumber,proto3" json:"account_number,omitempty"`
	// contains filtered or unexported fields
}

QueryValidatorAccountResponse is the response type for the Query/ValidatorAccount RPC method.

func (*QueryValidatorAccountResponse) Descriptor deprecated

func (*QueryValidatorAccountResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryValidatorAccountResponse.ProtoReflect.Descriptor instead.

func (*QueryValidatorAccountResponse) GetAccountAddress

func (x *QueryValidatorAccountResponse) GetAccountAddress() string

func (*QueryValidatorAccountResponse) GetAccountNumber

func (x *QueryValidatorAccountResponse) GetAccountNumber() uint64

func (*QueryValidatorAccountResponse) GetSequence

func (x *QueryValidatorAccountResponse) GetSequence() uint64

func (*QueryValidatorAccountResponse) ProtoMessage

func (*QueryValidatorAccountResponse) ProtoMessage()

func (*QueryValidatorAccountResponse) ProtoReflect

func (*QueryValidatorAccountResponse) Reset

func (x *QueryValidatorAccountResponse) Reset()

func (*QueryValidatorAccountResponse) String

type State

type State struct {

	// key is the stored key
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// value is the stored value for the given key
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

State represents a single Storage key value pair item.

func (*State) Descriptor deprecated

func (*State) Descriptor() ([]byte, []int)

Deprecated: Use State.ProtoReflect.Descriptor instead.

func (*State) GetKey

func (x *State) GetKey() string

func (*State) GetValue

func (x *State) GetValue() string

func (*State) ProtoMessage

func (*State) ProtoMessage()

func (*State) ProtoReflect

func (x *State) ProtoReflect() protoreflect.Message

func (*State) Reset

func (x *State) Reset()

func (*State) String

func (x *State) String() string

type TraceConfig

type TraceConfig struct {

	// tracer is a custom javascript tracer
	Tracer string `protobuf:"bytes,1,opt,name=tracer,proto3" json:"tracer,omitempty"`
	// timeout overrides the default timeout of 5 seconds for JavaScript-based tracing
	// calls
	Timeout string `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// reexec defines the number of blocks the tracer is willing to go back
	Reexec uint64 `protobuf:"varint,3,opt,name=reexec,proto3" json:"reexec,omitempty"`
	// disable_stack switches stack capture
	DisableStack bool `protobuf:"varint,5,opt,name=disable_stack,json=disableStack,proto3" json:"disable_stack,omitempty"`
	// disable_storage switches storage capture
	DisableStorage bool `protobuf:"varint,6,opt,name=disable_storage,json=disableStorage,proto3" json:"disable_storage,omitempty"`
	// debug can be used to print output during capture end
	Debug bool `protobuf:"varint,8,opt,name=debug,proto3" json:"debug,omitempty"`
	// limit defines the maximum length of output, but zero means unlimited
	Limit int32 `protobuf:"varint,9,opt,name=limit,proto3" json:"limit,omitempty"`
	// overrides can be used to execute a trace using future fork rules
	Overrides *ChainConfig `protobuf:"bytes,10,opt,name=overrides,proto3" json:"overrides,omitempty"`
	// enable_memory switches memory capture
	EnableMemory bool `protobuf:"varint,11,opt,name=enable_memory,json=enableMemory,proto3" json:"enable_memory,omitempty"`
	// enable_return_data switches the capture of return data
	EnableReturnData bool `protobuf:"varint,12,opt,name=enable_return_data,json=enableReturnData,proto3" json:"enable_return_data,omitempty"`
	// tracer_json_config configures the tracer using a JSON string
	TracerJsonConfig string `protobuf:"bytes,13,opt,name=tracer_json_config,json=tracerJsonConfig,proto3" json:"tracer_json_config,omitempty"`
	// contains filtered or unexported fields
}

TraceConfig holds extra parameters to trace functions.

func (*TraceConfig) Descriptor deprecated

func (*TraceConfig) Descriptor() ([]byte, []int)

Deprecated: Use TraceConfig.ProtoReflect.Descriptor instead.

func (*TraceConfig) GetDebug

func (x *TraceConfig) GetDebug() bool

func (*TraceConfig) GetDisableStack

func (x *TraceConfig) GetDisableStack() bool

func (*TraceConfig) GetDisableStorage

func (x *TraceConfig) GetDisableStorage() bool

func (*TraceConfig) GetEnableMemory

func (x *TraceConfig) GetEnableMemory() bool

func (*TraceConfig) GetEnableReturnData

func (x *TraceConfig) GetEnableReturnData() bool

func (*TraceConfig) GetLimit

func (x *TraceConfig) GetLimit() int32

func (*TraceConfig) GetOverrides

func (x *TraceConfig) GetOverrides() *ChainConfig

func (*TraceConfig) GetReexec

func (x *TraceConfig) GetReexec() uint64

func (*TraceConfig) GetTimeout

func (x *TraceConfig) GetTimeout() string

func (*TraceConfig) GetTracer

func (x *TraceConfig) GetTracer() string

func (*TraceConfig) GetTracerJsonConfig

func (x *TraceConfig) GetTracerJsonConfig() string

func (*TraceConfig) ProtoMessage

func (*TraceConfig) ProtoMessage()

func (*TraceConfig) ProtoReflect

func (x *TraceConfig) ProtoReflect() protoreflect.Message

func (*TraceConfig) Reset

func (x *TraceConfig) Reset()

func (*TraceConfig) String

func (x *TraceConfig) String() string

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

func (UnimplementedMsgServer) EthereumTx

func (UnimplementedMsgServer) UpdateParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

func (UnimplementedQueryServer) Account

func (UnimplementedQueryServer) Balance

func (UnimplementedQueryServer) BaseFee

func (UnimplementedQueryServer) Code

func (UnimplementedQueryServer) EstimateGas

func (UnimplementedQueryServer) EthCall

func (UnimplementedQueryServer) Params

func (UnimplementedQueryServer) Storage

func (UnimplementedQueryServer) TraceTx

type UnsafeMsgServer

type UnsafeMsgServer interface {
	// contains filtered or unexported methods
}

UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.

type UnsafeQueryServer

type UnsafeQueryServer interface {
	// contains filtered or unexported methods
}

UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL