From 424a2f725acd4f90d831ee169cc56a0c3f694251 Mon Sep 17 00:00:00 2001 From: Dan Oved Date: Fri, 18 Aug 2023 10:53:59 -0700 Subject: [PATCH] better comments --- package/preminter.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/preminter.ts b/package/preminter.ts index ba999a456..6b6f4e12c 100644 --- a/package/preminter.ts +++ b/package/preminter.ts @@ -29,8 +29,12 @@ export const preminterTypedDataDefinition = ({ const types = { CreatorAttribution: [ { name: "tokenConfig", type: "TokenCreationConfig" }, + // unique id scoped to the contract and token to create. + // ensure that a signature can be replaced, as long as the replacement + // has the same uid, and a newer version. { name: "uid", type: "uint32" }, { name: "version", type: "uint32" }, + // if this update should result in the signature being deleted. { name: "deleted", type: "bool" }, ], TokenCreationConfig: [