Skip to content

SampleWarperWithAllRentingMechanics

SampleWarperWithAllRentingMechanics

blacklistedRenters

mapping(address => bool) blacklistedRenters

constructor

constructor(address original, address metahub) public

setBlacklist

function setBlacklist(address renter, bool isBlacklisted) external

__isRentableAsset

function __isRentableAsset(address renter, uint256, uint256) external view returns (bool isRentable, string errorMessage)

__calculatePremiums

function __calculatePremiums(address, uint256 tokenId, uint256, uint32, uint256 universeFee, uint256 listerFee) external view returns (uint256 universePremium, uint256 listerPremium)

supportsInterface

function supportsInterface(bytes4 interfaceId) public view returns (bool)

_validateOriginal

function _validateOriginal(address original) internal