You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: contracts/addon/SelfNftAddon.sol
+20-2Lines changed: 20 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,18 @@ contract SelfNftAddon is
23
23
{
24
24
using SafeERC20forIERC20;
25
25
26
+
/**
27
+
* @title SelfNft
28
+
* @author Self dev team
29
+
* @custom:version v2.3.1
30
+
* @custom:date 28 sept 2023
31
+
32
+
------------v2.3.1 changes------------
33
+
- update NameRegistered event to include agent and payment token address
34
+
- update removeChainlinkPricefeed to transfer the collected tokens of the respective price feed to the owner.
35
+
36
+
*/
37
+
26
38
/**
27
39
* The SelfNftMultitokenAddon smart contract serves as an extension to the SelfNft.sol contract, enhancing its capabilities by allowing users to register names as Non-Fungible Tokens (NFTs) using multiple types of tokens, rather than being restricted to a single token. This is made possible through real-time price feeds provided by Chainlink oracles, which ensure that the cost of name registration is accurately calculated in the chosen token at the time of purchase. It also incorporates a server-maintained $SELF price to ensure accurate and up-to-date pricing for name registrations.
0 commit comments