Include vending minters in the minter list
This commit is contained in:
parent
4f473b6bf8
commit
ce477c8b76
@ -11,6 +11,10 @@ NEXT_PUBLIC_BASE_MINTER_CODE_ID=2598
|
|||||||
NEXT_PUBLIC_VENDING_FACTORY_ADDRESS="stars18h7ugh8eaug7wr0w4yjw0ls5s937z35pnkg935ucsek2y9xl3gaqqk4jtx"
|
NEXT_PUBLIC_VENDING_FACTORY_ADDRESS="stars18h7ugh8eaug7wr0w4yjw0ls5s937z35pnkg935ucsek2y9xl3gaqqk4jtx"
|
||||||
NEXT_PUBLIC_VENDING_FACTORY_UPDATABLE_ADDRESS="stars1h65nms9gwg4vdktyqj84tu50gwlm34e0eczl5w2ezllxuzfxy9esa9qlt0"
|
NEXT_PUBLIC_VENDING_FACTORY_UPDATABLE_ADDRESS="stars1h65nms9gwg4vdktyqj84tu50gwlm34e0eczl5w2ezllxuzfxy9esa9qlt0"
|
||||||
NEXT_PUBLIC_VENDING_FACTORY_FLEX_ADDRESS="stars1hvu2ghqkcnvhtj2fc6wuazxt4dqcftslp2rwkkkcxy269a35a9pq60ug2q"
|
NEXT_PUBLIC_VENDING_FACTORY_FLEX_ADDRESS="stars1hvu2ghqkcnvhtj2fc6wuazxt4dqcftslp2rwkkkcxy269a35a9pq60ug2q"
|
||||||
|
NEXT_PUBLIC_VENDING_IBC_ATOM_FACTORY_ADDRESS="stars1sqweqcxlf2f7qhf27gn5naqusk5q52fkzewmy63c4sglvle3s7ls6k828e"
|
||||||
|
NEXT_PUBLIC_VENDING_IBC_ATOM_UPDATABLE_FACTORY_ADDRESS="stars1sqweqcxlf2f7qhf27gn5naqusk5q52fkzewmy63c4sglvle3s7ls6k828e"
|
||||||
|
NEXT_PUBLIC_VENDING_IBC_USDC_FACTORY_ADDRESS="stars1sqweqcxlf2f7qhf27gn5naqusk5q52fkzewmy63c4sglvle3s7ls6k828e"
|
||||||
|
NEXT_PUBLIC_VENDING_IBC_USDC_UPDATABLE_FACTORY_ADDRESS="stars1sqweqcxlf2f7qhf27gn5naqusk5q52fkzewmy63c4sglvle3s7ls6k828e"
|
||||||
NEXT_PUBLIC_BASE_FACTORY_ADDRESS="stars1a45hcxty3spnmm2f0papl8v4dk5ew29s4syhn4efte8u5haex99qlkrtnx"
|
NEXT_PUBLIC_BASE_FACTORY_ADDRESS="stars1a45hcxty3spnmm2f0papl8v4dk5ew29s4syhn4efte8u5haex99qlkrtnx"
|
||||||
NEXT_PUBLIC_BASE_FACTORY_UPDATABLE_ADDRESS="stars100xegx2syry4tclkmejjwxk4nfqahvcqhm9qxut5wxuzhj5d9qfsh5nmym"
|
NEXT_PUBLIC_BASE_FACTORY_UPDATABLE_ADDRESS="stars100xegx2syry4tclkmejjwxk4nfqahvcqhm9qxut5wxuzhj5d9qfsh5nmym"
|
||||||
NEXT_PUBLIC_OPEN_EDITION_FACTORY_ADDRESS="stars1sqweqcxlf2f7qhf27gn5naqusk5q52fkzewmy63c4sglvle3s7ls6k828e"
|
NEXT_PUBLIC_OPEN_EDITION_FACTORY_ADDRESS="stars1sqweqcxlf2f7qhf27gn5naqusk5q52fkzewmy63c4sglvle3s7ls6k828e"
|
||||||
|
@ -7,6 +7,12 @@ import {
|
|||||||
OPEN_EDITION_UPDATABLE_IBC_ATOM_FACTORY_ADDRESS,
|
OPEN_EDITION_UPDATABLE_IBC_ATOM_FACTORY_ADDRESS,
|
||||||
OPEN_EDITION_UPDATABLE_IBC_FRENZ_FACTORY_ADDRESS,
|
OPEN_EDITION_UPDATABLE_IBC_FRENZ_FACTORY_ADDRESS,
|
||||||
OPEN_EDITION_UPDATABLE_IBC_USDC_FACTORY_ADDRESS,
|
OPEN_EDITION_UPDATABLE_IBC_USDC_FACTORY_ADDRESS,
|
||||||
|
VENDING_FACTORY_ADDRESS,
|
||||||
|
VENDING_FACTORY_UPDATABLE_ADDRESS,
|
||||||
|
VENDING_IBC_ATOM_FACTORY_ADDRESS,
|
||||||
|
VENDING_IBC_ATOM_UPDATABLE_FACTORY_ADDRESS,
|
||||||
|
VENDING_IBC_USDC_FACTORY_ADDRESS,
|
||||||
|
VENDING_IBC_USDC_UPDATABLE_FACTORY_ADDRESS,
|
||||||
} from 'utils/constants'
|
} from 'utils/constants'
|
||||||
|
|
||||||
import type { TokenInfo } from './token'
|
import type { TokenInfo } from './token'
|
||||||
@ -85,3 +91,54 @@ export const openEditionMinterList = [
|
|||||||
openEditionIbcUsdcMinter,
|
openEditionIbcUsdcMinter,
|
||||||
openEditionUpdatableIbcUsdcMinter,
|
openEditionUpdatableIbcUsdcMinter,
|
||||||
]
|
]
|
||||||
|
|
||||||
|
export const vendingStarsMinter: MinterInfo = {
|
||||||
|
id: 'vending-stars-minter',
|
||||||
|
factoryAddress: VENDING_FACTORY_ADDRESS,
|
||||||
|
supportedToken: stars,
|
||||||
|
updatable: false,
|
||||||
|
}
|
||||||
|
|
||||||
|
export const vendingUpdatableStarsMinter: MinterInfo = {
|
||||||
|
id: 'vending-updatable-stars-minter',
|
||||||
|
factoryAddress: VENDING_FACTORY_UPDATABLE_ADDRESS,
|
||||||
|
supportedToken: stars,
|
||||||
|
updatable: true,
|
||||||
|
}
|
||||||
|
|
||||||
|
export const vendingIbcAtomMinter: MinterInfo = {
|
||||||
|
id: 'vending-ibc-atom-minter',
|
||||||
|
factoryAddress: VENDING_IBC_ATOM_FACTORY_ADDRESS,
|
||||||
|
supportedToken: ibcAtom,
|
||||||
|
updatable: false,
|
||||||
|
}
|
||||||
|
|
||||||
|
export const vendingUpdatableIbcAtomMinter: MinterInfo = {
|
||||||
|
id: 'vending-updatable-ibc-atom-minter',
|
||||||
|
factoryAddress: VENDING_IBC_ATOM_UPDATABLE_FACTORY_ADDRESS,
|
||||||
|
supportedToken: ibcAtom,
|
||||||
|
updatable: true,
|
||||||
|
}
|
||||||
|
|
||||||
|
export const vendingIbcUsdcMinter: MinterInfo = {
|
||||||
|
id: 'vending-ibc-usdc-minter',
|
||||||
|
factoryAddress: VENDING_IBC_USDC_FACTORY_ADDRESS,
|
||||||
|
supportedToken: ibcUsdc,
|
||||||
|
updatable: false,
|
||||||
|
}
|
||||||
|
|
||||||
|
export const vendingUpdatableIbcUsdcMinter: MinterInfo = {
|
||||||
|
id: 'vending-updatable-ibc-usdc-minter',
|
||||||
|
factoryAddress: VENDING_IBC_USDC_UPDATABLE_FACTORY_ADDRESS,
|
||||||
|
supportedToken: ibcUsdc,
|
||||||
|
updatable: true,
|
||||||
|
}
|
||||||
|
|
||||||
|
export const vendingMinterList = [
|
||||||
|
vendingStarsMinter,
|
||||||
|
vendingUpdatableStarsMinter,
|
||||||
|
vendingIbcAtomMinter,
|
||||||
|
vendingUpdatableIbcAtomMinter,
|
||||||
|
vendingIbcUsdcMinter,
|
||||||
|
vendingUpdatableIbcUsdcMinter,
|
||||||
|
]
|
||||||
|
4
env.d.ts
vendored
4
env.d.ts
vendored
@ -23,6 +23,10 @@ declare namespace NodeJS {
|
|||||||
readonly NEXT_PUBLIC_VENDING_MINTER_CODE_ID: string
|
readonly NEXT_PUBLIC_VENDING_MINTER_CODE_ID: string
|
||||||
readonly NEXT_PUBLIC_VENDING_MINTER_FLEX_CODE_ID: string
|
readonly NEXT_PUBLIC_VENDING_MINTER_FLEX_CODE_ID: string
|
||||||
readonly NEXT_PUBLIC_VENDING_FACTORY_ADDRESS: string
|
readonly NEXT_PUBLIC_VENDING_FACTORY_ADDRESS: string
|
||||||
|
readonly NEXT_PUBLIC_VENDING_IBC_ATOM_FACTORY_ADDRESS: string
|
||||||
|
readonly NEXT_PUBLIC_VENDING_IBC_ATOM_UPDATABLE_FACTORY_ADDRESS: string
|
||||||
|
readonly NEXT_PUBLIC_VENDING_IBC_USDC_FACTORY_ADDRESS: string
|
||||||
|
readonly NEXT_PUBLIC_VENDING_IBC_USDC_UPDATABLE_FACTORY_ADDRESS: string
|
||||||
readonly NEXT_PUBLIC_OPEN_EDITION_FACTORY_ADDRESS: string
|
readonly NEXT_PUBLIC_OPEN_EDITION_FACTORY_ADDRESS: string
|
||||||
readonly NEXT_PUBLIC_OPEN_EDITION_UPDATABLE_FACTORY_ADDRESS: string
|
readonly NEXT_PUBLIC_OPEN_EDITION_UPDATABLE_FACTORY_ADDRESS: string
|
||||||
readonly NEXT_PUBLIC_OPEN_EDITION_IBC_ATOM_FACTORY_ADDRESS: string
|
readonly NEXT_PUBLIC_OPEN_EDITION_IBC_ATOM_FACTORY_ADDRESS: string
|
||||||
|
@ -12,6 +12,12 @@ export const VENDING_MINTER_FLEX_CODE_ID = parseInt(process.env.NEXT_PUBLIC_VEND
|
|||||||
export const VENDING_FACTORY_ADDRESS = process.env.NEXT_PUBLIC_VENDING_FACTORY_ADDRESS
|
export const VENDING_FACTORY_ADDRESS = process.env.NEXT_PUBLIC_VENDING_FACTORY_ADDRESS
|
||||||
export const VENDING_FACTORY_UPDATABLE_ADDRESS = process.env.NEXT_PUBLIC_VENDING_FACTORY_UPDATABLE_ADDRESS
|
export const VENDING_FACTORY_UPDATABLE_ADDRESS = process.env.NEXT_PUBLIC_VENDING_FACTORY_UPDATABLE_ADDRESS
|
||||||
export const VENDING_FACTORY_FLEX_ADDRESS = process.env.NEXT_PUBLIC_VENDING_FACTORY_FLEX_ADDRESS
|
export const VENDING_FACTORY_FLEX_ADDRESS = process.env.NEXT_PUBLIC_VENDING_FACTORY_FLEX_ADDRESS
|
||||||
|
export const VENDING_IBC_ATOM_FACTORY_ADDRESS = process.env.NEXT_PUBLIC_VENDING_IBC_ATOM_FACTORY_ADDRESS
|
||||||
|
export const VENDING_IBC_ATOM_UPDATABLE_FACTORY_ADDRESS =
|
||||||
|
process.env.NEXT_PUBLIC_VENDING_IBC_ATOM_UPDATABLE_FACTORY_ADDRESS
|
||||||
|
export const VENDING_IBC_USDC_FACTORY_ADDRESS = process.env.NEXT_PUBLIC_VENDING_IBC_USDC_FACTORY_ADDRESS
|
||||||
|
export const VENDING_IBC_USDC_UPDATABLE_FACTORY_ADDRESS =
|
||||||
|
process.env.NEXT_PUBLIC_VENDING_IBC_USDC_UPDATABLE_FACTORY_ADDRESS
|
||||||
export const BASE_FACTORY_ADDRESS = process.env.NEXT_PUBLIC_BASE_FACTORY_ADDRESS
|
export const BASE_FACTORY_ADDRESS = process.env.NEXT_PUBLIC_BASE_FACTORY_ADDRESS
|
||||||
export const BASE_FACTORY_UPDATABLE_ADDRESS = process.env.NEXT_PUBLIC_BASE_FACTORY_UPDATABLE_ADDRESS
|
export const BASE_FACTORY_UPDATABLE_ADDRESS = process.env.NEXT_PUBLIC_BASE_FACTORY_UPDATABLE_ADDRESS
|
||||||
export const OPEN_EDITION_FACTORY_ADDRESS = process.env.NEXT_PUBLIC_OPEN_EDITION_FACTORY_ADDRESS
|
export const OPEN_EDITION_FACTORY_ADDRESS = process.env.NEXT_PUBLIC_OPEN_EDITION_FACTORY_ADDRESS
|
||||||
|
Loading…
Reference in New Issue
Block a user