Skip to content

Commit 85d47a5

Browse files
committed
🐛 add deploy script
1 parent 429f347 commit 85d47a5

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

scripts/deploy/DeployStewards.s.sol

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ import {AaveV3Metis} from 'aave-address-book/AaveV3Metis.sol';
2626
import {GovernanceV3Metis} from 'aave-address-book/GovernanceV3Metis.sol';
2727
import {AaveV3Linea} from 'aave-address-book/AaveV3Linea.sol';
2828
import {GovernanceV3Linea} from 'aave-address-book/GovernanceV3Linea.sol';
29+
import {AaveV3Sonic} from 'aave-address-book/AaveV3Sonic.sol';
30+
import {GovernanceV3Sonic} from 'aave-address-book/GovernanceV3Sonic.sol';
2931
import {IOwnable} from 'aave-address-book/common/IOwnable.sol';
3032
import {RiskSteward, IRiskSteward, IPoolDataProvider, IEngine} from '../../src/contracts/RiskSteward.sol';
3133

@@ -257,3 +259,17 @@ contract DeployLinea is LineaScript {
257259
vm.stopBroadcast();
258260
}
259261
}
262+
263+
// make deploy-ledger contract=scripts/deploy/DeployStewards.s.sol:DeploySonic chain=sonic
264+
contract DeploySonic is SonicScript {
265+
function run() external {
266+
vm.startBroadcast();
267+
DeployRiskStewards._deployRiskStewards(
268+
address(AaveV3Sonic.AAVE_PROTOCOL_DATA_PROVIDER),
269+
AaveV3Sonic.CONFIG_ENGINE,
270+
0x1dE39A17a9Fa8c76899fff37488482EEb7835d04, // sonic-risk-council
271+
GovernanceV3Sonic.EXECUTOR_LVL_1
272+
);
273+
vm.stopBroadcast();
274+
}
275+
}

0 commit comments

Comments
 (0)