Is it possible to have an ERC20 token contract function that once triggered burns a random token holder's entire balance? Should be possible if I give the token contract maximum allowance for everyones tokens right?

Jul 7, 2022, 5:08 AM
how can investors trust if u can burn
Jul 7, 2022, 5:10 AM
I didn't say I would be able to burn
The contract will do the burning randomly. Not sure who would want that. Just exploring some ideas
Jul 7, 2022, 5:31 AM
its possible , on every transfer?
you have to put like a 1% chance that the guy is transfering got burnt all his balance for example
Jul 7, 2022, 5:43 AM
Right but then it's not a random token holder :)
Jul 7, 2022, 5:48 AM
in a sense is, but only if he moves tokens
Jul 7, 2022, 5:48 AM
Exactly, I want holders to be effected equally across the board, regardless of trading action, only based on holdings
Jul 7, 2022, 5:49 AM
oh i see
i think its possible if done offchain, using scan api and a function
inside the function you could randomize using chainlink
Jul 7, 2022, 5:51 AM
Anyone using hardhat to fork bsc mainnet? I'm using moralis' speedynode for that but it keeps shutting it down because its a free version. Anyone know a better free alternative that doesn't shut down automatically?
Jul 7, 2022, 6:35 AM

© 2024 Draquery.com All rights reserved.