-
Notifications
You must be signed in to change notification settings - Fork 3
[VPD-312] Set Pivot and Fallback Oracle for ETH, USDC, USDT and SolvBTC #641
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| { | ||
| target: bscmainnet.BINANCE_ORACLE, | ||
| signature: "setMaxStalePeriod(string,uint256)", | ||
| params: ["ETH", HEARTBEAT_100_SECONDS], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
curious, usually how do u decide stale period ? Is it always a little bit buffer more than oracle provider's (this time binance) heartbeat ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes right
vips/vip-571/bscmainnet.ts
Outdated
| ], | ||
| [ | ||
| SolvBTC, | ||
| [bscmainnet.CHAINLINK_ORACLE, bscmainnet.REDSTONE_ORACLE, bscmainnet.BINANCE_ORACLE], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the chainlink feed (https://data.chain.link/feeds/bsc/mainnet/btc-usd) we are using for SolvBTC. It gives BTC price in USD. We are using BTC and SolvBTC is 1:1 ratio.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, that's exactly what i am trying to say
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Removed
4cdfe64 to
0a3a3de
Compare
0a3a3de to
d6a0951
Compare


Description
Resolves VEN