Skip to content

Commit 051f140

Browse files
committed
chore: fix interface
1 parent e7ccbf7 commit 051f140

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/DssBlow2.sol

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ interface ERC20Like {
2222

2323
interface JoinLike {
2424
function dai() external view returns (address);
25-
function usds() external view returns (address);
2625
function join(address, uint256) external;
2726
}
2827

@@ -39,7 +38,7 @@ contract DssBlow2 {
3938
daiJoin = JoinLike(daiJoin_);
4039
dai = ERC20Like(daiJoin.dai());
4140
usdsJoin = JoinLike(usdsJoin_);
42-
usds = ERC20Like(usdsJoin.usds());
41+
usds = ERC20Like(usdsJoin.dai());
4342
vow = vow_;
4443
dai.approve(daiJoin_, type(uint256).max);
4544
usds.approve(usdsJoin_, type(uint256).max);

0 commit comments

Comments
 (0)