UNPKG

banx-token-lending-sdk

Version:

Banx Token Lending sdk

24 lines (23 loc) 892 B
import { web3 } from '@coral-xyz/anchor'; import { GetInstructionsReturnType } from '../types'; import { BondOffer } from '../../accounts/BondOffer/BondOffer'; type GetRemoveOfferIxnsRawParams = { accounts: { userPubkey: web3.PublicKey; bondOffer: web3.PublicKey; }; connection: web3.Connection; }; type GetRemoveOfferIxnsReturnType = GetInstructionsReturnType<{ bondOffer: web3.PublicKey; }>; export declare function getRemoveOfferIxnsRaw({ accounts, connection, }: GetRemoveOfferIxnsRawParams): Promise<GetRemoveOfferIxnsReturnType>; type GetRemoveOfferIxnsParams = { connection: web3.Connection; walletPublicKey: web3.PublicKey; accounts: { bondOffer: BondOffer; }; }; export declare function getRemoveOfferIxns({ connection, walletPublicKey, accounts, }: GetRemoveOfferIxnsParams): Promise<GetRemoveOfferIxnsReturnType>; export {};