diff --git a/packages/oraidex-common/package.json b/packages/oraidex-common/package.json index 6efa114f..71741ead 100644 --- a/packages/oraidex-common/package.json +++ b/packages/oraidex-common/package.json @@ -1,6 +1,6 @@ { "name": "@oraichain/oraidex-common", - "version": "1.1.29", + "version": "1.1.30", "main": "build/index.js", "files": [ "build/" diff --git a/packages/oraidex-common/src/constant.ts b/packages/oraidex-common/src/constant.ts index 0834e43b..61c36e19 100644 --- a/packages/oraidex-common/src/constant.ts +++ b/packages/oraidex-common/src/constant.ts @@ -55,6 +55,7 @@ export const KWT_BSC_CONTRACT = "0x257a8d1E03D17B8535a182301f15290F11674b53"; export const MILKY_BSC_CONTRACT = "0x6fE3d0F096FC932A905accd1EB1783F6e4cEc717"; export const PEPE_BSC_CONTRACT = "0x25d887Ce7a35172C62FeBFD67a1856F20FaEbB00"; export const CAT_BSC_CONTRACT = "0x6894CDe390a3f51155ea41Ed24a33A4827d3063D"; +export const DOGE_BSC_CONTRACT = "0xbA2aE424d960c26247Dd6c32edC70B295c744C43"; // tron contracts export const USDT_TRON_CONTRACT = "0xa614f803B6FD780986A42c78Ec9c7f77e6DeD13C"; export const WRAP_TRON_TRX_CONTRACT = "0x891cdb91d149f23B1a45D9c5Ca78a88d0cB44C18"; @@ -101,6 +102,8 @@ export const PEPE_ORAICHAIN_EXT_DENOM = "factory/orai1wuvhex9xqs3r539mvc6mtm7n20fcj3qr2m0y9khx6n5vtlngfzes3k0rq9/extPEPE"; export const CAT_ORAICHAIN_EXT_DENOM = "factory/orai1wuvhex9xqs3r539mvc6mtm7n20fcj3qr2m0y9khx6n5vtlngfzes3k0rq9/extCAT"; export const HMSTR_ORAICHAIN_DENOM = "factory/orai1wuvhex9xqs3r539mvc6mtm7n20fcj3qr2m0y9khx6n5vtlngfzes3k0rq9/HMSTR"; +export const DOGE_BNB_ORAICHAIN_DENOM = + "factory/orai1wuvhex9xqs3r539mvc6mtm7n20fcj3qr2m0y9khx6n5vtlngfzes3k0rq9/DogeBNB"; // config for oraichain token export const AIRI_CONTRACT = "orai10ldgzued6zjp0mkqwsv2mux3ml50l97c74x8sg"; diff --git a/packages/oraidex-common/src/network.ts b/packages/oraidex-common/src/network.ts index 01a2db82..54102257 100644 --- a/packages/oraidex-common/src/network.ts +++ b/packages/oraidex-common/src/network.ts @@ -60,7 +60,9 @@ import { PEPE_ETH_CONTRACT, PEPE_BSC_CONTRACT, CAT_BSC_CONTRACT, - HMSTR_ORAICHAIN_DENOM + HMSTR_ORAICHAIN_DENOM, + DOGE_BNB_ORAICHAIN_DENOM, + DOGE_BSC_CONTRACT } from "./constant"; import { listOsmosisToken } from "./alpha-network"; import { celestiaNetwork } from "./celestia-network"; @@ -125,7 +127,8 @@ export type CoinGeckoId = | "the-open-network" | "pepe" | "simon-s-cat" - | "hamster-kombat"; + | "hamster-kombat" + | "dogecoin"; export type NetworkType = "cosmos" | "evm"; export interface NetworkConfig { @@ -156,7 +159,7 @@ export type BridgeAppCurrency = FeeCurrency & { readonly Icon?: CoinIcon; readonly IconLight?: CoinIcon; readonly bridgeNetworkIdentifier?: EvmChainId; - readonly coinDecimals: 6 | 9 | 18; + readonly coinDecimals: 6 | 8 | 9 | 18; readonly contractAddress?: string; readonly prefixToken?: string; }; @@ -337,6 +340,14 @@ export const oraichainNetwork: CustomChainInfo = { coinDecimals: 6, coinImageUrl: "https://assets.coingecko.com/coins/images/29850/standard/pepe-token.jpeg?1696528776" }, + { + coinDenom: "DOGE", + coinMinimalDenom: DOGE_BNB_ORAICHAIN_DENOM, + coinDecimals: 8, + bridgeTo: ["0x38"], + coinGeckoId: "dogecoin", + coinImageUrl: "https://assets.coingecko.com/coins/images/5/standard/dogecoin.png?1696501409" + }, // { // coinDenom: "CAT", // coinMinimalDenom: CAT_ORAICHAIN_DENOM, @@ -691,6 +702,15 @@ export const chainInfos: CustomChainInfo[] = [ coinGeckoId: "pepe", prefixToken: ORAI_BRIDGE_EVM_ETH_DENOM_PREFIX, coinImageUrl: "https://assets.coingecko.com/coins/images/29850/standard/pepe-token.jpeg?1696528776" + }, + { + coinDenom: "DOGE", + coinMinimalDenom: ORAI_BRIDGE_EVM_DENOM_PREFIX + DOGE_BSC_CONTRACT, + bridgeNetworkIdentifier: "0x38", + coinDecimals: 8, + prefixToken: ORAI_BRIDGE_EVM_DENOM_PREFIX, + coinGeckoId: "dogecoin", + coinImageUrl: "https://assets.coingecko.com/coins/images/5/standard/dogecoin.png?1696501409" } // { // coinDenom: "CAT", @@ -1080,6 +1100,15 @@ export const chainInfos: CustomChainInfo[] = [ bridgeTo: ["Oraichain"], prefixToken: ORAI_BRIDGE_EVM_DENOM_PREFIX, coinImageUrl: "https://assets.coingecko.com/coins/images/29850/standard/pepe-token.jpeg?1696528776" + }, + { + coinDenom: "DOGE", + coinMinimalDenom: "bep20_doge", + contractAddress: DOGE_BSC_CONTRACT, + coinDecimals: 8, + coinGeckoId: "dogecoin", + bridgeTo: ["Oraichain"], + coinImageUrl: "https://assets.coingecko.com/coins/images/5/standard/dogecoin.png?1696501409" } // { // coinDenom: "CAT",