Skip to content

Commit

Permalink
feat: add pyth price feed and coin type
Browse files Browse the repository at this point in the history
  • Loading branch information
fum-is-chum committed Dec 27, 2024
1 parent 25b000f commit 62ab11d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/constants/enum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export const coinIds: types.AssetCoinIds = {
// Sui bridge assets
sbeth: '0xd0e89b2af5e4910726fbcd8b8dd37bb79b29e5f83f7491bca830e94f7f226d29',
// @TODO: add sbusdt coin type
sbusdt: '',
sbusdt: '0x375f70cf2ae4c00bf37117d0c85a2c71545e6ee05c4a5c7d282cd66a4504b068',
};

export const wormholeCoinIds: types.WormholeCoinIds = {
Expand Down
4 changes: 2 additions & 2 deletions src/constants/pyth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ export const PYTH_ENDPOINTS: {
export const PYTH_FEED_IDS: Record<SupportPoolCoins, string> = {
usdc: 'eaa020c61cc479712813461ce153894a96a6c00b21ed0cfc2798d1f9a9e9c94a',
sbeth: 'ff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace',
// @TODO: add pyth price feed
sbusdt: '',
// @TODO: verify that we can use the same feed id for both wusdt and sbusdt
sbusdt: '2b89b9dc8fdf9f34709a5b106b472f0f39bb6ca9ce04b0fd7f2e971688e2e53b',
weth: 'ff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace',
wbtc: 'e62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43',
wusdc: 'eaa020c61cc479712813461ce153894a96a6c00b21ed0cfc2798d1f9a9e9c94a',
Expand Down

0 comments on commit 62ab11d

Please sign in to comment.