id0
is 0, the contract must assign and return a new object ID.
If id0
is non-zero, the contract must validate and return the same ID.
Name | Type | Description |
---|---|---|
operator | address | Address that initiated the mint (typically msg.sender) |
to | address | Recipient of the newly minted object |
id0 | uint64 | Requested object ID (0 = assign automatically) |
context | uint256 | Packed 256-bit context data (see MintingContext) |
data | bytes | Optional arbitrary payload passed for custom logic |
Name | Type | Description |
---|---|---|
selector | bytes4 | Must return onObjectMint.selector to confirm success |
id | uint64 | Finalized object ID to be minted |
Name | Type | Description |
---|---|---|
minter | address | The ObjectMinter address |