Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

MintContext

Git Source

Struct representing packed minting context

Layout (MSB → LSB): [uint64 _reserved | uint64 idStart | uint64 idEnd | uint32 policy | uint32 tag]

struct MintContext {
uint64 _reserved; // bits 192–255 (reserved for future use)
uint64 idStart; // bits 128–191 (inclusive object ID start)
uint64 idEnd; // bits  64–127 (exclusive object ID end)
uint32 policy; // bits  32–63  (policy index)
uint32 tag; // bits   0–31  (user-defined tag for callback)
}