Skip to content

Commit cadfc45

Browse files
committed
Fixes to natspec and typos per comments on PR #95
1 parent 3de1f8f commit cadfc45

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/L2/UpgradeableRegistrarController.sol

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,9 @@ contract UpgradeableRegistrarController is OwnableUpgradeable {
278278
/// @param owner_ The permissioned address initialized as the `owner` in the `Ownable` context.
279279
/// @param rootNode_ The node for which this registrar manages registrations.
280280
/// @param rootName_ The name of the root node which this registrar manages.
281+
/// @param paymentReceiver_ The address of the fee collector.
282+
/// @param legacyRegistrarController_ the address of the RegistrarController contract.
283+
/// @param l2ReverseRegistrar_ The address of the ENS-deployed L2 Reverse Registrar.
281284
function initialize(
282285
BaseRegistrar base_,
283286
IPriceOracle prices_,
@@ -454,8 +457,7 @@ contract UpgradeableRegistrarController is OwnableUpgradeable {
454457
view
455458
returns (uint256 price)
456459
{
457-
URCStorage storage $ = _getURCStorage();
458-
DiscountDetails memory discount = $.discounts[discountKey];
460+
DiscountDetails memory discount = _getURCStorage().discounts[discountKey];
459461
price = registerPrice(name, duration);
460462
price = (price >= discount.discount) ? price - discount.discount : 0;
461463
}
@@ -629,6 +631,9 @@ contract UpgradeableRegistrarController is OwnableUpgradeable {
629631
/// @param name The specified name.
630632
/// @param resolver The resolver to set the reverse record on.
631633
/// @param owner The owner of the reverse record.
634+
/// @param expiry The signature expiry timestamp.
635+
/// @param cointypes The array of cointypes representing networks that are valid for replaying this transaction.
636+
/// @param signature The ECDSA signature bytes.
632637
function _setReverseRecord(
633638
string memory name,
634639
address resolver,

0 commit comments

Comments
 (0)