IPatchwork721 extension for contracts supporting Patchwork assignment
Inherits:
IPatchworkAssignable
Unassigns a token
Parameters
Name | Type | Description |
---|---|---|
ourTokenId | uint256 | ID of our token |
Returns the address and token ID that our token is assigned to
Parameters
Name | Type | Description |
---|---|---|
ourTokenId | uint256 | ID of our token |
Returns
Name | Type | Description |
---|---|---|
<none> | address | address the address this is assigned to |
<none> | uint256 | uint256 the tokenId this is assigned to |
Returns the underlying stored owner of a token ignoring current assignment
Parameters
Name | Type | Description |
---|---|---|
ourTokenId | uint256 | ID of our token |
Returns
Name | Type | Description |
---|---|---|
<none> | address | address address of the owner |
Sends events for a token when the assigned-to token has been transferred
Parameters
Name | Type | Description |
---|---|---|
from | address | Sender address |
to | address | Recipient address |
tokenId | uint256 | ID of the token |
Updates the real underlying ownership of a token in storage (if different from current)
Parameters
Name | Type | Description |
---|---|---|
tokenId | uint256 | ID of the token |