import { BN, Program, web3 } from "@project-serum/anchor"; import { EuroMeta, OptionType } from "../types"; import { EuroPrimitive } from "../euro_primitive"; /** * * After the option's have expired writer token holders need to settle the writer tokens to unlock * their underlying collateral. This instruction will burn writer tokens and return the colletaral * less the pay out for the option holder. * * @param program - The Tokenized Euros anchor program * @param euroMetaKey - The address for the EuroMeta data * @param euroMeta - The deserialized EuroMeta data * @param collateralDestination - The TokenAccount where the payout will be sent * @param writerSource - The TokenAccount that holds the writer tokens to settle * @param amount - The amount of writer tokens to settle * @param optionType - CALL or PUT * @returns */ export declare const settleExpiredWritersInstruction: (program: Program, euroMetaKey: web3.PublicKey, euroMeta: EuroMeta, collateralDestination: web3.PublicKey, writerSource: web3.PublicKey, amount: BN, optionType: OptionType) => Promise<{ instruction: web3.TransactionInstruction; }>; //# sourceMappingURL=settleExpiredWriters.d.ts.map