// @generated by protoc-gen-es v1.3.1 with parameter "target=ts" // @generated from file ethermint/evm/v1/query.proto (package ethermint.evm.v1, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3, protoInt64, Timestamp } from "@bufbuild/protobuf"; import { PageRequest, PageResponse } from "../../../cosmos/base/query/v1beta1/pagination_pb.js"; import { Log, Params, TraceConfig } from "./evm_pb.js"; import { MsgEthereumTx } from "./tx_pb.js"; /** * QueryAccountRequest is the request type for the Query/Account RPC method. * * @generated from message ethermint.evm.v1.QueryAccountRequest */ export class QueryAccountRequest extends Message { /** * address is the ethereum hex address to query the account for. * * @generated from field: string address = 1; */ address = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ethermint.evm.v1.QueryAccountRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryAccountRequest { return new QueryAccountRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryAccountRequest { return new QueryAccountRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryAccountRequest { return new QueryAccountRequest().fromJsonString(jsonString, options); } static equals(a: QueryAccountRequest | PlainMessage | undefined, b: QueryAccountRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryAccountRequest, a, b); } } /** * QueryAccountResponse is the response type for the Query/Account RPC method. * * @generated from message ethermint.evm.v1.QueryAccountResponse */ export class QueryAccountResponse extends Message { /** * balance is the balance of the EVM denomination. * * @generated from field: string balance = 1; */ balance = ""; /** * code_hash is the hex-formatted code bytes from the EOA. * * @generated from field: string code_hash = 2; */ codeHash = ""; /** * nonce is the account's sequence number. * * @generated from field: uint64 nonce = 3; */ nonce = protoInt64.zero; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ethermint.evm.v1.QueryAccountResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "balance", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "code_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "nonce", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryAccountResponse { return new QueryAccountResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryAccountResponse { return new QueryAccountResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryAccountResponse { return new QueryAccountResponse().fromJsonString(jsonString, options); } static equals(a: QueryAccountResponse | PlainMessage | undefined, b: QueryAccountResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryAccountResponse, a, b); } } /** * QueryCosmosAccountRequest is the request type for the Query/CosmosAccount RPC * method. * * @generated from message ethermint.evm.v1.QueryCosmosAccountRequest */ export class QueryCosmosAccountRequest extends Message { /** * address is the ethereum hex address to query the account for. * * @generated from field: string address = 1; */ address = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ethermint.evm.v1.QueryCosmosAccountRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryCosmosAccountRequest { return new QueryCosmosAccountRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryCosmosAccountRequest { return new QueryCosmosAccountRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryCosmosAccountRequest { return new QueryCosmosAccountRequest().fromJsonString(jsonString, options); } static equals(a: QueryCosmosAccountRequest | PlainMessage | undefined, b: QueryCosmosAccountRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryCosmosAccountRequest, a, b); } } /** * QueryCosmosAccountResponse is the response type for the Query/CosmosAccount * RPC method. * * @generated from message ethermint.evm.v1.QueryCosmosAccountResponse */ export class QueryCosmosAccountResponse extends Message { /** * cosmos_address is the cosmos address of the account. * * @generated from field: string cosmos_address = 1; */ cosmosAddress = ""; /** * sequence is the account's sequence number. * * @generated from field: uint64 sequence = 2; */ sequence = protoInt64.zero; /** * account_number is the account number * * @generated from field: uint64 account_number = 3; */ accountNumber = protoInt64.zero; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ethermint.evm.v1.QueryCosmosAccountResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "cosmos_address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "sequence", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, { no: 3, name: "account_number", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryCosmosAccountResponse { return new QueryCosmosAccountResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryCosmosAccountResponse { return new QueryCosmosAccountResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryCosmosAccountResponse { return new QueryCosmosAccountResponse().fromJsonString(jsonString, options); } static equals(a: QueryCosmosAccountResponse | PlainMessage | undefined, b: QueryCosmosAccountResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryCosmosAccountResponse, a, b); } } /** * QueryValidatorAccountRequest is the request type for the * Query/ValidatorAccount RPC method. * * @generated from message ethermint.evm.v1.QueryValidatorAccountRequest */ export class QueryValidatorAccountRequest extends Message { /** * cons_address is the validator cons address to query the account for. * * @generated from field: string cons_address = 1; */ consAddress = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ethermint.evm.v1.QueryValidatorAccountRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "cons_address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryValidatorAccountRequest { return new QueryValidatorAccountRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryValidatorAccountRequest { return new QueryValidatorAccountRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryValidatorAccountRequest { return new QueryValidatorAccountRequest().fromJsonString(jsonString, options); } static equals(a: QueryValidatorAccountRequest | PlainMessage | undefined, b: QueryValidatorAccountRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryValidatorAccountRequest, a, b); } } /** * QueryValidatorAccountResponse is the response type for the * Query/ValidatorAccount RPC method. * * @generated from message ethermint.evm.v1.QueryValidatorAccountResponse */ export class QueryValidatorAccountResponse extends Message { /** * account_address is the cosmos address of the account in bech32 format. * * @generated from field: string account_address = 1; */ accountAddress = ""; /** * sequence is the account's sequence number. * * @generated from field: uint64 sequence = 2; */ sequence = protoInt64.zero; /** * account_number is the account number * * @generated from field: uint64 account_number = 3; */ accountNumber = protoInt64.zero; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ethermint.evm.v1.QueryValidatorAccountResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "account_address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "sequence", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, { no: 3, name: "account_number", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryValidatorAccountResponse { return new QueryValidatorAccountResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryValidatorAccountResponse { return new QueryValidatorAccountResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryValidatorAccountResponse { return new QueryValidatorAccountResponse().fromJsonString(jsonString, options); } static equals(a: QueryValidatorAccountResponse | PlainMessage | undefined, b: QueryValidatorAccountResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryValidatorAccountResponse, a, b); } } /** * QueryBalanceRequest is the request type for the Query/Balance RPC method. * * @generated from message ethermint.evm.v1.QueryBalanceRequest */ export class QueryBalanceRequest extends Message { /** * address is the ethereum hex address to query the balance for. * * @generated from field: string address = 1; */ address = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ethermint.evm.v1.QueryBalanceRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryBalanceRequest { return new QueryBalanceRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryBalanceRequest { return new QueryBalanceRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryBalanceRequest { return new QueryBalanceRequest().fromJsonString(jsonString, options); } static equals(a: QueryBalanceRequest | PlainMessage | undefined, b: QueryBalanceRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryBalanceRequest, a, b); } } /** * QueryBalanceResponse is the response type for the Query/Balance RPC method. * * @generated from message ethermint.evm.v1.QueryBalanceResponse */ export class QueryBalanceResponse extends Message { /** * balance is the balance of the EVM denomination. * * @generated from field: string balance = 1; */ balance = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ethermint.evm.v1.QueryBalanceResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "balance", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryBalanceResponse { return new QueryBalanceResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryBalanceResponse { return new QueryBalanceResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryBalanceResponse { return new QueryBalanceResponse().fromJsonString(jsonString, options); } static equals(a: QueryBalanceResponse | PlainMessage | undefined, b: QueryBalanceResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryBalanceResponse, a, b); } } /** * QueryStorageRequest is the request type for the Query/Storage RPC method. * * @generated from message ethermint.evm.v1.QueryStorageRequest */ export class QueryStorageRequest extends Message { /** * address is the ethereum hex address to query the storage state for. * * @generated from field: string address = 1; */ address = ""; /** * key defines the key of the storage state * * @generated from field: string key = 2; */ key = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ethermint.evm.v1.QueryStorageRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryStorageRequest { return new QueryStorageRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryStorageRequest { return new QueryStorageRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryStorageRequest { return new QueryStorageRequest().fromJsonString(jsonString, options); } static equals(a: QueryStorageRequest | PlainMessage | undefined, b: QueryStorageRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryStorageRequest, a, b); } } /** * QueryStorageResponse is the response type for the Query/Storage RPC * method. * * @generated from message ethermint.evm.v1.QueryStorageResponse */ export class QueryStorageResponse extends Message { /** * value defines the storage state value hash associated with the given key. * * @generated from field: string value = 1; */ value = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ethermint.evm.v1.QueryStorageResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryStorageResponse { return new QueryStorageResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryStorageResponse { return new QueryStorageResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryStorageResponse { return new QueryStorageResponse().fromJsonString(jsonString, options); } static equals(a: QueryStorageResponse | PlainMessage | undefined, b: QueryStorageResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryStorageResponse, a, b); } } /** * QueryCodeRequest is the request type for the Query/Code RPC method. * * @generated from message ethermint.evm.v1.QueryCodeRequest */ export class QueryCodeRequest extends Message { /** * address is the ethereum hex address to query the code for. * * @generated from field: string address = 1; */ address = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ethermint.evm.v1.QueryCodeRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryCodeRequest { return new QueryCodeRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryCodeRequest { return new QueryCodeRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryCodeRequest { return new QueryCodeRequest().fromJsonString(jsonString, options); } static equals(a: QueryCodeRequest | PlainMessage | undefined, b: QueryCodeRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryCodeRequest, a, b); } } /** * QueryCodeResponse is the response type for the Query/Code RPC * method. * * @generated from message ethermint.evm.v1.QueryCodeResponse */ export class QueryCodeResponse extends Message { /** * code represents the code bytes from an ethereum address. * * @generated from field: bytes code = 1; */ code = new Uint8Array(0); constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ethermint.evm.v1.QueryCodeResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "code", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryCodeResponse { return new QueryCodeResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryCodeResponse { return new QueryCodeResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryCodeResponse { return new QueryCodeResponse().fromJsonString(jsonString, options); } static equals(a: QueryCodeResponse | PlainMessage | undefined, b: QueryCodeResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryCodeResponse, a, b); } } /** * QueryTxLogsRequest is the request type for the Query/TxLogs RPC method. * * @generated from message ethermint.evm.v1.QueryTxLogsRequest */ export class QueryTxLogsRequest extends Message { /** * hash is the ethereum transaction hex hash to query the logs for. * * @generated from field: string hash = 1; */ hash = ""; /** * pagination defines an optional pagination for the request. * * @generated from field: cosmos.base.query.v1beta1.PageRequest pagination = 2; */ pagination?: PageRequest; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ethermint.evm.v1.QueryTxLogsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "hash", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "pagination", kind: "message", T: PageRequest }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryTxLogsRequest { return new QueryTxLogsRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryTxLogsRequest { return new QueryTxLogsRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryTxLogsRequest { return new QueryTxLogsRequest().fromJsonString(jsonString, options); } static equals(a: QueryTxLogsRequest | PlainMessage | undefined, b: QueryTxLogsRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryTxLogsRequest, a, b); } } /** * QueryTxLogsResponse is the response type for the Query/TxLogs RPC method. * * @generated from message ethermint.evm.v1.QueryTxLogsResponse */ export class QueryTxLogsResponse extends Message { /** * logs represents the ethereum logs generated from the given transaction. * * @generated from field: repeated ethermint.evm.v1.Log logs = 1; */ logs: Log[] = []; /** * pagination defines the pagination in the response. * * @generated from field: cosmos.base.query.v1beta1.PageResponse pagination = 2; */ pagination?: PageResponse; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ethermint.evm.v1.QueryTxLogsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "logs", kind: "message", T: Log, repeated: true }, { no: 2, name: "pagination", kind: "message", T: PageResponse }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryTxLogsResponse { return new QueryTxLogsResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryTxLogsResponse { return new QueryTxLogsResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryTxLogsResponse { return new QueryTxLogsResponse().fromJsonString(jsonString, options); } static equals(a: QueryTxLogsResponse | PlainMessage | undefined, b: QueryTxLogsResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryTxLogsResponse, a, b); } } /** * QueryParamsRequest defines the request type for querying x/evm parameters. * * @generated from message ethermint.evm.v1.QueryParamsRequest */ export class QueryParamsRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ethermint.evm.v1.QueryParamsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryParamsRequest { return new QueryParamsRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryParamsRequest { return new QueryParamsRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryParamsRequest { return new QueryParamsRequest().fromJsonString(jsonString, options); } static equals(a: QueryParamsRequest | PlainMessage | undefined, b: QueryParamsRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryParamsRequest, a, b); } } /** * QueryParamsResponse defines the response type for querying x/evm parameters. * * @generated from message ethermint.evm.v1.QueryParamsResponse */ export class QueryParamsResponse extends Message { /** * params define the evm module parameters. * * @generated from field: ethermint.evm.v1.Params params = 1; */ params?: Params; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ethermint.evm.v1.QueryParamsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "params", kind: "message", T: Params }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryParamsResponse { return new QueryParamsResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryParamsResponse { return new QueryParamsResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryParamsResponse { return new QueryParamsResponse().fromJsonString(jsonString, options); } static equals(a: QueryParamsResponse | PlainMessage | undefined, b: QueryParamsResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryParamsResponse, a, b); } } /** * EthCallRequest defines EthCall request * * @generated from message ethermint.evm.v1.EthCallRequest */ export class EthCallRequest extends Message { /** * args uses the same json format as the json rpc api. * * @generated from field: bytes args = 1; */ args = new Uint8Array(0); /** * gas_cap defines the default gas cap to be used * * @generated from field: uint64 gas_cap = 2; */ gasCap = protoInt64.zero; /** * proposer_address of the requested block in hex format * * @generated from field: bytes proposer_address = 3; */ proposerAddress = new Uint8Array(0); /** * chain_id is the eip155 chain id parsed from the requested block header * * @generated from field: int64 chain_id = 4; */ chainId = protoInt64.zero; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ethermint.evm.v1.EthCallRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "args", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, { no: 2, name: "gas_cap", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, { no: 3, name: "proposer_address", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, { no: 4, name: "chain_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): EthCallRequest { return new EthCallRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): EthCallRequest { return new EthCallRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): EthCallRequest { return new EthCallRequest().fromJsonString(jsonString, options); } static equals(a: EthCallRequest | PlainMessage | undefined, b: EthCallRequest | PlainMessage | undefined): boolean { return proto3.util.equals(EthCallRequest, a, b); } } /** * EstimateGasResponse defines EstimateGas response * * @generated from message ethermint.evm.v1.EstimateGasResponse */ export class EstimateGasResponse extends Message { /** * gas returns the estimated gas * * @generated from field: uint64 gas = 1; */ gas = protoInt64.zero; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ethermint.evm.v1.EstimateGasResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "gas", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): EstimateGasResponse { return new EstimateGasResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): EstimateGasResponse { return new EstimateGasResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): EstimateGasResponse { return new EstimateGasResponse().fromJsonString(jsonString, options); } static equals(a: EstimateGasResponse | PlainMessage | undefined, b: EstimateGasResponse | PlainMessage | undefined): boolean { return proto3.util.equals(EstimateGasResponse, a, b); } } /** * QueryTraceTxRequest defines TraceTx request * * @generated from message ethermint.evm.v1.QueryTraceTxRequest */ export class QueryTraceTxRequest extends Message { /** * msg is the MsgEthereumTx for the requested transaction * * @generated from field: ethermint.evm.v1.MsgEthereumTx msg = 1; */ msg?: MsgEthereumTx; /** * trace_config holds extra parameters to trace functions. * * @generated from field: ethermint.evm.v1.TraceConfig trace_config = 3; */ traceConfig?: TraceConfig; /** * predecessors is an array of transactions included in the same block * need to be replayed first to get correct context for tracing. * * @generated from field: repeated ethermint.evm.v1.MsgEthereumTx predecessors = 4; */ predecessors: MsgEthereumTx[] = []; /** * block_number of requested transaction * * @generated from field: int64 block_number = 5; */ blockNumber = protoInt64.zero; /** * block_hash of requested transaction * * @generated from field: string block_hash = 6; */ blockHash = ""; /** * block_time of requested transaction * * @generated from field: google.protobuf.Timestamp block_time = 7; */ blockTime?: Timestamp; /** * proposer_address is the proposer of the requested block * * @generated from field: bytes proposer_address = 8; */ proposerAddress = new Uint8Array(0); /** * chain_id is the the eip155 chain id parsed from the requested block header * * @generated from field: int64 chain_id = 9; */ chainId = protoInt64.zero; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ethermint.evm.v1.QueryTraceTxRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "msg", kind: "message", T: MsgEthereumTx }, { no: 3, name: "trace_config", kind: "message", T: TraceConfig }, { no: 4, name: "predecessors", kind: "message", T: MsgEthereumTx, repeated: true }, { no: 5, name: "block_number", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 6, name: "block_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 7, name: "block_time", kind: "message", T: Timestamp }, { no: 8, name: "proposer_address", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, { no: 9, name: "chain_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryTraceTxRequest { return new QueryTraceTxRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryTraceTxRequest { return new QueryTraceTxRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryTraceTxRequest { return new QueryTraceTxRequest().fromJsonString(jsonString, options); } static equals(a: QueryTraceTxRequest | PlainMessage | undefined, b: QueryTraceTxRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryTraceTxRequest, a, b); } } /** * QueryTraceTxResponse defines TraceTx response * * @generated from message ethermint.evm.v1.QueryTraceTxResponse */ export class QueryTraceTxResponse extends Message { /** * data is the response serialized in bytes * * @generated from field: bytes data = 1; */ data = new Uint8Array(0); constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ethermint.evm.v1.QueryTraceTxResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "data", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryTraceTxResponse { return new QueryTraceTxResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryTraceTxResponse { return new QueryTraceTxResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryTraceTxResponse { return new QueryTraceTxResponse().fromJsonString(jsonString, options); } static equals(a: QueryTraceTxResponse | PlainMessage | undefined, b: QueryTraceTxResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryTraceTxResponse, a, b); } } /** * QueryTraceBlockRequest defines TraceTx request * * @generated from message ethermint.evm.v1.QueryTraceBlockRequest */ export class QueryTraceBlockRequest extends Message { /** * txs is an array of messages in the block * * @generated from field: repeated ethermint.evm.v1.MsgEthereumTx txs = 1; */ txs: MsgEthereumTx[] = []; /** * trace_config holds extra parameters to trace functions. * * @generated from field: ethermint.evm.v1.TraceConfig trace_config = 3; */ traceConfig?: TraceConfig; /** * block_number of the traced block * * @generated from field: int64 block_number = 5; */ blockNumber = protoInt64.zero; /** * block_hash (hex) of the traced block * * @generated from field: string block_hash = 6; */ blockHash = ""; /** * block_time of the traced block * * @generated from field: google.protobuf.Timestamp block_time = 7; */ blockTime?: Timestamp; /** * proposer_address is the address of the requested block * * @generated from field: bytes proposer_address = 8; */ proposerAddress = new Uint8Array(0); /** * chain_id is the eip155 chain id parsed from the requested block header * * @generated from field: int64 chain_id = 9; */ chainId = protoInt64.zero; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ethermint.evm.v1.QueryTraceBlockRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "txs", kind: "message", T: MsgEthereumTx, repeated: true }, { no: 3, name: "trace_config", kind: "message", T: TraceConfig }, { no: 5, name: "block_number", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 6, name: "block_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 7, name: "block_time", kind: "message", T: Timestamp }, { no: 8, name: "proposer_address", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, { no: 9, name: "chain_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryTraceBlockRequest { return new QueryTraceBlockRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryTraceBlockRequest { return new QueryTraceBlockRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryTraceBlockRequest { return new QueryTraceBlockRequest().fromJsonString(jsonString, options); } static equals(a: QueryTraceBlockRequest | PlainMessage | undefined, b: QueryTraceBlockRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryTraceBlockRequest, a, b); } } /** * QueryTraceBlockResponse defines TraceBlock response * * @generated from message ethermint.evm.v1.QueryTraceBlockResponse */ export class QueryTraceBlockResponse extends Message { /** * data is the response serialized in bytes * * @generated from field: bytes data = 1; */ data = new Uint8Array(0); constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ethermint.evm.v1.QueryTraceBlockResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "data", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryTraceBlockResponse { return new QueryTraceBlockResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryTraceBlockResponse { return new QueryTraceBlockResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryTraceBlockResponse { return new QueryTraceBlockResponse().fromJsonString(jsonString, options); } static equals(a: QueryTraceBlockResponse | PlainMessage | undefined, b: QueryTraceBlockResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryTraceBlockResponse, a, b); } } /** * QueryBaseFeeRequest defines the request type for querying the EIP1559 base * fee. * * @generated from message ethermint.evm.v1.QueryBaseFeeRequest */ export class QueryBaseFeeRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ethermint.evm.v1.QueryBaseFeeRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryBaseFeeRequest { return new QueryBaseFeeRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryBaseFeeRequest { return new QueryBaseFeeRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryBaseFeeRequest { return new QueryBaseFeeRequest().fromJsonString(jsonString, options); } static equals(a: QueryBaseFeeRequest | PlainMessage | undefined, b: QueryBaseFeeRequest | PlainMessage | undefined): boolean { return proto3.util.equals(QueryBaseFeeRequest, a, b); } } /** * QueryBaseFeeResponse returns the EIP1559 base fee. * * @generated from message ethermint.evm.v1.QueryBaseFeeResponse */ export class QueryBaseFeeResponse extends Message { /** * base_fee is the EIP1559 base fee * * @generated from field: string base_fee = 1; */ baseFee = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "ethermint.evm.v1.QueryBaseFeeResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "base_fee", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): QueryBaseFeeResponse { return new QueryBaseFeeResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): QueryBaseFeeResponse { return new QueryBaseFeeResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): QueryBaseFeeResponse { return new QueryBaseFeeResponse().fromJsonString(jsonString, options); } static equals(a: QueryBaseFeeResponse | PlainMessage | undefined, b: QueryBaseFeeResponse | PlainMessage | undefined): boolean { return proto3.util.equals(QueryBaseFeeResponse, a, b); } }