$RAT Logo

Bonus Mechanism

Introduction

This page provides a brief illustration of how the Random Token ($RAT) bonus mechanism might work in practice. We walk through various transfers among fictional holders—Alice, Bob, Carol, and Dave—to highlight how randomized bonuses are triggered and how eligibility changes over time.

Initial Setup

The following conditions apply:

Their starting balances are:

Because Carol holds fewer than 100,000 RAT and Alice is excluded, the only addresses in the eligibleHolders list at the beginning are:

[ Bob, Dave ]

Transaction 1: Bob → Carol (50,000 RAT)

Sender: Bob (eligible), Recipient: Carol (currently not eligible). Since Bob is not excluded, the random bonus logic does trigger.

  1. The contract calculates a random percentage. Suppose it picks 7%.
  2. Bonus amount = 7% of 50,000 = 3,500 RAT.
  3. That bonus is sent to a randomly chosen address in [Bob, Dave]. Assume the random pick is Dave.
  4. Bob sends 3,500 RAT to Dave (bonus), and (50,000 - 3,500) = 46,500 RAT to Carol.

Post-transaction balances:

Now, Carol’s balance is above 100,000. She is added to the eligibility list:

[ Bob, Dave, Carol ]

Transaction 2: Carol → Dave (60,000 RAT)

Sender: Carol (just became eligible), Recipient: Dave (eligible).

  1. Random percentage is picked. Suppose it’s 2%.
  2. Bonus amount = 2% of 60,000 = 1,200 RAT.
  3. The random choice among [Bob, Dave, Carol] ends up selecting Bob.
  4. Carol sends 1,200 RAT to Bob (effectively subtracting it from the transfer). Then she sends the remaining 58,800 RAT to Dave.

Post-transaction balances:

Carol’s new balance is 76,500, which is under 100K, so she loses eligibility:

[ Bob, Dave ]

Transaction 3: Alice → Bob (40,000 RAT)

Sender: Alice (excluded), Recipient: Bob (eligible).

Because the sender is excluded, this transaction bypasses the bonus logic entirely—no random pick occurs.

Bob remains eligible since he’s still well above 100,000. Carol remains below 100K, and Alice is excluded, so:

[ Bob, Dave ]

Summary

Through these examples, we see how:

This demonstrates the core logic behind Random Token ($RAT)’s fun, surprise-based bonus mechanism, encouraging widespread community engagement and participation.