Use the latest sg721 code id with the USK factory

This commit is contained in:
Serkan Reis 2023-10-18 22:50:44 +03:00
parent 9c31d30a0c
commit a9efc0cbfa

View File

@ -576,7 +576,8 @@ const CollectionCreationPage: NextPage = () => {
collection_params: {
code_id: collectionDetails?.updatable
? SG721_UPDATABLE_CODE_ID
: mintingDetails?.selectedMintToken?.displayName === 'STRDST'
: mintingDetails?.selectedMintToken?.displayName === 'STRDST' ||
mintingDetails?.selectedMintToken?.displayName === 'USK'
? STRDST_SG721_CODE_ID
: SG721_CODE_ID,
name: collectionDetails?.name,