Skip to content

Commit

Permalink
align and diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
hexonaut committed Aug 27, 2024
1 parent 7830572 commit 8b9d49f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file added .assets/sdai-to-usds.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ This contract is used to upgrade from DAI, sDAI to USDS, sUSDS. Also contains a

Below is a diagram that outlines the migration path from sDAI to sUSDS. This migration path is the most complex and all other paths are subsets of this one.

![sDAI to sUSDS](https://github.com/user-attachments/assets/a7b74251-f7bb-46e1-ac77-88a1e1c452b5)
![sDAI to sUSDS](./.assets/sdai-to-usds.png)

# Test

Expand Down
2 changes: 1 addition & 1 deletion src/MigrationActions.sol
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ contract MigrationActions {

function _migrateDAIToUSDS(address receiver, uint256 amount) internal {
daiJoin.join(address(this), amount);
usdsJoin.exit(receiver, amount);
usdsJoin.exit(receiver, amount);
}

}

0 comments on commit 8b9d49f

Please sign in to comment.