3 ms·
It's actually way funnier than GOP presets to be. Flashloan must be paid back in the same transaction. Since whole thing happens in the same tx, it's atomic. So
by exo762 5y ago
It's actually way funnier than GOP presets to be. Flashloan must be paid back in the same transaction. Since whole thing happens in the same tx, it's atomic. So you can use smart-contract logic to determine if you are actually making a profit, and if you are not - revert!