-
Notifications
You must be signed in to change notification settings - Fork 9
Testing the adChain Registry for Mainnet Launch
Below is a list of the user flows according to the functionalities written for TCRs:
- Applying a Listing
- Challenging an Listing In Application
- Challenging a Listing In Registry
- Committing a Vote
- Revealing a Vote
- Refreshing Listing Status
- Removing In Registry Listing
- Withdrawing Tokens from In Registry Listing
- Depositing Tokens into In Registry Listing
- Pre-Approve Token Transfer
- Request Voting Rights
- Withdraw Voting Rights
- Enter Domain Name
- Enter total tokens to stake with application (must be at or above minDeposit)
- Sign TX1 – allows the registry contract to transfer tokens from your wallet
- Sign TX2 – submits the tokens to apply the potential listing
- Choose which applicant to challenge and click CHALLENGE
- The challenge will be done with the current minDeposit value
- Sign TX1 – allows the registry contract to transfer tokens from your wallet
- Sign TX2 – submits the tokens to challenge the application
- Choose which In Registry listing to challenge and click CHALLENGE
- The challenge will be done with the current minDeposit value
- Sign TX1 – allows the registry contract to transfer tokens from your wallet
- Sign TX2 – submits the tokens to challenge the application
- Choose which listing to commit votes for
- Enter the number of votes to commit
- Choose your VOTE OPTION as either SUPPORT or OPPOSE
- Save the CHALLENGE ID and SECRET PHRASE (SALT), or simply download the commit JSON file
- Sign TX1 – allows the registry's PLCR contract to transfer tokens from your wallet
- Sign TX2 – requests voting rights from the registry's PLCR contract
- Sign TX3 – submits vote commit to the registry's PLCR contract
- Choose which listing to reveal votes for (you must have previously committed)
- Enter the CHALLENGE ID, VOTE OPTION, and SECRET PHRASE, or upload your JSON commit file
- Sign TX1 – submits vote reveal hash to the registry's PLCR contract
When a domain is about to be either admitted or rejected, their domain's status needs to be refreshed. This means that a token holder must sign a TX to update the listing's status
- Click on the REFRESH STATUS button when a domain's application stage ends
- The domain will either be In Registry or Rejected
- Sign TX1 – updates the listing's status in the registry's contract
When you applied a listing and have it admitted in the registry, you are able to withdraw the listing from the registry and have your tokens returned. Only the listing applicant's wallet address is allowed to withdraw the listing.
When minDeposit is decreased, you can safely withdraw tokens from your listing without being subject to touch and remove.
When minDeposit is increased, your listing will be subject to touch and remove. You'll need to deposit additional token into your In Registry listing in order to keep it safe.
This minimizes the number of TXs you have to sign since you'll be pre-approving a token amount for application and challenging purposes.
- Enter the amount of tokens to pre-approve for application/challenging purposes
- Sign TX1 – allows the registry contract to transfer tokens from your wallet
This minimizes the number of TXs you have to sign since you'll be pre-approving a token amount for voting purposes.
- Enter the amount of tokens to pre-approve for voting purposes
- Sign TX1 – allows the registry's PLCR contract to transfer tokens from your wallet
- Sign TX2 – requests voting rights from the registry's PLCR contract
This allows you to withdraw the tokens you used to vote. In order to be withdrawn, the tokens must not be used in a poll
- Enter the amount of tokens to withdraw from voting rights
- Sign TX1 – withdraws tokens from PLCR contract