🚪Swap

swap positions with others

Swap

Users can swap their positions with others when rolling in the line. The swapping follows the principle of 'halving'

Half of the swap fees paid will be given to the snowballs that are being swapped passively, and the other half will be sent to the A3S Treasury.

Swap Backwards

Users can pay 1 $AA to swap backward.

When swapping backward, the target position (the backward mid-point ) is the one that halves the user's distance from the end of the queue.

Swap Backwards Example

The snowball's position is #300, and the total number of snowballs in the queue is 1,000.

So, the distance of this snowball from the end of the queue is 1,000-300=700. And halving the distance would result in the 700/2=350 from the end of the queue, which is actually the #650.

If the snowball on the #650 position is not protected, the swap will be successful, resulting in the snowballs on #300 and #650 swap with each other.

Swap Forwards

Users can pay the extra $AA whose amount is equal to 3% of the snowball weight to swap forward.

When swapping forward, the farthest target position(the forward mid-point) is the one that halves the user's distance from the head of the queue. One thing different with swapping backward is that users can choose the target position by themselves as long as the position is between its original position and the forward mid-point.

Swap Forwards Example

The snowball's position is #300, its weight is 100, and the total number of snowballs in the queue is 1,000.

So, the distance of this snowball from the head of the queue is 300. And halving the distance would result in the 300/2=150 from the head of the queue, which is actually the #150.

So, users can pay 3%*100=3 $AA to choose the snowballs whose position is between 150-300 to swap.

*Times of swap attempt

The swap could fail due to certain snowballs in the line being protected by the Snow Angel.

In this case, the system will automatically attempt the swap up to 20 times (adjustable to users), trying to swap with the 19 snowballs next to the midpoint.

In other words, the 'Times of swap attempt' means the largest difference you would accept when conducting the swap action in one transaction.

Last updated