-
Notifications
You must be signed in to change notification settings - Fork 275
Open
Description
Hi Everyone,
I managed to deploy the smart contract and perform the flash loans. However, I don't know how to withdraw the funds from the smart contract.
Let's talk with the case on hand:
- The flashloan transaction is https://kovan.etherscan.io/tx/0xeac15b9a14a8d37b100f23f9a55dca097369cb6ced33140e6efdf2b6f2d95c5f .
- My wallet is 0x5a4913ab8049779e5dd3195b0e81b9ea507bbae0
- The contract is 0xF5a1656C865Ed60ad4a3d5092A480a2BAff7af48
To do the flashloan, funds are transferred from wallet to the contract with transaction https://kovan.etherscan.io/tx/0x9c3d95bd9ddb14e7debfe9153724f7b3aaf0d981b4657d1a000e2d70860eff44 to cover the fees. Then I'm able to execute the flashloan correctly.
However, now the contract has a balance, that should be transferred back to my wallet. So my doubt is:
- How do I transfer the balance on the contract back to my wallet?
- Could be that the code is effectively transferring the profit back to the wallet, but I am not seeing it because there is no profit in the transaction I did? It was only the flashloan, so there is a loss for the fees.
Thanks for who can clarify me this.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels