Name Price
- MainNet: 0xd09adf13e482928e47e96dd6f02aad1daf7a5a47
- TestNet: 0x794f99f1a9382ba88b453ddb4bfa00acae8d50e8
- Smart contract
Determines the price of a domain.
Years | Price |
---|---|
1 | 2 RIF |
2 | 4 RIF |
2+k | 4+k RIF |
Public methods
price
function price (string calldata /*name*/, uint /*expires*/, uint duration) external view returns(uint);
Calculate name price in RIF token for a given duration
Is a pure function, but converted to view due the AbstractNamePrice spec.
duration
of the name to register in years
Return price in RIF tokens.