Init minter list
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
import {
|
||||
OPEN_EDITION_FACTORY_ADDRESS,
|
||||
OPEN_EDITION_IBC_ATOM_FACTORY_ADDRESS,
|
||||
OPEN_EDITION_IBC_FRENZ_FACTORY_ADDRESS,
|
||||
} from 'utils/constants'
|
||||
|
||||
import type { TokenInfo } from './token'
|
||||
import { ibcAtom, ibcFrenz, stars } from './token'
|
||||
|
||||
export interface MinterInfo {
|
||||
id: string
|
||||
factoryAddress: string
|
||||
supportedToken: TokenInfo
|
||||
}
|
||||
|
||||
export const openEditionStarsMinter: MinterInfo = {
|
||||
id: 'open-edition-stars-minter',
|
||||
factoryAddress: OPEN_EDITION_FACTORY_ADDRESS,
|
||||
supportedToken: stars,
|
||||
}
|
||||
|
||||
export const openEditionIbcAtomMinter: MinterInfo = {
|
||||
id: 'open-edition-ibc-atom-minter',
|
||||
factoryAddress: OPEN_EDITION_IBC_ATOM_FACTORY_ADDRESS,
|
||||
supportedToken: ibcAtom,
|
||||
}
|
||||
|
||||
export const openEditionIbcFrenzMinter: MinterInfo = {
|
||||
id: 'open-edition-ibc-frenz-minter',
|
||||
factoryAddress: OPEN_EDITION_IBC_FRENZ_FACTORY_ADDRESS,
|
||||
supportedToken: ibcFrenz,
|
||||
}
|
||||
|
||||
export const minterList = [openEditionStarsMinter, openEditionIbcAtomMinter, openEditionIbcFrenzMinter]
|
||||
+16
-7
@@ -7,16 +7,25 @@ export interface TokenInfo {
|
||||
symbol?: string
|
||||
}
|
||||
|
||||
export const ibcAtom: TokenInfo = {
|
||||
id: 'ibc-atom',
|
||||
denom: 'ibc/',
|
||||
displayName: 'ATOM',
|
||||
decimalPlaces: 6,
|
||||
}
|
||||
|
||||
export const stars: TokenInfo = {
|
||||
id: 'stars',
|
||||
denom: 'ustars',
|
||||
displayName: 'STARS',
|
||||
decimalPlaces: 6,
|
||||
}
|
||||
|
||||
export const ibcAtom: TokenInfo = {
|
||||
id: 'ibc-atom',
|
||||
denom: 'ibc/atom',
|
||||
displayName: 'ATOM',
|
||||
decimalPlaces: 6,
|
||||
}
|
||||
|
||||
export const ibcFrenz: TokenInfo = {
|
||||
id: 'ibc-frenz',
|
||||
denom: 'ibc/frenz',
|
||||
displayName: 'FRENZ',
|
||||
decimalPlaces: 6,
|
||||
}
|
||||
|
||||
export const tokensList = [stars, ibcAtom, ibcFrenz]
|
||||
|
||||
Reference in New Issue
Block a user