I'm trying to limit transfer of every wallet for a token. It's working for those excluded wallets (owner/dev) but other wallets can't even transact. I believe there's something wrong on "line 190" but I can't notice anything wrong.
Oct 2, 2022, 5:10 PM
error message says try in 5 min, try search that message in your code
Oct 2, 2022, 5:35 PM
It's coming from here itself
Line 427
Oct 2, 2022, 5:36 PM
its a error message from the contract, if a require is not fulfilled
Oct 2, 2022, 5:36 PM
But it's the first txn, it shouldn't give error like that
Oct 2, 2022, 5:36 PM
that is where the error happens, you can try comment that require out, and you will see it will not fail there
work from there and you will find the reason
Oct 2, 2022, 5:38 PM
It's running without this but I need this function
Oct 2, 2022, 5:38 PM
debug it
i recommend tenderly
https://tenderly.co/
Oct 2, 2022, 5:40 PM
Thanks for the assistance
Let me explore this
Oct 2, 2022, 5:41 PM
go to dashboard, paste tx hash of failed tx, then you can scroll your contract code, and see where it fails
Oct 2, 2022, 5:42 PM
Impressive
Oct 2, 2022, 5:43 PM
it really is
Oct 2, 2022, 5:43 PM