Merge pull request #369 from public-awesome/update-mint-price-denom-list
Update mint price denom list
This commit is contained in:
commit
d85e19b770
@ -11,7 +11,6 @@ import {
|
|||||||
OPEN_EDITION_IBC_ATOM_FACTORY_ADDRESS,
|
OPEN_EDITION_IBC_ATOM_FACTORY_ADDRESS,
|
||||||
OPEN_EDITION_IBC_CRBRUS_FACTORY_ADDRESS,
|
OPEN_EDITION_IBC_CRBRUS_FACTORY_ADDRESS,
|
||||||
OPEN_EDITION_IBC_FRNZ_FACTORY_ADDRESS,
|
OPEN_EDITION_IBC_FRNZ_FACTORY_ADDRESS,
|
||||||
OPEN_EDITION_IBC_HUAHUA_FACTORY_ADDRESS,
|
|
||||||
OPEN_EDITION_IBC_KUJI_FACTORY_ADDRESS,
|
OPEN_EDITION_IBC_KUJI_FACTORY_ADDRESS,
|
||||||
OPEN_EDITION_IBC_NBTC_FACTORY_ADDRESS,
|
OPEN_EDITION_IBC_NBTC_FACTORY_ADDRESS,
|
||||||
OPEN_EDITION_IBC_TIA_FACTORY_ADDRESS,
|
OPEN_EDITION_IBC_TIA_FACTORY_ADDRESS,
|
||||||
@ -37,8 +36,6 @@ import {
|
|||||||
VENDING_IBC_ATOM_UPDATABLE_FACTORY_FLEX_ADDRESS,
|
VENDING_IBC_ATOM_UPDATABLE_FACTORY_FLEX_ADDRESS,
|
||||||
VENDING_IBC_CRBRUS_FACTORY_ADDRESS,
|
VENDING_IBC_CRBRUS_FACTORY_ADDRESS,
|
||||||
VENDING_IBC_CRBRUS_FACTORY_FLEX_ADDRESS,
|
VENDING_IBC_CRBRUS_FACTORY_FLEX_ADDRESS,
|
||||||
VENDING_IBC_HUAHUA_FACTORY_ADDRESS,
|
|
||||||
VENDING_IBC_HUAHUA_FACTORY_FLEX_ADDRESS,
|
|
||||||
VENDING_IBC_KUJI_FACTORY_ADDRESS,
|
VENDING_IBC_KUJI_FACTORY_ADDRESS,
|
||||||
VENDING_IBC_KUJI_FACTORY_FLEX_ADDRESS,
|
VENDING_IBC_KUJI_FACTORY_FLEX_ADDRESS,
|
||||||
VENDING_IBC_NBTC_FACTORY_ADDRESS,
|
VENDING_IBC_NBTC_FACTORY_ADDRESS,
|
||||||
@ -71,7 +68,7 @@ import {
|
|||||||
ibcAtom,
|
ibcAtom,
|
||||||
ibcCrbrus,
|
ibcCrbrus,
|
||||||
ibcFrnz,
|
ibcFrnz,
|
||||||
ibcHuahua,
|
// ibcHuahua,
|
||||||
ibcKuji,
|
ibcKuji,
|
||||||
ibcNbtc,
|
ibcNbtc,
|
||||||
ibcTia,
|
ibcTia,
|
||||||
@ -212,13 +209,13 @@ export const openEditionIbcKujiMinter: MinterInfo = {
|
|||||||
featured: false,
|
featured: false,
|
||||||
}
|
}
|
||||||
|
|
||||||
export const openEditionIbcHuahuaMinter: MinterInfo = {
|
// export const openEditionIbcHuahuaMinter: MinterInfo = {
|
||||||
id: 'open-edition-ibc-huahua-minter',
|
// id: 'open-edition-ibc-huahua-minter',
|
||||||
factoryAddress: OPEN_EDITION_IBC_HUAHUA_FACTORY_ADDRESS,
|
// factoryAddress: OPEN_EDITION_IBC_HUAHUA_FACTORY_ADDRESS,
|
||||||
supportedToken: ibcHuahua,
|
// supportedToken: ibcHuahua,
|
||||||
updatable: false,
|
// updatable: false,
|
||||||
featured: false,
|
// featured: false,
|
||||||
}
|
// }
|
||||||
|
|
||||||
export const openEditionIbcCrbrusMinter: MinterInfo = {
|
export const openEditionIbcCrbrusMinter: MinterInfo = {
|
||||||
id: 'open-edition-ibc-crbrus-minter',
|
id: 'open-edition-ibc-crbrus-minter',
|
||||||
@ -260,7 +257,7 @@ export const openEditionMinterList = [
|
|||||||
openEditionIbcUskMinter,
|
openEditionIbcUskMinter,
|
||||||
openEditionUpdatableIbcUskMinter,
|
openEditionUpdatableIbcUskMinter,
|
||||||
openEditionIbcKujiMinter,
|
openEditionIbcKujiMinter,
|
||||||
openEditionIbcHuahuaMinter,
|
// openEditionIbcHuahuaMinter,
|
||||||
openEditionIbcCrbrusMinter,
|
openEditionIbcCrbrusMinter,
|
||||||
openEditionNativeStrdstMinter,
|
openEditionNativeStrdstMinter,
|
||||||
openEditionNativeBrnchMinter,
|
openEditionNativeBrnchMinter,
|
||||||
@ -426,15 +423,15 @@ export const vendingIbcKujiMinter: MinterInfo = {
|
|||||||
featured: false,
|
featured: false,
|
||||||
}
|
}
|
||||||
|
|
||||||
export const vendingIbcHuahuaMinter: MinterInfo = {
|
// export const vendingIbcHuahuaMinter: MinterInfo = {
|
||||||
id: 'vending-ibc-huahua-minter',
|
// id: 'vending-ibc-huahua-minter',
|
||||||
factoryAddress: VENDING_IBC_HUAHUA_FACTORY_ADDRESS,
|
// factoryAddress: VENDING_IBC_HUAHUA_FACTORY_ADDRESS,
|
||||||
supportedToken: ibcHuahua,
|
// supportedToken: ibcHuahua,
|
||||||
updatable: false,
|
// updatable: false,
|
||||||
flexible: false,
|
// flexible: false,
|
||||||
merkleTree: false,
|
// merkleTree: false,
|
||||||
featured: false,
|
// featured: false,
|
||||||
}
|
// }
|
||||||
|
|
||||||
export const vendingIbcCrbrusMinter: MinterInfo = {
|
export const vendingIbcCrbrusMinter: MinterInfo = {
|
||||||
id: 'vending-ibc-crbrus-minter',
|
id: 'vending-ibc-crbrus-minter',
|
||||||
@ -503,7 +500,7 @@ export const vendingMinterList = [
|
|||||||
vendingIbcUskMinter,
|
vendingIbcUskMinter,
|
||||||
vendingUpdatableIbcUskMinter,
|
vendingUpdatableIbcUskMinter,
|
||||||
vendingIbcKujiMinter,
|
vendingIbcKujiMinter,
|
||||||
vendingIbcHuahuaMinter,
|
// vendingIbcHuahuaMinter,
|
||||||
vendingIbcCrbrusMinter,
|
vendingIbcCrbrusMinter,
|
||||||
vendingNativeStardustMinter,
|
vendingNativeStardustMinter,
|
||||||
vendingUpdatableNativeStardustMinter,
|
vendingUpdatableNativeStardustMinter,
|
||||||
@ -671,15 +668,15 @@ export const flexibleVendingIbcKujiMinter: MinterInfo = {
|
|||||||
featured: false,
|
featured: false,
|
||||||
}
|
}
|
||||||
|
|
||||||
export const flexibleVendingIbcHuahuaMinter: MinterInfo = {
|
// export const flexibleVendingIbcHuahuaMinter: MinterInfo = {
|
||||||
id: 'flexible-vending-ibc-huahua-minter',
|
// id: 'flexible-vending-ibc-huahua-minter',
|
||||||
factoryAddress: VENDING_IBC_HUAHUA_FACTORY_FLEX_ADDRESS,
|
// factoryAddress: VENDING_IBC_HUAHUA_FACTORY_FLEX_ADDRESS,
|
||||||
supportedToken: ibcHuahua,
|
// supportedToken: ibcHuahua,
|
||||||
updatable: false,
|
// updatable: false,
|
||||||
flexible: true,
|
// flexible: true,
|
||||||
merkleTree: false,
|
// merkleTree: false,
|
||||||
featured: false,
|
// featured: false,
|
||||||
}
|
// }
|
||||||
|
|
||||||
export const flexibleVendingIbcCrbrusMinter: MinterInfo = {
|
export const flexibleVendingIbcCrbrusMinter: MinterInfo = {
|
||||||
id: 'flexible-vending-ibc-crbrus-minter',
|
id: 'flexible-vending-ibc-crbrus-minter',
|
||||||
@ -728,7 +725,7 @@ export const flexibleVendingMinterList = [
|
|||||||
flexibleVendingIbcUskMinter,
|
flexibleVendingIbcUskMinter,
|
||||||
flexibleVendingUpdatableIbcUskMinter,
|
flexibleVendingUpdatableIbcUskMinter,
|
||||||
flexibleVendingIbcKujiMinter,
|
flexibleVendingIbcKujiMinter,
|
||||||
flexibleVendingIbcHuahuaMinter,
|
// flexibleVendingIbcHuahuaMinter,
|
||||||
flexibleVendingIbcCrbrusMinter,
|
flexibleVendingIbcCrbrusMinter,
|
||||||
flexibleVendingStrdstMinter,
|
flexibleVendingStrdstMinter,
|
||||||
flexibleVendingBrnchMinter,
|
flexibleVendingBrnchMinter,
|
||||||
|
@ -69,15 +69,15 @@ export const ibcNbtc: TokenInfo = {
|
|||||||
decimalPlaces: 6,
|
decimalPlaces: 6,
|
||||||
}
|
}
|
||||||
|
|
||||||
export const ibcHuahua: TokenInfo = {
|
// export const ibcHuahua: TokenInfo = {
|
||||||
id: 'ibc-huahua',
|
// id: 'ibc-huahua',
|
||||||
denom:
|
// denom:
|
||||||
NETWORK === 'mainnet'
|
// NETWORK === 'mainnet'
|
||||||
? 'ibc/CAD8A9F306CAAC55731C66930D6BEE539856DD12E59061C965E44D82AA26A0E7'
|
// ? 'ibc/CAD8A9F306CAAC55731C66930D6BEE539856DD12E59061C965E44D82AA26A0E7'
|
||||||
: 'factory/stars153w5xhuqu3et29lgqk4dsynj6gjn96lr33wx4e/uhuahua',
|
// : 'factory/stars153w5xhuqu3et29lgqk4dsynj6gjn96lr33wx4e/uhuahua',
|
||||||
displayName: 'HUAHUA',
|
// displayName: 'HUAHUA',
|
||||||
decimalPlaces: 6,
|
// decimalPlaces: 6,
|
||||||
}
|
// }
|
||||||
|
|
||||||
export const ibcCrbrus: TokenInfo = {
|
export const ibcCrbrus: TokenInfo = {
|
||||||
id: 'ibc-crbrus',
|
id: 'ibc-crbrus',
|
||||||
@ -127,7 +127,7 @@ export const tokensList = [
|
|||||||
ibcFrnz,
|
ibcFrnz,
|
||||||
ibcNbtc,
|
ibcNbtc,
|
||||||
ibcKuji,
|
ibcKuji,
|
||||||
ibcHuahua,
|
// ibcHuahua,
|
||||||
ibcCrbrus,
|
ibcCrbrus,
|
||||||
ibcTia,
|
ibcTia,
|
||||||
nativeStardust,
|
nativeStardust,
|
||||||
|
@ -23,13 +23,12 @@ import { useEffect, useState } from 'react'
|
|||||||
import { toast } from 'react-hot-toast'
|
import { toast } from 'react-hot-toast'
|
||||||
import { FaAsterisk } from 'react-icons/fa'
|
import { FaAsterisk } from 'react-icons/fa'
|
||||||
import { useMutation } from 'react-query'
|
import { useMutation } from 'react-query'
|
||||||
import { BASE_FACTORY_ADDRESS } from 'utils/constants'
|
import { BASE_FACTORY_ADDRESS, BASE_FACTORY_SG721_CODE_ID } from 'utils/constants'
|
||||||
import { withMetadata } from 'utils/layout'
|
import { withMetadata } from 'utils/layout'
|
||||||
import { links } from 'utils/links'
|
import { links } from 'utils/links'
|
||||||
import { useWallet } from 'utils/wallet'
|
import { useWallet } from 'utils/wallet'
|
||||||
|
|
||||||
import type { CreateBaseMinterResponse } from '../../../contracts/baseFactory/contract'
|
import type { CreateBaseMinterResponse } from '../../../contracts/baseFactory/contract'
|
||||||
import { SG721_CODE_ID } from '../../../utils/constants'
|
|
||||||
import { resolveAddress } from '../../../utils/resolveAddress'
|
import { resolveAddress } from '../../../utils/resolveAddress'
|
||||||
|
|
||||||
const BaseMinterInstantiatePage: NextPage = () => {
|
const BaseMinterInstantiatePage: NextPage = () => {
|
||||||
@ -62,7 +61,7 @@ const BaseMinterInstantiatePage: NextPage = () => {
|
|||||||
title: 'Code ID',
|
title: 'Code ID',
|
||||||
subtitle: 'Code ID for the sg721 contract',
|
subtitle: 'Code ID for the sg721 contract',
|
||||||
placeholder: '1',
|
placeholder: '1',
|
||||||
defaultValue: SG721_CODE_ID,
|
defaultValue: BASE_FACTORY_SG721_CODE_ID,
|
||||||
})
|
})
|
||||||
|
|
||||||
const creatorState = useInputState({
|
const creatorState = useInputState({
|
||||||
|
Loading…
Reference in New Issue
Block a user