UNPKG

@frakt-protocol/frakt-sdk

Version:

Frakt SDK for interacting with frakt.xyz protocols

22 lines (21 loc) 997 B
/// <reference types="bn.js" /> import anchor from '@project-serum/anchor'; import { Keypair, PublicKey, Transaction } from '@solana/web3.js'; interface IParams { programId: PublicKey; provider: anchor.Provider; liquidityPool: PublicKey; admin: PublicKey; creatorAddress: PublicKey; pricingLookupAddress: PublicKey; loanToValue: number | anchor.BN; collaterizationRate: number | anchor.BN; royaltyAddress: PublicKey; royaltyFeeTime: number | anchor.BN; royaltyFeePrice: number | anchor.BN; expirationTime: number | anchor.BN; isPriceBased: boolean; sendTxn: (transaction: Transaction, signers: Keypair[]) => Promise<void>; } declare const initializeCollectionInfo: ({ programId, provider, liquidityPool, admin, creatorAddress, pricingLookupAddress, loanToValue, collaterizationRate, royaltyAddress, royaltyFeeTime, royaltyFeePrice, expirationTime, isPriceBased, sendTxn, }: IParams) => Promise<any>; export default initializeCollectionInfo;