Patch extensions
IPatchworkAccountPatch
IPatchwork721 extension for contracts supporting Patchwork Patch standard
import”@patchwork/contracts/PatchworkAccountPatch/IPatchworkAccountPatch.sol”;
Inherits:
IPatchworkScoped
Functions
mintPatch
Creates a new token for the owner, representing a patch
Parameters
Name | Type | Description |
---|---|---|
owner | address | Address of the owner of the token |
target | address | Address of the original account |
Returns
Name | Type | Description |
---|---|---|
tokenId | uint256 | ID of the newly minted token |