Skip to content

Conversation

@amusingaxl
Copy link
Contributor

Add deployment scripts for the new SPK farms.

[sc-2921]

function run() external returns (bool) {
Reader deps = new Reader(ScriptTools.loadDependencies());

address admin = deps.readAddress(".admin");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we could load the admin to be checked from the chainlog instead?

- address admin = deps.readAddress(".admin");
+ address admin = chainlog.getAddress("MCD_PAUSE_PROXY");

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ser, in this case it's reading from the output that is exported from the script, which in turn is set to be the PauseProxy: https://github.com/sky-ecosystem/endgame-toolkit/blob/feat/spk-farms-deployment/script/spk-farms/01-UsdsSpkFarmingDeploy.s.sol#L65

interface VestedRewardsDistributionLike {
function dssVest() external view returns (address);

function vestId() external view returns (uint256);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is not used.

@amusingaxl amusingaxl requested a review from 0xBasset September 26, 2025 23:03
@amusingaxl amusingaxl requested review from 0xdecr1pto and removed request for 0xBasset October 13, 2025 18:24
@0xBasset 0xBasset self-requested a review October 14, 2025 12:02
Copy link
Member

@pedrobergamini pedrobergamini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@amusingaxl amusingaxl merged commit f7bcb52 into master Oct 23, 2025
2 checks passed
@amusingaxl amusingaxl deleted the feat/spk-farms-deployment branch October 23, 2025 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants