import { Program } from "@project-serum/anchor"; import { Market } from "@project-serum/serum"; import { PublicKey } from "@solana/web3.js"; import { EuroPrimitive } from ".."; /** * Create a TransactionInstruction for the settleFunds instruction * * @param program - Anchor Psy Tokenized Euros program * @param euroMetaKey - The address of the EuroMeta account * @param optionMintKey - The mint of the option being traded on the serum market * @param priceCurrencyKey - The address of the mint that the Serum market is quoted in * @param dexProgramId - The Serum DEX program ID * @param baseWallet - The wallet address that contains the user's base asset tokens * @param quoteWallet - The wallet address that contains the user's quote asset tokens * @param serumReferralKey - The Psy American referral address for the quote asset * @param openOrdersKey - The open orders keys */ export declare const settleFundsInstruction: (program: Program, euroMetaKey: PublicKey, optionMintKey: PublicKey, priceCurrencyKey: PublicKey, dexProgramId: PublicKey, baseWallet: PublicKey, quoteWallet: PublicKey, serumReferralKey: PublicKey, openOrdersKey: PublicKey) => Promise; /** * Create a TransactionInstruction for the settleFunds instruction * * Note: this API abstracts the complexity of the serumReferralKey away. * * @param program - Anchor Psy American Program * @param euroMetaKey - The address of the EuroMeta account * @param dexProgramId - The Serum DEX program ID * @param serumMarket - The Serum market * @param baseWallet - The wallet address that contains the user's base asset tokens * @param quoteWallet - The wallet address that contains the user's quote asset tokens * @param openOrdersKey - The open orders keys */ export declare const settleMarketFundsInstruction: (program: Program, euroMetaKey: PublicKey, dexProgramId: PublicKey, serumMarket: Market, baseWallet: PublicKey, quoteWallet: PublicKey, openOrdersKey: PublicKey) => Promise; //# sourceMappingURL=settleFunds.d.ts.map