import { Any, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; import { Params, ParamsAmino, ParamsSDKType, AccessTuple, AccessTupleAmino, AccessTupleSDKType, Log, LogAmino, LogSDKType } from "./evm"; import { BinaryReader, BinaryWriter } from "../../../../binary"; import { JsonSafe } from "../../../../json-safe"; /** MsgEthereumTx encapsulates an Ethereum transaction as an SDK message. */ export interface MsgEthereumTx { /** data is inner transaction data of the Ethereum transaction */ data?: Any; /** size is the encoded storage size of the transaction (DEPRECATED) */ size: number; /** hash of the transaction in hex format */ hash: string; /** * 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; } export interface MsgEthereumTxProtoMsg { typeUrl: "/cosmos.evm.vm.v1.MsgEthereumTx"; value: Uint8Array; } /** * MsgEthereumTx encapsulates an Ethereum transaction as an SDK message. * @name MsgEthereumTxAmino * @package cosmos.evm.vm.v1 * @see proto type: cosmos.evm.vm.v1.MsgEthereumTx */ export interface MsgEthereumTxAmino { /** * data is inner transaction data of the Ethereum transaction */ data?: AnyAmino; /** * size is the encoded storage size of the transaction (DEPRECATED) */ size: number; /** * hash of the transaction in hex format */ hash: string; /** * 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; } export interface MsgEthereumTxAminoMsg { type: "cosmos/evm/MsgEthereumTx"; value: MsgEthereumTxAmino; } /** MsgEthereumTx encapsulates an Ethereum transaction as an SDK message. */ export interface MsgEthereumTxSDKType { data?: AnySDKType; size: number; hash: string; from: string; } /** * LegacyTx is the transaction data of regular Ethereum transactions. * NOTE: All non-protected transactions (i.e non EIP155 signed) will fail if the * AllowUnprotectedTxs parameter is disabled. */ export interface LegacyTx { $typeUrl?: "/cosmos.evm.vm.v1.LegacyTx"; /** nonce corresponds to the account nonce (transaction sequence). */ nonce: bigint; /** gas_price defines the value for each gas unit */ gasPrice: string; /** gas defines the gas limit defined for the transaction. */ gas: bigint; /** to is the hex formatted address of the recipient */ to: string; /** value defines the unsigned integer value of the transaction amount. */ value: string; /** data is the data payload bytes of the transaction. */ data: Uint8Array; /** v defines the signature value */ v: Uint8Array; /** r defines the signature value */ r: Uint8Array; /** s define the signature value */ s: Uint8Array; } export interface LegacyTxProtoMsg { typeUrl: "/cosmos.evm.vm.v1.LegacyTx"; value: Uint8Array; } /** * LegacyTx is the transaction data of regular Ethereum transactions. * NOTE: All non-protected transactions (i.e non EIP155 signed) will fail if the * AllowUnprotectedTxs parameter is disabled. * @name LegacyTxAmino * @package cosmos.evm.vm.v1 * @see proto type: cosmos.evm.vm.v1.LegacyTx */ export interface LegacyTxAmino { /** * nonce corresponds to the account nonce (transaction sequence). */ nonce?: string; /** * gas_price defines the value for each gas unit */ gas_price?: string; /** * gas defines the gas limit defined for the transaction. */ gas?: string; /** * to is the hex formatted address of the recipient */ to?: string; /** * value defines the unsigned integer value of the transaction amount. */ value?: string; /** * data is the data payload bytes of the transaction. */ data?: string; /** * v defines the signature value */ v?: string; /** * r defines the signature value */ r?: string; /** * s define the signature value */ s?: string; } export interface LegacyTxAminoMsg { type: "cosmos/evm/LegacyTx"; value: LegacyTxAmino; } /** * LegacyTx is the transaction data of regular Ethereum transactions. * NOTE: All non-protected transactions (i.e non EIP155 signed) will fail if the * AllowUnprotectedTxs parameter is disabled. */ export interface LegacyTxSDKType { $typeUrl?: "/cosmos.evm.vm.v1.LegacyTx"; nonce: bigint; gas_price: string; gas: bigint; to: string; value: string; data: Uint8Array; v: Uint8Array; r: Uint8Array; s: Uint8Array; } /** AccessListTx is the data of EIP-2930 access list transactions. */ export interface AccessListTx { $typeUrl?: "/cosmos.evm.vm.v1.AccessListTx"; /** chain_id of the destination EVM chain */ chainId: string; /** nonce corresponds to the account nonce (transaction sequence). */ nonce: bigint; /** gas_price defines the value for each gas unit */ gasPrice: string; /** gas defines the gas limit defined for the transaction. */ gas: bigint; /** to is the recipient address in hex format */ to: string; /** value defines the unsigned integer value of the transaction amount. */ value: string; /** data is the data payload bytes of the transaction. */ data: Uint8Array; /** accesses is an array of access tuples */ accesses: AccessTuple[]; /** v defines the signature value */ v: Uint8Array; /** r defines the signature value */ r: Uint8Array; /** s define the signature value */ s: Uint8Array; } export interface AccessListTxProtoMsg { typeUrl: "/cosmos.evm.vm.v1.AccessListTx"; value: Uint8Array; } /** * AccessListTx is the data of EIP-2930 access list transactions. * @name AccessListTxAmino * @package cosmos.evm.vm.v1 * @see proto type: cosmos.evm.vm.v1.AccessListTx */ export interface AccessListTxAmino { /** * chain_id of the destination EVM chain */ chain_id: string; /** * nonce corresponds to the account nonce (transaction sequence). */ nonce?: string; /** * gas_price defines the value for each gas unit */ gas_price?: string; /** * gas defines the gas limit defined for the transaction. */ gas?: string; /** * to is the recipient address in hex format */ to?: string; /** * value defines the unsigned integer value of the transaction amount. */ value?: string; /** * data is the data payload bytes of the transaction. */ data?: string; /** * accesses is an array of access tuples */ accesses: AccessTupleAmino[]; /** * v defines the signature value */ v?: string; /** * r defines the signature value */ r?: string; /** * s define the signature value */ s?: string; } export interface AccessListTxAminoMsg { type: "cosmos/evm/AccessListTx"; value: AccessListTxAmino; } /** AccessListTx is the data of EIP-2930 access list transactions. */ export interface AccessListTxSDKType { $typeUrl?: "/cosmos.evm.vm.v1.AccessListTx"; chain_id: string; nonce: bigint; gas_price: string; gas: bigint; to: string; value: string; data: Uint8Array; accesses: AccessTupleSDKType[]; v: Uint8Array; r: Uint8Array; s: Uint8Array; } /** DynamicFeeTx is the data of EIP-1559 dynamic fee transactions. */ export interface DynamicFeeTx { $typeUrl?: "/cosmos.evm.vm.v1.DynamicFeeTx"; /** chain_id of the destination EVM chain */ chainId: string; /** nonce corresponds to the account nonce (transaction sequence). */ nonce: bigint; /** gas_tip_cap defines the max value for the gas tip */ gasTipCap: string; /** gas_fee_cap defines the max value for the gas fee */ gasFeeCap: string; /** gas defines the gas limit defined for the transaction. */ gas: bigint; /** to is the hex formatted address of the recipient */ to: string; /** value defines the transaction amount. */ value: string; /** data is the data payload bytes of the transaction. */ data: Uint8Array; /** accesses is an array of access tuples */ accesses: AccessTuple[]; /** v defines the signature value */ v: Uint8Array; /** r defines the signature value */ r: Uint8Array; /** s define the signature value */ s: Uint8Array; } export interface DynamicFeeTxProtoMsg { typeUrl: "/cosmos.evm.vm.v1.DynamicFeeTx"; value: Uint8Array; } /** * DynamicFeeTx is the data of EIP-1559 dynamic fee transactions. * @name DynamicFeeTxAmino * @package cosmos.evm.vm.v1 * @see proto type: cosmos.evm.vm.v1.DynamicFeeTx */ export interface DynamicFeeTxAmino { /** * chain_id of the destination EVM chain */ chain_id: string; /** * nonce corresponds to the account nonce (transaction sequence). */ nonce?: string; /** * gas_tip_cap defines the max value for the gas tip */ gas_tip_cap?: string; /** * gas_fee_cap defines the max value for the gas fee */ gas_fee_cap?: string; /** * gas defines the gas limit defined for the transaction. */ gas?: string; /** * to is the hex formatted address of the recipient */ to?: string; /** * value defines the transaction amount. */ value?: string; /** * data is the data payload bytes of the transaction. */ data?: string; /** * accesses is an array of access tuples */ accesses: AccessTupleAmino[]; /** * v defines the signature value */ v?: string; /** * r defines the signature value */ r?: string; /** * s define the signature value */ s?: string; } export interface DynamicFeeTxAminoMsg { type: "cosmos/evm/DynamicFeeTx"; value: DynamicFeeTxAmino; } /** DynamicFeeTx is the data of EIP-1559 dynamic fee transactions. */ export interface DynamicFeeTxSDKType { $typeUrl?: "/cosmos.evm.vm.v1.DynamicFeeTx"; chain_id: string; nonce: bigint; gas_tip_cap: string; gas_fee_cap: string; gas: bigint; to: string; value: string; data: Uint8Array; accesses: AccessTupleSDKType[]; v: Uint8Array; r: Uint8Array; s: Uint8Array; } /** ExtensionOptionsEthereumTx is an extension option for ethereum transactions */ export interface ExtensionOptionsEthereumTx { } export interface ExtensionOptionsEthereumTxProtoMsg { typeUrl: "/cosmos.evm.vm.v1.ExtensionOptionsEthereumTx"; value: Uint8Array; } /** * ExtensionOptionsEthereumTx is an extension option for ethereum transactions * @name ExtensionOptionsEthereumTxAmino * @package cosmos.evm.vm.v1 * @see proto type: cosmos.evm.vm.v1.ExtensionOptionsEthereumTx */ export interface ExtensionOptionsEthereumTxAmino { } export interface ExtensionOptionsEthereumTxAminoMsg { type: "cosmos-sdk/ExtensionOptionsEthereumTx"; value: ExtensionOptionsEthereumTxAmino; } /** ExtensionOptionsEthereumTx is an extension option for ethereum transactions */ export interface ExtensionOptionsEthereumTxSDKType { } /** MsgEthereumTxResponse defines the Msg/EthereumTx response type. */ export interface MsgEthereumTxResponse { /** * 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; /** * logs contains the transaction hash and the proto-compatible ethereum * logs. */ logs: Log[]; /** * ret is the returned data from evm function (result or data supplied with * revert opcode) */ ret: Uint8Array; /** vm_error is the error returned by vm execution */ vmError: string; /** gas_used specifies how much gas was consumed by the transaction */ gasUsed: bigint; } export interface MsgEthereumTxResponseProtoMsg { typeUrl: "/cosmos.evm.vm.v1.MsgEthereumTxResponse"; value: Uint8Array; } /** * MsgEthereumTxResponse defines the Msg/EthereumTx response type. * @name MsgEthereumTxResponseAmino * @package cosmos.evm.vm.v1 * @see proto type: cosmos.evm.vm.v1.MsgEthereumTxResponse */ export interface MsgEthereumTxResponseAmino { /** * 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; /** * logs contains the transaction hash and the proto-compatible ethereum * logs. */ logs?: LogAmino[]; /** * ret is the returned data from evm function (result or data supplied with * revert opcode) */ ret?: string; /** * vm_error is the error returned by vm execution */ vm_error?: string; /** * gas_used specifies how much gas was consumed by the transaction */ gas_used?: string; } export interface MsgEthereumTxResponseAminoMsg { type: "cosmos-sdk/MsgEthereumTxResponse"; value: MsgEthereumTxResponseAmino; } /** MsgEthereumTxResponse defines the Msg/EthereumTx response type. */ export interface MsgEthereumTxResponseSDKType { hash: string; logs: LogSDKType[]; ret: Uint8Array; vm_error: string; gas_used: bigint; } /** MsgUpdateParams defines a Msg for updating the x/vm module parameters. */ export interface MsgUpdateParams { /** authority is the address of the governance account. */ authority: string; /** * params defines the x/vm parameters to update. * NOTE: All parameters must be supplied. */ params: Params; } export interface MsgUpdateParamsProtoMsg { typeUrl: "/cosmos.evm.vm.v1.MsgUpdateParams"; value: Uint8Array; } /** * MsgUpdateParams defines a Msg for updating the x/vm module parameters. * @name MsgUpdateParamsAmino * @package cosmos.evm.vm.v1 * @see proto type: cosmos.evm.vm.v1.MsgUpdateParams */ export interface MsgUpdateParamsAmino { /** * authority is the address of the governance account. */ authority?: string; /** * params defines the x/vm parameters to update. * NOTE: All parameters must be supplied. */ params: ParamsAmino; } export interface MsgUpdateParamsAminoMsg { type: "cosmos/evm/x/vm/MsgUpdateParams"; value: MsgUpdateParamsAmino; } /** MsgUpdateParams defines a Msg for updating the x/vm module parameters. */ export interface MsgUpdateParamsSDKType { authority: string; params: ParamsSDKType; } /** * MsgUpdateParamsResponse defines the response structure for executing a * MsgUpdateParams message. */ export interface MsgUpdateParamsResponse { } export interface MsgUpdateParamsResponseProtoMsg { typeUrl: "/cosmos.evm.vm.v1.MsgUpdateParamsResponse"; value: Uint8Array; } /** * MsgUpdateParamsResponse defines the response structure for executing a * MsgUpdateParams message. * @name MsgUpdateParamsResponseAmino * @package cosmos.evm.vm.v1 * @see proto type: cosmos.evm.vm.v1.MsgUpdateParamsResponse */ export interface MsgUpdateParamsResponseAmino { } export interface MsgUpdateParamsResponseAminoMsg { type: "cosmos-sdk/MsgUpdateParamsResponse"; value: MsgUpdateParamsResponseAmino; } /** * MsgUpdateParamsResponse defines the response structure for executing a * MsgUpdateParams message. */ export interface MsgUpdateParamsResponseSDKType { } export declare const MsgEthereumTx: { typeUrl: string; aminoType: string; is(o: any): o is MsgEthereumTx; isSDK(o: any): o is MsgEthereumTxSDKType; isAmino(o: any): o is MsgEthereumTxAmino; encode(message: MsgEthereumTx, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgEthereumTx; fromJSON(object: any): MsgEthereumTx; toJSON(message: MsgEthereumTx): JsonSafe; fromPartial(object: Partial): MsgEthereumTx; fromAmino(object: MsgEthereumTxAmino): MsgEthereumTx; toAmino(message: MsgEthereumTx): MsgEthereumTxAmino; fromAminoMsg(object: MsgEthereumTxAminoMsg): MsgEthereumTx; toAminoMsg(message: MsgEthereumTx): MsgEthereumTxAminoMsg; fromProtoMsg(message: MsgEthereumTxProtoMsg): MsgEthereumTx; toProto(message: MsgEthereumTx): Uint8Array; toProtoMsg(message: MsgEthereumTx): MsgEthereumTxProtoMsg; }; export declare const LegacyTx: { typeUrl: string; aminoType: string; is(o: any): o is LegacyTx; isSDK(o: any): o is LegacyTxSDKType; isAmino(o: any): o is LegacyTxAmino; encode(message: LegacyTx, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): LegacyTx; fromJSON(object: any): LegacyTx; toJSON(message: LegacyTx): JsonSafe; fromPartial(object: Partial): LegacyTx; fromAmino(object: LegacyTxAmino): LegacyTx; toAmino(message: LegacyTx): LegacyTxAmino; fromAminoMsg(object: LegacyTxAminoMsg): LegacyTx; toAminoMsg(message: LegacyTx): LegacyTxAminoMsg; fromProtoMsg(message: LegacyTxProtoMsg): LegacyTx; toProto(message: LegacyTx): Uint8Array; toProtoMsg(message: LegacyTx): LegacyTxProtoMsg; }; export declare const AccessListTx: { typeUrl: string; aminoType: string; is(o: any): o is AccessListTx; isSDK(o: any): o is AccessListTxSDKType; isAmino(o: any): o is AccessListTxAmino; encode(message: AccessListTx, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): AccessListTx; fromJSON(object: any): AccessListTx; toJSON(message: AccessListTx): JsonSafe; fromPartial(object: Partial): AccessListTx; fromAmino(object: AccessListTxAmino): AccessListTx; toAmino(message: AccessListTx): AccessListTxAmino; fromAminoMsg(object: AccessListTxAminoMsg): AccessListTx; toAminoMsg(message: AccessListTx): AccessListTxAminoMsg; fromProtoMsg(message: AccessListTxProtoMsg): AccessListTx; toProto(message: AccessListTx): Uint8Array; toProtoMsg(message: AccessListTx): AccessListTxProtoMsg; }; export declare const DynamicFeeTx: { typeUrl: string; aminoType: string; is(o: any): o is DynamicFeeTx; isSDK(o: any): o is DynamicFeeTxSDKType; isAmino(o: any): o is DynamicFeeTxAmino; encode(message: DynamicFeeTx, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): DynamicFeeTx; fromJSON(object: any): DynamicFeeTx; toJSON(message: DynamicFeeTx): JsonSafe; fromPartial(object: Partial): DynamicFeeTx; fromAmino(object: DynamicFeeTxAmino): DynamicFeeTx; toAmino(message: DynamicFeeTx): DynamicFeeTxAmino; fromAminoMsg(object: DynamicFeeTxAminoMsg): DynamicFeeTx; toAminoMsg(message: DynamicFeeTx): DynamicFeeTxAminoMsg; fromProtoMsg(message: DynamicFeeTxProtoMsg): DynamicFeeTx; toProto(message: DynamicFeeTx): Uint8Array; toProtoMsg(message: DynamicFeeTx): DynamicFeeTxProtoMsg; }; export declare const ExtensionOptionsEthereumTx: { typeUrl: string; aminoType: string; is(o: any): o is ExtensionOptionsEthereumTx; isSDK(o: any): o is ExtensionOptionsEthereumTxSDKType; isAmino(o: any): o is ExtensionOptionsEthereumTxAmino; encode(_: ExtensionOptionsEthereumTx, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): ExtensionOptionsEthereumTx; fromJSON(_: any): ExtensionOptionsEthereumTx; toJSON(_: ExtensionOptionsEthereumTx): JsonSafe; fromPartial(_: Partial): ExtensionOptionsEthereumTx; fromAmino(_: ExtensionOptionsEthereumTxAmino): ExtensionOptionsEthereumTx; toAmino(_: ExtensionOptionsEthereumTx): ExtensionOptionsEthereumTxAmino; fromAminoMsg(object: ExtensionOptionsEthereumTxAminoMsg): ExtensionOptionsEthereumTx; toAminoMsg(message: ExtensionOptionsEthereumTx): ExtensionOptionsEthereumTxAminoMsg; fromProtoMsg(message: ExtensionOptionsEthereumTxProtoMsg): ExtensionOptionsEthereumTx; toProto(message: ExtensionOptionsEthereumTx): Uint8Array; toProtoMsg(message: ExtensionOptionsEthereumTx): ExtensionOptionsEthereumTxProtoMsg; }; export declare const MsgEthereumTxResponse: { typeUrl: string; aminoType: string; is(o: any): o is MsgEthereumTxResponse; isSDK(o: any): o is MsgEthereumTxResponseSDKType; isAmino(o: any): o is MsgEthereumTxResponseAmino; encode(message: MsgEthereumTxResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgEthereumTxResponse; fromJSON(object: any): MsgEthereumTxResponse; toJSON(message: MsgEthereumTxResponse): JsonSafe; fromPartial(object: Partial): MsgEthereumTxResponse; fromAmino(object: MsgEthereumTxResponseAmino): MsgEthereumTxResponse; toAmino(message: MsgEthereumTxResponse): MsgEthereumTxResponseAmino; fromAminoMsg(object: MsgEthereumTxResponseAminoMsg): MsgEthereumTxResponse; toAminoMsg(message: MsgEthereumTxResponse): MsgEthereumTxResponseAminoMsg; fromProtoMsg(message: MsgEthereumTxResponseProtoMsg): MsgEthereumTxResponse; toProto(message: MsgEthereumTxResponse): Uint8Array; toProtoMsg(message: MsgEthereumTxResponse): MsgEthereumTxResponseProtoMsg; }; export declare const MsgUpdateParams: { typeUrl: string; aminoType: string; is(o: any): o is MsgUpdateParams; isSDK(o: any): o is MsgUpdateParamsSDKType; isAmino(o: any): o is MsgUpdateParamsAmino; encode(message: MsgUpdateParams, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateParams; fromJSON(object: any): MsgUpdateParams; toJSON(message: MsgUpdateParams): JsonSafe; fromPartial(object: Partial): MsgUpdateParams; fromAmino(object: MsgUpdateParamsAmino): MsgUpdateParams; toAmino(message: MsgUpdateParams): MsgUpdateParamsAmino; fromAminoMsg(object: MsgUpdateParamsAminoMsg): MsgUpdateParams; toAminoMsg(message: MsgUpdateParams): MsgUpdateParamsAminoMsg; fromProtoMsg(message: MsgUpdateParamsProtoMsg): MsgUpdateParams; toProto(message: MsgUpdateParams): Uint8Array; toProtoMsg(message: MsgUpdateParams): MsgUpdateParamsProtoMsg; }; export declare const MsgUpdateParamsResponse: { typeUrl: string; aminoType: string; is(o: any): o is MsgUpdateParamsResponse; isSDK(o: any): o is MsgUpdateParamsResponseSDKType; isAmino(o: any): o is MsgUpdateParamsResponseAmino; encode(_: MsgUpdateParamsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateParamsResponse; fromJSON(_: any): MsgUpdateParamsResponse; toJSON(_: MsgUpdateParamsResponse): JsonSafe; fromPartial(_: Partial): MsgUpdateParamsResponse; fromAmino(_: MsgUpdateParamsResponseAmino): MsgUpdateParamsResponse; toAmino(_: MsgUpdateParamsResponse): MsgUpdateParamsResponseAmino; fromAminoMsg(object: MsgUpdateParamsResponseAminoMsg): MsgUpdateParamsResponse; toAminoMsg(message: MsgUpdateParamsResponse): MsgUpdateParamsResponseAminoMsg; fromProtoMsg(message: MsgUpdateParamsResponseProtoMsg): MsgUpdateParamsResponse; toProto(message: MsgUpdateParamsResponse): Uint8Array; toProtoMsg(message: MsgUpdateParamsResponse): MsgUpdateParamsResponseProtoMsg; };