import”@patchwork/contracts/PatchworkAccountPatch/IPatchworkAccountPatch.sol”;
Inherits: IPatchworkScoped

Functions


mintPatch

Creates a new token for the owner, representing a patch
function mintPatch(address owner, address target) external payable returns (uint256 tokenId);
Parameters
NameTypeDescription
owneraddressAddress of the owner of the token
targetaddressAddress of the original account
Returns
NameTypeDescription
tokenIduint256ID of the newly minted token