Update IBC denoms
This commit is contained in:
parent
fe1cfe884c
commit
6d0b21ec59
@ -1,11 +1,11 @@
|
||||
import {
|
||||
OPEN_EDITION_FACTORY_ADDRESS,
|
||||
OPEN_EDITION_IBC_ATOM_FACTORY_ADDRESS,
|
||||
OPEN_EDITION_IBC_FRENZ_FACTORY_ADDRESS,
|
||||
OPEN_EDITION_IBC_FRNZ_FACTORY_ADDRESS,
|
||||
OPEN_EDITION_IBC_USDC_FACTORY_ADDRESS,
|
||||
OPEN_EDITION_UPDATABLE_FACTORY_ADDRESS,
|
||||
OPEN_EDITION_UPDATABLE_IBC_ATOM_FACTORY_ADDRESS,
|
||||
OPEN_EDITION_UPDATABLE_IBC_FRENZ_FACTORY_ADDRESS,
|
||||
OPEN_EDITION_UPDATABLE_IBC_FRNZ_FACTORY_ADDRESS,
|
||||
OPEN_EDITION_UPDATABLE_IBC_USDC_FACTORY_ADDRESS,
|
||||
VENDING_FACTORY_ADDRESS,
|
||||
VENDING_FACTORY_FLEX_ADDRESS,
|
||||
@ -22,7 +22,7 @@ import {
|
||||
} from 'utils/constants'
|
||||
|
||||
import type { TokenInfo } from './token'
|
||||
import { ibcAtom, ibcFrenz, ibcUsdc, stars } from './token'
|
||||
import { ibcAtom, ibcFrnz, ibcUsdc, stars } from './token'
|
||||
|
||||
export interface MinterInfo {
|
||||
id: string
|
||||
@ -74,17 +74,17 @@ export const openEditionUpdatableIbcUsdcMinter: MinterInfo = {
|
||||
updatable: true,
|
||||
}
|
||||
|
||||
export const openEditionIbcFrenzMinter: MinterInfo = {
|
||||
id: 'open-edition-ibc-frenz-minter',
|
||||
factoryAddress: OPEN_EDITION_IBC_FRENZ_FACTORY_ADDRESS,
|
||||
supportedToken: ibcFrenz,
|
||||
export const openEditionIbcFrnzMinter: MinterInfo = {
|
||||
id: 'open-edition-ibc-frnz-minter',
|
||||
factoryAddress: OPEN_EDITION_IBC_FRNZ_FACTORY_ADDRESS,
|
||||
supportedToken: ibcFrnz,
|
||||
updatable: false,
|
||||
}
|
||||
|
||||
export const openEditionUpdatableIbcFrenzMinter: MinterInfo = {
|
||||
id: 'open-edition-updatable-ibc-frenz-minter',
|
||||
factoryAddress: OPEN_EDITION_UPDATABLE_IBC_FRENZ_FACTORY_ADDRESS,
|
||||
supportedToken: ibcFrenz,
|
||||
export const openEditionUpdatableIbcFrnzMinter: MinterInfo = {
|
||||
id: 'open-edition-updatable-ibc-frnz-minter',
|
||||
factoryAddress: OPEN_EDITION_UPDATABLE_IBC_FRNZ_FACTORY_ADDRESS,
|
||||
supportedToken: ibcFrnz,
|
||||
updatable: true,
|
||||
}
|
||||
|
||||
@ -93,8 +93,8 @@ export const openEditionMinterList = [
|
||||
openEditionUpdatableStarsMinter,
|
||||
openEditionUpdatableIbcAtomMinter,
|
||||
openEditionIbcAtomMinter,
|
||||
openEditionIbcFrenzMinter,
|
||||
openEditionUpdatableIbcFrenzMinter,
|
||||
openEditionIbcFrnzMinter,
|
||||
openEditionUpdatableIbcFrnzMinter,
|
||||
openEditionIbcUsdcMinter,
|
||||
openEditionUpdatableIbcUsdcMinter,
|
||||
]
|
||||
|
@ -16,23 +16,23 @@ export const stars: TokenInfo = {
|
||||
|
||||
export const ibcAtom: TokenInfo = {
|
||||
id: 'ibc-atom',
|
||||
denom: 'ibc/atom',
|
||||
denom: 'ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2',
|
||||
displayName: 'ATOM',
|
||||
decimalPlaces: 6,
|
||||
}
|
||||
|
||||
export const ibcUsdc: TokenInfo = {
|
||||
id: 'ibc-usdc',
|
||||
denom: 'ibc/usdc',
|
||||
denom: 'ibc/D189335C6E4A68B513C10AB227BF1C1D38C746766278BA3EEB4FB14124F1D858',
|
||||
displayName: 'USDC',
|
||||
decimalPlaces: 6,
|
||||
}
|
||||
|
||||
export const ibcFrenz: TokenInfo = {
|
||||
id: 'ibc-frenz',
|
||||
denom: 'ibc/frenz',
|
||||
displayName: 'FRENZ',
|
||||
export const ibcFrnz: TokenInfo = {
|
||||
id: 'ibc-frnz',
|
||||
denom: 'ibc/7FA7EC64490E3BDE5A1A28CBE73CC0AD22522794957BC891C46321E3A6074DB9',
|
||||
displayName: 'FRNZ',
|
||||
decimalPlaces: 6,
|
||||
}
|
||||
|
||||
export const tokensList = [stars, ibcAtom, ibcUsdc, ibcFrenz]
|
||||
export const tokensList = [stars, ibcAtom, ibcUsdc, ibcFrnz]
|
||||
|
4
env.d.ts
vendored
4
env.d.ts
vendored
@ -40,8 +40,8 @@ declare namespace NodeJS {
|
||||
readonly NEXT_PUBLIC_OPEN_EDITION_UPDATABLE_IBC_ATOM_FACTORY_ADDRESS: string
|
||||
readonly NEXT_PUBLIC_OPEN_EDITION_IBC_USDC_FACTORY_ADDRESS: string
|
||||
readonly NEXT_PUBLIC_OPEN_EDITION_UPDATABLE_IBC_USDC_FACTORY_ADDRESS: string
|
||||
readonly NEXT_PUBLIC_OPEN_EDITION_IBC_FRENZ_FACTORY_ADDRESS: string
|
||||
readonly NEXT_PUBLIC_OPEN_EDITION_UPDATABLE_IBC_FRENZ_FACTORY_ADDRESS: string
|
||||
readonly NEXT_PUBLIC_OPEN_EDITION_IBC_FRNZ_FACTORY_ADDRESS: string
|
||||
readonly NEXT_PUBLIC_OPEN_EDITION_UPDATABLE_IBC_FRNZ_FACTORY_ADDRESS: string
|
||||
readonly NEXT_PUBLIC_OPEN_EDITION_MINTER_CODE_ID: string
|
||||
readonly NEXT_PUBLIC_BASE_FACTORY_ADDRESS: string
|
||||
readonly NEXT_PUBLIC_BASE_FACTORY_UPDATABLE_ADDRESS: string
|
||||
|
@ -35,9 +35,9 @@ export const OPEN_EDITION_UPDATABLE_IBC_ATOM_FACTORY_ADDRESS =
|
||||
export const OPEN_EDITION_IBC_USDC_FACTORY_ADDRESS = process.env.NEXT_PUBLIC_OPEN_EDITION_IBC_USDC_FACTORY_ADDRESS
|
||||
export const OPEN_EDITION_UPDATABLE_IBC_USDC_FACTORY_ADDRESS =
|
||||
process.env.NEXT_PUBLIC_OPEN_EDITION_UPDATABLE_IBC_USDC_FACTORY_ADDRESS
|
||||
export const OPEN_EDITION_IBC_FRENZ_FACTORY_ADDRESS = process.env.NEXT_PUBLIC_OPEN_EDITION_IBC_FRENZ_FACTORY_ADDRESS
|
||||
export const OPEN_EDITION_UPDATABLE_IBC_FRENZ_FACTORY_ADDRESS =
|
||||
process.env.NEXT_PUBLIC_OPEN_EDITION_UPDATABLE_IBC_FRENZ_FACTORY_ADDRESS
|
||||
export const OPEN_EDITION_IBC_FRNZ_FACTORY_ADDRESS = process.env.NEXT_PUBLIC_OPEN_EDITION_IBC_FRNZ_FACTORY_ADDRESS
|
||||
export const OPEN_EDITION_UPDATABLE_IBC_FRNZ_FACTORY_ADDRESS =
|
||||
process.env.NEXT_PUBLIC_OPEN_EDITION_UPDATABLE_IBC_FRNZ_FACTORY_ADDRESS
|
||||
export const OPEN_EDITION_MINTER_CODE_ID = parseInt(process.env.NEXT_PUBLIC_OPEN_EDITION_MINTER_CODE_ID, 10)
|
||||
export const SG721_NAME_ADDRESS = process.env.NEXT_PUBLIC_SG721_NAME_ADDRESS
|
||||
export const BASE_MINTER_CODE_ID = parseInt(process.env.NEXT_PUBLIC_VENDING_MINTER_CODE_ID, 10)
|
||||
|
Loading…
Reference in New Issue
Block a user