import”@patchwork/contracts/PatchworkPatch/IPatchworkPatch.sol”;
Inherits:
IPatchworkScoped
Functions
mintPatch
Creates a new token for the owner, representing a patchName | 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 ownershipName | Type | Description |
---|---|---|
tokenId | uint256 | ID of the token |
Name | Type | Description |
---|---|---|
<none> | address | address Address of the owner |