Bounty Brief #29 - 4. Swaps + Pools
This dashboard is my analysis to answer two questions: How many tokens have been distributed via Pylon swaps? How many tokens have been earned via Pylon pools? Those two looks like a simple questions but as it turned out after analysing Terra Blockchain that was not a simple task.
As of publishing this dashboard (10th Nov 2021) the following projects and pools are live:
-
Pylon Protocol with MINE token (400,000,000 tokens to be distributed)
- Pool 1 with 18 months total vesting (rewards not claimable yet) - 130,000,000 tokens in a pool
- Pool 2 with 12 months total vesting (rewards not claimable yet) - 50,000,000 tokens in a pool
- Pool 3 with 6 months total vesting (rewards claimable start: Sep 30, 2021 03:00Z) - 50,000,000 tokens in a pool
- Swap - according to documentation its size is 200,000,000 tokens
-
Loop Finance with LOOP token (40,000,000 tokens to be distributed)
- Pool 1 with 18 months total vesting (rewards not claimable yet) - 23,000,000 tokens in a pool
- Pool 2 with 12 months total vesting (rewards not claimable yet) - 12,000,000 tokens in a pool
- Pool 3 with 6 months total vesting (rewards claimable start: Nov 11, 2021 06:30Z) - 5,000,000 tokens in a pool
-
Terra World with TWD token (770,000,000 tokens to be distributed)
- Pool 1 with 18 months total vesting (rewards not claimable yet) - 505,000,000 tokens in a pool
- Pool 2 with 12 months total vesting (rewards not claimable yet) - 200,000,000 tokens in a pool
- Pool 3 with 6 months total vesting (rewards claimable start: Nov 20, 2021 03:30Z) - 65,000,000 tokens in a pool
-
Nexus Protocol with PSI token (300,000,000 tokens to be distributed)
- Swap - according to documentation its size is 300,000,000 tokens
-
Valkyrie Protocol with VKR token (30,000,000 tokens to be distributed)
- Pool 1 with 18 months total vesting (rewards not claimable yet) - 10,000,000 tokens in a pool
- Pool 2 with 12 months total vesting (rewards not claimable yet) - 3,500,000 tokens in a pool
- Pool 3 with 6 months total vesting (rewards not claimable yet) - 1,500,000 tokens in a pool
- Swap - according to documentation its size is 15,000,000 tokens
-
Orion Money with (650,000 tokens to be distributed)
- Pool 1 with 12 months total vesting (rewards not claimable yet) - 650,000 tokens in a pool
As we can see there is one pool only which allows user to claim tokens. Just to be precise, tokens are still being distributed according to vesting rules but rewards of users deposits cannot be claimed yet (at least for pools which have just been created).
So when I talk about rewards being earned I mean tokens which were distributed according to vesting but those might be not yet be claimable.
This was a biggest challenge because Terra Blockchain does not show any transactions related to distribution of tokens according to above definition of distribution term. It's a linear equation according to the reward rate parameter defined during instantiation. However, it could be a subject of change and it actually occurred twice! For the first time it happened to $TWD pools and then for $LOOP. So those two have been taken into consideration when counting number of distributed tokens.
According to Pylon documentation projects can also delegate some of their tokens to Pylon Swap, a virtual fixed swap pool with one-way token price guarantees. On this mechanism, investors may directly swap UST in exchange for project tokens right away at a fixed price, but investors must wait for lockup period expiry before claiming their project tokens.
Pylon Swaps have their pool size configured when instantiating a pool swap contract. Users can then deposit their funds (e.g. UST) and then receive tokens at a very competitive price.
Above table shows
- how many UST have been deposited into the Pylon Swaps (Deposited UST),
- how many of those have been earned/sent to projects (Earned UST)
- initial swap pool size (in number of tokens)
- how many of the tokens were claimed/withdrawn from the swaps
The most interesting is $MINE case - it seems like more tokens have been claimed/withdrawn then the actual swap pool size. To better understand it I have prepared additional data which shows if there were any incoming transfers of tokens into the contracts of the above swaps
As it turned out Pylon (MINE) had an additional transfer of over 4,500,000 of $MINE tokens which now explains how it was possible to have over 200,000,000 of claimed/withdrawn tokens from Pylon Swap for MINE.