@@ -278,6 +278,9 @@ contract UpgradeableRegistrarController is OwnableUpgradeable {
278
278
/// @param owner_ The permissioned address initialized as the `owner` in the `Ownable` context.
279
279
/// @param rootNode_ The node for which this registrar manages registrations.
280
280
/// @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.
281
284
function initialize (
282
285
BaseRegistrar base_ ,
283
286
IPriceOracle prices_ ,
@@ -454,8 +457,7 @@ contract UpgradeableRegistrarController is OwnableUpgradeable {
454
457
view
455
458
returns (uint256 price )
456
459
{
457
- URCStorage storage $ = _getURCStorage ();
458
- DiscountDetails memory discount = $.discounts[discountKey];
460
+ DiscountDetails memory discount = _getURCStorage ().discounts[discountKey];
459
461
price = registerPrice (name, duration);
460
462
price = (price >= discount.discount) ? price - discount.discount : 0 ;
461
463
}
@@ -629,6 +631,9 @@ contract UpgradeableRegistrarController is OwnableUpgradeable {
629
631
/// @param name The specified name.
630
632
/// @param resolver The resolver to set the reverse record on.
631
633
/// @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.
632
637
function _setReverseRecord (
633
638
string memory name ,
634
639
address resolver ,
0 commit comments