Skip to content

Commit

Permalink
Merge pull request #224 from stabilitydao/sonic
Browse files Browse the repository at this point in the history
SiL: deploy script; fix adm guide
  • Loading branch information
a17 authored Feb 14, 2025
2 parents 5e74f97 + 257c682 commit 955d9e7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ADM.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function setStrategyAvailableInitParams(string memory id, StrategyAvailableInitP
```
</details>

* [Factory polygonscan](https://polygonscan.com/address/0xa14EaAE76890595B3C7ea308dAEBB93863480EAD#writeProxyContract)
* [Factory sonicscan](https://sonicscan.org/address/0xc184a3ecca684f2621c903a7943d85fa42f56671#writeProxyContract)
* Connect operator wallet
* `4. setStrategyAvailableInitParams (0x6c2713a3)`
* fill params
Expand Down
16 changes: 16 additions & 0 deletions script/deploy-strategy/SiL.s.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

import {Script} from "forge-std/Script.sol";
import {SiloLeverageStrategy} from "../../src/strategies/SiloLeverageStrategy.sol";

contract DeploySiL is Script {
function run() external {
uint deployerPrivateKey = vm.envUint("PRIVATE_KEY");
vm.startBroadcast(deployerPrivateKey);
new SiloLeverageStrategy();
vm.stopBroadcast();
}

function testDeployStrategy() external {}
}

0 comments on commit 955d9e7

Please sign in to comment.