Skip to content

Commit bfcc967

Browse files
committed
Add Pyth Configuration for oUSDT in Superseed
- Introduced a new configuration file for Pyth asset management, specifically adding the price feed for oUSDT. - Set the refresh rate, valid time period, and deviation threshold for the new asset in the configuration.
1 parent 4ac6665 commit bfcc967

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { PythAssetConfig } from '../types';
2+
3+
import { pythConfig as commonPythConfig } from './common';
4+
5+
export const pythConfig: PythAssetConfig[] = [
6+
...commonPythConfig,
7+
{
8+
// price feed for oUSDT
9+
priceId: '0x2dc7f272d3010abe4de48755a50fcf5bd9eefd3b4af01d8f39f6c80ae51544fe',
10+
configRefreshRateInSeconds: 3600,
11+
validTimePeriodSeconds: 86400, // 24 hrs
12+
deviationThresholdBps: 100, // 1%
13+
},
14+
];

0 commit comments

Comments
 (0)