Skip to content

Commit

Permalink
Asset Integrations: Add OIN from Sei (#2134)
Browse files Browse the repository at this point in the history
* add OIN from SEI

* Update source-chain-infos.ts

* Update price.ts
  • Loading branch information
JeremyParish69 authored Sep 18, 2023
1 parent b7d5e74 commit 4b8f4c2
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4038,6 +4038,14 @@ export const mainnetChainInfos: SimplifiedChainInfo[] = [
high: 0.25,
},
},
{
coinDenom: "OIN",
coinMinimalDenom:
"factory/sei1thgp6wamxwqt7rthfkeehktmq0ujh5kspluw6w/OIN",
coinDecimals: 6,
coinImageUrl: "/tokens/oin.png",
coinGeckoId: "pool:oin",
},
],
features: ["ibc-transfer", "ibc-go"],
explorerUrlToTx: "https://www.mintscan.io/sei/txs/{txHash}",
Expand Down
7 changes: 7 additions & 0 deletions packages/web/config/ibc-assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2159,6 +2159,13 @@ export const IBCAssetInfos: (IBCAsset & {
depositUrlOverride: "https://ibc.xpla.io/",
isVerified: true,
},
{
counterpartyChainId: "pacific-1",
sourceChannelId: "channel-782",
destChannelId: "channel-0",
coinMinimalDenom:
"factory/sei1thgp6wamxwqt7rthfkeehktmq0ujh5kspluw6w/OIN",
},
].filter((ibcAsset) => {
// validate IBC asset config
if (
Expand Down
10 changes: 10 additions & 0 deletions packages/web/config/price.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2169,6 +2169,16 @@ const mainnetPoolPriceRoutes: IntermediateRoute[] = [
spotPriceDestDenom: "uosmo",
destCoinId: "pool:uosmo",
},
{
alternativeCoinId: "pool:oin",
poolId: "1210",
spotPriceSourceDenom: DenomHelper.ibcDenom(
[{ portId: "transfer", channelId: "channel-782" }],
"factory/sei1thgp6wamxwqt7rthfkeehktmq0ujh5kspluw6w/OIN"
),
spotPriceDestDenom: "uosmo",
destCoinId: "pool:uosmo",
},
];

const testnetPoolPriceRoutes: IntermediateRoute[] = [];
Expand Down
Binary file added packages/web/public/tokens/oin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

1 comment on commit 4b8f4c2

@vercel
Copy link

@vercel vercel bot commented on 4b8f4c2 Sep 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.