Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/Usdn/Usdnr.sol
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ contract Usdnr is ERC20, IUsdnr, Ownable2Step {
* @param owner The owner of the USDnr contract.
* @param yieldRecipient The address that will receive the yield when {withdrawYield} is called.
*/
constructor(IUsdn usdn, address owner, address yieldRecipient) ERC20("USDN Reserve", "USDnr") Ownable(owner) {
constructor(IUsdn usdn, address owner, address yieldRecipient)
ERC20("Ultimate Synthetic Dollar - No Rebase", "USDnr")
Ownable(owner)
{
USDN = usdn;
_yieldRecipient = yieldRecipient;
}
Expand Down
2 changes: 1 addition & 1 deletion test/unit/USDNr/Constructor.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ contract TestUsdnrConstructor is UsdnrTokenFixture {
function test_usdnrConstructor() public {
usdnr = new Usdnr(usdn, address(this), address(1));

assertEq(usdnr.name(), "USDN Reserve", "name");
assertEq(usdnr.name(), "Ultimate Synthetic Dollar - No Rebase", "name");
assertEq(usdnr.symbol(), "USDnr", "symbol");
assertEq(address(usdnr.USDN()), address(usdn), "USDN address");
assertEq(usdnr.owner(), address(this), "owner");
Expand Down