import”@patchwork/contracts/PatchworkAssignable/IPatchworkAssignable.sol”;
Inherits:
IPatchworkAssignableFunctions
isAssignedTo
Checks if this fragment is assigned to a target| Name | Type | Description |
|---|---|---|
ourTokenId | uint256 | the tokenId of the fragment |
target | address | the address of the target |
targetTokenId | uint256 | the tokenId of the target |
unassign
Unassigns a token| Name | Type | Description |
|---|---|---|
ourTokenId | uint256 | tokenId of our fragment |
target | address | |
targetTokenId | uint256 |
getAssignmentCount
Counts the number of unique assignments this token has| Name | Type | Description |
|---|---|---|
tokenId | uint256 | tokenId of our fragment |
getAssignments
Gets assignments for a fragment| Name | Type | Description |
|---|---|---|
tokenId | uint256 | tokenId of our fragment |
offset | uint256 | the page offset |
count | uint256 | the maximum numer of entries to return |