evmv1

package
v2.16.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: BSD-2-Clause Imports: 22 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.

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

Index

Constants

This section is empty.

Variables

View Source
var File_eth_evm_v1_events_proto protoreflect.FileDescriptor
View Source
var File_eth_evm_v1_evm_proto protoreflect.FileDescriptor
View Source
var File_eth_evm_v1_genesis_proto protoreflect.FileDescriptor
View Source
var File_eth_evm_v1_query_proto protoreflect.FileDescriptor
View Source
var File_eth_evm_v1_tx_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "eth.evm.v1.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "EthereumTx",
			Handler:    _Msg_EthereumTx_Handler,
		},
		{
			MethodName: "UpdateParams",
			Handler:    _Msg_UpdateParams_Handler,
		},
		{
			MethodName: "CreateFunToken",
			Handler:    _Msg_CreateFunToken_Handler,
		},
		{
			MethodName: "ConvertCoinToEvm",
			Handler:    _Msg_ConvertCoinToEvm_Handler,
		},
		{
			MethodName: "ConvertEvmToCoin",
			Handler:    _Msg_ConvertEvmToCoin_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "eth/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: "eth.evm.v1.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "EthAccount",
			Handler:    _Query_EthAccount_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: "TraceCall",
			Handler:    _Query_TraceCall_Handler,
		},
		{
			MethodName: "BaseFee",
			Handler:    _Query_BaseFee_Handler,
		},
		{
			MethodName: "FunTokenMapping",
			Handler:    _Query_FunTokenMapping_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "eth/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 AccessListTx

type AccessListTx struct {

	// chain_id of the destination EVM chain
	ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// nonce corresponds to the account nonce (transaction sequence).
	Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// gas_price defines the value for each gas unit
	GasPrice string `protobuf:"bytes,3,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"`
	// gas defines the gas limit defined for the transaction.
	Gas uint64 `protobuf:"varint,4,opt,name=gas,proto3" json:"gas,omitempty"`
	// to is the recipient address in hex format
	To string `protobuf:"bytes,5,opt,name=to,proto3" json:"to,omitempty"`
	// value defines the unsigned integer value of the transaction amount.
	Value string `protobuf:"bytes,6,opt,name=value,proto3" json:"value,omitempty"`
	// data is the data payload bytes of the transaction.
	Data []byte `protobuf:"bytes,7,opt,name=data,proto3" json:"data,omitempty"`
	// accesses is an array of access tuples
	Accesses []*AccessTuple `protobuf:"bytes,8,rep,name=accesses,proto3" json:"accesses,omitempty"`
	// v defines the recovery id and "v" signature value from the elliptic curve
	// digital signatute algorithm (ECDSA). It indicates which of two possible
	// solutions should be used to reconstruct the public key from the signature.
	// In Ethereum, "v" takes the value 27 or 28 for transactions that are not
	// relay-protected.
	V []byte `protobuf:"bytes,9,opt,name=v,proto3" json:"v,omitempty"`
	// r defines the x-coordinate of a point on the elliptic curve in the elliptic
	// curve digital signatute algorithm (ECDSA). It's crucial in ensuring
	// uniqueness of the signature.
	R []byte `protobuf:"bytes,10,opt,name=r,proto3" json:"r,omitempty"`
	// s define the signature value derived from the private key, message hash,
	// and the value of "r". It ensures that the signature is tied to both the
	// message and the private key of the sender.
	S []byte `protobuf:"bytes,11,opt,name=s,proto3" json:"s,omitempty"`
	// contains filtered or unexported fields
}

AccessListTx is the data of EIP-2930 access list transactions. It is a custom implementation of "AccessListTx" from "github.com/ethereum/go-ethereum/core/types".

func (*AccessListTx) Descriptor deprecated

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

Deprecated: Use AccessListTx.ProtoReflect.Descriptor instead.

func (*AccessListTx) GetAccesses

func (x *AccessListTx) GetAccesses() []*AccessTuple

func (*AccessListTx) GetChainId

func (x *AccessListTx) GetChainId() string

func (*AccessListTx) GetData

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

func (*AccessListTx) GetGas

func (x *AccessListTx) GetGas() uint64

func (*AccessListTx) GetGasPrice

func (x *AccessListTx) GetGasPrice() string

func (*AccessListTx) GetNonce

func (x *AccessListTx) GetNonce() uint64

func (*AccessListTx) GetR

func (x *AccessListTx) GetR() []byte

func (*AccessListTx) GetS

func (x *AccessListTx) GetS() []byte

func (*AccessListTx) GetTo

func (x *AccessListTx) GetTo() string

func (*AccessListTx) GetV

func (x *AccessListTx) GetV() []byte

func (*AccessListTx) GetValue

func (x *AccessListTx) GetValue() string

func (*AccessListTx) ProtoMessage

func (*AccessListTx) ProtoMessage()

func (*AccessListTx) ProtoReflect

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

func (*AccessListTx) Reset

func (x *AccessListTx) Reset()

func (*AccessListTx) String

func (x *AccessListTx) String() string

type AccessTuple

type AccessTuple struct {

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

AccessTuple is the element type of an access list.

func (*AccessTuple) Descriptor deprecated

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

Deprecated: Use AccessTuple.ProtoReflect.Descriptor instead.

func (*AccessTuple) GetAddress

func (x *AccessTuple) GetAddress() string

func (*AccessTuple) GetStorageKeys

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

func (*AccessTuple) ProtoMessage

func (*AccessTuple) ProtoMessage()

func (*AccessTuple) ProtoReflect

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

func (*AccessTuple) Reset

func (x *AccessTuple) Reset()

func (*AccessTuple) String

func (x *AccessTuple) String() string

type BalanceBank added in v2.16.0

type BalanceBank struct {
	Symbol       string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
	BalanceHuman string `protobuf:"bytes,2,opt,name=balance_human,json=balanceHuman,proto3" json:"balance_human,omitempty"`
	Decimals     uint32 `protobuf:"varint,3,opt,name=decimals,proto3" json:"decimals,omitempty"`
	CoinDenom    string `protobuf:"bytes,4,opt,name=coin_denom,json=coinDenom,proto3" json:"coin_denom,omitempty"`
	BalanceBase  string `protobuf:"bytes,5,opt,name=balance_base,json=balanceBase,proto3" json:"balance_base,omitempty"`
	// contains filtered or unexported fields
}

BalanceBank is the Bank module balance view for a token.

func (*BalanceBank) Descriptor deprecated added in v2.16.0

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

Deprecated: Use BalanceBank.ProtoReflect.Descriptor instead.

func (*BalanceBank) GetBalanceBase added in v2.16.0

func (x *BalanceBank) GetBalanceBase() string

func (*BalanceBank) GetBalanceHuman added in v2.16.0

func (x *BalanceBank) GetBalanceHuman() string

func (*BalanceBank) GetCoinDenom added in v2.16.0

func (x *BalanceBank) GetCoinDenom() string

func (*BalanceBank) GetDecimals added in v2.16.0

func (x *BalanceBank) GetDecimals() uint32

func (*BalanceBank) GetSymbol added in v2.16.0

func (x *BalanceBank) GetSymbol() string

func (*BalanceBank) ProtoMessage added in v2.16.0

func (*BalanceBank) ProtoMessage()

func (*BalanceBank) ProtoReflect added in v2.16.0

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

func (*BalanceBank) Reset added in v2.16.0

func (x *BalanceBank) Reset()

func (*BalanceBank) String added in v2.16.0

func (x *BalanceBank) String() string

type BalanceERC20 added in v2.16.0

type BalanceERC20 struct {
	Address      string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Symbol       string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"`
	BalanceHuman string `protobuf:"bytes,3,opt,name=balance_human,json=balanceHuman,proto3" json:"balance_human,omitempty"`
	Decimals     uint32 `protobuf:"varint,4,opt,name=decimals,proto3" json:"decimals,omitempty"`
	Name         string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	BalanceBase  string `protobuf:"bytes,6,opt,name=balance_base,json=balanceBase,proto3" json:"balance_base,omitempty"`
	// contains filtered or unexported fields
}

BalanceERC20 is the ERC20 balance view for a token.

func (*BalanceERC20) Descriptor deprecated added in v2.16.0

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

Deprecated: Use BalanceERC20.ProtoReflect.Descriptor instead.

func (*BalanceERC20) GetAddress added in v2.16.0

func (x *BalanceERC20) GetAddress() string

func (*BalanceERC20) GetBalanceBase added in v2.16.0

func (x *BalanceERC20) GetBalanceBase() string

func (*BalanceERC20) GetBalanceHuman added in v2.16.0

func (x *BalanceERC20) GetBalanceHuman() string

func (*BalanceERC20) GetDecimals added in v2.16.0

func (x *BalanceERC20) GetDecimals() uint32

func (*BalanceERC20) GetName added in v2.16.0

func (x *BalanceERC20) GetName() string

func (*BalanceERC20) GetSymbol added in v2.16.0

func (x *BalanceERC20) GetSymbol() string

func (*BalanceERC20) ProtoMessage added in v2.16.0

func (*BalanceERC20) ProtoMessage()

func (*BalanceERC20) ProtoReflect added in v2.16.0

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

func (*BalanceERC20) Reset added in v2.16.0

func (x *BalanceERC20) Reset()

func (*BalanceERC20) String added in v2.16.0

func (x *BalanceERC20) String() string

type DynamicFeeTx

type DynamicFeeTx struct {

	// chain_id of the destination EVM chain
	ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// nonce corresponds to the account nonce (transaction sequence).
	Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// gas_tip_cap defines the max value for the gas tip
	GasTipCap string `protobuf:"bytes,3,opt,name=gas_tip_cap,json=gasTipCap,proto3" json:"gas_tip_cap,omitempty"`
	// gas_fee_cap defines the max value for the gas fee
	GasFeeCap string `protobuf:"bytes,4,opt,name=gas_fee_cap,json=gasFeeCap,proto3" json:"gas_fee_cap,omitempty"`
	// gas defines the gas limit defined for the transaction.
	Gas uint64 `protobuf:"varint,5,opt,name=gas,proto3" json:"gas,omitempty"`
	// to is the hex formatted address of the recipient
	To string `protobuf:"bytes,6,opt,name=to,proto3" json:"to,omitempty"`
	// value defines the the transaction amount.
	Value string `protobuf:"bytes,7,opt,name=value,proto3" json:"value,omitempty"`
	// data is the data payload bytes of the transaction.
	Data []byte `protobuf:"bytes,8,opt,name=data,proto3" json:"data,omitempty"`
	// accesses is an array of access tuples
	Accesses []*AccessTuple `protobuf:"bytes,9,rep,name=accesses,proto3" json:"accesses,omitempty"`
	// v defines the recovery id and "v" signature value from the elliptic curve
	// digital signatute algorithm (ECDSA). It indicates which of two possible
	// solutions should be used to reconstruct the public key from the signature.
	// In Ethereum, "v" takes the value 27 or 28 for transactions that are not
	// relay-protected.
	V []byte `protobuf:"bytes,10,opt,name=v,proto3" json:"v,omitempty"`
	// r defines the x-coordinate of a point on the elliptic curve in the elliptic
	// curve digital signatute algorithm (ECDSA). It's crucial in ensuring
	// uniqueness of the signature.
	R []byte `protobuf:"bytes,11,opt,name=r,proto3" json:"r,omitempty"`
	// s define the signature value derived from the private key, message hash,
	// and the value of "r". It ensures that the signature is tied to both the
	// message and the private key of the sender.
	S []byte `protobuf:"bytes,12,opt,name=s,proto3" json:"s,omitempty"`
	// contains filtered or unexported fields
}

DynamicFeeTx is the data of EIP-1559 dynamic fee transactions. It is a custom implementation of "DynamicFeeTx" from "github.com/ethereum/go-ethereum/core/types".

func (*DynamicFeeTx) Descriptor deprecated

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

Deprecated: Use DynamicFeeTx.ProtoReflect.Descriptor instead.

func (*DynamicFeeTx) GetAccesses

func (x *DynamicFeeTx) GetAccesses() []*AccessTuple

func (*DynamicFeeTx) GetChainId

func (x *DynamicFeeTx) GetChainId() string

func (*DynamicFeeTx) GetData

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

func (*DynamicFeeTx) GetGas

func (x *DynamicFeeTx) GetGas() uint64

func (*DynamicFeeTx) GetGasFeeCap

func (x *DynamicFeeTx) GetGasFeeCap() string

func (*DynamicFeeTx) GetGasTipCap

func (x *DynamicFeeTx) GetGasTipCap() string

func (*DynamicFeeTx) GetNonce

func (x *DynamicFeeTx) GetNonce() uint64

func (*DynamicFeeTx) GetR

func (x *DynamicFeeTx) GetR() []byte

func (*DynamicFeeTx) GetS

func (x *DynamicFeeTx) GetS() []byte

func (*DynamicFeeTx) GetTo

func (x *DynamicFeeTx) GetTo() string

func (*DynamicFeeTx) GetV

func (x *DynamicFeeTx) GetV() []byte

func (*DynamicFeeTx) GetValue

func (x *DynamicFeeTx) GetValue() string

func (*DynamicFeeTx) ProtoMessage

func (*DynamicFeeTx) ProtoMessage()

func (*DynamicFeeTx) ProtoReflect

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

func (*DynamicFeeTx) Reset

func (x *DynamicFeeTx) Reset()

func (*DynamicFeeTx) String

func (x *DynamicFeeTx) String() string

type EstimateGasResponse

type EstimateGasResponse struct {

	// gas returns the estimated gas
	Gas uint64 `protobuf:"varint,1,opt,name=gas,proto3" json:"gas,omitempty"`
	// 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"`
	// proposer_address of the requested block in hex format
	ProposerAddress []byte `protobuf:"bytes,3,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"`
	// chain_id is the eip155 chain id parsed from the requested block header
	ChainId int64 `protobuf:"varint,4,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// contains filtered or unexported fields
}

EthCallRequest defines EthCall request

func (*EthCallRequest) Descriptor deprecated

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

Deprecated: Use EthCallRequest.ProtoReflect.Descriptor instead.

func (*EthCallRequest) GetArgs

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

func (*EthCallRequest) GetChainId

func (x *EthCallRequest) GetChainId() int64

func (*EthCallRequest) GetGasCap

func (x *EthCallRequest) GetGasCap() uint64

func (*EthCallRequest) GetProposerAddress

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

func (*EthCallRequest) ProtoMessage

func (*EthCallRequest) ProtoMessage()

func (*EthCallRequest) ProtoReflect

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

func (*EthCallRequest) Reset

func (x *EthCallRequest) Reset()

func (*EthCallRequest) String

func (x *EthCallRequest) String() string

type EventBlockBloom

type EventBlockBloom struct {

	// bloom is the bloom filter of the block
	Bloom string `protobuf:"bytes,1,opt,name=bloom,proto3" json:"bloom,omitempty"`
	// contains filtered or unexported fields
}

EventBlockBloom contains the bloom filter for an Ethereum block. The bloom filter encodes logs for efficient event filtering.

func (*EventBlockBloom) Descriptor deprecated

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

Deprecated: Use EventBlockBloom.ProtoReflect.Descriptor instead.

func (*EventBlockBloom) GetBloom

func (x *EventBlockBloom) GetBloom() string

func (*EventBlockBloom) ProtoMessage

func (*EventBlockBloom) ProtoMessage()

func (*EventBlockBloom) ProtoReflect

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

func (*EventBlockBloom) Reset

func (x *EventBlockBloom) Reset()

func (*EventBlockBloom) String

func (x *EventBlockBloom) String() string

type EventContractDeployed

type EventContractDeployed struct {
	Sender       string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	ContractAddr string `protobuf:"bytes,2,opt,name=contract_addr,json=contractAddr,proto3" json:"contract_addr,omitempty"`
	// contains filtered or unexported fields
}

EventContractDeployed defines event for EVM contract deployment

func (*EventContractDeployed) Descriptor deprecated

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

Deprecated: Use EventContractDeployed.ProtoReflect.Descriptor instead.

func (*EventContractDeployed) GetContractAddr

func (x *EventContractDeployed) GetContractAddr() string

func (*EventContractDeployed) GetSender

func (x *EventContractDeployed) GetSender() string

func (*EventContractDeployed) ProtoMessage

func (*EventContractDeployed) ProtoMessage()

func (*EventContractDeployed) ProtoReflect

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

func (*EventContractDeployed) Reset

func (x *EventContractDeployed) Reset()

func (*EventContractDeployed) String

func (x *EventContractDeployed) String() string

type EventContractExecuted

type EventContractExecuted struct {
	Sender       string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	ContractAddr string `protobuf:"bytes,2,opt,name=contract_addr,json=contractAddr,proto3" json:"contract_addr,omitempty"`
	// contains filtered or unexported fields
}

EventContractExecuted defines event for EVM contract execution

func (*EventContractExecuted) Descriptor deprecated

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

Deprecated: Use EventContractExecuted.ProtoReflect.Descriptor instead.

func (*EventContractExecuted) GetContractAddr

func (x *EventContractExecuted) GetContractAddr() string

func (*EventContractExecuted) GetSender

func (x *EventContractExecuted) GetSender() string

func (*EventContractExecuted) ProtoMessage

func (*EventContractExecuted) ProtoMessage()

func (*EventContractExecuted) ProtoReflect

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

func (*EventContractExecuted) Reset

func (x *EventContractExecuted) Reset()

func (*EventContractExecuted) String

func (x *EventContractExecuted) String() string

type EventConvertCoinToEvm

type EventConvertCoinToEvm struct {
	Sender               string        `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Erc20ContractAddress string        `protobuf:"bytes,2,opt,name=erc20_contract_address,json=erc20ContractAddress,proto3" json:"erc20_contract_address,omitempty"`
	ToEthAddr            string        `protobuf:"bytes,3,opt,name=to_eth_addr,json=toEthAddr,proto3" json:"to_eth_addr,omitempty"`
	BankCoin             *v1beta1.Coin `protobuf:"bytes,4,opt,name=bank_coin,json=bankCoin,proto3" json:"bank_coin,omitempty"`
	EvmLogs              []*LogLite    `protobuf:"bytes,5,rep,name=evm_logs,json=evmLogs,proto3" json:"evm_logs,omitempty"`
	// contains filtered or unexported fields
}

EventConvertCoinToEvm is an event emitted when converting Bank Coins into ERC20 tokens with the "eth.evm.v1.MsgConvertCoinToEvm" transaction message.

func (*EventConvertCoinToEvm) Descriptor deprecated

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

Deprecated: Use EventConvertCoinToEvm.ProtoReflect.Descriptor instead.

func (*EventConvertCoinToEvm) GetBankCoin

func (x *EventConvertCoinToEvm) GetBankCoin() *v1beta1.Coin

func (*EventConvertCoinToEvm) GetErc20ContractAddress

func (x *EventConvertCoinToEvm) GetErc20ContractAddress() string

func (*EventConvertCoinToEvm) GetEvmLogs added in v2.8.0

func (x *EventConvertCoinToEvm) GetEvmLogs() []*LogLite

func (*EventConvertCoinToEvm) GetSender

func (x *EventConvertCoinToEvm) GetSender() string

func (*EventConvertCoinToEvm) GetToEthAddr

func (x *EventConvertCoinToEvm) GetToEthAddr() string

func (*EventConvertCoinToEvm) ProtoMessage

func (*EventConvertCoinToEvm) ProtoMessage()

func (*EventConvertCoinToEvm) ProtoReflect

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

func (*EventConvertCoinToEvm) Reset

func (x *EventConvertCoinToEvm) Reset()

func (*EventConvertCoinToEvm) String

func (x *EventConvertCoinToEvm) String() string

type EventConvertEvmToCoin added in v2.7.0

type EventConvertEvmToCoin struct {
	Sender               string        `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Erc20ContractAddress string        `protobuf:"bytes,2,opt,name=erc20_contract_address,json=erc20ContractAddress,proto3" json:"erc20_contract_address,omitempty"`
	ToAddress            string        `protobuf:"bytes,3,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"`
	BankCoin             *v1beta1.Coin `protobuf:"bytes,4,opt,name=bank_coin,json=bankCoin,proto3" json:"bank_coin,omitempty"`
	SenderEthAddr        string        `protobuf:"bytes,6,opt,name=sender_eth_addr,json=senderEthAddr,proto3" json:"sender_eth_addr,omitempty"`
	EvmLogs              []*LogLite    `protobuf:"bytes,7,rep,name=evm_logs,json=evmLogs,proto3" json:"evm_logs,omitempty"`
	// contains filtered or unexported fields
}

EventConvertEvmToCoin is an event emitted when converting ERC20 tokens to Bank Coins with the "eth.evm.v1.MsgConvertEvmToCoin" transaction message.

func (*EventConvertEvmToCoin) Descriptor deprecated added in v2.7.0

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

Deprecated: Use EventConvertEvmToCoin.ProtoReflect.Descriptor instead.

func (*EventConvertEvmToCoin) GetBankCoin added in v2.7.0

func (x *EventConvertEvmToCoin) GetBankCoin() *v1beta1.Coin

func (*EventConvertEvmToCoin) GetErc20ContractAddress added in v2.7.0

func (x *EventConvertEvmToCoin) GetErc20ContractAddress() string

func (*EventConvertEvmToCoin) GetEvmLogs added in v2.8.0

func (x *EventConvertEvmToCoin) GetEvmLogs() []*LogLite

func (*EventConvertEvmToCoin) GetSender added in v2.7.0

func (x *EventConvertEvmToCoin) GetSender() string

func (*EventConvertEvmToCoin) GetSenderEthAddr added in v2.7.0

func (x *EventConvertEvmToCoin) GetSenderEthAddr() string

func (*EventConvertEvmToCoin) GetToAddress added in v2.7.0

func (x *EventConvertEvmToCoin) GetToAddress() string

func (*EventConvertEvmToCoin) ProtoMessage added in v2.7.0

func (*EventConvertEvmToCoin) ProtoMessage()

func (*EventConvertEvmToCoin) ProtoReflect added in v2.7.0

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

func (*EventConvertEvmToCoin) Reset added in v2.7.0

func (x *EventConvertEvmToCoin) Reset()

func (*EventConvertEvmToCoin) String added in v2.7.0

func (x *EventConvertEvmToCoin) String() string

type EventEthereumTx

type EventEthereumTx struct {

	// amount
	Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
	// eth_hash is the Ethereum hash of the transaction
	EthHash string `protobuf:"bytes,2,opt,name=eth_hash,json=ethHash,proto3" json:"eth_hash,omitempty"`
	// index of the transaction in the block
	Index string `protobuf:"bytes,3,opt,name=index,proto3" json:"index,omitempty"`
	// gas_used is the amount of gas used by the transaction
	GasUsed string `protobuf:"bytes,4,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"`
	// hash is the Tendermint hash of the transaction
	Hash string `protobuf:"bytes,5,opt,name=hash,proto3" json:"hash,omitempty"`
	// recipient of the transaction
	Recipient string `protobuf:"bytes,6,opt,name=recipient,proto3" json:"recipient,omitempty"`
	// vm_error contains a VM error should it occur
	VmError string `protobuf:"bytes,7,opt,name=vm_error,json=vmError,proto3" json:"vm_error,omitempty"`
	// contains filtered or unexported fields
}

EventEthereumTx defines the event for an Ethereum transaction

func (*EventEthereumTx) Descriptor deprecated

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

Deprecated: Use EventEthereumTx.ProtoReflect.Descriptor instead.

func (*EventEthereumTx) GetAmount

func (x *EventEthereumTx) GetAmount() string

func (*EventEthereumTx) GetEthHash

func (x *EventEthereumTx) GetEthHash() string

func (*EventEthereumTx) GetGasUsed

func (x *EventEthereumTx) GetGasUsed() string

func (*EventEthereumTx) GetHash

func (x *EventEthereumTx) GetHash() string

func (*EventEthereumTx) GetIndex

func (x *EventEthereumTx) GetIndex() string

func (*EventEthereumTx) GetRecipient

func (x *EventEthereumTx) GetRecipient() string

func (*EventEthereumTx) GetVmError

func (x *EventEthereumTx) GetVmError() string

func (*EventEthereumTx) ProtoMessage

func (*EventEthereumTx) ProtoMessage()

func (*EventEthereumTx) ProtoReflect

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

func (*EventEthereumTx) Reset

func (x *EventEthereumTx) Reset()

func (*EventEthereumTx) String

func (x *EventEthereumTx) String() string

type EventFunTokenCreated

type EventFunTokenCreated struct {
	BankDenom            string `protobuf:"bytes,1,opt,name=bank_denom,json=bankDenom,proto3" json:"bank_denom,omitempty"`
	Erc20ContractAddress string `protobuf:"bytes,2,opt,name=erc20_contract_address,json=erc20ContractAddress,proto3" json:"erc20_contract_address,omitempty"`
	Creator              string `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"`
	IsMadeFromCoin       bool   `protobuf:"varint,4,opt,name=is_made_from_coin,json=isMadeFromCoin,proto3" json:"is_made_from_coin,omitempty"`
	// contains filtered or unexported fields
}

EventFunTokenCreated defines a fun token creation event.

func (*EventFunTokenCreated) Descriptor deprecated

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

Deprecated: Use EventFunTokenCreated.ProtoReflect.Descriptor instead.

func (*EventFunTokenCreated) GetBankDenom

func (x *EventFunTokenCreated) GetBankDenom() string

func (*EventFunTokenCreated) GetCreator

func (x *EventFunTokenCreated) GetCreator() string

func (*EventFunTokenCreated) GetErc20ContractAddress

func (x *EventFunTokenCreated) GetErc20ContractAddress() string

func (*EventFunTokenCreated) GetIsMadeFromCoin

func (x *EventFunTokenCreated) GetIsMadeFromCoin() bool

func (*EventFunTokenCreated) ProtoMessage

func (*EventFunTokenCreated) ProtoMessage()

func (*EventFunTokenCreated) ProtoReflect

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

func (*EventFunTokenCreated) Reset

func (x *EventFunTokenCreated) Reset()

func (*EventFunTokenCreated) String

func (x *EventFunTokenCreated) String() string

type EventTransfer

type EventTransfer struct {
	Sender    string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"`
	Amount    string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

EventTransfer defines event for EVM transfer

func (*EventTransfer) Descriptor deprecated

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

Deprecated: Use EventTransfer.ProtoReflect.Descriptor instead.

func (*EventTransfer) GetAmount

func (x *EventTransfer) GetAmount() string

func (*EventTransfer) GetRecipient

func (x *EventTransfer) GetRecipient() string

func (*EventTransfer) GetSender

func (x *EventTransfer) GetSender() string

func (*EventTransfer) ProtoMessage

func (*EventTransfer) ProtoMessage()

func (*EventTransfer) ProtoReflect

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

func (*EventTransfer) Reset

func (x *EventTransfer) Reset()

func (*EventTransfer) String

func (x *EventTransfer) String() string

type EventTxLog

type EventTxLog struct {

	// tx_logs is an array of transaction logs
	Logs []*Log `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"`
	// contains filtered or unexported fields
}

EventTxLog defines the event for an Ethereum transaction log

func (*EventTxLog) Descriptor deprecated

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

Deprecated: Use EventTxLog.ProtoReflect.Descriptor instead.

func (*EventTxLog) GetLogs

func (x *EventTxLog) GetLogs() []*Log

func (*EventTxLog) ProtoMessage

func (*EventTxLog) ProtoMessage()

func (*EventTxLog) ProtoReflect

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

func (*EventTxLog) Reset

func (x *EventTxLog) Reset()

func (*EventTxLog) String

func (x *EventTxLog) String() string

type EventWeiBlockDelta added in v2.8.0

type EventWeiBlockDelta struct {

	// net_wei_block_delta is the new sum of all "wei_block_delta" changes up to
	// this point. It is the value for "NetWeiBlockDelta" in the EVM state.
	NetWeiBlockDelta string `protobuf:"bytes,1,opt,name=net_wei_block_delta,json=netWeiBlockDelta,proto3" json:"net_wei_block_delta,omitempty"`
	// WeiBlockDelta is the net sum of all calls of "AddWei" and "SubWei" in the
	// current block. There is no guarantee in the functional sense that the EVM
	// State DB will add the same amount it subtracts. It is possible for the total
	// amount of wei (NIBI) across all accounts to diverge from the initial supply.
	// "WeiBlockDelta" is a mechanism for recording that if it happens.
	WeiBlockDelta string `protobuf:"bytes,2,opt,name=wei_block_delta,json=weiBlockDelta,proto3" json:"wei_block_delta,omitempty"`
	// block_number for which this event is emitted during EVM EndBlock
	BlockNumber uint64 `protobuf:"varint,3,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
	// contains filtered or unexported fields
}

EventWeiBlockDelta is an event emitted when there is a non-zero value for block delta (change) in wei in the EVM end block handler.

func (*EventWeiBlockDelta) Descriptor deprecated added in v2.8.0

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

Deprecated: Use EventWeiBlockDelta.ProtoReflect.Descriptor instead.

func (*EventWeiBlockDelta) GetBlockNumber added in v2.8.0

func (x *EventWeiBlockDelta) GetBlockNumber() uint64

func (*EventWeiBlockDelta) GetNetWeiBlockDelta added in v2.8.0

func (x *EventWeiBlockDelta) GetNetWeiBlockDelta() string

func (*EventWeiBlockDelta) GetWeiBlockDelta added in v2.8.0

func (x *EventWeiBlockDelta) GetWeiBlockDelta() string

func (*EventWeiBlockDelta) ProtoMessage added in v2.8.0

func (*EventWeiBlockDelta) ProtoMessage()

func (*EventWeiBlockDelta) ProtoReflect added in v2.8.0

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

func (*EventWeiBlockDelta) Reset added in v2.8.0

func (x *EventWeiBlockDelta) Reset()

func (*EventWeiBlockDelta) String added in v2.8.0

func (x *EventWeiBlockDelta) 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 FunToken

type FunToken struct {

	// Hexadecimal address of the ERC20 token to which the `FunToken` maps
	Erc20Addr string `protobuf:"bytes,1,opt,name=erc20_addr,json=erc20Addr,proto3" json:"erc20_addr,omitempty"`
	// bank_denom: Coin denomination in the Bank Module.
	BankDenom string `protobuf:"bytes,2,opt,name=bank_denom,json=bankDenom,proto3" json:"bank_denom,omitempty"`
	// True if the `FunToken` mapping was created from an existing Bank Coin and
	// the ERC-20 contract gets deployed by the module account. False if the
	// mapping was created from an externally owned ERC-20 contract.
	IsMadeFromCoin bool `protobuf:"varint,3,opt,name=is_made_from_coin,json=isMadeFromCoin,proto3" json:"is_made_from_coin,omitempty"`
	// contains filtered or unexported fields
}

FunToken is a fungible token mapping between a Bank Coin and a corresponding ERC-20 smart contract. Bank Coins here refer to tokens like NIBI, IBC coins (ICS-20), and token factory coins, which are each represented by the "Coin" type in Golang.

func (*FunToken) Descriptor deprecated

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

Deprecated: Use FunToken.ProtoReflect.Descriptor instead.

func (*FunToken) GetBankDenom

func (x *FunToken) GetBankDenom() string

func (*FunToken) GetErc20Addr

func (x *FunToken) GetErc20Addr() string

func (*FunToken) GetIsMadeFromCoin

func (x *FunToken) GetIsMadeFromCoin() bool

func (*FunToken) ProtoMessage

func (*FunToken) ProtoMessage()

func (*FunToken) ProtoReflect

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

func (*FunToken) Reset

func (x *FunToken) Reset()

func (*FunToken) String

func (x *FunToken) 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"`
	// Fungible token mappings corresponding to ERC-20 smart contract tokens.
	FuntokenMappings []*FunToken `protobuf:"bytes,3,rep,name=funtoken_mappings,json=funtokenMappings,proto3" json:"funtoken_mappings,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) GetFuntokenMappings

func (x *GenesisState) GetFuntokenMappings() []*FunToken

func (*GenesisState) GetParams

func (x *GenesisState) GetParams() *Params

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) ProtoReflect

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

func (*GenesisState) Reset

func (x *GenesisState) Reset()

func (*GenesisState) String

func (x *GenesisState) String() string

type LegacyTx

type LegacyTx struct {

	// nonce corresponds to the account nonce (transaction sequence).
	Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// gas_price defines the value for each gas unit
	GasPrice string `protobuf:"bytes,2,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"`
	// gas defines the gas limit defined for the transaction.
	Gas uint64 `protobuf:"varint,3,opt,name=gas,proto3" json:"gas,omitempty"`
	// to is the hex formatted address of the recipient
	To string `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"`
	// value defines the unsigned integer value of the transaction amount.
	Value string `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"`
	// data is the data payload bytes of the transaction.
	Data []byte `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"`
	// v defines the recovery id as the "v" signature value from the elliptic
	// curve digital signatute algorithm (ECDSA). It indicates which of two
	// possible solutions should be used to reconstruct the public key from the
	// signature. In Ethereum, "v" takes the value 27 or 28 for transactions that
	// are not relay-protected.
	V []byte `protobuf:"bytes,7,opt,name=v,proto3" json:"v,omitempty"`
	// r defines the x-coordinate of a point on the elliptic curve in the elliptic
	// curve digital signatute algorithm (ECDSA). It's crucial in ensuring
	// uniqueness of the signature.
	R []byte `protobuf:"bytes,8,opt,name=r,proto3" json:"r,omitempty"`
	// s define the signature value derived from the private key, message hash,
	// and the value of "r". It ensures that the signature is tied to both the
	// message and the private key of the sender.
	S []byte `protobuf:"bytes,9,opt,name=s,proto3" json:"s,omitempty"`
	// contains filtered or unexported fields
}

LegacyTx is the transaction data of regular Ethereum transactions.

Note that setting "evm.Params.AllowUnprotectedTxs" to false will cause all non-EIP155 signed transactions to fail, as they'll lack replay protection.

LegacyTx is a custom implementation of "LegacyTx" from "github.com/ethereum/go-ethereum/core/types".

func (*LegacyTx) Descriptor deprecated

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

Deprecated: Use LegacyTx.ProtoReflect.Descriptor instead.

func (*LegacyTx) GetData

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

func (*LegacyTx) GetGas

func (x *LegacyTx) GetGas() uint64

func (*LegacyTx) GetGasPrice

func (x *LegacyTx) GetGasPrice() string

func (*LegacyTx) GetNonce

func (x *LegacyTx) GetNonce() uint64

func (*LegacyTx) GetR

func (x *LegacyTx) GetR() []byte

func (*LegacyTx) GetS

func (x *LegacyTx) GetS() []byte

func (*LegacyTx) GetTo

func (x *LegacyTx) GetTo() string

func (*LegacyTx) GetV

func (x *LegacyTx) GetV() []byte

func (*LegacyTx) GetValue

func (x *LegacyTx) GetValue() string

func (*LegacyTx) ProtoMessage

func (*LegacyTx) ProtoMessage()

func (*LegacyTx) ProtoReflect

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

func (*LegacyTx) Reset

func (x *LegacyTx) Reset()

func (*LegacyTx) String

func (x *LegacyTx) String() string

type Log

type Log struct {

	// address of the contract that generated the event
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// topics is a list of topics provided by the contract.
	Topics []string `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"`
	// data which is supplied by the contract, usually ABI-encoded
	Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// block_number of the block in which the transaction was included
	BlockNumber uint64 `protobuf:"varint,4,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
	// tx_hash is the transaction hash
	TxHash string `protobuf:"bytes,5,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	// tx_index of the transaction in the block
	TxIndex uint64 `protobuf:"varint,6,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"`
	// block_hash of the block in which the transaction was included
	BlockHash string `protobuf:"bytes,7,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	// index of the log in the block
	Index uint64 `protobuf:"varint,8,opt,name=index,proto3" json:"index,omitempty"`
	// removed is true if this log was reverted due to a chain
	// reorganisation. You must pay attention to this field if you receive logs
	// through a filter query.
	Removed bool `protobuf:"varint,9,opt,name=removed,proto3" json:"removed,omitempty"`
	// contains filtered or unexported fields
}

Log represents an protobuf compatible Ethereum Log that defines a contract log event. These events are generated by the LOG opcode and stored/indexed by the node.

NOTE: address, topics and data are consensus fields. The rest of the fields are derived, i.e. filled in by the nodes, but not secured by consensus.

func (*Log) Descriptor deprecated

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

Deprecated: Use Log.ProtoReflect.Descriptor instead.

func (*Log) GetAddress

func (x *Log) GetAddress() string

func (*Log) GetBlockHash

func (x *Log) GetBlockHash() string

func (*Log) GetBlockNumber

func (x *Log) GetBlockNumber() uint64

func (*Log) GetData

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

func (*Log) GetIndex

func (x *Log) GetIndex() uint64

func (*Log) GetRemoved

func (x *Log) GetRemoved() bool

func (*Log) GetTopics

func (x *Log) GetTopics() []string

func (*Log) GetTxHash

func (x *Log) GetTxHash() string

func (*Log) GetTxIndex

func (x *Log) GetTxIndex() uint64

func (*Log) ProtoMessage

func (*Log) ProtoMessage()

func (*Log) ProtoReflect

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

func (*Log) Reset

func (x *Log) Reset()

func (*Log) String

func (x *Log) String() string

type LogLite added in v2.8.0

type LogLite 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"`
	// contains filtered or unexported fields
}

LogLite holds the consensus fields from an Ethereum log for a contract event. This structure is used to record EVM logs emitted within non-Ethreum transactions, such as "eth.evm.v1.MsgConvertCoinToEvm". Similar to full logs, these events are generated by the LOG opcode, however LogLite instances are not stored/indexed by the node.

func (*LogLite) Descriptor deprecated added in v2.8.0

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

Deprecated: Use LogLite.ProtoReflect.Descriptor instead.

func (*LogLite) GetAddress added in v2.8.0

func (x *LogLite) GetAddress() string

func (*LogLite) GetData added in v2.8.0

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

func (*LogLite) GetTopics added in v2.8.0

func (x *LogLite) GetTopics() []string

func (*LogLite) ProtoMessage added in v2.8.0

func (*LogLite) ProtoMessage()

func (*LogLite) ProtoReflect added in v2.8.0

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

func (*LogLite) Reset added in v2.8.0

func (x *LogLite) Reset()

func (*LogLite) String added in v2.8.0

func (x *LogLite) 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 x/gov module account
	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
	// CreateFunToken: Create a "FunToken" mapping. Either the ERC20 contract
	// address can be given to create the mapping to a Bank Coin, or the
	// denomination for a Bank Coin can be given to create the mapping to an
	// ERC20.
	CreateFunToken(ctx context.Context, in *MsgCreateFunToken, opts ...grpc.CallOption) (*MsgCreateFunTokenResponse, error)
	// ConvertCoinToEvm: Sends a coin with a valid "FunToken" mapping to the
	// given recipient address ("to_eth_addr") in the corresponding ERC20
	// representation.
	ConvertCoinToEvm(ctx context.Context, in *MsgConvertCoinToEvm, opts ...grpc.CallOption) (*MsgConvertCoinToEvmResponse, error)
	// ConvertEvmToCoin: Sends an ERC20 token with a valid "FunToken" mapping to the
	// given recipient address as a bank coin.
	ConvertEvmToCoin(ctx context.Context, in *MsgConvertEvmToCoin, opts ...grpc.CallOption) (*MsgConvertEvmToCoinResponse, 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 MsgConvertCoinToEvm

type MsgConvertCoinToEvm struct {

	// Hexadecimal address of the ERC20 token to which the `FunToken` maps
	ToEthAddr string `protobuf:"bytes,1,opt,name=to_eth_addr,json=toEthAddr,proto3" json:"to_eth_addr,omitempty"`
	// Sender: Address for the signer of the transaction.
	Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
	// Bank Coin to get converted to ERC20
	BankCoin *v1beta1.Coin `protobuf:"bytes,3,opt,name=bank_coin,json=bankCoin,proto3" json:"bank_coin,omitempty"`
	// contains filtered or unexported fields
}

MsgConvertCoinToEvm: Arguments to send a Bank Coin to ERC-20 representation

func (*MsgConvertCoinToEvm) Descriptor deprecated

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

Deprecated: Use MsgConvertCoinToEvm.ProtoReflect.Descriptor instead.

func (*MsgConvertCoinToEvm) GetBankCoin

func (x *MsgConvertCoinToEvm) GetBankCoin() *v1beta1.Coin

func (*MsgConvertCoinToEvm) GetSender

func (x *MsgConvertCoinToEvm) GetSender() string

func (*MsgConvertCoinToEvm) GetToEthAddr

func (x *MsgConvertCoinToEvm) GetToEthAddr() string

func (*MsgConvertCoinToEvm) ProtoMessage

func (*MsgConvertCoinToEvm) ProtoMessage()

func (*MsgConvertCoinToEvm) ProtoReflect

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

func (*MsgConvertCoinToEvm) Reset

func (x *MsgConvertCoinToEvm) Reset()

func (*MsgConvertCoinToEvm) String

func (x *MsgConvertCoinToEvm) String() string

type MsgConvertCoinToEvmResponse

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

func (*MsgConvertCoinToEvmResponse) Descriptor deprecated

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

Deprecated: Use MsgConvertCoinToEvmResponse.ProtoReflect.Descriptor instead.

func (*MsgConvertCoinToEvmResponse) ProtoMessage

func (*MsgConvertCoinToEvmResponse) ProtoMessage()

func (*MsgConvertCoinToEvmResponse) ProtoReflect

func (*MsgConvertCoinToEvmResponse) Reset

func (x *MsgConvertCoinToEvmResponse) Reset()

func (*MsgConvertCoinToEvmResponse) String

func (x *MsgConvertCoinToEvmResponse) String() string

type MsgConvertEvmToCoin added in v2.7.0

type MsgConvertEvmToCoin struct {

	// Sender: "nibi"-prefixed Bech32 address for the signer of the transaction.
	// This is also the address whose ERC20 balance will be deducted.
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	// Hexadecimal address of the ERC20 token to be converted and sent
	Erc20Addr string `protobuf:"bytes,2,opt,name=erc20_addr,json=erc20Addr,proto3" json:"erc20_addr,omitempty"`
	// Amount of ERC20 tokens to convert
	Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// Recipient address for the bank coins in Ethereum hexadecimal or
	// nibi-prefixed Bech32 format.
	//
	// Currently, accounts corresponding to Wasm contracts cannot hold ERC20 tokens
	// because the function that maps between Bech32 and Eth hex addresses is not
	// bijective for these types of accounts.
	//
	// See [bug(evm): nibid q evm account is not symmetric for wasm
	// addresses](https://github.com/NibiruChain/nibiru/issues/2138)
	ToAddr string `protobuf:"bytes,4,opt,name=to_addr,json=toAddr,proto3" json:"to_addr,omitempty"`
	// contains filtered or unexported fields
}

MsgConvertEvmToCoin: Arguments to send an ERC20 token to bank coin representation

func (*MsgConvertEvmToCoin) Descriptor deprecated added in v2.7.0

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

Deprecated: Use MsgConvertEvmToCoin.ProtoReflect.Descriptor instead.

func (*MsgConvertEvmToCoin) GetAmount added in v2.7.0

func (x *MsgConvertEvmToCoin) GetAmount() string

func (*MsgConvertEvmToCoin) GetErc20Addr added in v2.7.0

func (x *MsgConvertEvmToCoin) GetErc20Addr() string

func (*MsgConvertEvmToCoin) GetSender added in v2.7.0

func (x *MsgConvertEvmToCoin) GetSender() string

func (*MsgConvertEvmToCoin) GetToAddr added in v2.7.0

func (x *MsgConvertEvmToCoin) GetToAddr() string

func (*MsgConvertEvmToCoin) ProtoMessage added in v2.7.0

func (*MsgConvertEvmToCoin) ProtoMessage()

func (*MsgConvertEvmToCoin) ProtoReflect added in v2.7.0

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

func (*MsgConvertEvmToCoin) Reset added in v2.7.0

func (x *MsgConvertEvmToCoin) Reset()

func (*MsgConvertEvmToCoin) String added in v2.7.0

func (x *MsgConvertEvmToCoin) String() string

type MsgConvertEvmToCoinResponse added in v2.7.0

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

func (*MsgConvertEvmToCoinResponse) Descriptor deprecated added in v2.7.0

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

Deprecated: Use MsgConvertEvmToCoinResponse.ProtoReflect.Descriptor instead.

func (*MsgConvertEvmToCoinResponse) ProtoMessage added in v2.7.0

func (*MsgConvertEvmToCoinResponse) ProtoMessage()

func (*MsgConvertEvmToCoinResponse) ProtoReflect added in v2.7.0

func (*MsgConvertEvmToCoinResponse) Reset added in v2.7.0

func (x *MsgConvertEvmToCoinResponse) Reset()

func (*MsgConvertEvmToCoinResponse) String added in v2.7.0

func (x *MsgConvertEvmToCoinResponse) String() string

type MsgCreateFunToken

type MsgCreateFunToken struct {

	// Hexadecimal address of the ERC20 token to which the `FunToken` maps
	FromErc20 string `protobuf:"bytes,1,opt,name=from_erc20,json=fromErc20,proto3" json:"from_erc20,omitempty"`
	// Coin denomination in the Bank Module.
	FromBankDenom string `protobuf:"bytes,2,opt,name=from_bank_denom,json=fromBankDenom,proto3" json:"from_bank_denom,omitempty"`
	// Sender: Address for the signer of the transaction.
	Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`
	// Optional flag to allow the `FunToken` mapping to be created with 0 decimals
	// in the ERC20 sense. Often times, tokens are meant to behave like money and
	// be divisible, meaning "decimals = 0" is often a mistake. This field defaults
	// to false as a safety guard against accidental creation of FunTokens with
	// missing metadata.
	// Set this to true if the token is truly intended to have 0 decimals.
	AllowZeroDecimals bool `protobuf:"varint,4,opt,name=allow_zero_decimals,json=allowZeroDecimals,proto3" json:"allow_zero_decimals,omitempty"`
	// contains filtered or unexported fields
}

MsgCreateFunToken: Arguments to create a "FunToken" mapping. Either the ERC20 contract address can be given to create the mapping to a Bank Coin, or the denomination for a Bank Coin can be given to create the mapping to an ERC20.

func (*MsgCreateFunToken) Descriptor deprecated

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

Deprecated: Use MsgCreateFunToken.ProtoReflect.Descriptor instead.

func (*MsgCreateFunToken) GetAllowZeroDecimals added in v2.7.0

func (x *MsgCreateFunToken) GetAllowZeroDecimals() bool

func (*MsgCreateFunToken) GetFromBankDenom

func (x *MsgCreateFunToken) GetFromBankDenom() string

func (*MsgCreateFunToken) GetFromErc20

func (x *MsgCreateFunToken) GetFromErc20() string

func (*MsgCreateFunToken) GetSender

func (x *MsgCreateFunToken) GetSender() string

func (*MsgCreateFunToken) ProtoMessage

func (*MsgCreateFunToken) ProtoMessage()

func (*MsgCreateFunToken) ProtoReflect

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

func (*MsgCreateFunToken) Reset

func (x *MsgCreateFunToken) Reset()

func (*MsgCreateFunToken) String

func (x *MsgCreateFunToken) String() string

type MsgCreateFunTokenResponse

type MsgCreateFunTokenResponse struct {

	// Fungible token mapping corresponding to ERC20 tokens.
	FuntokenMapping *FunToken `protobuf:"bytes,1,opt,name=funtoken_mapping,json=funtokenMapping,proto3" json:"funtoken_mapping,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgCreateFunTokenResponse) Descriptor deprecated

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

Deprecated: Use MsgCreateFunTokenResponse.ProtoReflect.Descriptor instead.

func (*MsgCreateFunTokenResponse) GetFuntokenMapping

func (x *MsgCreateFunTokenResponse) GetFuntokenMapping() *FunToken

func (*MsgCreateFunTokenResponse) ProtoMessage

func (*MsgCreateFunTokenResponse) ProtoMessage()

func (*MsgCreateFunTokenResponse) ProtoReflect

func (*MsgCreateFunTokenResponse) Reset

func (x *MsgCreateFunTokenResponse) Reset()

func (*MsgCreateFunTokenResponse) String

func (x *MsgCreateFunTokenResponse) String() string

type MsgEthereumTx

type MsgEthereumTx struct {

	// data is inner transaction data of the Ethereum transaction
	Data *anypb.Any `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// size is the encoded storage size of the transaction (DEPRECATED)
	Size float64 `protobuf:"fixed64,2,opt,name=size,proto3" json:"size,omitempty"`
	// hash of the transaction in hex format
	Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
	// from is the ethereum signer address in hex format. This address value is
	// checked against the address derived from the signature (V, R, S) using the
	// secp256k1 elliptic curve
	From string `protobuf:"bytes,4,opt,name=from,proto3" json:"from,omitempty"`
	// contains filtered or unexported fields
}

MsgEthereumTx encapsulates an Ethereum transaction as an SDK message.

func (*MsgEthereumTx) Descriptor deprecated

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

Deprecated: Use MsgEthereumTx.ProtoReflect.Descriptor instead.

func (*MsgEthereumTx) GetData

func (x *MsgEthereumTx) GetData() *anypb.Any

func (*MsgEthereumTx) GetFrom

func (x *MsgEthereumTx) GetFrom() string

func (*MsgEthereumTx) GetHash

func (x *MsgEthereumTx) GetHash() string

func (*MsgEthereumTx) GetSize

func (x *MsgEthereumTx) GetSize() float64

func (*MsgEthereumTx) ProtoMessage

func (*MsgEthereumTx) ProtoMessage()

func (*MsgEthereumTx) ProtoReflect

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

func (*MsgEthereumTx) Reset

func (x *MsgEthereumTx) Reset()

func (*MsgEthereumTx) String

func (x *MsgEthereumTx) String() string

type MsgEthereumTxResponse

type MsgEthereumTxResponse struct {

	// hash of the ethereum transaction in hex format. This hash differs from the
	// Tendermint sha256 hash of the transaction bytes. See
	// https://github.com/tendermint/tendermint/issues/6539 for reference
	Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	// logs contains the transaction hash and the proto-compatible ethereum
	// logs.
	Logs []*Log `protobuf:"bytes,2,rep,name=logs,proto3" json:"logs,omitempty"`
	// ret is the returned data from evm function (result or data supplied with
	// revert opcode)
	Ret []byte `protobuf:"bytes,3,opt,name=ret,proto3" json:"ret,omitempty"`
	// vm_error is the error returned by vm execution
	VmError string `protobuf:"bytes,4,opt,name=vm_error,json=vmError,proto3" json:"vm_error,omitempty"`
	// gas_used specifies how much gas was consumed by the transaction
	GasUsed uint64 `protobuf:"varint,5,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"`
	// contains filtered or unexported fields
}

MsgEthereumTxResponse defines the Msg/EthereumTx response type.

func (*MsgEthereumTxResponse) Descriptor deprecated

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

Deprecated: Use MsgEthereumTxResponse.ProtoReflect.Descriptor instead.

func (*MsgEthereumTxResponse) GetGasUsed

func (x *MsgEthereumTxResponse) GetGasUsed() uint64

func (*MsgEthereumTxResponse) GetHash

func (x *MsgEthereumTxResponse) GetHash() string

func (*MsgEthereumTxResponse) GetLogs

func (x *MsgEthereumTxResponse) GetLogs() []*Log

func (*MsgEthereumTxResponse) GetRet

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

func (*MsgEthereumTxResponse) GetVmError

func (x *MsgEthereumTxResponse) GetVmError() string

func (*MsgEthereumTxResponse) ProtoMessage

func (*MsgEthereumTxResponse) ProtoMessage()

func (*MsgEthereumTxResponse) ProtoReflect

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

func (*MsgEthereumTxResponse) Reset

func (x *MsgEthereumTxResponse) Reset()

func (*MsgEthereumTxResponse) String

func (x *MsgEthereumTxResponse) String() string

type MsgServer

type MsgServer interface {
	// EthereumTx defines a method submitting Ethereum transactions.
	EthereumTx(context.Context, *MsgEthereumTx) (*MsgEthereumTxResponse, error)
	// UpdateParams defined a governance operation for updating the x/evm module
	// parameters. The authority is hard-coded to the x/gov module account
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
	// CreateFunToken: Create a "FunToken" mapping. Either the ERC20 contract
	// address can be given to create the mapping to a Bank Coin, or the
	// denomination for a Bank Coin can be given to create the mapping to an
	// ERC20.
	CreateFunToken(context.Context, *MsgCreateFunToken) (*MsgCreateFunTokenResponse, error)
	// ConvertCoinToEvm: Sends a coin with a valid "FunToken" mapping to the
	// given recipient address ("to_eth_addr") in the corresponding ERC20
	// representation.
	ConvertCoinToEvm(context.Context, *MsgConvertCoinToEvm) (*MsgConvertCoinToEvmResponse, error)
	// ConvertEvmToCoin: Sends an ERC20 token with a valid "FunToken" mapping to the
	// given recipient address as a bank coin.
	ConvertEvmToCoin(context.Context, *MsgConvertEvmToCoin) (*MsgConvertEvmToCoinResponse, 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 {

	// 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"`
	// evm_channels is the list of channel identifiers from EVM compatible chains
	EvmChannels []string `protobuf:"bytes,8,rep,name=evm_channels,json=evmChannels,proto3" json:"evm_channels,omitempty"`
	// Fee deducted and burned when calling "CreateFunToken" in units of
	// "evm_denom".
	CreateFuntokenFee string `protobuf:"bytes,9,opt,name=create_funtoken_fee,json=createFuntokenFee,proto3" json:"create_funtoken_fee,omitempty"`
	// Hexadecimal address of the canonical WNIBI contract on Nibiru mainnet
	CanonicalWnibi string        `protobuf:"bytes,10,opt,name=canonical_wnibi,json=canonicalWnibi,proto3" json:"canonical_wnibi,omitempty"`
	WasmPlugins    []*WasmPlugin `protobuf:"bytes,11,rep,name=wasm_plugins,json=wasmPlugins,proto3" json:"wasm_plugins,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) GetCanonicalWnibi added in v2.7.0

func (x *Params) GetCanonicalWnibi() string

func (*Params) GetCreateFuntokenFee

func (x *Params) GetCreateFuntokenFee() string

func (*Params) GetEvmChannels

func (x *Params) GetEvmChannels() []string

func (*Params) GetExtraEips

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

func (*Params) GetWasmPlugins added in v2.15.0

func (x *Params) GetWasmPlugins() []*WasmPlugin

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 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"`
	// token is an ERC20 address or bank denom to query alongside the native EVM
	// balance. Leave empty to query only the native EVM balance.
	Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

QueryBalanceRequest: Response type for "/eth.evm.v1.Query/Balance"

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) GetToken added in v2.16.0

func (x *QueryBalanceRequest) GetToken() 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 in units of wei. 1 wei is 1
	// attoNIBI.
	BalanceWei string `protobuf:"bytes,2,opt,name=balance_wei,json=balanceWei,proto3" json:"balance_wei,omitempty"`
	// bank is the Bank module token balance details when a bank representation is
	// available for the requested token.
	Bank *BalanceBank `protobuf:"bytes,3,opt,name=bank,proto3" json:"bank,omitempty"`
	// erc20 is the ERC20 token balance details when an ERC20 representation is
	// available for the requested token.
	Erc20 *BalanceERC20 `protobuf:"bytes,4,opt,name=erc20,proto3" json:"erc20,omitempty"`
	// contains filtered or unexported fields
}

QueryBalanceResponse: Response type for "/eth.evm.v1.Query/Balance"

func (*QueryBalanceResponse) Descriptor deprecated

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

Deprecated: Use QueryBalanceResponse.ProtoReflect.Descriptor instead.

func (*QueryBalanceResponse) GetBalanceWei

func (x *QueryBalanceResponse) GetBalanceWei() string

func (*QueryBalanceResponse) GetBank added in v2.16.0

func (x *QueryBalanceResponse) GetBank() *BalanceBank

func (*QueryBalanceResponse) GetErc20 added in v2.16.0

func (x *QueryBalanceResponse) GetErc20() *BalanceERC20

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 in units of wei.
	BaseFee string `protobuf:"bytes,1,opt,name=base_fee,json=baseFee,proto3" json:"base_fee,omitempty"`
	// base_fee is the EIP1559 base fee in units of micronibi ("unibi").
	BaseFeeUnibi string `protobuf:"bytes,2,opt,name=base_fee_unibi,json=baseFeeUnibi,proto3" json:"base_fee_unibi,omitempty"`
	// contains filtered or unexported fields
}

QueryBaseFeeResponse returns the EIP1559 base fee. See https://github.com/ethereum/EIPs/blob/ba6c342c23164072adb500c3136e3ae6eabff306/EIPS/eip-1559.md.

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) GetBaseFeeUnibi

func (x *QueryBaseFeeResponse) GetBaseFeeUnibi() 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 {
	// EthAccount queries a Nibiru account using its EVM address or Bech32 Nibiru
	// address.
	EthAccount(ctx context.Context, in *QueryEthAccountRequest, opts ...grpc.CallOption) (*QueryEthAccountResponse, 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 the NIBI (ether for the EVM) in units of wei
	// for a single EthAccount. 1 wei == 1 attoNIBI == 10^{-18} NIBI.
	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)
	// TraceCall implements the `debug_traceCall` rpc api
	TraceCall(ctx context.Context, in *QueryTraceTxRequest, opts ...grpc.CallOption) (*QueryTraceTxResponse, error)
	// BaseFee queries the base fee of the parent block of the current block,
	// Similar to feemarket module's method
	BaseFee(ctx context.Context, in *QueryBaseFeeRequest, opts ...grpc.CallOption) (*QueryBaseFeeResponse, error)
	FunTokenMapping(ctx context.Context, in *QueryFunTokenMappingRequest, opts ...grpc.CallOption) (*QueryFunTokenMappingResponse, 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 QueryEthAccountRequest

type QueryEthAccountRequest struct {

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

QueryEthAccountRequest: Request type for "/eth.evm.v1.Query/EthAccount"

func (*QueryEthAccountRequest) Descriptor deprecated

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

Deprecated: Use QueryEthAccountRequest.ProtoReflect.Descriptor instead.

func (*QueryEthAccountRequest) GetAddress

func (x *QueryEthAccountRequest) GetAddress() string

func (*QueryEthAccountRequest) ProtoMessage

func (*QueryEthAccountRequest) ProtoMessage()

func (*QueryEthAccountRequest) ProtoReflect

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

func (*QueryEthAccountRequest) Reset

func (x *QueryEthAccountRequest) Reset()

func (*QueryEthAccountRequest) String

func (x *QueryEthAccountRequest) String() string

type QueryEthAccountResponse

type QueryEthAccountResponse struct {

	// balance_wei is the balance of wei (attoNIBI, since NIBI is ether).
	BalanceWei string `protobuf:"bytes,2,opt,name=balance_wei,json=balanceWei,proto3" json:"balance_wei,omitempty"`
	// code_hash is the hex-encoded hash of the contract bytecode for the
	// account. Ethereum defines a code hash as the keccack 256 hash of the bytes.
	// Note that externally owned accounts (EOAs) have the empty/nil code hash
	// (`crypto.Keccak256(nil)`).
	CodeHash string `protobuf:"bytes,3,opt,name=code_hash,json=codeHash,proto3" json:"code_hash,omitempty"`
	// nonce is the account's sequence number.
	Nonce uint64 `protobuf:"varint,4,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// eth_address: The hexadecimal-encoded string representing the 20 byte
	// address of a Nibiru EVM account. Note that this field may be empty if the
	// account queried is a Wasm contract (32 byte address).
	EthAddress string `protobuf:"bytes,5,opt,name=eth_address,json=ethAddress,proto3" json:"eth_address,omitempty"`
	// bech32_address is the nibi-prefixed address of the account that can receive
	// bank transfers ("cosmos.bank.v1beta1.MsgSend").
	Bech32Address string `protobuf:"bytes,6,opt,name=bech32_address,json=bech32Address,proto3" json:"bech32_address,omitempty"`
	// contains filtered or unexported fields
}

QueryEthAccountResponse: Response type for "/eth.evm.v1.Query/EthAccount"

func (*QueryEthAccountResponse) Descriptor deprecated

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

Deprecated: Use QueryEthAccountResponse.ProtoReflect.Descriptor instead.

func (*QueryEthAccountResponse) GetBalanceWei

func (x *QueryEthAccountResponse) GetBalanceWei() string

func (*QueryEthAccountResponse) GetBech32Address

func (x *QueryEthAccountResponse) GetBech32Address() string

func (*QueryEthAccountResponse) GetCodeHash

func (x *QueryEthAccountResponse) GetCodeHash() string

func (*QueryEthAccountResponse) GetEthAddress

func (x *QueryEthAccountResponse) GetEthAddress() string

func (*QueryEthAccountResponse) GetNonce

func (x *QueryEthAccountResponse) GetNonce() uint64

func (*QueryEthAccountResponse) ProtoMessage

func (*QueryEthAccountResponse) ProtoMessage()

func (*QueryEthAccountResponse) ProtoReflect

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

func (*QueryEthAccountResponse) Reset

func (x *QueryEthAccountResponse) Reset()

func (*QueryEthAccountResponse) String

func (x *QueryEthAccountResponse) String() string

type QueryFunTokenMappingRequest

type QueryFunTokenMappingRequest struct {

	// Either the hexadecimal-encoded ERC20 contract address or denomination of the
	// Bank Coin.
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryFunTokenMappingRequest) Descriptor deprecated

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

Deprecated: Use QueryFunTokenMappingRequest.ProtoReflect.Descriptor instead.

func (*QueryFunTokenMappingRequest) GetToken

func (x *QueryFunTokenMappingRequest) GetToken() string

func (*QueryFunTokenMappingRequest) ProtoMessage

func (*QueryFunTokenMappingRequest) ProtoMessage()

func (*QueryFunTokenMappingRequest) ProtoReflect

func (*QueryFunTokenMappingRequest) Reset

func (x *QueryFunTokenMappingRequest) Reset()

func (*QueryFunTokenMappingRequest) String

func (x *QueryFunTokenMappingRequest) String() string

type QueryFunTokenMappingResponse

type QueryFunTokenMappingResponse struct {

	// fun_token is a mapping between the Bank Coin and the ERC20 contract address
	FunToken *FunToken `protobuf:"bytes,1,opt,name=fun_token,json=funToken,proto3" json:"fun_token,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryFunTokenMappingResponse) Descriptor deprecated

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

Deprecated: Use QueryFunTokenMappingResponse.ProtoReflect.Descriptor instead.

func (*QueryFunTokenMappingResponse) GetFunToken

func (x *QueryFunTokenMappingResponse) GetFunToken() *FunToken

func (*QueryFunTokenMappingResponse) ProtoMessage

func (*QueryFunTokenMappingResponse) ProtoMessage()

func (*QueryFunTokenMappingResponse) ProtoReflect

func (*QueryFunTokenMappingResponse) Reset

func (x *QueryFunTokenMappingResponse) Reset()

func (*QueryFunTokenMappingResponse) 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 {
	// EthAccount queries a Nibiru account using its EVM address or Bech32 Nibiru
	// address.
	EthAccount(context.Context, *QueryEthAccountRequest) (*QueryEthAccountResponse, error)
	// ValidatorAccount queries an Ethereum account's from a validator consensus
	// Address.
	ValidatorAccount(context.Context, *QueryValidatorAccountRequest) (*QueryValidatorAccountResponse, error)
	// Balance queries the balance of the NIBI (ether for the EVM) in units of wei
	// for a single EthAccount. 1 wei == 1 attoNIBI == 10^{-18} NIBI.
	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)
	// TraceCall implements the `debug_traceCall` rpc api
	TraceCall(context.Context, *QueryTraceTxRequest) (*QueryTraceTxResponse, error)
	// BaseFee queries the base fee of the parent block of the current block,
	// Similar to feemarket module's method
	BaseFee(context.Context, *QueryBaseFeeRequest) (*QueryBaseFeeResponse, error)
	FunTokenMapping(context.Context, *QueryFunTokenMappingRequest) (*QueryFunTokenMappingResponse, error)
	// contains filtered or unexported methods
}

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

type QueryStorageRequest

type QueryStorageRequest struct {

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

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

func (*QueryStorageRequest) Descriptor deprecated

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

Deprecated: Use QueryStorageRequest.ProtoReflect.Descriptor instead.

func (*QueryStorageRequest) GetAddress

func (x *QueryStorageRequest) GetAddress() string

func (*QueryStorageRequest) GetKey

func (x *QueryStorageRequest) GetKey() string

func (*QueryStorageRequest) ProtoMessage

func (*QueryStorageRequest) ProtoMessage()

func (*QueryStorageRequest) ProtoReflect

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

func (*QueryStorageRequest) Reset

func (x *QueryStorageRequest) Reset()

func (*QueryStorageRequest) String

func (x *QueryStorageRequest) String() string

type QueryStorageResponse

type QueryStorageResponse struct {

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

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

func (*QueryStorageResponse) Descriptor deprecated

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

Deprecated: Use QueryStorageResponse.ProtoReflect.Descriptor instead.

func (*QueryStorageResponse) GetValue

func (x *QueryStorageResponse) GetValue() string

func (*QueryStorageResponse) ProtoMessage

func (*QueryStorageResponse) ProtoMessage()

func (*QueryStorageResponse) ProtoReflect

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

func (*QueryStorageResponse) Reset

func (x *QueryStorageResponse) Reset()

func (*QueryStorageResponse) String

func (x *QueryStorageResponse) String() string

type QueryTraceBlockRequest

type QueryTraceBlockRequest struct {

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

QueryTraceBlockRequest defines TraceTx request

func (*QueryTraceBlockRequest) Descriptor deprecated

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

Deprecated: Use QueryTraceBlockRequest.ProtoReflect.Descriptor instead.

func (*QueryTraceBlockRequest) GetBlockHash

func (x *QueryTraceBlockRequest) GetBlockHash() string

func (*QueryTraceBlockRequest) GetBlockMaxGas

func (x *QueryTraceBlockRequest) GetBlockMaxGas() int64

func (*QueryTraceBlockRequest) GetBlockNumber

func (x *QueryTraceBlockRequest) GetBlockNumber() int64

func (*QueryTraceBlockRequest) GetBlockTime

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

func (*QueryTraceBlockRequest) GetChainId

func (x *QueryTraceBlockRequest) GetChainId() int64

func (*QueryTraceBlockRequest) GetProposerAddress

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

func (*QueryTraceBlockRequest) GetTraceConfig

func (x *QueryTraceBlockRequest) GetTraceConfig() *TraceConfig

func (*QueryTraceBlockRequest) GetTxs

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

func (*QueryTraceBlockRequest) ProtoMessage

func (*QueryTraceBlockRequest) ProtoMessage()

func (*QueryTraceBlockRequest) ProtoReflect

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

func (*QueryTraceBlockRequest) Reset

func (x *QueryTraceBlockRequest) Reset()

func (*QueryTraceBlockRequest) String

func (x *QueryTraceBlockRequest) String() string

type QueryTraceBlockResponse

type QueryTraceBlockResponse struct {

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

QueryTraceBlockResponse defines TraceBlock response

func (*QueryTraceBlockResponse) Descriptor deprecated

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

Deprecated: Use QueryTraceBlockResponse.ProtoReflect.Descriptor instead.

func (*QueryTraceBlockResponse) GetData

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

func (*QueryTraceBlockResponse) ProtoMessage

func (*QueryTraceBlockResponse) ProtoMessage()

func (*QueryTraceBlockResponse) ProtoReflect

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

func (*QueryTraceBlockResponse) Reset

func (x *QueryTraceBlockResponse) Reset()

func (*QueryTraceBlockResponse) String

func (x *QueryTraceBlockResponse) String() string

type QueryTraceTxRequest

type QueryTraceTxRequest struct {

	// msg is the MsgEthereumTx for the requested transaction
	Msg *MsgEthereumTx `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	// trace_config holds extra parameters to trace functions.
	TraceConfig *TraceConfig `protobuf:"bytes,3,opt,name=trace_config,json=traceConfig,proto3" json:"trace_config,omitempty"`
	// predecessors is an array of transactions included in the same block
	// need to be replayed first to get correct context for tracing.
	Predecessors []*MsgEthereumTx `protobuf:"bytes,4,rep,name=predecessors,proto3" json:"predecessors,omitempty"`
	// block_number of requested transaction
	BlockNumber int64 `protobuf:"varint,5,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
	// block_hash of requested transaction
	BlockHash string `protobuf:"bytes,6,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	// block_time of requested transaction
	BlockTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"`
	// proposer_address is the proposer of the requested block
	ProposerAddress []byte `protobuf:"bytes,8,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"`
	// chain_id is the the eip155 chain id parsed from the requested block header
	ChainId int64 `protobuf:"varint,9,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// block_max_gas of the block of the requested transaction
	BlockMaxGas int64 `protobuf:"varint,10,opt,name=block_max_gas,json=blockMaxGas,proto3" json:"block_max_gas,omitempty"`
	// contains filtered or unexported fields
}

QueryTraceTxRequest defines TraceTx request

func (*QueryTraceTxRequest) Descriptor deprecated

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

Deprecated: Use QueryTraceTxRequest.ProtoReflect.Descriptor instead.

func (*QueryTraceTxRequest) GetBlockHash

func (x *QueryTraceTxRequest) GetBlockHash() string

func (*QueryTraceTxRequest) GetBlockMaxGas

func (x *QueryTraceTxRequest) GetBlockMaxGas() int64

func (*QueryTraceTxRequest) GetBlockNumber

func (x *QueryTraceTxRequest) GetBlockNumber() int64

func (*QueryTraceTxRequest) GetBlockTime

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

func (*QueryTraceTxRequest) GetChainId

func (x *QueryTraceTxRequest) GetChainId() int64

func (*QueryTraceTxRequest) GetMsg

func (x *QueryTraceTxRequest) GetMsg() *MsgEthereumTx

func (*QueryTraceTxRequest) GetPredecessors

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

func (*QueryTraceTxRequest) GetProposerAddress

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

func (*QueryTraceTxRequest) GetTraceConfig

func (x *QueryTraceTxRequest) GetTraceConfig() *TraceConfig

func (*QueryTraceTxRequest) ProtoMessage

func (*QueryTraceTxRequest) ProtoMessage()

func (*QueryTraceTxRequest) ProtoReflect

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

func (*QueryTraceTxRequest) Reset

func (x *QueryTraceTxRequest) Reset()

func (*QueryTraceTxRequest) String

func (x *QueryTraceTxRequest) String() string

type QueryTraceTxResponse

type QueryTraceTxResponse struct {

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

QueryTraceTxResponse defines TraceTx response

func (*QueryTraceTxResponse) Descriptor deprecated

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

Deprecated: Use QueryTraceTxResponse.ProtoReflect.Descriptor instead.

func (*QueryTraceTxResponse) GetData

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

func (*QueryTraceTxResponse) ProtoMessage

func (*QueryTraceTxResponse) ProtoMessage()

func (*QueryTraceTxResponse) ProtoReflect

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

func (*QueryTraceTxResponse) Reset

func (x *QueryTraceTxResponse) Reset()

func (*QueryTraceTxResponse) String

func (x *QueryTraceTxResponse) String() string

type QueryTxLogsRequest

type QueryTxLogsRequest struct {

	// hash is the ethereum transaction hex hash to query the logs for.
	Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryTxLogsRequest is the request type for the Query/TxLogs RPC method.

func (*QueryTxLogsRequest) Descriptor deprecated

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

Deprecated: Use QueryTxLogsRequest.ProtoReflect.Descriptor instead.

func (*QueryTxLogsRequest) GetHash

func (x *QueryTxLogsRequest) GetHash() string

func (*QueryTxLogsRequest) GetPagination

func (x *QueryTxLogsRequest) GetPagination() *v1beta1.PageRequest

func (*QueryTxLogsRequest) ProtoMessage

func (*QueryTxLogsRequest) ProtoMessage()

func (*QueryTxLogsRequest) ProtoReflect

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

func (*QueryTxLogsRequest) Reset

func (x *QueryTxLogsRequest) Reset()

func (*QueryTxLogsRequest) String

func (x *QueryTxLogsRequest) String() string

type QueryTxLogsResponse

type QueryTxLogsResponse struct {

	// logs represents the ethereum logs generated from the given transaction.
	Logs []*Log `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"`
	// pagination defines the pagination in the response.
	Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

QueryTxLogsResponse is the response type for the Query/TxLogs RPC method.

func (*QueryTxLogsResponse) Descriptor deprecated

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

Deprecated: Use QueryTxLogsResponse.ProtoReflect.Descriptor instead.

func (*QueryTxLogsResponse) GetLogs

func (x *QueryTxLogsResponse) GetLogs() []*Log

func (*QueryTxLogsResponse) GetPagination

func (x *QueryTxLogsResponse) GetPagination() *v1beta1.PageResponse

func (*QueryTxLogsResponse) ProtoMessage

func (*QueryTxLogsResponse) ProtoMessage()

func (*QueryTxLogsResponse) ProtoReflect

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

func (*QueryTxLogsResponse) Reset

func (x *QueryTxLogsResponse) Reset()

func (*QueryTxLogsResponse) String

func (x *QueryTxLogsResponse) String() string

type QueryValidatorAccountRequest

type QueryValidatorAccountRequest struct {

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

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

func (*QueryValidatorAccountRequest) Descriptor deprecated

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

Deprecated: Use QueryValidatorAccountRequest.ProtoReflect.Descriptor instead.

func (*QueryValidatorAccountRequest) GetConsAddress

func (x *QueryValidatorAccountRequest) GetConsAddress() string

func (*QueryValidatorAccountRequest) ProtoMessage

func (*QueryValidatorAccountRequest) ProtoMessage()

func (*QueryValidatorAccountRequest) ProtoReflect

func (*QueryValidatorAccountRequest) Reset

func (x *QueryValidatorAccountRequest) Reset()

func (*QueryValidatorAccountRequest) String

type QueryValidatorAccountResponse

type QueryValidatorAccountResponse struct {

	// account_address is the Nibiru 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"`
	// 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_config configures the tracer options
	TracerConfig *TracerConfig `protobuf:"bytes,13,opt,name=tracer_config,json=tracerConfig,proto3" json:"tracer_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) GetReexec

func (x *TraceConfig) GetReexec() uint64

func (*TraceConfig) GetTimeout

func (x *TraceConfig) GetTimeout() string

func (*TraceConfig) GetTracer

func (x *TraceConfig) GetTracer() string

func (*TraceConfig) GetTracerConfig

func (x *TraceConfig) GetTracerConfig() *TracerConfig

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 TracerConfig

type TracerConfig struct {
	OnlyTopCall bool `protobuf:"varint,1,opt,name=only_top_call,json=onlyTopCall,proto3" json:"only_top_call,omitempty"`
	// contains filtered or unexported fields
}

TracerConfig stores additional tracer args. For geth it's only one attr: onlyTopCall

func (*TracerConfig) Descriptor deprecated

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

Deprecated: Use TracerConfig.ProtoReflect.Descriptor instead.

func (*TracerConfig) GetOnlyTopCall

func (x *TracerConfig) GetOnlyTopCall() bool

func (*TracerConfig) ProtoMessage

func (*TracerConfig) ProtoMessage()

func (*TracerConfig) ProtoReflect

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

func (*TracerConfig) Reset

func (x *TracerConfig) Reset()

func (*TracerConfig) String

func (x *TracerConfig) String() string

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

func (UnimplementedMsgServer) ConvertCoinToEvm

func (UnimplementedMsgServer) ConvertEvmToCoin added in v2.7.0

func (UnimplementedMsgServer) CreateFunToken

func (UnimplementedMsgServer) EthereumTx

func (UnimplementedMsgServer) UpdateParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

func (UnimplementedQueryServer) Balance

func (UnimplementedQueryServer) BaseFee

func (UnimplementedQueryServer) Code

func (UnimplementedQueryServer) EstimateGas

func (UnimplementedQueryServer) EthCall

func (UnimplementedQueryServer) Params

func (UnimplementedQueryServer) Storage

func (UnimplementedQueryServer) TraceCall

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.

type WasmPlugin added in v2.15.0

type WasmPlugin struct {

	// Name is a human-readable name for the plugin.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Addr is the Wasm smart contract address that defines the plugin
	Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
	// contains filtered or unexported fields
}

WasmPlugin binds a stable plugin name to a Wasm contract address.

EVM code should look up plugins by name instead of hard-coding Wasm contract addresses. For example, plugin name "x-oracle" can identify the Wasm adapter used by the legacy oracle precompile at 0x0000000000000000000000000000000000000801.

func (*WasmPlugin) Descriptor deprecated added in v2.15.0

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

Deprecated: Use WasmPlugin.ProtoReflect.Descriptor instead.

func (*WasmPlugin) GetAddr added in v2.15.0

func (x *WasmPlugin) GetAddr() string

func (*WasmPlugin) GetName added in v2.15.0

func (x *WasmPlugin) GetName() string

func (*WasmPlugin) ProtoMessage added in v2.15.0

func (*WasmPlugin) ProtoMessage()

func (*WasmPlugin) ProtoReflect added in v2.15.0

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

func (*WasmPlugin) Reset added in v2.15.0

func (x *WasmPlugin) Reset()

func (*WasmPlugin) String added in v2.15.0

func (x *WasmPlugin) String() string

Jump to

Keyboard shortcuts

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