-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'development' into feat/hypernative-security-oracle
- Loading branch information
Showing
39 changed files
with
10,210 additions
and
360 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { PythAssetConfig } from '../types'; | ||
|
||
import { pythConfig as commonPythConfig } from './common'; | ||
|
||
export const pythConfig: PythAssetConfig[] = [ | ||
...commonPythConfig, | ||
{ | ||
// price feed for SOL | ||
priceId: '0xef0d8b6fda2ceba41da15d4095d1da392a0d2f8ed0c6c7bc0f4cfac8c280b56d', | ||
configRefreshRateInSeconds: 3600, | ||
validTimePeriodSeconds: 86400, // 24 hrs | ||
deviationThresholdBps: 100, // 1% | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
import { mode } from '@ionicprotocol/chains'; | ||
import { base, mode } from '@ionicprotocol/chains'; | ||
|
||
import { pythConfig as basePythConfig } from './base'; | ||
import { pythConfig as modePythConfig } from './mode'; | ||
|
||
export const chainIdToConfig = { | ||
[mode.chainId]: modePythConfig, | ||
[base.chainId]: basePythConfig, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
289 changes: 289 additions & 0 deletions
289
packages/contracts/deployments/base/IonicFlywheelDynamicRewards_ION_epoch4.json
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.