Interface for interacting with Patchwork Protocol
Claim a scope, with owner set to caller.
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | Name of the scope |
Transfer ownership of a scope to a new entity.
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | Name of the scope |
newOwner | address | Address of the new owner |
Cancel a pending scope transfer
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | Name of the scope |
Accept a scope transfer
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | Name of the scope |
Get owner-elect of a scope
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | Name of the scope |
Returns
Name | Type | Description |
---|---|---|
ownerElect | address | Address of the scope’s owner-elect |
Get owner of a scope
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | Name of the scope |
Returns
Name | Type | Description |
---|---|---|
owner | address | Address of the scope owner |
Add an operator to a scope
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | Name of the scope |
op | address | Address of the operator |
Remove an operator from a scope
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | Name of the scope |
op | address | Address of the operator |
Set rules for a scope
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | Name of the scope |
allowUserPatch | bool | Boolean indicating whether user patches are allowed |
allowUserAssign | bool | Boolean indicating whether user assignments are allowed |
requireWhitelist | bool | Boolean indicating whether whitelist is required |
Add an address to a scope’s whitelist
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | Name of the scope |
addr | address | Address to be whitelisted |
Remove an address from a scope’s whitelist
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | Name of the scope |
addr | address | Address to be removed from the whitelist |
Set the mint configuration for a given address
Parameters
Name | Type | Description |
---|---|---|
addr | address | The address for which to set the mint configuration, must be IPatchworkMintable |
config | MintConfig | The mint configuration to be set |
Get the mint configuration for a given address
Parameters
Name | Type | Description |
---|---|---|
addr | address | The address for which to get the mint configuration |
Returns
Name | Type | Description |
---|---|---|
config | MintConfig | The mint configuration of the given address |
Set the patch fee for a given address
Parameters
Name | Type | Description |
---|---|---|
addr | address | The address for which to set the patch fee |
baseFee | uint256 | The patch fee to be set in wei |
Get the patch fee for a given address
Parameters
Name | Type | Description |
---|---|---|
addr | address | The address for which to get the patch fee |
Returns
Name | Type | Description |
---|---|---|
baseFee | uint256 | The patch fee of the given address in wei |
Set the assign fee for a given fragment address
Parameters
Name | Type | Description |
---|---|---|
fragmentAddress | address | The address of the fragment for which to set the fee |
baseFee | uint256 | The assign fee to be set in wei |
Get the assign fee for a given fragment address
Parameters
Name | Type | Description |
---|---|---|
fragmentAddress | address | The address of the fragment for which to get the fee |
Returns
Name | Type | Description |
---|---|---|
baseFee | uint256 | The assign fee of the given fragment address in wei |
Add a banker to a given scope
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The name of the scope |
addr | address | The address to be added as a banker |
Remove a banker from a given scope
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The name of the scope |
addr | address | The address to be removed as a banker |
Withdraw an amount from the balance of a given scope
amount
to the msg.senderParameters
Name | Type | Description |
---|---|---|
scopeName | string | The name of the scope |
amount | uint256 | The amount to be withdrawn in wei |
Get the balance of a given scope
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The name of the scope |
Returns
Name | Type | Description |
---|---|---|
balance | uint256 | The balance of the given scope in wei |
Mint a new token
Parameters
Name | Type | Description |
---|---|---|
to | address | The address to which the token will be minted |
mintable | address | The address of the IPatchworkMintable contract |
data | bytes | Additional data to be passed to the minting |
Returns
Name | Type | Description |
---|---|---|
tokenId | uint256 | The ID of the minted token |
Mint a batch of new tokens
Parameters
Name | Type | Description |
---|---|---|
to | address | The address to which the tokens will be minted |
mintable | address | The address of the IPatchworkMintable contract |
data | bytes | Additional data to be passed to the minting |
quantity | uint256 | The number of tokens to mint |
Returns
Name | Type | Description |
---|---|---|
tokenIds | uint256[] | An array of the IDs of the minted tokens |
Proposes a protocol fee configuration
commitProtocolFeeConfig
is called.Parameters
Name | Type | Description |
---|---|---|
config | FeeConfig | The protocol fee configuration to be set |
Commits the current proposed protocol fee configuration
Get the current protocol fee configuration
Returns
Name | Type | Description |
---|---|---|
config | FeeConfig | The current protocol fee configuration |
Proposes a protocol fee override for a scope
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | |
config | FeeConfigOverride | The protocol fee override configuration to be set |
Commits the current proposed protocol fee override configuration for a scope
Get the protocol fee override for a scope
Returns
Name | Type | Description |
---|---|---|
config | FeeConfigOverride | The current protocol fee override |
Add a banker to the protocol
Parameters
Name | Type | Description |
---|---|---|
addr | address | The address to be added as a protocol banker |
Remove a banker from the protocol
Parameters
Name | Type | Description |
---|---|---|
addr | address | The address to be removed as a protocol banker |
Withdraw a specified amount from the protocol balance
Parameters
Name | Type | Description |
---|---|---|
balance | uint256 | The amount to be withdrawn in wei |
Get the current balance of the protocol
Returns
Name | Type | Description |
---|---|---|
balance | uint256 | The balance of the protocol in wei |
Create a new patch
Parameters
Name | Type | Description |
---|---|---|
owner | address | The owner of the patch |
originalAddress | address | Address of the original 721 |
originalTokenId | uint256 | Token ID of the original 721 |
patchAddress | address | Address of the IPatchworkPatch to mint |
Returns
Name | Type | Description |
---|---|---|
tokenId | uint256 | Token ID of the newly created patch |
Callback for when a patch is burned
patchAddress
.Parameters
Name | Type | Description |
---|---|---|
originalAddress | address | Address of the original 721 |
originalTokenId | uint256 | Token ID of the original 721 |
patchAddress | address | Address of the IPatchworkPatch to mint |
Create a new 1155 patch
Parameters
Name | Type | Description |
---|---|---|
to | address | |
originalAddress | address | Address of the original 1155 |
originalTokenId | uint256 | Token ID of the original 1155 |
originalAccount | address | Address of the account to patch |
patchAddress | address | Address of the IPatchworkPatch to mint |
Returns
Name | Type | Description |
---|---|---|
tokenId | uint256 | Token ID of the newly created patch |
Callback for when an 1155 patch is burned
patchAddress
.Parameters
Name | Type | Description |
---|---|---|
originalAddress | address | Address of the original 1155 |
originalTokenId | uint256 | Token ID of the original 1155 |
originalAccount | address | Address of the account to patch |
patchAddress | address | Address of the IPatchworkPatch to mint |
Create a new account patch
Parameters
Name | Type | Description |
---|---|---|
owner | address | The owner of the patch |
originalAddress | address | Address of the original account |
patchAddress | address | Address of the IPatchworkPatch to mint |
Returns
Name | Type | Description |
---|---|---|
tokenId | uint256 | Token ID of the newly created patch |
Callback for when an account patch is burned
patchAddress
.Parameters
Name | Type | Description |
---|---|---|
originalAddress | address | Address of the original 1155 |
patchAddress | address | Address of the IPatchworkPatch to mint |
Assigns a relation to have an IPatchworkLiteRef form a LiteRef to a IPatchworkAssignable
Parameters
Name | Type | Description |
---|---|---|
fragment | address | The IPatchworkAssignable address to assign |
fragmentTokenId | uint256 | The IPatchworkAssignable Token ID to assign |
target | address | The IPatchworkLiteRef address to hold the reference to the fragment |
targetTokenId | uint256 | The IPatchworkLiteRef Token ID to hold the reference to the fragment |
Assigns a relation to have an IPatchworkLiteRef form a LiteRef to a IPatchworkAssignable
Parameters
Name | Type | Description |
---|---|---|
fragment | address | The IPatchworkAssignable address to assign |
fragmentTokenId | uint256 | The IPatchworkAssignable Token ID to assign |
target | address | The IPatchworkLiteRef address to hold the reference to the fragment |
targetTokenId | uint256 | The IPatchworkLiteRef Token ID to hold the reference to the fragment |
targetMetadataId | uint256 | The metadata ID on the target to store the reference in |
Assign multiple fragments to a target in batch
Parameters
Name | Type | Description |
---|---|---|
fragments | address[] | The array of addresses of the fragment IPatchworkAssignables |
tokenIds | uint256[] | The array of token IDs of the fragment IPatchworkAssignables |
target | address | The address of the target IPatchworkLiteRef |
targetTokenId | uint256 | The token ID of the target IPatchworkLiteRef |
Assign multiple fragments to a target in batch
Parameters
Name | Type | Description |
---|---|---|
fragments | address[] | The array of addresses of the fragment IPatchworkAssignables |
tokenIds | uint256[] | The array of token IDs of the fragment IPatchworkAssignables |
target | address | The address of the target IPatchworkLiteRef |
targetTokenId | uint256 | The token ID of the target IPatchworkLiteRef |
targetMetadataId | uint256 | The metadata ID on the target to store the references in |
Unassign a fragment from a target
IPatchworkSingleAssignable
.Parameters
Name | Type | Description |
---|---|---|
fragment | address | The IPatchworkSingleAssignable address of the fragment |
fragmentTokenId | uint256 | The IPatchworkSingleAssignable token ID of the fragment |
Unassign a fragment from a target
IPatchworkSingleAssignable
.Parameters
Name | Type | Description |
---|---|---|
fragment | address | The IPatchworkSingleAssignable address of the fragment |
fragmentTokenId | uint256 | The IPatchworkSingleAssignable token ID of the fragment |
targetMetadataId | uint256 | The metadata ID on the target to unassign from |
Unassigns a multi relation
IPatchworkMultiAssignable
.Parameters
Name | Type | Description |
---|---|---|
fragment | address | The IPatchworMultiAssignable address to unassign |
fragmentTokenId | uint256 | The IPatchworkMultiAssignable Token ID to unassign |
target | address | The IPatchworkLiteRef address which holds a reference to the fragment |
targetTokenId | uint256 | The IPatchworkLiteRef Token ID which holds a reference to the fragment |
Unassigns a multi relation
IPatchworkMultiAssignable
.Parameters
Name | Type | Description |
---|---|---|
fragment | address | The IPatchworMultiAssignable address to unassign |
fragmentTokenId | uint256 | The IPatchworkMultiAssignable Token ID to unassign |
target | address | The IPatchworkLiteRef address which holds a reference to the fragment |
targetTokenId | uint256 | The IPatchworkLiteRef Token ID which holds a reference to the fragment |
targetMetadataId | uint256 | The metadata ID on the target to unassign from |
Unassigns a relation (single or multi)
Parameters
Name | Type | Description |
---|---|---|
fragment | address | The IPatchworkAssignable address to unassign |
fragmentTokenId | uint256 | The IPatchworkAssignable Token ID to unassign |
target | address | The IPatchworkLiteRef address which holds a reference to the fragment |
targetTokenId | uint256 | The IPatchworkLiteRef Token ID which holds a reference to the fragment |
Unassigns a relation (single or multi)
Parameters
Name | Type | Description |
---|---|---|
fragment | address | The IPatchworkAssignable address to unassign |
fragmentTokenId | uint256 | The IPatchworkAssignable Token ID to unassign |
target | address | The IPatchworkLiteRef address which holds a reference to the fragment |
targetTokenId | uint256 | The IPatchworkLiteRef Token ID which holds a reference to the fragment |
targetMetadataId | uint256 | The metadata ID on the target to unassign from |
Apply transfer rules and actions of a specific token from one address to another
Parameters
Name | Type | Description |
---|---|---|
from | address | The address of the sender |
to | address | The address of the receiver |
tokenId | uint256 | The ID of the token to be transferred |
Update the ownership tree of a specific Patchwork 721
Parameters
Name | Type | Description |
---|---|---|
addr | address | The address of the Patchwork 721 |
tokenId | uint256 | The ID of the token whose ownership tree needs to be updated |
Propose an assigner delegate module
Parameters
Name | Type | Description |
---|---|---|
addr | address | The address of the new delegate module |
Commit the proposed assigner delegate module
timelock
.Emitted when a fragment is assigned
Parameters
Name | Type | Description |
---|---|---|
owner | address | The owner of the target and fragment |
fragmentAddress | address | The address of the fragment’s contract |
fragmentTokenId | uint256 | The tokenId of the fragment |
targetAddress | address | The address of the target’s contract |
targetTokenId | uint256 | The tokenId of the target |
scopeFee | uint256 | The fee collected to the scope |
protocolFee | uint256 | The fee collected to the protocol |
Emitted when a fragment is unassigned
Parameters
Name | Type | Description |
---|---|---|
owner | address | The owner of the fragment |
fragmentAddress | address | The address of the fragment’s contract |
fragmentTokenId | uint256 | The tokenId of the fragment |
targetAddress | address | The address of the target’s contract |
targetTokenId | uint256 | The tokenId of the target |
Emitted when a patch is minted
Parameters
Name | Type | Description |
---|---|---|
owner | address | The owner of the patch |
originalAddress | address | The address of the original 721’s contract |
originalTokenId | uint256 | The tokenId of the original 721 |
patchAddress | address | The address of the patch’s contract |
patchTokenId | uint256 | The tokenId of the patch |
scopeFee | uint256 | The fee collected to the scope |
protocolFee | uint256 | The fee collected to the protocol |
Emitted when a patch is minted
Parameters
Name | Type | Description |
---|---|---|
owner | address | The owner of the patch |
originalAddress | address | The address of the original 1155’s contract |
originalTokenId | uint256 | The tokenId of the original 1155 |
originalAccount | address | The address of the original 1155’s account |
patchAddress | address | The address of the patch’s contract |
patchTokenId | uint256 | The tokenId of the patch |
scopeFee | uint256 | The fee collected to the scope |
protocolFee | uint256 | The fee collected to the protocol |
Emitted when an account patch is minted
Parameters
Name | Type | Description |
---|---|---|
owner | address | The owner of the patch |
originalAddress | address | The address of the original account |
patchAddress | address | The address of the patch’s contract |
patchTokenId | uint256 | The tokenId of the patch |
scopeFee | uint256 | The fee collected to the scope |
protocolFee | uint256 | The fee collected to the protocol |
Emitted when a new scope is claimed
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The name of the claimed scope |
owner | address | The owner of the scope |
Emitted when a scope has elected a new owner to transfer to
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The name of the transferred scope |
from | address | The owner of the scope |
to | address | The owner-elect of the scope |
Emitted when a scope transfer is canceled
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The name of the transferred scope |
from | address | The owner of the scope |
to | address | The owner-elect of the scope |
Emitted when a scope is transferred
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The name of the transferred scope |
from | address | The address transferring the scope |
to | address | The recipient of the scope |
Emitted when a scope has an operator added
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The name of the scope |
actor | address | The address responsible for the action |
operator | address | The new operator’s address |
Emitted when a scope has an operator removed
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The name of the scope |
actor | address | The address responsible for the action |
operator | address | The operator’s address being removed |
Emitted when a scope’s rules are changed
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The name of the scope |
actor | address | The address responsible for the action |
allowUserPatch | bool | Indicates whether user patches are allowed |
allowUserAssign | bool | Indicates whether user assignments are allowed |
requireWhitelist | bool | Indicates whether a whitelist is required |
Emitted when a scope has an address added to the whitelist
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The name of the scope |
actor | address | The address responsible for the action |
addr | address | The address being added to the whitelist |
Emitted when a scope has an address removed from the whitelist
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The name of the scope |
actor | address | The address responsible for the action |
addr | address | The address being removed from the whitelist |
Emitted when a mint is configured
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The name of the scope |
actor | address | |
mintable | address | The address of the IPatchworkMintable |
config | MintConfig | The mint configuration |
Emitted when a banker is added to a scope
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The name of the scope |
actor | address | The address responsible for the action |
banker | address | The banker that was added |
Emitted when a banker is removed from a scope
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The name of the scope |
actor | address | The address responsible for the action |
banker | address | The banker that was removed |
Emitted when a withdrawl is made from a scope
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The name of the scope |
actor | address | The address responsible for the action |
amount | uint256 | The amount withdrawn |
Emitted when a banker is added to the protocol
Parameters
Name | Type | Description |
---|---|---|
actor | address | The address responsible for the action |
banker | address | The banker that was added |
Emitted when a banker is removed from the protocol
Parameters
Name | Type | Description |
---|---|---|
actor | address | The address responsible for the action |
banker | address | The banker that was removed |
Emitted when a withdrawl is made from the protocol
Parameters
Name | Type | Description |
---|---|---|
actor | address | The address responsible for the action |
amount | uint256 | The amount withdrawn |
Emitted on mint
Parameters
Name | Type | Description |
---|---|---|
actor | address | The address responsible for the action |
scopeName | string | The scope of the IPatchworkMintable |
to | address | The receipient of the mint |
mintable | address | The IPatchworkMintable minted |
data | bytes | The data used to mint |
scopeFee | uint256 | The fee collected to the scope |
protocolFee | uint256 | The fee collected to the protocol |
Emitted on batch mint
Parameters
Name | Type | Description |
---|---|---|
actor | address | The address responsible for the action |
scopeName | string | The scope of the IPatchworkMintable |
to | address | The receipient of the mint |
mintable | address | The IPatchworkMintable minted |
data | bytes | The data used to mint |
quantity | uint256 | The quantity minted |
scopeFee | uint256 | The fee collected to the scope |
protocolFee | uint256 | The fee collected to the protocol |
Emitted on protocol fee config proposed
Parameters
Name | Type | Description |
---|---|---|
config | FeeConfig | The fee configuration |
Emitted on protocol fee config committed
Parameters
Name | Type | Description |
---|---|---|
config | FeeConfig | The fee configuration |
Emitted on scope fee config override proposed
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The scope |
config | FeeConfigOverride | The fee configuration |
Emitted on scope fee config override committed
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The scope |
config | FeeConfigOverride | The fee configuration |
Emitted on patch fee change
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The scope of the patch |
addr | address | The address of the patch |
fee | uint256 | The new fee |
Emitted on assign fee change
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The scope of the assignable |
addr | address | The address of the assignable |
fee | uint256 | The new fee |
Emitted on assigner delegate propose
Parameters
Name | Type | Description |
---|---|---|
addr | address | The address of the delegate |
Emitted on assigner delegate commit
Parameters
Name | Type | Description |
---|---|---|
addr | address | The address of the delegate |
The address is not authorized to perform this action
Parameters
Name | Type | Description |
---|---|---|
addr | address | The address attempting to perform the action |
The scope with the provided name already exists
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | Name of the scope |
The scope with the provided name does not exist
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | Name of the scope |
Transfer of the scope to the provided address is not allowed
Parameters
Name | Type | Description |
---|---|---|
to | address | Address not allowed for scope transfer |
The token with the provided ID at the given address is frozen
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the token owner |
tokenId | uint256 | ID of the frozen token |
The token with the provided ID at the given address is locked
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the token owner |
tokenId | uint256 | ID of the locked token |
The address is not whitelisted for the given scope
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | Name of the scope |
addr | address | Address that isn’t whitelisted |
The address at the given address has already been patched
Parameters
Name | Type | Description |
---|---|---|
addr | address | The address that was patched |
patchAddress | address | Address of the patch applied |
The token at the given address has already been patched
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the original 721 |
tokenId | uint256 | ID of the patched token |
patchAddress | address | Address of the patch applied |
The ERC1155 path has already been patched
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the 1155 |
tokenId | uint256 | ID of the patched token |
account | address | The account patched |
patchAddress | address | Address of the patch applied |
The provided input lengths are not compatible or valid
for any multi array inputs, they must be the same length
The fragment at the given address is unregistered
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the unregistered fragment |
The fragment at the given address has been redacted
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the redacted fragment |
The fragment with the provided ID at the given address is already assigned
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the fragment |
tokenId | uint256 | ID of the assigned fragment |
The reference was not found for the given fragment and target
Parameters
Name | Type | Description |
---|---|---|
target | address | Address of the target token |
fragment | address | Address of the fragment |
tokenId | uint256 | ID of the fragment |
The fragment with the provided ID at the given address is not assigned
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the fragment |
tokenId | uint256 | ID of the fragment |
The fragment with the provided ID at the given address is not assigned to the target
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the fragment |
tokenId | uint256 | ID of the fragment |
targetAddress | address | Address of the target |
targetTokenId | uint256 | ID of the target |
The fragment at the given address is already registered
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the registered fragment |
Ran out of available IDs for allocation
The provided token ID is unsupported
Parameters
Name | Type | Description |
---|---|---|
tokenId | uint256 | The unsupported token ID |
Cannot lock the soulbound patch at the given address
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the soulbound patch |
The token with the provided ID at the given address is not frozen
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the token owner |
tokenId | uint256 | ID of the token |
The nonce for the token with the provided ID at the given address is incorrect
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the token owner |
tokenId | uint256 | ID of the token |
nonce | uint256 | The incorrect nonce |
Self assignment of the token with the provided ID at the given address is not allowed
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the token owner |
tokenId | uint256 | ID of the token |
Transfer of the token with the provided ID at the given address is not allowed
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the token owner |
tokenId | uint256 | ID of the token |
Transfer of the token with the provided ID at the given address is blocked by an assignment
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the token owner |
tokenId | uint256 | ID of the token |
A rule is blocking the mint to this owner address
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the token owner |
The token at the given address is not IPatchworkAssignable
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the non-assignable token |
A data integrity error has been detected
addr
+tokenId
is expected where addr2
+tokenId2
is present.Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the first token |
tokenId | uint256 | ID of the first token |
addr2 | address | Address of the second token |
tokenId2 | uint256 | ID of the second token |
The available balance does not satisfy the amount
The supplied fee is not the corret amount
Minting is not active for this address
The value could not be sent
The contract is not supported
The operation is not supported
No proposed fee is set
Timelock has not elapsed
Invalid fee value
No delegate proposed
Fee Configuration
Fee Configuration Override
Proposal to change a fee configuration for either protocol or scope override
Mint configuration
Proposed assigner delegate
Represents a defined scope within the system
Interface for interacting with Patchwork Protocol
Claim a scope, with owner set to caller.
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | Name of the scope |
Transfer ownership of a scope to a new entity.
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | Name of the scope |
newOwner | address | Address of the new owner |
Cancel a pending scope transfer
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | Name of the scope |
Accept a scope transfer
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | Name of the scope |
Get owner-elect of a scope
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | Name of the scope |
Returns
Name | Type | Description |
---|---|---|
ownerElect | address | Address of the scope’s owner-elect |
Get owner of a scope
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | Name of the scope |
Returns
Name | Type | Description |
---|---|---|
owner | address | Address of the scope owner |
Add an operator to a scope
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | Name of the scope |
op | address | Address of the operator |
Remove an operator from a scope
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | Name of the scope |
op | address | Address of the operator |
Set rules for a scope
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | Name of the scope |
allowUserPatch | bool | Boolean indicating whether user patches are allowed |
allowUserAssign | bool | Boolean indicating whether user assignments are allowed |
requireWhitelist | bool | Boolean indicating whether whitelist is required |
Add an address to a scope’s whitelist
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | Name of the scope |
addr | address | Address to be whitelisted |
Remove an address from a scope’s whitelist
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | Name of the scope |
addr | address | Address to be removed from the whitelist |
Set the mint configuration for a given address
Parameters
Name | Type | Description |
---|---|---|
addr | address | The address for which to set the mint configuration, must be IPatchworkMintable |
config | MintConfig | The mint configuration to be set |
Get the mint configuration for a given address
Parameters
Name | Type | Description |
---|---|---|
addr | address | The address for which to get the mint configuration |
Returns
Name | Type | Description |
---|---|---|
config | MintConfig | The mint configuration of the given address |
Set the patch fee for a given address
Parameters
Name | Type | Description |
---|---|---|
addr | address | The address for which to set the patch fee |
baseFee | uint256 | The patch fee to be set in wei |
Get the patch fee for a given address
Parameters
Name | Type | Description |
---|---|---|
addr | address | The address for which to get the patch fee |
Returns
Name | Type | Description |
---|---|---|
baseFee | uint256 | The patch fee of the given address in wei |
Set the assign fee for a given fragment address
Parameters
Name | Type | Description |
---|---|---|
fragmentAddress | address | The address of the fragment for which to set the fee |
baseFee | uint256 | The assign fee to be set in wei |
Get the assign fee for a given fragment address
Parameters
Name | Type | Description |
---|---|---|
fragmentAddress | address | The address of the fragment for which to get the fee |
Returns
Name | Type | Description |
---|---|---|
baseFee | uint256 | The assign fee of the given fragment address in wei |
Add a banker to a given scope
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The name of the scope |
addr | address | The address to be added as a banker |
Remove a banker from a given scope
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The name of the scope |
addr | address | The address to be removed as a banker |
Withdraw an amount from the balance of a given scope
amount
to the msg.senderParameters
Name | Type | Description |
---|---|---|
scopeName | string | The name of the scope |
amount | uint256 | The amount to be withdrawn in wei |
Get the balance of a given scope
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The name of the scope |
Returns
Name | Type | Description |
---|---|---|
balance | uint256 | The balance of the given scope in wei |
Mint a new token
Parameters
Name | Type | Description |
---|---|---|
to | address | The address to which the token will be minted |
mintable | address | The address of the IPatchworkMintable contract |
data | bytes | Additional data to be passed to the minting |
Returns
Name | Type | Description |
---|---|---|
tokenId | uint256 | The ID of the minted token |
Mint a batch of new tokens
Parameters
Name | Type | Description |
---|---|---|
to | address | The address to which the tokens will be minted |
mintable | address | The address of the IPatchworkMintable contract |
data | bytes | Additional data to be passed to the minting |
quantity | uint256 | The number of tokens to mint |
Returns
Name | Type | Description |
---|---|---|
tokenIds | uint256[] | An array of the IDs of the minted tokens |
Proposes a protocol fee configuration
commitProtocolFeeConfig
is called.Parameters
Name | Type | Description |
---|---|---|
config | FeeConfig | The protocol fee configuration to be set |
Commits the current proposed protocol fee configuration
Get the current protocol fee configuration
Returns
Name | Type | Description |
---|---|---|
config | FeeConfig | The current protocol fee configuration |
Proposes a protocol fee override for a scope
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | |
config | FeeConfigOverride | The protocol fee override configuration to be set |
Commits the current proposed protocol fee override configuration for a scope
Get the protocol fee override for a scope
Returns
Name | Type | Description |
---|---|---|
config | FeeConfigOverride | The current protocol fee override |
Add a banker to the protocol
Parameters
Name | Type | Description |
---|---|---|
addr | address | The address to be added as a protocol banker |
Remove a banker from the protocol
Parameters
Name | Type | Description |
---|---|---|
addr | address | The address to be removed as a protocol banker |
Withdraw a specified amount from the protocol balance
Parameters
Name | Type | Description |
---|---|---|
balance | uint256 | The amount to be withdrawn in wei |
Get the current balance of the protocol
Returns
Name | Type | Description |
---|---|---|
balance | uint256 | The balance of the protocol in wei |
Create a new patch
Parameters
Name | Type | Description |
---|---|---|
owner | address | The owner of the patch |
originalAddress | address | Address of the original 721 |
originalTokenId | uint256 | Token ID of the original 721 |
patchAddress | address | Address of the IPatchworkPatch to mint |
Returns
Name | Type | Description |
---|---|---|
tokenId | uint256 | Token ID of the newly created patch |
Callback for when a patch is burned
patchAddress
.Parameters
Name | Type | Description |
---|---|---|
originalAddress | address | Address of the original 721 |
originalTokenId | uint256 | Token ID of the original 721 |
patchAddress | address | Address of the IPatchworkPatch to mint |
Create a new 1155 patch
Parameters
Name | Type | Description |
---|---|---|
to | address | |
originalAddress | address | Address of the original 1155 |
originalTokenId | uint256 | Token ID of the original 1155 |
originalAccount | address | Address of the account to patch |
patchAddress | address | Address of the IPatchworkPatch to mint |
Returns
Name | Type | Description |
---|---|---|
tokenId | uint256 | Token ID of the newly created patch |
Callback for when an 1155 patch is burned
patchAddress
.Parameters
Name | Type | Description |
---|---|---|
originalAddress | address | Address of the original 1155 |
originalTokenId | uint256 | Token ID of the original 1155 |
originalAccount | address | Address of the account to patch |
patchAddress | address | Address of the IPatchworkPatch to mint |
Create a new account patch
Parameters
Name | Type | Description |
---|---|---|
owner | address | The owner of the patch |
originalAddress | address | Address of the original account |
patchAddress | address | Address of the IPatchworkPatch to mint |
Returns
Name | Type | Description |
---|---|---|
tokenId | uint256 | Token ID of the newly created patch |
Callback for when an account patch is burned
patchAddress
.Parameters
Name | Type | Description |
---|---|---|
originalAddress | address | Address of the original 1155 |
patchAddress | address | Address of the IPatchworkPatch to mint |
Assigns a relation to have an IPatchworkLiteRef form a LiteRef to a IPatchworkAssignable
Parameters
Name | Type | Description |
---|---|---|
fragment | address | The IPatchworkAssignable address to assign |
fragmentTokenId | uint256 | The IPatchworkAssignable Token ID to assign |
target | address | The IPatchworkLiteRef address to hold the reference to the fragment |
targetTokenId | uint256 | The IPatchworkLiteRef Token ID to hold the reference to the fragment |
Assigns a relation to have an IPatchworkLiteRef form a LiteRef to a IPatchworkAssignable
Parameters
Name | Type | Description |
---|---|---|
fragment | address | The IPatchworkAssignable address to assign |
fragmentTokenId | uint256 | The IPatchworkAssignable Token ID to assign |
target | address | The IPatchworkLiteRef address to hold the reference to the fragment |
targetTokenId | uint256 | The IPatchworkLiteRef Token ID to hold the reference to the fragment |
targetMetadataId | uint256 | The metadata ID on the target to store the reference in |
Assign multiple fragments to a target in batch
Parameters
Name | Type | Description |
---|---|---|
fragments | address[] | The array of addresses of the fragment IPatchworkAssignables |
tokenIds | uint256[] | The array of token IDs of the fragment IPatchworkAssignables |
target | address | The address of the target IPatchworkLiteRef |
targetTokenId | uint256 | The token ID of the target IPatchworkLiteRef |
Assign multiple fragments to a target in batch
Parameters
Name | Type | Description |
---|---|---|
fragments | address[] | The array of addresses of the fragment IPatchworkAssignables |
tokenIds | uint256[] | The array of token IDs of the fragment IPatchworkAssignables |
target | address | The address of the target IPatchworkLiteRef |
targetTokenId | uint256 | The token ID of the target IPatchworkLiteRef |
targetMetadataId | uint256 | The metadata ID on the target to store the references in |
Unassign a fragment from a target
IPatchworkSingleAssignable
.Parameters
Name | Type | Description |
---|---|---|
fragment | address | The IPatchworkSingleAssignable address of the fragment |
fragmentTokenId | uint256 | The IPatchworkSingleAssignable token ID of the fragment |
Unassign a fragment from a target
IPatchworkSingleAssignable
.Parameters
Name | Type | Description |
---|---|---|
fragment | address | The IPatchworkSingleAssignable address of the fragment |
fragmentTokenId | uint256 | The IPatchworkSingleAssignable token ID of the fragment |
targetMetadataId | uint256 | The metadata ID on the target to unassign from |
Unassigns a multi relation
IPatchworkMultiAssignable
.Parameters
Name | Type | Description |
---|---|---|
fragment | address | The IPatchworMultiAssignable address to unassign |
fragmentTokenId | uint256 | The IPatchworkMultiAssignable Token ID to unassign |
target | address | The IPatchworkLiteRef address which holds a reference to the fragment |
targetTokenId | uint256 | The IPatchworkLiteRef Token ID which holds a reference to the fragment |
Unassigns a multi relation
IPatchworkMultiAssignable
.Parameters
Name | Type | Description |
---|---|---|
fragment | address | The IPatchworMultiAssignable address to unassign |
fragmentTokenId | uint256 | The IPatchworkMultiAssignable Token ID to unassign |
target | address | The IPatchworkLiteRef address which holds a reference to the fragment |
targetTokenId | uint256 | The IPatchworkLiteRef Token ID which holds a reference to the fragment |
targetMetadataId | uint256 | The metadata ID on the target to unassign from |
Unassigns a relation (single or multi)
Parameters
Name | Type | Description |
---|---|---|
fragment | address | The IPatchworkAssignable address to unassign |
fragmentTokenId | uint256 | The IPatchworkAssignable Token ID to unassign |
target | address | The IPatchworkLiteRef address which holds a reference to the fragment |
targetTokenId | uint256 | The IPatchworkLiteRef Token ID which holds a reference to the fragment |
Unassigns a relation (single or multi)
Parameters
Name | Type | Description |
---|---|---|
fragment | address | The IPatchworkAssignable address to unassign |
fragmentTokenId | uint256 | The IPatchworkAssignable Token ID to unassign |
target | address | The IPatchworkLiteRef address which holds a reference to the fragment |
targetTokenId | uint256 | The IPatchworkLiteRef Token ID which holds a reference to the fragment |
targetMetadataId | uint256 | The metadata ID on the target to unassign from |
Apply transfer rules and actions of a specific token from one address to another
Parameters
Name | Type | Description |
---|---|---|
from | address | The address of the sender |
to | address | The address of the receiver |
tokenId | uint256 | The ID of the token to be transferred |
Update the ownership tree of a specific Patchwork 721
Parameters
Name | Type | Description |
---|---|---|
addr | address | The address of the Patchwork 721 |
tokenId | uint256 | The ID of the token whose ownership tree needs to be updated |
Propose an assigner delegate module
Parameters
Name | Type | Description |
---|---|---|
addr | address | The address of the new delegate module |
Commit the proposed assigner delegate module
timelock
.Emitted when a fragment is assigned
Parameters
Name | Type | Description |
---|---|---|
owner | address | The owner of the target and fragment |
fragmentAddress | address | The address of the fragment’s contract |
fragmentTokenId | uint256 | The tokenId of the fragment |
targetAddress | address | The address of the target’s contract |
targetTokenId | uint256 | The tokenId of the target |
scopeFee | uint256 | The fee collected to the scope |
protocolFee | uint256 | The fee collected to the protocol |
Emitted when a fragment is unassigned
Parameters
Name | Type | Description |
---|---|---|
owner | address | The owner of the fragment |
fragmentAddress | address | The address of the fragment’s contract |
fragmentTokenId | uint256 | The tokenId of the fragment |
targetAddress | address | The address of the target’s contract |
targetTokenId | uint256 | The tokenId of the target |
Emitted when a patch is minted
Parameters
Name | Type | Description |
---|---|---|
owner | address | The owner of the patch |
originalAddress | address | The address of the original 721’s contract |
originalTokenId | uint256 | The tokenId of the original 721 |
patchAddress | address | The address of the patch’s contract |
patchTokenId | uint256 | The tokenId of the patch |
scopeFee | uint256 | The fee collected to the scope |
protocolFee | uint256 | The fee collected to the protocol |
Emitted when a patch is minted
Parameters
Name | Type | Description |
---|---|---|
owner | address | The owner of the patch |
originalAddress | address | The address of the original 1155’s contract |
originalTokenId | uint256 | The tokenId of the original 1155 |
originalAccount | address | The address of the original 1155’s account |
patchAddress | address | The address of the patch’s contract |
patchTokenId | uint256 | The tokenId of the patch |
scopeFee | uint256 | The fee collected to the scope |
protocolFee | uint256 | The fee collected to the protocol |
Emitted when an account patch is minted
Parameters
Name | Type | Description |
---|---|---|
owner | address | The owner of the patch |
originalAddress | address | The address of the original account |
patchAddress | address | The address of the patch’s contract |
patchTokenId | uint256 | The tokenId of the patch |
scopeFee | uint256 | The fee collected to the scope |
protocolFee | uint256 | The fee collected to the protocol |
Emitted when a new scope is claimed
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The name of the claimed scope |
owner | address | The owner of the scope |
Emitted when a scope has elected a new owner to transfer to
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The name of the transferred scope |
from | address | The owner of the scope |
to | address | The owner-elect of the scope |
Emitted when a scope transfer is canceled
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The name of the transferred scope |
from | address | The owner of the scope |
to | address | The owner-elect of the scope |
Emitted when a scope is transferred
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The name of the transferred scope |
from | address | The address transferring the scope |
to | address | The recipient of the scope |
Emitted when a scope has an operator added
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The name of the scope |
actor | address | The address responsible for the action |
operator | address | The new operator’s address |
Emitted when a scope has an operator removed
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The name of the scope |
actor | address | The address responsible for the action |
operator | address | The operator’s address being removed |
Emitted when a scope’s rules are changed
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The name of the scope |
actor | address | The address responsible for the action |
allowUserPatch | bool | Indicates whether user patches are allowed |
allowUserAssign | bool | Indicates whether user assignments are allowed |
requireWhitelist | bool | Indicates whether a whitelist is required |
Emitted when a scope has an address added to the whitelist
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The name of the scope |
actor | address | The address responsible for the action |
addr | address | The address being added to the whitelist |
Emitted when a scope has an address removed from the whitelist
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The name of the scope |
actor | address | The address responsible for the action |
addr | address | The address being removed from the whitelist |
Emitted when a mint is configured
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The name of the scope |
actor | address | |
mintable | address | The address of the IPatchworkMintable |
config | MintConfig | The mint configuration |
Emitted when a banker is added to a scope
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The name of the scope |
actor | address | The address responsible for the action |
banker | address | The banker that was added |
Emitted when a banker is removed from a scope
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The name of the scope |
actor | address | The address responsible for the action |
banker | address | The banker that was removed |
Emitted when a withdrawl is made from a scope
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The name of the scope |
actor | address | The address responsible for the action |
amount | uint256 | The amount withdrawn |
Emitted when a banker is added to the protocol
Parameters
Name | Type | Description |
---|---|---|
actor | address | The address responsible for the action |
banker | address | The banker that was added |
Emitted when a banker is removed from the protocol
Parameters
Name | Type | Description |
---|---|---|
actor | address | The address responsible for the action |
banker | address | The banker that was removed |
Emitted when a withdrawl is made from the protocol
Parameters
Name | Type | Description |
---|---|---|
actor | address | The address responsible for the action |
amount | uint256 | The amount withdrawn |
Emitted on mint
Parameters
Name | Type | Description |
---|---|---|
actor | address | The address responsible for the action |
scopeName | string | The scope of the IPatchworkMintable |
to | address | The receipient of the mint |
mintable | address | The IPatchworkMintable minted |
data | bytes | The data used to mint |
scopeFee | uint256 | The fee collected to the scope |
protocolFee | uint256 | The fee collected to the protocol |
Emitted on batch mint
Parameters
Name | Type | Description |
---|---|---|
actor | address | The address responsible for the action |
scopeName | string | The scope of the IPatchworkMintable |
to | address | The receipient of the mint |
mintable | address | The IPatchworkMintable minted |
data | bytes | The data used to mint |
quantity | uint256 | The quantity minted |
scopeFee | uint256 | The fee collected to the scope |
protocolFee | uint256 | The fee collected to the protocol |
Emitted on protocol fee config proposed
Parameters
Name | Type | Description |
---|---|---|
config | FeeConfig | The fee configuration |
Emitted on protocol fee config committed
Parameters
Name | Type | Description |
---|---|---|
config | FeeConfig | The fee configuration |
Emitted on scope fee config override proposed
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The scope |
config | FeeConfigOverride | The fee configuration |
Emitted on scope fee config override committed
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The scope |
config | FeeConfigOverride | The fee configuration |
Emitted on patch fee change
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The scope of the patch |
addr | address | The address of the patch |
fee | uint256 | The new fee |
Emitted on assign fee change
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | The scope of the assignable |
addr | address | The address of the assignable |
fee | uint256 | The new fee |
Emitted on assigner delegate propose
Parameters
Name | Type | Description |
---|---|---|
addr | address | The address of the delegate |
Emitted on assigner delegate commit
Parameters
Name | Type | Description |
---|---|---|
addr | address | The address of the delegate |
The address is not authorized to perform this action
Parameters
Name | Type | Description |
---|---|---|
addr | address | The address attempting to perform the action |
The scope with the provided name already exists
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | Name of the scope |
The scope with the provided name does not exist
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | Name of the scope |
Transfer of the scope to the provided address is not allowed
Parameters
Name | Type | Description |
---|---|---|
to | address | Address not allowed for scope transfer |
The token with the provided ID at the given address is frozen
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the token owner |
tokenId | uint256 | ID of the frozen token |
The token with the provided ID at the given address is locked
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the token owner |
tokenId | uint256 | ID of the locked token |
The address is not whitelisted for the given scope
Parameters
Name | Type | Description |
---|---|---|
scopeName | string | Name of the scope |
addr | address | Address that isn’t whitelisted |
The address at the given address has already been patched
Parameters
Name | Type | Description |
---|---|---|
addr | address | The address that was patched |
patchAddress | address | Address of the patch applied |
The token at the given address has already been patched
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the original 721 |
tokenId | uint256 | ID of the patched token |
patchAddress | address | Address of the patch applied |
The ERC1155 path has already been patched
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the 1155 |
tokenId | uint256 | ID of the patched token |
account | address | The account patched |
patchAddress | address | Address of the patch applied |
The provided input lengths are not compatible or valid
for any multi array inputs, they must be the same length
The fragment at the given address is unregistered
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the unregistered fragment |
The fragment at the given address has been redacted
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the redacted fragment |
The fragment with the provided ID at the given address is already assigned
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the fragment |
tokenId | uint256 | ID of the assigned fragment |
The reference was not found for the given fragment and target
Parameters
Name | Type | Description |
---|---|---|
target | address | Address of the target token |
fragment | address | Address of the fragment |
tokenId | uint256 | ID of the fragment |
The fragment with the provided ID at the given address is not assigned
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the fragment |
tokenId | uint256 | ID of the fragment |
The fragment with the provided ID at the given address is not assigned to the target
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the fragment |
tokenId | uint256 | ID of the fragment |
targetAddress | address | Address of the target |
targetTokenId | uint256 | ID of the target |
The fragment at the given address is already registered
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the registered fragment |
Ran out of available IDs for allocation
The provided token ID is unsupported
Parameters
Name | Type | Description |
---|---|---|
tokenId | uint256 | The unsupported token ID |
Cannot lock the soulbound patch at the given address
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the soulbound patch |
The token with the provided ID at the given address is not frozen
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the token owner |
tokenId | uint256 | ID of the token |
The nonce for the token with the provided ID at the given address is incorrect
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the token owner |
tokenId | uint256 | ID of the token |
nonce | uint256 | The incorrect nonce |
Self assignment of the token with the provided ID at the given address is not allowed
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the token owner |
tokenId | uint256 | ID of the token |
Transfer of the token with the provided ID at the given address is not allowed
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the token owner |
tokenId | uint256 | ID of the token |
Transfer of the token with the provided ID at the given address is blocked by an assignment
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the token owner |
tokenId | uint256 | ID of the token |
A rule is blocking the mint to this owner address
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the token owner |
The token at the given address is not IPatchworkAssignable
Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the non-assignable token |
A data integrity error has been detected
addr
+tokenId
is expected where addr2
+tokenId2
is present.Parameters
Name | Type | Description |
---|---|---|
addr | address | Address of the first token |
tokenId | uint256 | ID of the first token |
addr2 | address | Address of the second token |
tokenId2 | uint256 | ID of the second token |
The available balance does not satisfy the amount
The supplied fee is not the corret amount
Minting is not active for this address
The value could not be sent
The contract is not supported
The operation is not supported
No proposed fee is set
Timelock has not elapsed
Invalid fee value
No delegate proposed
Fee Configuration
Fee Configuration Override
Proposal to change a fee configuration for either protocol or scope override
Mint configuration
Proposed assigner delegate
Represents a defined scope within the system