-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from bgd-labs/fix/operator
feat: update robot operator, maxGasLimit for keepers
- Loading branch information
Showing
37 changed files
with
1,496 additions
and
247 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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Submodule aave-address-book
updated
549 files
Submodule aave-governance-v3
updated
101 files
Submodule aave-helpers
added at
8e1340
Submodule solidity-utils
added at
cd520d
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,23 @@ | ||
// SPDX-License-Identifier: BUSL-1.1 | ||
pragma solidity ^0.8.0; | ||
|
||
import {Script} from 'forge-std/Script.sol'; | ||
import {console} from 'forge-std/console.sol'; | ||
import {GasCappedExecutionChainRobotKeeper} from '../src/contracts/gasprice-capped-robots/GasCappedExecutionChainRobotKeeper.sol'; | ||
import {GovernanceV3Ethereum} from 'aave-address-book/GovernanceV3Ethereum.sol'; | ||
|
||
contract DeployMainnet is Script { | ||
GasCappedExecutionChainRobotKeeper public keeper; | ||
|
||
function run() external { | ||
vm.startBroadcast(); | ||
keeper = new GasCappedExecutionChainRobotKeeper( | ||
address(GovernanceV3Ethereum.PAYLOADS_CONTROLLER), // payloads controller | ||
0x169E633A2D1E6c10dD91238Ba11c4A708dfEF37C // chainlink fast gas feed | ||
); | ||
keeper.setMaxGasPrice(150 gwei); | ||
|
||
console.log('Gas Capped Execution chain ethereum keeper address', address(keeper)); | ||
vm.stopBroadcast(); | ||
} | ||
} |
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,23 @@ | ||
// SPDX-License-Identifier: BUSL-1.1 | ||
pragma solidity ^0.8.0; | ||
|
||
import {Script} from 'forge-std/Script.sol'; | ||
import {console} from 'forge-std/console.sol'; | ||
import {GasCappedGovernanceChainRobotKeeper} from '../src/contracts/gasprice-capped-robots/GasCappedGovernanceChainRobotKeeper.sol'; | ||
import {GovernanceV3Ethereum} from 'aave-address-book/GovernanceV3Ethereum.sol'; | ||
|
||
contract DeployMainnet is Script { | ||
GasCappedGovernanceChainRobotKeeper public keeper; | ||
|
||
function run() external { | ||
vm.startBroadcast(); | ||
keeper = new GasCappedGovernanceChainRobotKeeper( | ||
address(GovernanceV3Ethereum.GOVERNANCE), // governance | ||
0x169E633A2D1E6c10dD91238Ba11c4A708dfEF37C // chainlink fast gas feed | ||
); | ||
keeper.setMaxGasPrice(150 gwei); | ||
|
||
console.log('Gas Capped Governance chain ethereum keeper address', address(keeper)); | ||
vm.stopBroadcast(); | ||
} | ||
} |
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,24 @@ | ||
// SPDX-License-Identifier: BUSL-1.1 | ||
pragma solidity ^0.8.0; | ||
|
||
import {Script} from 'forge-std/Script.sol'; | ||
import {console} from 'forge-std/console.sol'; | ||
import {GasCappedVotingChainRobotKeeper} from '../src/contracts/gasprice-capped-robots/GasCappedVotingChainRobotKeeper.sol'; | ||
import {GovernanceV3Ethereum} from 'aave-address-book/GovernanceV3Ethereum.sol'; | ||
|
||
contract DeployMainnet is Script { | ||
GasCappedVotingChainRobotKeeper public keeper; | ||
|
||
function run() external { | ||
vm.startBroadcast(); | ||
keeper = new GasCappedVotingChainRobotKeeper( | ||
GovernanceV3Ethereum.VOTING_MACHINE, | ||
0x2fA6F0A65886123AFD24A575aE4554d0FCe8B577, // rootsConsumer | ||
0x169E633A2D1E6c10dD91238Ba11c4A708dfEF37C // chainlink fast gas feed | ||
); | ||
keeper.setMaxGasPrice(150 gwei); | ||
|
||
console.log('Gas Capped Voting chain ethereum keeper address', address(keeper)); | ||
vm.stopBroadcast(); | ||
} | ||
} |
Oops, something went wrong.