Locking Valid Token IDs
Overview
Lock Valid Token IDs Forever
const FullTimeRanges = [
{
start: '1',
end: '18446744073709551615',
},
];
const collectionPermissions = {
canDeleteCollection: [],
canArchiveCollection: [],
canUpdateStandards: [],
canUpdateCustomData: [],
canUpdateManager: [],
canUpdateCollectionMetadata: [],
canUpdateValidTokenIds: [
{
// Which token IDs does this permission apply to?
tokenIds: FullTimeRanges, // All token IDs
// What is status of this permission at any given time?
permanentlyPermittedTimes: [],
permanentlyForbiddenTimes: FullTimeRanges, // Never allowed to update
},
],
canUpdateTokenMetadata: [],
canUpdateCollectionApprovals: [],
canAddMoreAliasPaths: [],
canAddMoreCosmosCoinWrapperPaths: [],
};Lock Token IDs 1-100, Allow Future Expansion
Implementation
Important Notes
β οΈ Token ID Targeting
Related Examples
Last updated