@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).
26 lines (23 loc) • 829 B
text/typescript
import {
DEPLOYMENT_SYLVESTER_ETHEREUM_GOERLI_TESTNET_V0,
DEPLOYMENT_SYLVESTER_ETHEREUM_MAINNET_V0,
DEPLOYMENT_SYLVESTER_POLYGON_MAINNET_V0,
RenftContractType,
RenftContractVersions,
} from '../../core';
import { SDKInterface } from '../base';
import SylvesterBaseSDK from './Sylvester.base';
export default class SylvesterV0SDK<
ContractType extends RenftContractType,
ContractVersion extends RenftContractVersions[ContractType]
> extends SylvesterBaseSDK<ContractType, ContractVersion> {
protected supportedDeployments = [
DEPLOYMENT_SYLVESTER_ETHEREUM_GOERLI_TESTNET_V0,
DEPLOYMENT_SYLVESTER_ETHEREUM_MAINNET_V0,
DEPLOYMENT_SYLVESTER_POLYGON_MAINNET_V0,
];
constructor(args: SDKInterface<ContractType, ContractVersion>) {
super(args);
super.validate(this.supportedDeployments);
}
}