In this exercise, you'll learn how to set up a DSProxy and open a CDP using the DssProxyActions contract.
The starter code for this exercise is provided in foundry/src/exercises/ProxySetUp.sol
Solution is in foundry/src/solutions/ProxySetUp.sol
Hint: notes/code/DssProxyActions.sol
constructor(address _gemJoin, address _daiJoin) {
// ... existing code ...
// Write your code here
}- Build a
DSProxyusingfactory.build. - Open a CDP by executing
IDssProxyActions.openthrough the proxy.
forge test --fork-url $FORK_URL --match-path test/ProxySetUp.t.sol -vvv