function price (string memory name, uint expires, uint duration) public view returns(uint);
Returns the price of a name in RIF
namenot used. Pass
expiresnot used. Pass
durationto register the name for.
function renew(string calldata name, uint duration) external;
Renews a name in Node Owner.
This method should be called if the domain is owned by someone.
You must have previously executed
approve() for the amount of tokens to be transferred.
nameThe name to register.
durationTime to register in years.
transferAndCall method with the following encoding to perform a RIF token transfer and domain renewal in a single transaction.
|signature||4 bytes||0 bytes|
|duration||32 bytes||4 bytes|
|name||variable size||36 bytes|
Parameters are used in the same manner as
0xc2c414c8 as the signature.