IPatchwork721 extension for contracts supporting Patchwork assignment
Inherits:
IPatchworkScoped
Assigns a token to another
Parameters
Name | Type | Description |
---|---|---|
ourTokenId | uint256 | ID of our token |
to | address | Address to assign to |
tokenId | uint256 | ID of the token to assign |
Checks permissions for assignment
Parameters
Name | Type | Description |
---|---|---|
ourTokenId | uint256 | the tokenID to assign |
target | address | the address of the target |
targetTokenId | uint256 | the tokenID of the target |
targetOwner | address | the ownerOf of the target |
by | address | the account invoking the assignment to Patchwork Protocol |
scopeName | string | the scope name of the contract to assign to |
Represents an assignment of a token from an external NFT contract to a token in this contract.