The contract duration : Fixed(EndBlock (a block number)) or Subscription(Period (a block number), MaxDuration (a block number), IsChangeable (a boolean))
The type of acceptance: automatic or manual (with or without whitelist)
A boolean to allow renter to cancel the contract once started
The fee to rent the contract: a token amount or an NFT
The fee to cancel the contract (due by the renter): No Fee (None), FixedTokens amount, FlexibleTokens (only for Fixed contract) amount or an NFT
The fee to cancel the contract (due by the rentee): No Fee (None), FixedTokens amount, FlexibleTokens (only for Fixed contract) amount or an NFT
Account that will sign the transaction.
Execution trigger that can be set either to BlockInclusion or BlockFinalization.
ContractCreatedEvent Blockchain event.
createContract
Creates a rental contract on the chain for an NFT.
Generated using TypeDoc
The NFT Id of the contract.