NNS First Bi-weekly Report of July

robbie wang
NewEconoLabs
Published in
2 min readJul 18, 2018

NNS

NNS Wallet

Domain bidding

Removed the balance display in multiple places, and now only display the abnormal prompt when the balance is insufficient;

Fixed page routing, save the route by opening the sub-route under the NNS page, so that the page still stays on the sub-route interface when the page is refreshed.

The function of exchanging SGas->Gas is at the same level with the transaction to prevent user confusion

Improved input verification in various places, decimal precision verification of the amount, balance verification

The parameters of the domain bidding details page are modified to directly call the contract to prevent the data from being updated not timely.

When the domain auction is opened, it is detected that the domain name has expired and then its auction can be reopened.

Updated Chinese version display

Upgraded the SGas exchange function to the functional module at the same level as the transaction.

Domain name setting

Optimized the domain renewal function, the domain name obtained can be renewed in advance within three months before its expiration

optimization

The operation of updating the data is given to the unified process for judgment, and the data check is called after the height change.

Optimized the caching mechanism to place pending items in a unified storage

2. NNC

NNC airdrop

Researched and compared support of node version 2.7.4, 2.7.5, 2.7.6 for NNC.

Helped O3, NEON and other wallets to locate and resolve NNC contract calls due to differences in CLI versions. It is currently confirmed that due to the latest contract features adopted by the NNC contract, NEO CLI 2.7.4 below may result in contract execution anomalies. This problem can be solved by using the latest released 2.7.6 (.1) and the block and notification data need to be completely resynchronized.

3. NNS api support

Optimized NNS interface query efficiency

Completed the query function of used domain names and the number of domain names being auctioned.

Completed a list query and a single query for the domain being auctioned

Completed list query and single query for the most valuable domain names

Fixed single address data parsing error when contract data are warehoused.

Solved the problem of parsing error when the auction amount is decimal

4. NNS contract

Fixed the problem of refund failure in the domain collection contract.

Modifed auction system fee and renewal time

--

--