IRuleset
This is the place you setup permission and royalty for your creation. Ruleset is linked to Copyright.
View Methods
isUpgradable
function isUpgradable() external view returns (bool ok)
Returns true if the ruleset can be upgradable.
canTransfer
function canTransfer(address actor, uint256 tokenId) external view returns (uint256 allowance)
Returns the amount of artwork that can be transfered by the actor.
canCopy
function canCopy(address actor, uint256 tokenId) external view returns (uint256 allowance)
Returns the amount of artwork that can be reproducied by the actor.
canBurn
function canBurn(address actor, uint256 tokenId) external view returns (uint256 allowance)
Returns the amount of artwork that can be burn by the actor.
canApply
function canApply( address actor, uint256 tokenId, IRuleset ruleset ) external view returns (uint256 allownace)
Returns the amount of artwork that can be applied by the actor.
getSaleRoyalty
function getSaleRoyalty(uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount)
Returns the receiver and the royaltyAmount depended on the salePrice.
getCopyRoyalty
function getCopyRoyalty(uint256 amount) external view returns ( address receiver, IERC20 token, uint256 royaltyAmount )
Returns the receiver, the token, the royaltyAmount of royalty information when the artwork is copy amount times.
getBurnRoyalty
function getBurnRoyalty(uint256 amount) external view returns ( address receiver, IERC20 token, uint256 royaltyAmount )
Returns the receiver, the token, the royaltyAmount of royalty information when the artwork is burn amount times.
getUtilizeRoyalty
function getUtilizeRoyalty(uint256 amount) external view returns ( address receiver, IERC20 token, uint256 royaltyAmount )
Returns the receiver, the token, the royaltyAmount of royalty information when the artwork is utilized amount times.
Last updated