import { ERC20Token, ERC20TokenAmino } from "./attestation"; import { BinaryReader, BinaryWriter } from "../../../binary"; import { DeepPartial } from "../../../helpers"; /** * OutgoingTxBatch represents a batch of transactions going from Peggy to ETH * @name OutgoingTxBatch * @package injective.peggy.v1 * @see proto type: injective.peggy.v1.OutgoingTxBatch */ export interface OutgoingTxBatch { batchNonce: bigint; batchTimeout: bigint; transactions: OutgoingTransferTx[]; tokenContract: string; block: bigint; } export interface OutgoingTxBatchProtoMsg { typeUrl: "/injective.peggy.v1.OutgoingTxBatch"; value: Uint8Array; } /** * OutgoingTxBatch represents a batch of transactions going from Peggy to ETH * @name OutgoingTxBatchAmino * @package injective.peggy.v1 * @see proto type: injective.peggy.v1.OutgoingTxBatch */ export interface OutgoingTxBatchAmino { batch_nonce: string; batch_timeout: string; transactions: OutgoingTransferTxAmino[]; token_contract: string; block: string; } export interface OutgoingTxBatchAminoMsg { type: "/injective.peggy.v1.OutgoingTxBatch"; value: OutgoingTxBatchAmino; } /** * OutgoingTransferTx represents an individual send from Peggy to ETH * @name OutgoingTransferTx * @package injective.peggy.v1 * @see proto type: injective.peggy.v1.OutgoingTransferTx */ export interface OutgoingTransferTx { id: bigint; sender: string; destAddress: string; erc20Token?: ERC20Token; erc20Fee?: ERC20Token; } export interface OutgoingTransferTxProtoMsg { typeUrl: "/injective.peggy.v1.OutgoingTransferTx"; value: Uint8Array; } /** * OutgoingTransferTx represents an individual send from Peggy to ETH * @name OutgoingTransferTxAmino * @package injective.peggy.v1 * @see proto type: injective.peggy.v1.OutgoingTransferTx */ export interface OutgoingTransferTxAmino { id: string; sender: string; dest_address: string; erc20_token?: ERC20TokenAmino; erc20_fee?: ERC20TokenAmino; } export interface OutgoingTransferTxAminoMsg { type: "/injective.peggy.v1.OutgoingTransferTx"; value: OutgoingTransferTxAmino; } /** * OutgoingTxBatch represents a batch of transactions going from Peggy to ETH * @name OutgoingTxBatch * @package injective.peggy.v1 * @see proto type: injective.peggy.v1.OutgoingTxBatch */ export declare const OutgoingTxBatch: { typeUrl: string; is(o: any): o is OutgoingTxBatch; isAmino(o: any): o is OutgoingTxBatchAmino; encode(message: OutgoingTxBatch, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): OutgoingTxBatch; fromPartial(object: DeepPartial): OutgoingTxBatch; fromAmino(object: OutgoingTxBatchAmino): OutgoingTxBatch; toAmino(message: OutgoingTxBatch): OutgoingTxBatchAmino; fromAminoMsg(object: OutgoingTxBatchAminoMsg): OutgoingTxBatch; fromProtoMsg(message: OutgoingTxBatchProtoMsg): OutgoingTxBatch; toProto(message: OutgoingTxBatch): Uint8Array; toProtoMsg(message: OutgoingTxBatch): OutgoingTxBatchProtoMsg; registerTypeUrl(): void; }; /** * OutgoingTransferTx represents an individual send from Peggy to ETH * @name OutgoingTransferTx * @package injective.peggy.v1 * @see proto type: injective.peggy.v1.OutgoingTransferTx */ export declare const OutgoingTransferTx: { typeUrl: string; is(o: any): o is OutgoingTransferTx; isAmino(o: any): o is OutgoingTransferTxAmino; encode(message: OutgoingTransferTx, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): OutgoingTransferTx; fromPartial(object: DeepPartial): OutgoingTransferTx; fromAmino(object: OutgoingTransferTxAmino): OutgoingTransferTx; toAmino(message: OutgoingTransferTx): OutgoingTransferTxAmino; fromAminoMsg(object: OutgoingTransferTxAminoMsg): OutgoingTransferTx; fromProtoMsg(message: OutgoingTransferTxProtoMsg): OutgoingTransferTx; toProto(message: OutgoingTransferTx): Uint8Array; toProtoMsg(message: OutgoingTransferTx): OutgoingTransferTxProtoMsg; registerTypeUrl(): void; };