Publication
Partagez vos connaissances.
Aaveator138
Feb 07, 2023
Questions et Réponses avec des Experts
Creation of flashloan pending Aave Error
Hello, i have this error:
creation of FlashLoan pending...
[vm]from: 0x5B3...eddC4to: FlashLoan.(constructor)value: 0 weidata: 0x608...eddc4logs: 0hash: 0x1ce...d411d
creation of FlashLoan errored: VM error: revert.
revert
The transaction has been reverted to the initial state.
Note: The called function should be payable if you send value and the value you send should be less than your current balance.
Debug the transaction to get more information.
when i debug it the error rise from @aave/core-v3/contracts/flashloan/base/FlashLoanSimpleReceiverBase.sol
- Aave Protocol
- Aave flashloan
0
1
Partager
Commentaires
Feb 8 2023, 20:43
We don't have enough information to triage this. What was the function you called? What were your parameters your sent? Can you please give as much detail as possible. This is a generic error.
Réponses
1Aaveator138
Feb 14 2023, 11:58Hello! Can you try changing the constructor to this:
constructor(address _addressProvider)
FlashLoanSimpleReceiverBase(IPoolAddressesProvider(_addressProvider))
{
owner = payable(msg.sender);
}
0
Commentaires
Connaissez-vous la réponse ?
Veuillez vous connecter et la partager.
Aave is a decentralized non-custodial liquidity protocol where users can participate as depositors or borrowers.
213Publications230Réponses
Gagne ta part de 1000 Sui
Gagne des points de réputation et obtiens des récompenses pour avoir aidé la communauté Sui à se développer.
Publications tendance
- Error "No matching key" when trying to unstake USDC on BNB chain32
- How to tell the code to, rather than "deposit 1 eth worth of WBTC" deposit "500$ worth of WBTC"?22
- How to interpret configuration field in a response from the getReserveData view function in Aave v2?21
- Getting a return value of '25 - INVALID BURN AMOUNT'21
- Is there any way to stake in the security module on Görli?23