Documentation Index
Fetch the complete documentation index at: https://thrackle.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Git Source
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.
function checkTokenMinHoldTime(uint32 _ruleId, uint256 _ownershipTs) external view;
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
function getTokenMinHoldTime(uint32 _index) public view returns (NonTaggedRules.TokenMinHoldTime memory);
Parameters
| Name | Type | Description |
|---|
_index | uint32 | position of rule in array |
Returns
| Name | Type | Description |
|---|
<none> | NonTaggedRules.TokenMinHoldTime | Rule at index |
getTotalTokenMinHoldTime
function getTotalTokenMinHoldTime() public view returns (uint32);