import { EIP712Object } from "./eip712.cjs"; import { OrderSignature } from "./order.cjs"; import { Side } from "./side.cjs"; import { SignatureTypeV2 } from "./signatureTypeV2.cjs"; //#region src/order-utils/model/orderDataV2.d.ts interface OrderV2 extends EIP712Object { /** * Unique salt to ensure entropy */ readonly salt: string; /** * Maker of the order, i.e the source of funds for the order */ readonly maker: string; /** * Signer of the order */ readonly signer: string; /** * Token Id of the CTF ERC1155 asset to be bought or sold. * If BUY, this is the tokenId of the asset to be bought, i.e the makerAssetId * If SELL, this is the tokenId of the asset to be sold, i.e the takerAssetId */ readonly tokenId: string; /** * Maker amount, i.e the max amount of tokens to be sold */ readonly makerAmount: string; /** * Taker amount, i.e the minimum amount of tokens to be received */ readonly takerAmount: string; /** * The side of the order, BUY or SELL */ readonly side: Side; /** * Signature type used by the Order */ readonly signatureType: SignatureTypeV2; /** * Timestamp of the order */ readonly timestamp: string; /** * Metadata of the order */ readonly metadata: string; /** * Builder of the order */ readonly builder: string; /** * Expiration timestamp of the order (unix seconds, "0" = no expiration) */ readonly expiration: string; } interface SignedOrderV2 extends OrderV2 { /** * The order signature */ readonly signature: OrderSignature; } //#endregion export { SignedOrderV2 }; //# sourceMappingURL=orderDataV2.d.cts.map