git.delta.rocks / unique-network / refs/commits / f566769d0848

difftreelog

Revert "fix: reserved field 0 in collection helpers"

Daniel Shiposha2023-10-19parent: #907025f.patch.diff
in: master
This reverts commit 667f3fe0fb1cf4b03bff7a51a3438667ccde255a.

2 files changed

modifiedjs-packages/tests/eth/api/CollectionHelpers.soldiffbeforeafterboth
132type CollectionFlags is uint8;132type CollectionFlags is uint8;
133133
134library CollectionFlagsLib {134library CollectionFlagsLib {
135 /// Tokens in foreign collections can be transferred, but not burnt
135 CollectionFlags constant reservedField0 = CollectionFlags.wrap(128);136 CollectionFlags constant foreignField = CollectionFlags.wrap(128);
136 /// Supports ERC721Metadata137 /// Supports ERC721Metadata
137 CollectionFlags constant erc721metadataField = CollectionFlags.wrap(64);138 CollectionFlags constant erc721metadataField = CollectionFlags.wrap(64);
138 /// External collections can't be managed using `unique` api139 /// External collections can't be managed using `unique` api
modifiedpallets/unique/src/eth/stubs/CollectionHelpers.soldiffbeforeafterboth
199type CollectionFlags is uint8;199type CollectionFlags is uint8;
200200
201library CollectionFlagsLib {201library CollectionFlagsLib {
202 /// Tokens in foreign collections can be transferred, but not burnt
202 CollectionFlags constant reservedField0 = CollectionFlags.wrap(128);203 CollectionFlags constant foreignField = CollectionFlags.wrap(128);
203 /// Supports ERC721Metadata204 /// Supports ERC721Metadata
204 CollectionFlags constant erc721metadataField = CollectionFlags.wrap(64);205 CollectionFlags constant erc721metadataField = CollectionFlags.wrap(64);
205 /// External collections can't be managed using `unique` api206 /// External collections can't be managed using `unique` api