UNPKG

fbonds-core

Version:

Banx protocol sdk

24 lines (23 loc) 784 B
import { web3, BN } from '@coral-xyz/anchor'; import { OraclePriceFeedType } from 'src/fbond-protocol/types'; type UpdateSplOracleMarket = (params: { connection: web3.Connection; args: { collateralDecimalsDigits: BN; priceFeedSolana: number[]; priceFeedUsdc: number[]; solanaOracleFeedType: OraclePriceFeedType; usdcOracleFeedType: OraclePriceFeedType; }; accounts: { userPubkey: web3.PublicKey; hadoMarket: web3.PublicKey; }; sendTxn: (transaction: web3.Transaction, signers: web3.Signer[]) => Promise<void>; }) => Promise<{ account: null; instructions: web3.TransactionInstruction[]; signers: web3.Signer[]; }>; export declare const updateSplOracleMarket: UpdateSplOracleMarket; export {};