develop a form of lottery discussing with my team mate we face the following problem:
The token is based on standard ERC20, it does not have the way to get the list of all holders (it only holds a list of address:balance pairs, but it has no way for other contracts to get holder list),.
Now is there a way to get around this?
u should try iterating through the address: balances table on the contract and filter out the addresses with 0 balance
.
Had this as response but doesnt look possible due the above issue
Обсуждают сегодня