gorilla-moverz-dao / gorilla-moverz-website

https://gorilla-moverz.xyz
1 stars 0 forks source link

Banana farm: Don't allow sending of tokens #4

Closed movement-overdrive closed 2 months ago

movement-overdrive commented 3 months ago

To prevent consolidating different wallets and send banana tokens to one wallet address (and trick the leaderboard) we should freeze the tokens when they are farmed.

https://github.com/gorilla-moverz-dao/gorilla-moverz-website/blob/main/move/banana/sources/banana.move#L90

We should be able to use the transfer functionality from the banana farm that will ignore the freezed account: https://github.com/gorilla-moverz-dao/gorilla-moverz-website/blob/main/move/banana/sources/banana.move#L73

If that does not work, we can also state this in the terms and verify token transfers when we conclude the leaderboard.