import { EIP712Object } from "./eip712.js"; import { OrderSignature } from "./order.js"; import { Side } from "./side.js"; import "../../types/index.js"; import { SignatureTypeV1 } from "./signatureTypeV1.js"; //#region src/order-utils/model/orderDataV1.d.ts interface OrderV1 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; /** * Address of the order taker. The zero address is used to indicate a public order */ readonly taker: 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; /** * Timestamp after which the order is expired */ readonly expiration: string; /** * Nonce used for onchain cancellations */ readonly nonce: string; /** * Fee rate, in basis points, charged to the order maker, charged on proceeds */ readonly feeRateBps: string; /** * The side of the order, BUY or SELL */ readonly side: Side; /** * Signature type used by the Order */ readonly signatureType: SignatureTypeV1; } interface SignedOrderV1 extends OrderV1 { /** * The order signature */ readonly signature: OrderSignature; } //#endregion export { OrderV1, SignedOrderV1 }; //# sourceMappingURL=orderDataV1.d.ts.map