Type alias DirectSellBuilderContext

DirectSellBuilderContext: {
    listing: Readonly<{
        model: "listing";
        lazy: false;
        auctionHouse: AuctionHouse;
        asset: SftWithToken | NftWithToken;
        tradeStateAddress: Pda;
        sellerAddress: PublicKey;
        bookkeeperAddress: Option<PublicKey>;
        receiptAddress: Option<Pda>;
        purchaseReceiptAddress: Option<PublicKey>;
        price: SolAmount | SplTokenAmount;
        tokens: SplTokenAmount;
        createdAt: DateTime;
        canceledAt: Option<DateTime>;
    }>;
    purchase: Readonly<{
        model: "purchase";
        lazy: false;
        auctionHouse: AuctionHouse;
        asset: SftWithToken | NftWithToken;
        buyerAddress: PublicKey;
        sellerAddress: PublicKey;
        bookkeeperAddress: Option<PublicKey>;
        receiptAddress: Option<PublicKey>;
        price: SolAmount | SplTokenAmount;
        tokens: SplTokenAmount;
        createdAt: DateTime;
    }>;
}

Type declaration

Generated using TypeDoc