import”@patchwork/contracts/PatchworkPatch/IPatchworkPatch.sol”;
Inherits:
IPatchworkScopedFunctions
mintPatch
Creates a new token for the owner, representing a patch| Name | Type | Description |
|---|---|---|
owner | address | Address of the owner of the token |
target | PatchTarget | path to target of patch |
| Name | Type | Description |
|---|---|---|
tokenId | uint256 | ID of the newly minted 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 |
ownerOfPatch
Returns the underlying stored owner of a token ignoring real patched NFT ownership| Name | Type | Description |
|---|---|---|
tokenId | uint256 | ID of the token |
| Name | Type | Description |
|---|---|---|
<none> | address | address Address of the owner |