Functions
onObjectMint
Called by ObjectMinter after payment is collected but before finalizing the mint Ifid0 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 |
objectMinter
Returns the address of the ObjectMinter contract| Name | Type | Description |
|---|---|---|
minter | address | The ObjectMinter address |