import { BN, Program, web3 } from "@project-serum/anchor"; import { EuroMeta, ExpirationData } from "../types"; import { EuroPrimitive } from "../euro_primitive"; export declare const createEuroMeta: (program: Program, euroMetaKey: web3.PublicKey, expirationDataKey: web3.PublicKey, euroMeta: EuroMeta, expirationDataBump: number, oracleProviderId?: number) => web3.TransactionInstruction; /** * Simple high level function to create a new EuroMeta * * @param program * @param underlyingMint * @param underlyingDecimals * @param stableMint * @param stableDecimals * @param expiration * @param underlyingAmountPerContract * @param strikePrice * @param priceDecimals * @param oracle * @param oracleProviderId * @returns */ export declare const createEuroMetaInstruction: (program: Program, underlyingMint: web3.PublicKey, underlyingDecimals: number, stableMint: web3.PublicKey, stableDecimals: number, expiration: BN, underlyingAmountPerContract: BN, strikePrice: BN, priceDecimals: number, oracle: web3.PublicKey, oracleProviderId?: number) => Promise<{ euroMetaKey: web3.PublicKey; expirationDataKey: web3.PublicKey; euroMeta: EuroMeta; expirationData: ExpirationData; instruction: web3.TransactionInstruction; }>; /** * Instruction to create all the account necessary for a new EuroMeta. This * checks and creates the Stable Pool, Underlying Pool, and ExpirationData. * * @param program * @param underlyingMint * @param stableMint * @param oracleAddress * @param expiration * @param priceDecimals * @param oracleProviderId * @returns */ export declare const initializeAllAccountsInstructions: (program: Program, underlyingMint: web3.PublicKey, stableMint: web3.PublicKey, oracleAddress: web3.PublicKey, expiration: BN, priceDecimals: number, oracleProviderId?: number) => Promise<{ instructions: web3.TransactionInstruction[]; }>; //# sourceMappingURL=createEuroMeta.d.ts.map