Defining and Locking Circulating Supply
Overview
Lock Supply Forever (Fixed Cap)
const FullTimeRanges = [
{
start: '1',
end: '18446744073709551615',
},
];
const collectionPermissions = {
// ... other permissions
canUpdateCollectionApprovals: [
{
fromListId: 'Mint', // Target all mint approvals
toListId: 'All',
initiatedByListId: 'All',
transferTimes: FullTimeRanges,
tokenIds: FullTimeRanges,
ownershipTimes: FullTimeRanges,
approvalId: 'All',
permanentlyPermittedTimes: [],
permanentlyForbiddenTimes: FullTimeRanges, // Cannot update mint approvals
},
],
};Controlled Supply (Managed Growth)
Dynamic Supply (Fully Flexible)
Lock Specific Token IDs
Related Examples
Last updated