@frakt-protocol/frakt-sdk
Version:
Frakt SDK for interacting with frakt.xyz protocols
23 lines (22 loc) • 1.01 kB
TypeScript
/// <reference types="bn.js" />
import anchor from '@project-serum/anchor';
import { PublicKey, Transaction } from '@solana/web3.js';
interface IParams {
programId: PublicKey;
provider: anchor.Provider;
liquidityPool: PublicKey;
admin: PublicKey;
creatorAddress: PublicKey;
collectionInfo: 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) => Promise<void>;
}
declare const updateCollectionInfo: ({ programId, provider, liquidityPool, admin, creatorAddress, pricingLookupAddress, loanToValue, collaterizationRate, royaltyAddress, collectionInfo, royaltyFeeTime, royaltyFeePrice, expirationTime, isPriceBased, sendTxn, }: IParams) => Promise<any>;
export default updateCollectionInfo;