Skip to content

Commit

Permalink
Merge pull request #363 from oraidex/feat/retire-btc
Browse files Browse the repository at this point in the history
Feat/retire btc
  • Loading branch information
vuonghuuhung authored Nov 13, 2024
2 parents 55c63a6 + 6e143d8 commit 2146783
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/oraidex-common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oraichain/oraidex-common",
"version": "1.1.30",
"version": "1.1.31",
"main": "build/index.js",
"files": [
"build/"
Expand Down
1 change: 1 addition & 0 deletions packages/oraidex-common/src/constant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ 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 OBTC_ORAICHAIN_EXT_DENOM = "factory/orai1wuvhex9xqs3r539mvc6mtm7n20fcj3qr2m0y9khx6n5vtlngfzes3k0rq9/obtc";
export const DOGE_BNB_ORAICHAIN_DENOM =
"factory/orai1wuvhex9xqs3r539mvc6mtm7n20fcj3qr2m0y9khx6n5vtlngfzes3k0rq9/DogeBNB";

Expand Down
13 changes: 11 additions & 2 deletions packages/oraidex-common/src/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ import {
PEPE_BSC_CONTRACT,
CAT_BSC_CONTRACT,
HMSTR_ORAICHAIN_DENOM,
OBTC_ORAICHAIN_EXT_DENOM,
DOGE_BNB_ORAICHAIN_DENOM,
DOGE_BSC_CONTRACT
} from "./constant";
Expand Down Expand Up @@ -159,7 +160,7 @@ export type BridgeAppCurrency = FeeCurrency & {
readonly Icon?: CoinIcon;
readonly IconLight?: CoinIcon;
readonly bridgeNetworkIdentifier?: EvmChainId;
readonly coinDecimals: 6 | 8 | 9 | 18;
readonly coinDecimals: 6 | 9 | 14 | 18 | 8;
readonly contractAddress?: string;
readonly prefixToken?: string;
};
Expand Down Expand Up @@ -515,7 +516,7 @@ export const oraichainNetwork: CustomChainInfo = {
coinImageUrl: "https://s2.coinmarketcap.com/static/img/coins/64x64/1027.png"
},
{
coinDenom: "BTC",
coinDenom: "BTC (Legacy)",
coinGeckoId: "bitcoin",
coinMinimalDenom: "usat",
type: "cw20",
Expand All @@ -524,6 +525,14 @@ export const oraichainNetwork: CustomChainInfo = {
coinDecimals: 6,
coinImageUrl: "https://s2.coinmarketcap.com/static/img/coins/64x64/1.png"
},
{
coinDenom: "BTC",
coinGeckoId: "bitcoin",
coinMinimalDenom: OBTC_ORAICHAIN_EXT_DENOM,
bridgeTo: ["bitcoin"] as any,
coinDecimals: 14,
coinImageUrl: "https://s2.coinmarketcap.com/static/img/coins/64x64/1.png"
},
{
coinDenom: "OCH",
coinGeckoId: "och",
Expand Down

0 comments on commit 2146783

Please sign in to comment.