import”@patchwork/contracts/PatchworkSingleAssignable/IPatchworkSingleAssignable.sol”;
Inherits:
IPatchworkAssignableFunctions
unassign
Unassigns a token| Name | Type | Description |
|---|---|---|
ourTokenId | uint256 | ID of our token |
getAssignedTo
Returns the address and token ID that our token is assigned to| Name | Type | Description |
|---|---|---|
ourTokenId | uint256 | ID of our token |
| Name | Type | Description |
|---|---|---|
<none> | address | address the address this is assigned to |
<none> | uint256 | uint256 the tokenId this is assigned to |
unassignedOwnerOf
Returns the underlying stored owner of a token ignoring current assignment| Name | Type | Description |
|---|---|---|
ourTokenId | uint256 | ID of our token |
| Name | Type | Description |
|---|---|---|
<none> | address | address address of the owner |
onAssignedTransfer
Sends events for a token when the assigned-to token has been transferred| Name | Type | Description |
|---|---|---|
from | address | Sender address |
to | address | Recipient address |
tokenId | uint256 | ID of the token |
updateOwnership
Updates the real underlying ownership of a token in storage (if different from current)| Name | Type | Description |
|---|---|---|
tokenId | uint256 | ID of the token |