import”@patchwork/contracts/PatchworkAssignable/IPatchworkAssignable.sol”;
Inherits:
IPatchworkAssignableDocumentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
IPatchwork721 extension for contracts supporting Patchwork assignment
IPatchworkAssignablefunction isAssignedTo(uint256 ourTokenId, address target, uint256 targetTokenId) external view returns (bool);
| Name | Type | Description |
|---|---|---|
ourTokenId | uint256 | the tokenId of the fragment |
target | address | the address of the target |
targetTokenId | uint256 | the tokenId of the target |
function unassign(uint256 ourTokenId, address target, uint256 targetTokenId) external;
| Name | Type | Description |
|---|---|---|
ourTokenId | uint256 | tokenId of our fragment |
target | address | |
targetTokenId | uint256 |
function getAssignmentCount(uint256 tokenId) external view returns (uint256);
| Name | Type | Description |
|---|---|---|
tokenId | uint256 | tokenId of our fragment |
function getAssignments(uint256 tokenId, uint256 offset, uint256 count) external view returns (Assignment[] memory);
| Name | Type | Description |
|---|---|---|
tokenId | uint256 | tokenId of our fragment |
offset | uint256 | the page offset |
count | uint256 | the maximum numer of entries to return |