Merge pull request #315 from public-awesome/base-factory-update
Update sg721 code id for 1/1 collection instantiation
This commit is contained in:
commit
aba83c21a4
@ -4,6 +4,7 @@ NEXT_PUBLIC_PINATA_ENDPOINT_URL=https://api.pinata.cloud/pinning/pinFileToIPFS
|
||||
NEXT_PUBLIC_SG721_CODE_ID=2595
|
||||
NEXT_PUBLIC_SG721_UPDATABLE_CODE_ID=2596
|
||||
NEXT_PUBLIC_STRDST_SG721_CODE_ID=2595
|
||||
NEXT_PUBLIC_BASE_FACTORY_SG721_CODE_ID=2595
|
||||
NEXT_PUBLIC_OPEN_EDITION_SG721_CODE_ID=2595
|
||||
NEXT_PUBLIC_OPEN_EDITION_SG721_UPDATABLE_CODE_ID=2596
|
||||
NEXT_PUBLIC_VENDING_MINTER_CODE_ID=2600
|
||||
|
1
env.d.ts
vendored
1
env.d.ts
vendored
@ -17,6 +17,7 @@ declare namespace NodeJS {
|
||||
readonly NEXT_PUBLIC_SG721_CODE_ID: string
|
||||
readonly NEXT_PUBLIC_SG721_UPDATABLE_CODE_ID: string
|
||||
readonly NEXT_PUBLIC_STRDST_SG721_CODE_ID: string
|
||||
readonly NEXT_PUBLIC_BASE_FACTORY_SG721_CODE_ID: string
|
||||
readonly NEXT_PUBLIC_OPEN_EDITION_SG721_CODE_ID: string
|
||||
readonly NEXT_PUBLIC_OPEN_EDITION_SG721_UPDATABLE_CODE_ID: string
|
||||
readonly NEXT_PUBLIC_WHITELIST_CODE_ID: string
|
||||
|
@ -51,6 +51,7 @@ import { upload } from 'services/upload'
|
||||
import { compareFileArrays } from 'utils/compareFileArrays'
|
||||
import {
|
||||
BASE_FACTORY_ADDRESS,
|
||||
BASE_FACTORY_SG721_CODE_ID,
|
||||
BASE_FACTORY_UPDATABLE_ADDRESS,
|
||||
BLOCK_EXPLORER_URL,
|
||||
NETWORK,
|
||||
@ -646,7 +647,7 @@ const CollectionCreationPage: NextPage = () => {
|
||||
create_minter: {
|
||||
init_msg: null,
|
||||
collection_params: {
|
||||
code_id: collectionDetails?.updatable ? SG721_UPDATABLE_CODE_ID : SG721_CODE_ID,
|
||||
code_id: collectionDetails?.updatable ? SG721_UPDATABLE_CODE_ID : BASE_FACTORY_SG721_CODE_ID,
|
||||
name: collectionDetails?.name,
|
||||
symbol: collectionDetails?.symbol,
|
||||
info: {
|
||||
|
@ -1,6 +1,7 @@
|
||||
export const SG721_CODE_ID = parseInt(process.env.NEXT_PUBLIC_SG721_CODE_ID, 10)
|
||||
export const SG721_UPDATABLE_CODE_ID = parseInt(process.env.NEXT_PUBLIC_SG721_UPDATABLE_CODE_ID, 10)
|
||||
export const STRDST_SG721_CODE_ID = parseInt(process.env.NEXT_PUBLIC_STRDST_SG721_CODE_ID, 10)
|
||||
export const BASE_FACTORY_SG721_CODE_ID = parseInt(process.env.NEXT_PUBLIC_BASE_FACTORY_SG721_CODE_ID, 10)
|
||||
export const SG721_OPEN_EDITION_CODE_ID = parseInt(process.env.NEXT_PUBLIC_OPEN_EDITION_SG721_CODE_ID, 10)
|
||||
export const SG721_OPEN_EDITION_UPDATABLE_CODE_ID = parseInt(
|
||||
process.env.NEXT_PUBLIC_OPEN_EDITION_SG721_UPDATABLE_CODE_ID,
|
||||
|
Loading…
Reference in New Issue
Block a user