Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds a script to deploy receptor on mainnet. It does not grant permission yet for the Receptor to call
shrine.update_yin_spot_price()
, which can be done when the UI is ready.Initial parameters are ~16.6 mins for update frequency (same as Seer), and 3hrs for TWAP.
I initially wanted to add support for Sepolia, but the prices on Sepolia are too way off (USDC/CASH is ~1.74, but DAI/CASH is ~0.00024) to be meaningful. This can be verified here using the fake USDC (0x07ab0b8855a61f480b4423c46c32fa7c553f0aac3531bbddaa282d86244f7a23) and fake DAI (0x06f2a0dfeff180133de890ad69c6ba294574c5f34a67890fd22464f348c4d03c) by Ekubo.