ERC721RuleProcessorFacet.sol
ERC721RuleProcessorFacet
Inherits: IERC721Errors, IRuleProcessorErrors, IMaxTagLimitError
Author: @ShaneDuncan602 @oscarsernarosero @TJ-Everett
Implements NFT Rule checks
Facet in charge of the logic to check non-fungible token rules compliance
Functions
checkTokenMinHoldTime
This function receives data needed to check token min hold time rule. This a simple rule and thus is not stored in the rule storage diamond.
Parameters
Name | Type | Description |
---|---|---|
_ruleId | uint32 | ruleId of the rule to check |
_ownershipTs | uint256 | beginning of hold period |
getTokenMinHoldTime
Function to get Token Min Tx Size rules by index
Parameters
Name | Type | Description |
---|---|---|
_index | uint32 | position of rule in array |
Returns
Name | Type | Description |
---|---|---|
<none> | NonTaggedRules.TokenMinHoldTime | Rule at index |