# Leaderboard/Points

Here's what gets you the most points, in order.

1. **Place a PreOrder**&#x20;
   * The 1st person gets the largest bonus
   * The first 10 each get an additional bonus
   * the remainder are static
   * points are based on amount values
2. **Buy/Sell tokens**
   * Again, being early gets you bonus points
   * points are based on amount values
   * there is a cap to prevent wash trading
3. **Creating Tokens**
   * small static value, with a bonus if you reach a certain number of upvotes
4. **Comments**
   * small static value, with a cap per thread. A bonus is given to helpful comments.

## PreOrder Formula

$$
P\_{\text{total}} = \sum\_{i=1}^{n} \left(
\frac{A\_i}{10^6} \cdot \mathbf{1}*{{\text{USDC}}} +
\frac{A\_i}{10^{18}} \cdot \text{AVAX price} \cdot \mathbf{1}*{{\text{non-USDC}}} +
(10 - \text{pos}*i) \cdot \mathbf{1}*{{\text{pos}\_i < 10}}
\right)
$$

<details>

<summary>Explanation</summary>

* $$n$$: Total number of valid preorders by the user.
* $$Ai$$: Amount of preorder $$i$$.
* $$1{condition}$$: Indicator function that is 1 if the condition is true, and 0 otherwise.
* $$AVAX price$$: Current price of AVAX in USD.
* $$posi$$: Position of preorder $$i$$ in the overall list of preorders, sorted by creation date.

</details>

## Swap Formula

$$
P = \sum\_{i=1}^{n} \left( \frac{1}{\Delta T\_i + 1} \times \frac{F\_i}{10^{18}} \right) \times \left( 1 - \text{isWashTrade}(S\_{D\_i}, T\_{\text{swap}}) \right)
\
$$

<details>

<summary>Explanation</summary>

* $$n$$: Total number of valid swaps by the user.
* $$ΔT  i ​$$: Absolute difference in days between the swap date $$SDi$$ and the tokenize date $$TDi$$.
* $$F  i$$: Fee amount for swap $$i$$ in 18 decimal places.
* $$S  D  i$$: Swap date for swap $$i$$.
* $$T  swap ​$$: List of previous swap times for the same token.
* $$isWashTrade(S  D  i ​   ​  ,T  swap ​  )$$: Function returning 1 if the swap is considered cheating, and 0 otherwise.

</details>

## Thread Formula

$$
P\_{\text{total}} = \sum\_{i=1}^{n} \left(
2 +
2 \cdot \mathbf{1}\_{{\text{upvotes}*i > 3}} +
2 \cdot \mathbf{1}*{{\text{comments}*i > 3}} +
2 \cdot \mathbf{1}*{{\text{presales}\_i > 3}}
\right)
$$

<details>

<summary>Explanation</summary>

* $$n$$: Total number of threads submitted by the user.
* $$1  {condition} ​$$: Indicator function that is 1 if the condition is true, and 0 otherwise.
* $$upvotes  i$$: Number of upvotes for thread $$i$$.
* $$comments  i ​$$: Number of comments for thread $$i$$.
* $$presales  i$$: Number of presales for thread $$i$$.

</details>

## Comment Formula

$$
P\_{\text{total}} = \sum\_{i=1}^{n} \left( 1 + 1 \cdot \mathbf{1}\_{{\text{upvotes}*i > 3}} \right) \cdot \mathbf{1}*{{\text{count}(C, \text{thread}\_i) \leq 1}}
$$

<details>

<summary>Explanation</summary>

* $$n$$: Total number of valid comments by the user.
* $$1{condition}$$: Indicator function that is 1 if the condition is true, and 0 otherwise.
* $$upvotesi$$: Number of upvotes for comment $$i$$.
* $$count(C)$$: Count of comments by the user in each thread, capped at 2.

</details>
