Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
b1a1787
feat: add lsSKY -> Sky farm deployment script
amusingaxl Sep 26, 2025
7dc69a0
refactor: add full init library for LSSKY -> SKY farm
amusingaxl Sep 26, 2025
8151cc7
test: add coverage for LsskySkyFarmingInit
amusingaxl Sep 29, 2025
d9fb38f
refactor: generalize farm initialization library
amusingaxl Sep 29, 2025
a6ee66d
refactor: rename parameters in TreasuryFundedFarmingInit test
amusingaxl Sep 29, 2025
a182ec6
feat: add regular farming init
amusingaxl Sep 30, 2025
7a284d1
refactor: improve testing for initializatino of farms
amusingaxl Oct 6, 2025
25ee5e4
refactor: remove admin from parameters
amusingaxl Oct 7, 2025
e971760
chore: improve formatting
amusingaxl Oct 7, 2025
9efa08e
chore: simplify formatting and linting
amusingaxl Oct 7, 2025
4ce444f
chore: remove TODO
amusingaxl Oct 7, 2025
56087cd
test: add integration tests for farms after initialization
amusingaxl Oct 7, 2025
0b60ad6
chore: remove unused structs
amusingaxl Oct 7, 2025
d76eb47
fix: wrong chainlog key in deployment script
amusingaxl Oct 7, 2025
7b512c7
refactor: explicitly name and check for `DssVestTransferrable`
amusingaxl Oct 8, 2025
fe734be
chore: clean up interfaces
amusingaxl Oct 8, 2025
6000b5f
feat: add Obex SubProxy deployment script
amusingaxl Oct 10, 2025
5c8734e
fix: typo in function name
amusingaxl Oct 10, 2025
0497a05
refactor: add comments to FarmingInitParams fields
amusingaxl Oct 10, 2025
57ff07f
Merge branch 'feat/sky-farms-deployment' into feat/obex-subproxy-depl…
amusingaxl Oct 14, 2025
0e83e7e
fix: make CI use a stable Foundry version
amusingaxl Oct 14, 2025
f379008
fix: add ETH_RPC_URL to CI env
amusingaxl Oct 14, 2025
d2327aa
Merge branch 'master' into feat/obex-subproxy-deployment-script
amusingaxl Oct 23, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions script/input/1/obex/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Script inputs for Mainnet for `obex`.
43 changes: 43 additions & 0 deletions script/obex/01-ObexSubProxyDeploy.s.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
// SPDX-FileCopyrightText: © 2023 Dai Foundation <www.daifoundation.org>
// SPDX-License-Identifier: AGPL-3.0-or-later
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
pragma solidity ^0.8.16;

import {Script} from "forge-std/Script.sol";
import {ScriptTools} from "dss-test/ScriptTools.sol";
import {SubProxyDeploy, SubProxyDeployParams} from "../dependencies/SubProxyDeploy.sol";

contract ObexSubProxyDeployScript is Script {
ChainlogLike internal constant chainlog = ChainlogLike(0xdA0Ab1e0017DEbCd72Be8599041a2aa3bA7e740F);

string internal constant NAME = "obex/sub-proxy-deploy";

function run() external {
address admin = chainlog.getAddress("MCD_PAUSE_PROXY");

vm.startBroadcast();

address subProxy = SubProxyDeploy.deploy(SubProxyDeployParams({deployer: msg.sender, owner: admin}));

vm.stopBroadcast();

ScriptTools.exportContract(NAME, "admin", admin);
ScriptTools.exportContract(NAME, "subProxy", subProxy);
}
}

interface ChainlogLike {
function getAddress(bytes32 _key) external view returns (address addr);
}
1 change: 1 addition & 0 deletions script/output/1/obex/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Script outputs for Mainnet for `obex`.