Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions deploy/FlapperInit.sol
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ interface PairLike {
}

interface UsdsJoinLike {
function dai() external view returns (address); // TODO: Replace when new join is ready by the new getter
function usds() external view returns (address);
}

interface SplitterLike {
Expand Down Expand Up @@ -158,7 +158,7 @@ library FlapperInit {
FarmLike farm = FarmLike(farm_);
SplitterLike splitter = SplitterLike(cfg.splitter);

require(farm.rewardsToken() == UsdsJoinLike(cfg.usdsJoin).dai(), "Farm rewards not usds");
require(farm.rewardsToken() == UsdsJoinLike(cfg.usdsJoin).usds(), "Farm rewards not usds");
// Staking token is checked in the Lockstake script

// The following two checks enforce the initSplitter function has to be called first
Expand Down
Loading
Loading