2023-07-27 14:26:51 +00:00
|
|
|
import {
|
|
|
|
OPEN_EDITION_FACTORY_ADDRESS,
|
|
|
|
OPEN_EDITION_IBC_ATOM_FACTORY_ADDRESS,
|
|
|
|
OPEN_EDITION_IBC_FRENZ_FACTORY_ADDRESS,
|
2023-07-30 18:11:37 +00:00
|
|
|
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_USDC_FACTORY_ADDRESS,
|
2023-07-27 14:26:51 +00:00
|
|
|
} from 'utils/constants'
|
|
|
|
|
|
|
|
import type { TokenInfo } from './token'
|
2023-07-30 18:11:37 +00:00
|
|
|
import { ibcAtom, ibcFrenz, ibcUsdc, stars } from './token'
|
2023-07-27 14:26:51 +00:00
|
|
|
|
|
|
|
export interface MinterInfo {
|
|
|
|
id: string
|
|
|
|
factoryAddress: string
|
|
|
|
supportedToken: TokenInfo
|
2023-07-30 18:11:37 +00:00
|
|
|
updatable?: boolean
|
2023-07-27 14:26:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export const openEditionStarsMinter: MinterInfo = {
|
|
|
|
id: 'open-edition-stars-minter',
|
|
|
|
factoryAddress: OPEN_EDITION_FACTORY_ADDRESS,
|
|
|
|
supportedToken: stars,
|
2023-07-30 18:11:37 +00:00
|
|
|
updatable: false,
|
|
|
|
}
|
|
|
|
|
|
|
|
export const openEditionUpdatableStarsMinter: MinterInfo = {
|
2023-07-31 09:25:57 +00:00
|
|
|
id: 'open-edition-updatable-stars-minter',
|
2023-07-30 18:11:37 +00:00
|
|
|
factoryAddress: OPEN_EDITION_UPDATABLE_FACTORY_ADDRESS,
|
|
|
|
supportedToken: stars,
|
|
|
|
updatable: true,
|
2023-07-27 14:26:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export const openEditionIbcAtomMinter: MinterInfo = {
|
|
|
|
id: 'open-edition-ibc-atom-minter',
|
|
|
|
factoryAddress: OPEN_EDITION_IBC_ATOM_FACTORY_ADDRESS,
|
|
|
|
supportedToken: ibcAtom,
|
2023-07-30 18:11:37 +00:00
|
|
|
updatable: false,
|
|
|
|
}
|
|
|
|
|
|
|
|
export const openEditionUpdatableIbcAtomMinter: MinterInfo = {
|
2023-07-31 09:25:57 +00:00
|
|
|
id: 'open-edition-updatable-ibc-atom-minter',
|
2023-07-30 18:11:37 +00:00
|
|
|
factoryAddress: OPEN_EDITION_UPDATABLE_IBC_ATOM_FACTORY_ADDRESS,
|
|
|
|
supportedToken: ibcAtom,
|
|
|
|
updatable: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
export const openEditionIbcUsdcMinter: MinterInfo = {
|
|
|
|
id: 'open-edition-ibc-usdc-minter',
|
|
|
|
factoryAddress: OPEN_EDITION_IBC_USDC_FACTORY_ADDRESS,
|
|
|
|
supportedToken: ibcUsdc,
|
|
|
|
updatable: false,
|
|
|
|
}
|
|
|
|
|
|
|
|
export const openEditionUpdatableIbcUsdcMinter: MinterInfo = {
|
2023-07-31 09:25:57 +00:00
|
|
|
id: 'open-edition-updatable-ibc-usdc-minter',
|
2023-07-30 18:11:37 +00:00
|
|
|
factoryAddress: OPEN_EDITION_UPDATABLE_IBC_USDC_FACTORY_ADDRESS,
|
|
|
|
supportedToken: ibcUsdc,
|
|
|
|
updatable: false,
|
2023-07-27 14:26:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export const openEditionIbcFrenzMinter: MinterInfo = {
|
|
|
|
id: 'open-edition-ibc-frenz-minter',
|
|
|
|
factoryAddress: OPEN_EDITION_IBC_FRENZ_FACTORY_ADDRESS,
|
|
|
|
supportedToken: ibcFrenz,
|
2023-07-30 18:11:37 +00:00
|
|
|
updatable: false,
|
|
|
|
}
|
|
|
|
|
|
|
|
export const openEditionUpdatableIbcFrenzMinter: MinterInfo = {
|
2023-07-31 09:25:57 +00:00
|
|
|
id: 'open-edition-updatable-ibc-frenz-minter',
|
2023-07-30 18:11:37 +00:00
|
|
|
factoryAddress: OPEN_EDITION_UPDATABLE_IBC_FRENZ_FACTORY_ADDRESS,
|
|
|
|
supportedToken: ibcFrenz,
|
|
|
|
updatable: true,
|
2023-07-27 14:26:51 +00:00
|
|
|
}
|
|
|
|
|
2023-07-31 09:25:57 +00:00
|
|
|
export const openEditionMinterList = [
|
|
|
|
openEditionStarsMinter,
|
|
|
|
openEditionUpdatableStarsMinter,
|
|
|
|
openEditionUpdatableIbcAtomMinter,
|
|
|
|
openEditionIbcAtomMinter,
|
|
|
|
openEditionIbcFrenzMinter,
|
|
|
|
openEditionUpdatableIbcFrenzMinter,
|
|
|
|
openEditionIbcUsdcMinter,
|
|
|
|
openEditionUpdatableIbcUsdcMinter,
|
|
|
|
]
|