onlydustxyz/starkonquest

Check ownership of the ship contract at registration time

Clement-Brottier opened this issue · 0 comments

User story

https://www.notion.so/onlydust/As-a-user-I-have-to-give-the-address-of-my-ship-to-attempt-registering-it-9d9a3735f9d04eda9129b7a7ffa4cd6a

Description

As a player, I want to be sure another player cannot use my own ship contract to play in a tournament.

Implement a mechanism to check the ownership of a ship contract when it is registered. Accept only registrations made by the owner of the ship.
Feel free to discuss about the mechanism before implementing it.

Acceptance Criteria

  • players must have a way to prove they own their ship contract
  • the tournament must check the ownership before accepting a registration
  • all of this must be tested