Skip to content

Commit

Permalink
Merge branch 'feat/add-pepe-cat' into feat/oraidex-universal-swap
Browse files Browse the repository at this point in the history
  • Loading branch information
haunv3 committed Sep 24, 2024
2 parents a89c2c7 + d4105d7 commit 67eb1cb
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 28 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.16",
"version": "1.1.17",
"main": "build/index.js",
"files": [
"build/"
Expand Down
52 changes: 26 additions & 26 deletions packages/oraidex-common/src/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -332,14 +332,14 @@ export const oraichainNetwork: CustomChainInfo = {
coinDecimals: 6,
coinImageUrl: "https://assets.coingecko.com/coins/images/29850/standard/pepe-token.jpeg?1696528776"
},
{
coinDenom: "CAT",
coinMinimalDenom: CAT_ORAICHAIN_DENOM,
coinDecimals: 6,
bridgeTo: ["0x38"],
coinGeckoId: "simon-s-cat",
coinImageUrl: "https://assets.coingecko.com/coins/images/39765/standard/Simon's_Cat_Logo.png?1724017505"
},
// {
// coinDenom: "CAT",
// coinMinimalDenom: CAT_ORAICHAIN_DENOM,
// coinDecimals: 6,
// bridgeTo: ["0x38"],
// coinGeckoId: "simon-s-cat",
// coinImageUrl: "https://assets.coingecko.com/coins/images/39765/standard/Simon's_Cat_Logo.png?1724017505"
// },
{
coinDenom: "ATOM",
coinGeckoId: "cosmos",
Expand Down Expand Up @@ -678,16 +678,16 @@ 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: "CAT",
coinMinimalDenom: ORAI_BRIDGE_EVM_DENOM_PREFIX + CAT_BSC_CONTRACT,
bridgeNetworkIdentifier: "0x38",
coinDecimals: 18,
prefixToken: ORAI_BRIDGE_EVM_DENOM_PREFIX,
coinGeckoId: "simon-s-cat",
coinImageUrl: "https://assets.coingecko.com/coins/images/39765/standard/Simon's_Cat_Logo.png?1724017505"
}
// {
// coinDenom: "CAT",
// coinMinimalDenom: ORAI_BRIDGE_EVM_DENOM_PREFIX + CAT_BSC_CONTRACT,
// bridgeNetworkIdentifier: "0x38",
// coinDecimals: 18,
// prefixToken: ORAI_BRIDGE_EVM_DENOM_PREFIX,
// coinGeckoId: "simon-s-cat",
// coinImageUrl: "https://assets.coingecko.com/coins/images/39765/standard/Simon's_Cat_Logo.png?1724017505"
// }
],
txExplorer: {
name: "OraiBridge Scan",
Expand Down Expand Up @@ -1124,16 +1124,16 @@ export const chainInfos: CustomChainInfo[] = [
coinGeckoId: "pepe",
bridgeTo: ["Oraichain"],
coinImageUrl: "https://assets.coingecko.com/coins/images/29850/standard/pepe-token.jpeg?1696528776"
},
{
coinDenom: "CAT",
coinMinimalDenom: "bep20_cat",
contractAddress: CAT_BSC_CONTRACT,
coinDecimals: 18,
coinGeckoId: "simon-s-cat",
bridgeTo: ["Oraichain"],
coinImageUrl: "https://assets.coingecko.com/coins/images/39765/standard/Simon's_Cat_Logo.png?1724017505"
}
// {
// coinDenom: "CAT",
// coinMinimalDenom: "bep20_cat",
// contractAddress: CAT_BSC_CONTRACT,
// coinDecimals: 18,
// coinGeckoId: "simon-s-cat",
// bridgeTo: ["Oraichain"],
// coinImageUrl: "https://assets.coingecko.com/coins/images/39765/standard/Simon's_Cat_Logo.png?1724017505"
// }
],
txExplorer: {
name: "Bsc Scan",
Expand Down
4 changes: 3 additions & 1 deletion packages/universal-swap/src/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,9 @@ export class UniversalSwapHelper {
};
};

// simulate swap functions
/**
* @deprecated. Use UniversalSwapHelper.handleSimulateSwap
*/
static simulateSwap = async (query: {
fromInfo: TokenItemType;
toInfo: TokenItemType;
Expand Down

0 comments on commit 67eb1cb

Please sign in to comment.