UNPKG

@renft/sdk

Version:

**ReNFT** is a multi-chain highly gas-optimised NFT rental protocol and platform that can be whitelabel integrated into any project to enable collateral-free in-house renting, lending, and reward share (scholarship automation).

9 lines (8 loc) 849 B
import { NFTStandard, PaymentToken, RenftContractType, RenftContractVersions } from '../../core'; import { Executor, SDKInterface } from '../base'; import SylvesterBaseSDK from './Sylvester.base'; export default class SylvesterV1SDK<ContractType extends RenftContractType, ContractVersion extends RenftContractVersions[ContractType]> extends SylvesterBaseSDK<ContractType, ContractVersion> { protected supportedDeployments: import("../../core").Deployment<RenftContractType.SYLVESTER, import("../../core").SylvesterVersion.V1>[]; constructor(args: SDKInterface<ContractType, ContractVersion>); lend(nftStandard: NFTStandard[], nftAddress: string[], tokenID: string[], amount: number[], maxRentDuration: number[], dailyRentPrice: number[], paymentToken: PaymentToken[], willAutoRenew: boolean[]): Promise<ReturnType<Executor>>; }