generated from open-dollar/contracts-template
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Chainlink relayer with l2 validity #3
Merged
Merged
Changes from 3 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
4ca972e
switch to using chainlinkRelayerWithL2Validity interface. still not …
MrDeadCe11 3ff80d6
added missing output
MrDeadCe11 02cda1c
removed .vscode from git
MrDeadCe11 3919ffa
fixed add collateral generator
MrDeadCe11 ce5d4b1
remove unneccessary authorization calls
pi0neerpat 745446a
remove from script
pi0neerpat 4290192
Merge branch 'main' of github.com:open-dollar/od-governance-manager i…
pi0neerpat 1eac732
final proposal
pi0neerpat File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
{ | ||
"ChainlinkRelayerFactory_Address": "0x555691C860015a5CE8748296fbbAa624410F55A4", | ||
"ChainlinkSequencerFeed": "0xFdB631F5EE196F0ed6FAa767959853A9F217697D", | ||
"ODGovernor_Address": "0x69ae232E574352232aB8678869eAA3BEBd885211", | ||
"PredictedRelayerAddresses": [ | ||
{ | ||
"symbol": "LINK/USD", | ||
"address": "0x3Dc02C28D29D6A4D13dE03E7c596a94c76f7600a" | ||
}, | ||
{ | ||
"symbol": "GRT/USD", | ||
"address": "0xf589519a17bDC25749AFAcbC6BAFdd05BF5d24Af" | ||
}, | ||
{ | ||
"symbol": "ETH/USD", | ||
"address": "0x33660aB6E38F6D8011Eca7AAa6F3CC7ef6380d91" | ||
} | ||
], | ||
"arrayLength": "3", | ||
"calldatas": [ | ||
"0x251ad9a500000000000000000000000086e53cf1b870786351da77a57575e79cb55812cb000000000000000000000000fdb631f5ee196f0ed6faa767959853a9f217697d00000000000000000000000000000000000000000000000000000000000151800000000000000000000000000000000000000000000000000000000000000e10", | ||
"0x251ad9a50000000000000000000000000f38d86fcef4955b705f35c9e41d1a16e0637c73000000000000000000000000fdb631f5ee196f0ed6faa767959853a9f217697d00000000000000000000000000000000000000000000000000000000000151800000000000000000000000000000000000000000000000000000000000000e10", | ||
"0x251ad9a5000000000000000000000000639fe6ab55c921f74e7fac1ee960c0b6293ba612000000000000000000000000fdb631f5ee196f0ed6faa767959853a9f217697d00000000000000000000000000000000000000000000000000000000000151800000000000000000000000000000000000000000000000000000000000000e10" | ||
], | ||
"chainid": 421614, | ||
"description": "Deploy new chainlink relayers", | ||
"descriptionHash": "0x03087660ad65289d7f9f35887f72e304a35460e94606f1c40d6d3884e0e36a4c", | ||
"network": "sepolia", | ||
"objectArray": [ | ||
{ | ||
"symbol": "LINK/USD", | ||
"chainlinkPriceFeed": "0x86E53CF1B870786351Da77A57575e79CB55812CB", | ||
"staleThreshold": "86400", | ||
"gracePeriod": "3600" | ||
}, | ||
{ | ||
"symbol": "GRT/USD", | ||
"chainlinkPriceFeed": "0x0F38D86FceF4955B705F35c9e41d1A16e0637c73", | ||
"staleThreshold": "86400", | ||
"gracePeriod": "3600" | ||
}, | ||
{ | ||
"symbol": "ETH/USD", | ||
"chainlinkPriceFeed": "0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612", | ||
"staleThreshold": "86400", | ||
"gracePeriod": "3600" | ||
} | ||
], | ||
"proposalId": 61857469553398489852308972851954168900597935201047788453491803085690968636070, | ||
"proposalType": "DeployChainlinkRelayers", | ||
"targets": [ | ||
"0x555691C860015a5CE8748296fbbAa624410F55A4", | ||
"0x555691C860015a5CE8748296fbbAa624410F55A4", | ||
"0x555691C860015a5CE8748296fbbAa624410F55A4" | ||
], | ||
"values": [ | ||
0, | ||
0, | ||
0 | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// SPDX-License-Identifier: GPL-3.0 | ||
pragma solidity 0.8.20; | ||
|
||
import {IBaseOracle} from '@opendollar/interfaces/oracles/IBaseOracle.sol'; | ||
|
||
interface IChainlinkRelayerFactory { | ||
// --- Events --- | ||
event NewChainlinkRelayer(address indexed _chainlinkRelayer, address _aggregator, uint256 _staleThreshold); | ||
|
||
function deployChainlinkRelayer(address _aggregator, uint256 _staleThreshold) external returns (IBaseOracle _relayer); | ||
|
||
function deployChainlinkRelayerWithL2Validity( | ||
address _priceAggregator, | ||
address _sequencerAggregator, | ||
uint256 _staleThreshold, | ||
uint256 _gracePeriod | ||
) external returns (IBaseOracle _chainlinkRelayer); | ||
} |
Oops, something went wrong.
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.
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.
Consider keeping variables names the same throughout