Update VM instantiation logic
This commit is contained in:
parent
fddf9e28cf
commit
af3e0f2186
@ -60,6 +60,7 @@ import {
|
||||
SG721_CODE_ID,
|
||||
SG721_UPDATABLE_CODE_ID,
|
||||
STARGAZE_URL,
|
||||
STRDST_SG721_CODE_ID,
|
||||
SYNC_COLLECTIONS_API_URL,
|
||||
VENDING_FACTORY_ADDRESS,
|
||||
VENDING_FACTORY_FLEX_ADDRESS,
|
||||
@ -568,7 +569,11 @@ const CollectionCreationPage: NextPage = () => {
|
||||
whitelist,
|
||||
},
|
||||
collection_params: {
|
||||
code_id: collectionDetails?.updatable ? SG721_UPDATABLE_CODE_ID : SG721_CODE_ID,
|
||||
code_id: collectionDetails?.updatable
|
||||
? SG721_UPDATABLE_CODE_ID
|
||||
: mintingDetails?.selectedMintToken?.displayName === 'STRDST'
|
||||
? STRDST_SG721_CODE_ID
|
||||
: SG721_CODE_ID,
|
||||
name: collectionDetails?.name,
|
||||
symbol: collectionDetails?.symbol,
|
||||
info: {
|
||||
|
Loading…
Reference in New Issue
Block a user