Roach Racing Club
Search…
⌃K
☠

Roach liquidation

Owners can liquidate their roaches at any time, even during the egg stage. The owner always receives the default liquidation reward equal to the minimum breeding fee of 100 $MTGN.
Also, any other player can become a Roach Liquidator to seek and eliminate other players’ roaches after their date of death. To become a Roach Liquidator, a player needs to stake 100 $RRC.
When a Roach Liquidator finds a race roach with an ended lifespan and wants to liquidate it, the application generates a signature for the Liquidator to sign it and send to smart contract. The amount of liquidation reward increases from 0 to 100 during the 24 hours from the roach death. This makes it possible to achieve fairness of the reward on the basis of the Dutch auction principle and avoid competition among Liquidators and overpayments for gas.
Technically, upon roach liquidation:
  • The owner of the token is set to 0x0 (burn + event, the total supply decreases)
  • All other data remains: the Genome, parents (to keep the family tree consistent)
  • On the Ghost Roach contract, a new NFT token is created
  • $MTGN is rewarded to the Liquidator

Ghost Roach NFT

When a roach is liquidated, a separate Ghost NFT contract for it is created. Essentially, it’s a proxy for the initial NFT contract with the same token number and all the Metadata preserved. Ghost NFT contracts for liquidated roaches serve as data storage to preserve the family tree and gene information of all the roaches in their generation.