Questions tagged [flash-loans]
The flash-loans tag has no usage guidance.
9
questions
0
votes
0answers
19 views
Cant receive wETH to my contract after swap on uniswap
I write a simple contract to do a flash loan from aave and interact with uniswap in it. I found out that no wETH is sent to my contract after swaping on uniswap. Transcations are here: https://kovan....
0
votes
0answers
68 views
ETH2 Atomic Composability and Sharding: What does it really mean for DeFi users?
In the following post, Vitalik Buterin claimed that ETH2-Sharding will not break DeFi composablity:
[1] https://ethresear.ch/t/cross-shard-defi-composability/6268
However, I am not at all convinced by ...
3
votes
1answer
125 views
Explain “griefing” attack on Aave flash loan
Aave doc about flash loan warns to never store funds inside a receiver contract as it can be exposed to "griefing" attack.
So my questions are
Can you give an example of this attack?
How ...
1
vote
0answers
24 views
What causes re-entrancy attacks? [duplicate]
I’ve seen a lot of projects be hit with re-entrancy attacks caused by flash loans, what is the main process behind these attacks?
1
vote
0answers
76 views
Flash minting ether security considerations and attacks
Flash loans enable a class of attacks that have not been possible or observed as much in prior systems.
Flash minting ether is a concept that is starting to be implemented.
See Example of flash ...
8
votes
4answers
659 views
Flash loan security considerations and attacks
What do developers need to be aware of to make their contracts and systems safe against flash loans?
What do they have to think about and protect against?
3
votes
0answers
127 views
Example of flash minting ether
The WETH10 project offers a flash minting feature.
This contract allows to flashMint an arbitrary amount of Wrapped Ether, unbacked by real Ether, with the condition that it is burned before the end ...
1
vote
1answer
120 views
Flash loan compile error with function() external payable
I am attempting to compile a flash loan contract. I am having issues with the external payable function. I've tried adding fallback or receive as the error message suggests but I still receive the ...
1
vote
1answer
75 views
Flashloan callFunction being called internally
I had a chance to look at this contract.
contract Flashloan is DyDxFlashLoan {
uint256 public loan;
constructor() public payable {
(bool success, ) = WETH.call.value(msg.value)("&...