Skip to content

Testing All Possible Events in a TCR

Eddy Muñoz edited this page Mar 10, 2018 · 9 revisions

W1 = Wallet 1 = Applicant Wallet W2 = Wallet 2 = Challenger Wallet W3 = Wallet 3 = Support–Vote Wallet W4 = Wallet 4 = Oppose–Vote Wallet

Below are a list of all possible events that can happen amongst applicants, challengers, and voters both in registry listings and in governance interactions:

Events within the registry

Event 1

Unchallenged Application

  1. W1 applies foo.com into the registry
  2. foo.com goes unchallenged and is admitted into the registry
  3. W1 now has the ability to:
    • Stake more token into the foo.com
    • Withdraw token from foo.com's stake
    • Withdraw foo.com from the registry and withdraw all tokens staked with foo.com

Event 2

No Vote Challenge

  1. W1 applies foo.com into the registry
  2. W2 challenges foo.com from the registry
  3. In voting, nobody votes on foo.com, and tie goes to the challenger
  4. W2 wins 100% of the minDeposit used by W1 to apply foo.com

Event 3