We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7ccbf7 commit 051f140Copy full SHA for 051f140
src/DssBlow2.sol
@@ -22,7 +22,6 @@ interface ERC20Like {
22
23
interface JoinLike {
24
function dai() external view returns (address);
25
- function usds() external view returns (address);
26
function join(address, uint256) external;
27
}
28
@@ -39,7 +38,7 @@ contract DssBlow2 {
39
38
daiJoin = JoinLike(daiJoin_);
40
dai = ERC20Like(daiJoin.dai());
41
usdsJoin = JoinLike(usdsJoin_);
42
- usds = ERC20Like(usdsJoin.usds());
+ usds = ERC20Like(usdsJoin.dai());
43
vow = vow_;
44
dai.approve(daiJoin_, type(uint256).max);
45
usds.approve(usdsJoin_, type(uint256).max);
0 commit comments