@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).
12 lines (11 loc) • 1.19 kB
TypeScript
import { PaymentToken, RenftContractType, RenftContractVersions } from '../../core';
import { Executor, SDK, SDKInterface } from '../base';
export default class AzraelV0SDK<ContractType extends RenftContractType, ContractVersion extends RenftContractVersions[ContractType]> extends SDK<ContractType, ContractVersion> {
protected supportedDeployments: import("../../core").Deployment<RenftContractType.AZRAEL, import("../../core").AzraelVersion>[];
constructor(args: SDKInterface<ContractType, ContractVersion>);
lend(nftAddress: string[], tokenID: string[], amount: number[], maxRentDuration: number[], dailyRentPrice: number[], nftPrice: number[], paymentToken: PaymentToken[]): Promise<ReturnType<Executor>>;
rent(nftAddress: string[], tokenID: string[], lendingID: string[], rentDuration: number[]): Promise<ReturnType<Executor>>;
returnIt(nftAddress: string[], tokenID: string[], lendingID: string[]): Promise<ReturnType<Executor>>;
claimCollateral(nftAddress: string[], tokenID: string[], lendingID: string[]): Promise<ReturnType<Executor>>;
stopLending(nftAddress: string[], tokenID: string[], lendingID: string[]): Promise<ReturnType<Executor>>;
}