ISldRegistrationManager
Git Source (opens in a new tab)
Functions
registerSld
function registerSld(
string calldata _label,
bytes32 _secret,
uint256 _registrationLength,
bytes32 _parentNamehash,
address _recipient
) external payable;
renewSld
function renewSld(string calldata _label, bytes32 _parentNamehash, uint80 _registrationLength) external payable;
getRenewalPricePerDay
function getRenewalPricePerDay(
address _addr,
bytes32 _parentNamehash,
string calldata _label,
uint256 _registrationLength
) external view returns (uint256);
sldRegistrationHistory
function sldRegistrationHistory(bytes32 _sldNamehash) external view returns (uint80, uint80, uint96);
tld
function tld() external view returns (IHandshakeTld);
getRenewalPrice
function getRenewalPrice(address _addr, bytes32 _parentNamehash, string calldata _label, uint256 _registrationLength)
external
view
returns (uint256 _price);
globalStrategy
function globalStrategy() external view returns (IGlobalRegistrationRules);
pricesAtRegistration
function pricesAtRegistration(bytes32 _sldNamehash, uint256 _index) external view returns (uint80);
Events
RegisterSld
event RegisterSld(bytes32 indexed _tldNamehash, bytes32 _secret, string _label, uint256 _expiry);
RenewSld
event RenewSld(bytes32 indexed _tldNamehash, string _label, uint256 _expiry);