Include HUAHUA among mint price denoms
This commit is contained in:
+35
-6
@@ -2,6 +2,7 @@ import {
|
||||
OPEN_EDITION_FACTORY_ADDRESS,
|
||||
OPEN_EDITION_IBC_ATOM_FACTORY_ADDRESS,
|
||||
OPEN_EDITION_IBC_FRNZ_FACTORY_ADDRESS,
|
||||
OPEN_EDITION_IBC_HUAHUA_FACTORY_ADDRESS,
|
||||
OPEN_EDITION_IBC_KUJI_FACTORY_ADDRESS,
|
||||
OPEN_EDITION_IBC_NBTC_FACTORY_ADDRESS,
|
||||
OPEN_EDITION_IBC_USDC_FACTORY_ADDRESS,
|
||||
@@ -21,6 +22,8 @@ import {
|
||||
VENDING_IBC_ATOM_FACTORY_FLEX_ADDRESS,
|
||||
VENDING_IBC_ATOM_UPDATABLE_FACTORY_ADDRESS,
|
||||
VENDING_IBC_ATOM_UPDATABLE_FACTORY_FLEX_ADDRESS,
|
||||
VENDING_IBC_HUAHUA_FACTORY_ADDRESS,
|
||||
VENDING_IBC_HUAHUA_FACTORY_FLEX_ADDRESS,
|
||||
VENDING_IBC_KUJI_FACTORY_ADDRESS,
|
||||
VENDING_IBC_KUJI_FACTORY_FLEX_ADDRESS,
|
||||
VENDING_IBC_NBTC_FACTORY_ADDRESS,
|
||||
@@ -41,7 +44,7 @@ import {
|
||||
} from 'utils/constants'
|
||||
|
||||
import type { TokenInfo } from './token'
|
||||
import { ibcAtom, ibcFrnz, ibcKuji, ibcNbtc, ibcUsdc, ibcUsk, nativeStardust, stars } from './token'
|
||||
import { ibcAtom, ibcFrnz, ibcHuahua, ibcKuji, ibcNbtc, ibcUsdc, ibcUsk, nativeStardust, stars } from './token'
|
||||
|
||||
export interface MinterInfo {
|
||||
id: string
|
||||
@@ -128,6 +131,13 @@ export const openEditionIbcUskMinter: MinterInfo = {
|
||||
updatable: false,
|
||||
}
|
||||
|
||||
export const openEditionUpdatableIbcUskMinter: MinterInfo = {
|
||||
id: 'open-edition-updatable-ibc-usk-minter',
|
||||
factoryAddress: OPEN_EDITION_UPDATABLE_IBC_USK_FACTORY_ADDRESS,
|
||||
supportedToken: ibcUsk,
|
||||
updatable: true,
|
||||
}
|
||||
|
||||
export const openEditionIbcKujiMinter: MinterInfo = {
|
||||
id: 'open-edition-ibc-kuji-minter',
|
||||
factoryAddress: OPEN_EDITION_IBC_KUJI_FACTORY_ADDRESS,
|
||||
@@ -135,11 +145,11 @@ export const openEditionIbcKujiMinter: MinterInfo = {
|
||||
updatable: false,
|
||||
}
|
||||
|
||||
export const openEditionUpdatableIbcUskMinter: MinterInfo = {
|
||||
id: 'open-edition-updatable-ibc-usk-minter',
|
||||
factoryAddress: OPEN_EDITION_UPDATABLE_IBC_USK_FACTORY_ADDRESS,
|
||||
supportedToken: ibcUsk,
|
||||
updatable: true,
|
||||
export const openEditionIbcHuahuaMinter: MinterInfo = {
|
||||
id: 'open-edition-ibc-huahua-minter',
|
||||
factoryAddress: OPEN_EDITION_IBC_HUAHUA_FACTORY_ADDRESS,
|
||||
supportedToken: ibcHuahua,
|
||||
updatable: false,
|
||||
}
|
||||
|
||||
export const openEditionNativeStrdstMinter: MinterInfo = {
|
||||
@@ -163,6 +173,7 @@ export const openEditionMinterList = [
|
||||
openEditionIbcUskMinter,
|
||||
openEditionUpdatableIbcUskMinter,
|
||||
openEditionIbcKujiMinter,
|
||||
openEditionIbcHuahuaMinter,
|
||||
openEditionNativeStrdstMinter,
|
||||
]
|
||||
|
||||
@@ -254,6 +265,14 @@ export const vendingIbcKujiMinter: MinterInfo = {
|
||||
flexible: false,
|
||||
}
|
||||
|
||||
export const vendingIbcHuahuaMinter: MinterInfo = {
|
||||
id: 'vending-ibc-huahua-minter',
|
||||
factoryAddress: VENDING_IBC_HUAHUA_FACTORY_ADDRESS,
|
||||
supportedToken: ibcHuahua,
|
||||
updatable: false,
|
||||
flexible: false,
|
||||
}
|
||||
|
||||
export const vendingNativeStardustMinter: MinterInfo = {
|
||||
id: 'vending-native-stardust-minter',
|
||||
factoryAddress: VENDING_NATIVE_STARDUST_FACTORY_ADDRESS,
|
||||
@@ -282,6 +301,7 @@ export const vendingMinterList = [
|
||||
vendingIbcUskMinter,
|
||||
vendingUpdatableIbcUskMinter,
|
||||
vendingIbcKujiMinter,
|
||||
vendingIbcHuahuaMinter,
|
||||
vendingNativeStardustMinter,
|
||||
vendingUpdatableNativeStardustMinter,
|
||||
]
|
||||
@@ -374,6 +394,14 @@ export const flexibleVendingIbcKujiMinter: MinterInfo = {
|
||||
flexible: true,
|
||||
}
|
||||
|
||||
export const flexibleVendingIbcHuahuaMinter: MinterInfo = {
|
||||
id: 'flexible-vending-ibc-huahua-minter',
|
||||
factoryAddress: VENDING_IBC_HUAHUA_FACTORY_FLEX_ADDRESS,
|
||||
supportedToken: ibcHuahua,
|
||||
updatable: false,
|
||||
flexible: true,
|
||||
}
|
||||
|
||||
export const flexibleVendingStrdstMinter: MinterInfo = {
|
||||
id: 'flexible-vending-native-strdst-minter',
|
||||
factoryAddress: VENDING_NATIVE_STRDST_FLEX_FACTORY_ADDRESS,
|
||||
@@ -394,5 +422,6 @@ export const flexibleVendingMinterList = [
|
||||
flexibleVendingIbcUskMinter,
|
||||
flexibleVendingUpdatableIbcUskMinter,
|
||||
flexibleVendingIbcKujiMinter,
|
||||
flexibleVendingIbcHuahuaMinter,
|
||||
flexibleVendingStrdstMinter,
|
||||
]
|
||||
|
||||
+11
-1
@@ -69,6 +69,16 @@ export const ibcNbtc: TokenInfo = {
|
||||
decimalPlaces: 6,
|
||||
}
|
||||
|
||||
export const ibcHuahua: TokenInfo = {
|
||||
id: 'ibc-huahua',
|
||||
denom:
|
||||
NETWORK === 'mainnet'
|
||||
? 'ibc/CAD8A9F306CAAC55731C66930D6BEE539856DD12E59061C965E44D82AA26A0E7'
|
||||
: 'factory/stars153w5xhuqu3et29lgqk4dsynj6gjn96lr33wx4e/uhuahua',
|
||||
displayName: 'HUAHUA',
|
||||
decimalPlaces: 6,
|
||||
}
|
||||
|
||||
export const nativeStardust: TokenInfo = {
|
||||
id: 'native-strdst',
|
||||
denom:
|
||||
@@ -79,4 +89,4 @@ export const nativeStardust: TokenInfo = {
|
||||
decimalPlaces: 6,
|
||||
}
|
||||
|
||||
export const tokensList = [stars, ibcAtom, ibcUsdc, ibcUsk, ibcFrnz, ibcNbtc, ibcKuji, nativeStardust]
|
||||
export const tokensList = [stars, ibcAtom, ibcUsdc, ibcUsk, ibcFrnz, ibcNbtc, ibcKuji, ibcHuahua, nativeStardust]
|
||||
|
||||
Reference in New Issue
Block a user