import { BN, Program, web3 } from "@project-serum/anchor"; import { EuroMetaV2 } from "../types"; import { EuroPrimitive } from "../euro_primitive"; import { Signer } from "@solana/web3.js"; /** * High level function to close options V2 * * @param program : EuroPrimitive Program * @param euroMetaKey : The EuroMeta pubkey * @param euroMeta : The EuroMetaV2 * @param optionSource : The source of option tokens * @param writerSource : The source of writer tokens * @param collateralDestination : The destination to refund the collateral * @param amount : The amount of contracts * @param signers : [payer] **/ export declare const closeOptionsV2Rpc: (program: Program, euroMetaKey: web3.PublicKey, euroMeta: EuroMetaV2, optionSource: web3.PublicKey, writerSource: web3.PublicKey, collateralDestination: web3.PublicKey, amount: BN, signers: Signer[]) => Promise; /** * High level function to close options V2 * * @param program : EuroPrimitive Program * @param euroMetaKey : The EuroMeta pubkey * @param euroMeta : The EuroMetaV2 * @param optionSource : The source of option tokens * @param writerSource : The source of writer tokens * @param collateralDestination : The destination to refund the collateral * @param amount : The amount of contracts * @returns insturction **/ export declare const closeOptionsV2Instruction: (program: Program, euroMetaKey: web3.PublicKey, euroMeta: EuroMetaV2, optionSource: web3.PublicKey, writerSource: web3.PublicKey, collateralDestination: web3.PublicKey, amount: BN) => Promise; //# sourceMappingURL=closeOptions.d.ts.map