Who Can Operate A Sentry
Anyone can operate a Sentry by downloading the software. However, to submit claims and receive rewards, a Sentry License Key must be purchased. The process of purchasing a Sentry License Key is handled by a specific contract. This contract allows a user to mint a new Sentry License token by sending the correct amount of Ether. The price for minting a Sentry License token is determined by an increasing threshold system, where at certain sale amounts, the price of Sentry license keys increase.
Once a user has a Sentry License Key, they can register with the Referee by calling a specific function in another contract. This function checks that the Sentry License Key is valid and that the user is either the owner of the Sentry License or an approved operator. If these conditions are met, the user's assertion is submitted to the challenge.
The contract also includes a function that allows a user to claim a reward for a successful assertion. This function checks that the challenge is closed for submissions and that the owner of the Sentry License has been approved following a “Know Your Customer” check.. If these conditions are met and the assertion is valid for a payout, a reward is sent to the user’s wallet.
Last updated