Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.patchwork.dev/llms.txt

Use this file to discover all available pages before exploring further.

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