that should send n transactions. At first I thought about the usual for loop inside the contract, but realized that this is a bad idea because it is not limited to gas. Calling a function in a loop through the server part? How good is this practice? Are there any examples of implementation in known protocols
see how dividend tracker token can iterate a list and pick up where it ran out of gas
Depends on what the function does. What does it do?
In short, it calculates the amount and calls transferFrom for another contract
Обсуждают сегодня