-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MCD rDAI deployed * 1.0.1-rc3 * add truffle-plugin-verify for easier etherscan verification * make @truffle/contract peerDependency * workflow renaming * badge links updated * cleaner github action ci workflow * updated README.md with new addresses
- Loading branch information
Showing
18 changed files
with
939 additions
and
1,025 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module.exports = { | ||
skipFiles: ['test/'] | ||
skipFiles: ["test/", "tokens/"] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/** | ||
* Because the use of ABIEncoderV2 , the pragma should be locked above 0.5.10 , | ||
* as there is a known bug in array storage: | ||
* https://blog.ethereum.org/2019/06/25/solidity-storage-array-bugs/ | ||
*/ | ||
pragma solidity >=0.5.10 <0.6.0; | ||
pragma experimental ABIEncoderV2; | ||
|
||
import { RToken, IAllocationStrategy } from "../RToken.sol"; | ||
|
||
/** | ||
* @notice RToken instantiation for rSAI (Redeemable SAI) | ||
*/ | ||
contract rDAI is RToken { | ||
|
||
function initialize ( | ||
IAllocationStrategy allocationStrategy) external { | ||
RToken.initialize(allocationStrategy, | ||
"Redeemable DAI", | ||
"rDAI", | ||
18); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/** | ||
* Because the use of ABIEncoderV2 , the pragma should be locked above 0.5.10 , | ||
* as there is a known bug in array storage: | ||
* https://blog.ethereum.org/2019/06/25/solidity-storage-array-bugs/ | ||
*/ | ||
pragma solidity >=0.5.10 <0.6.0; | ||
pragma experimental ABIEncoderV2; | ||
|
||
import { RToken } from "../RToken.sol"; | ||
|
||
/** | ||
* @notice RToken instantiation for rSAI (Redeemable SAI) | ||
*/ | ||
contract rSAI is RToken { | ||
|
||
function updateTokenInfo() | ||
external | ||
onlyOwner { | ||
name = "Redeemable SAI"; | ||
symbol = "rSAI"; | ||
} | ||
|
||
} |
Oops, something went wrong.