- Karma : 157
- Questions : 13
- Answers : 8
- Comments : 8
Gotcha, so I could use this for example:
Mapping(address => uint) allBalances;
Then, what I would like to do is use 'weight' to determine who has the most in their account, who's second...third etc. out of 10.
Is that possible? If so, is it then possible to use that logic for ERC20 tokens (Just one specific token).