Determines the price of a domain.
| Years | Price |
|---|---|
| 1 | 2 RIF |
| 2 | 4 RIF |
| 2+k | 4+k RIF |
pricefunction 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 yearsReturn price in RIF tokens.
Go to top