Update token & minter list
This commit is contained in:
parent
a6f30994df
commit
9c31d30a0c
@ -19,13 +19,17 @@ import {
|
|||||||
VENDING_IBC_USDC_FACTORY_FLEX_ADDRESS,
|
VENDING_IBC_USDC_FACTORY_FLEX_ADDRESS,
|
||||||
VENDING_IBC_USDC_UPDATABLE_FACTORY_ADDRESS,
|
VENDING_IBC_USDC_UPDATABLE_FACTORY_ADDRESS,
|
||||||
VENDING_IBC_USDC_UPDATABLE_FACTORY_FLEX_ADDRESS,
|
VENDING_IBC_USDC_UPDATABLE_FACTORY_FLEX_ADDRESS,
|
||||||
|
VENDING_IBC_USK_FACTORY_ADDRESS,
|
||||||
|
VENDING_IBC_USK_FACTORY_FLEX_ADDRESS,
|
||||||
|
VENDING_IBC_USK_UPDATABLE_FACTORY_ADDRESS,
|
||||||
|
VENDING_IBC_USK_UPDATABLE_FACTORY_FLEX_ADDRESS,
|
||||||
VENDING_NATIVE_STARDUST_FACTORY_ADDRESS,
|
VENDING_NATIVE_STARDUST_FACTORY_ADDRESS,
|
||||||
VENDING_NATIVE_STARDUST_UPDATABLE_FACTORY_ADDRESS,
|
VENDING_NATIVE_STARDUST_UPDATABLE_FACTORY_ADDRESS,
|
||||||
VENDING_NATIVE_STRDST_FLEX_FACTORY_ADDRESS,
|
VENDING_NATIVE_STRDST_FLEX_FACTORY_ADDRESS,
|
||||||
} from 'utils/constants'
|
} from 'utils/constants'
|
||||||
|
|
||||||
import type { TokenInfo } from './token'
|
import type { TokenInfo } from './token'
|
||||||
import { ibcAtom, ibcFrnz, ibcUsdc, nativeStardust, stars } from './token'
|
import { ibcAtom, ibcFrnz, ibcUsdc, ibcUsk, nativeStardust, stars } from './token'
|
||||||
|
|
||||||
export interface MinterInfo {
|
export interface MinterInfo {
|
||||||
id: string
|
id: string
|
||||||
@ -150,6 +154,22 @@ export const vendingUpdatableIbcUsdcMinter: MinterInfo = {
|
|||||||
flexible: false,
|
flexible: false,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export const vendingIbcUskMinter: MinterInfo = {
|
||||||
|
id: 'vending-ibc-usk-minter',
|
||||||
|
factoryAddress: VENDING_IBC_USK_FACTORY_ADDRESS,
|
||||||
|
supportedToken: ibcUsk,
|
||||||
|
updatable: false,
|
||||||
|
flexible: false,
|
||||||
|
}
|
||||||
|
|
||||||
|
export const vendingUpdatableIbcUskMinter: MinterInfo = {
|
||||||
|
id: 'vending-updatable-ibc-usk-minter',
|
||||||
|
factoryAddress: VENDING_IBC_USK_UPDATABLE_FACTORY_ADDRESS,
|
||||||
|
supportedToken: ibcUsk,
|
||||||
|
updatable: true,
|
||||||
|
flexible: false,
|
||||||
|
}
|
||||||
|
|
||||||
export const vendingNativeStardustMinter: MinterInfo = {
|
export const vendingNativeStardustMinter: MinterInfo = {
|
||||||
id: 'vending-native-stardust-minter',
|
id: 'vending-native-stardust-minter',
|
||||||
factoryAddress: VENDING_NATIVE_STARDUST_FACTORY_ADDRESS,
|
factoryAddress: VENDING_NATIVE_STARDUST_FACTORY_ADDRESS,
|
||||||
@ -173,6 +193,8 @@ export const vendingMinterList = [
|
|||||||
vendingUpdatableIbcAtomMinter,
|
vendingUpdatableIbcAtomMinter,
|
||||||
vendingIbcUsdcMinter,
|
vendingIbcUsdcMinter,
|
||||||
vendingUpdatableIbcUsdcMinter,
|
vendingUpdatableIbcUsdcMinter,
|
||||||
|
vendingIbcUskMinter,
|
||||||
|
vendingUpdatableIbcUskMinter,
|
||||||
vendingNativeStardustMinter,
|
vendingNativeStardustMinter,
|
||||||
vendingUpdatableNativeStardustMinter,
|
vendingUpdatableNativeStardustMinter,
|
||||||
]
|
]
|
||||||
@ -225,6 +247,22 @@ export const flexibleVendingUpdatableIbcUsdcMinter: MinterInfo = {
|
|||||||
flexible: true,
|
flexible: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export const flexibleVendingIbcUskMinter: MinterInfo = {
|
||||||
|
id: 'flexible-vending-ibc-usk-minter',
|
||||||
|
factoryAddress: VENDING_IBC_USK_FACTORY_FLEX_ADDRESS,
|
||||||
|
supportedToken: ibcUsk,
|
||||||
|
updatable: false,
|
||||||
|
flexible: true,
|
||||||
|
}
|
||||||
|
|
||||||
|
export const flexibleVendingUpdatableIbcUskMinter: MinterInfo = {
|
||||||
|
id: 'flexible-vending-updatable-ibc-usk-minter',
|
||||||
|
factoryAddress: VENDING_IBC_USK_UPDATABLE_FACTORY_FLEX_ADDRESS,
|
||||||
|
supportedToken: ibcUsk,
|
||||||
|
updatable: true,
|
||||||
|
flexible: true,
|
||||||
|
}
|
||||||
|
|
||||||
export const flexibleVendingStrdstMinter: MinterInfo = {
|
export const flexibleVendingStrdstMinter: MinterInfo = {
|
||||||
id: 'flexible-vending-native-strdst-minter',
|
id: 'flexible-vending-native-strdst-minter',
|
||||||
factoryAddress: VENDING_NATIVE_STRDST_FLEX_FACTORY_ADDRESS,
|
factoryAddress: VENDING_NATIVE_STRDST_FLEX_FACTORY_ADDRESS,
|
||||||
@ -240,5 +278,7 @@ export const flexibleVendingMinterList = [
|
|||||||
flexibleVendingUpdatableIbcAtomMinter,
|
flexibleVendingUpdatableIbcAtomMinter,
|
||||||
flexibleVendingIbcUsdcMinter,
|
flexibleVendingIbcUsdcMinter,
|
||||||
flexibleVendingUpdatableIbcUsdcMinter,
|
flexibleVendingUpdatableIbcUsdcMinter,
|
||||||
|
flexibleVendingIbcUskMinter,
|
||||||
|
flexibleVendingUpdatableIbcUskMinter,
|
||||||
flexibleVendingStrdstMinter,
|
flexibleVendingStrdstMinter,
|
||||||
]
|
]
|
||||||
|
@ -32,6 +32,13 @@ export const ibcUsdc: TokenInfo = {
|
|||||||
displayName: 'USDC',
|
displayName: 'USDC',
|
||||||
decimalPlaces: 6,
|
decimalPlaces: 6,
|
||||||
}
|
}
|
||||||
|
export const ibcUsk: TokenInfo = {
|
||||||
|
id: 'ibc-usk',
|
||||||
|
denom:
|
||||||
|
NETWORK === 'mainnet' ? 'ibc/938CEB62ABCBA6366AA369A8362E310B2A0B1A54835E4F3FF01D69D860959128' : 'Not available',
|
||||||
|
displayName: 'USK',
|
||||||
|
decimalPlaces: 6,
|
||||||
|
}
|
||||||
|
|
||||||
export const ibcFrnz: TokenInfo = {
|
export const ibcFrnz: TokenInfo = {
|
||||||
id: 'ibc-frnz',
|
id: 'ibc-frnz',
|
||||||
|
Loading…
Reference in New Issue
Block a user