if the percentage that Aave charges for the loan is within a function, but the Fee that is paid in each exchange for arbitration is what does not let me move forward

Jan 20, 2023, 11:28 PM
For example, I put it as a fixed Fee and remix sent me the message that it is reverted with the code 3 error, I tried to put it in a function and the same message
In the contract I ask for the loan from Aave, and they used it by doing arbitration, I buy in kyber and I sell in sushi and then the function to return the loan plus the Aave commission
The cost for the Aave loan is 0.09%, so far I think it's fine, but the problem is that the payment of the Fees for the exchanges
Yes, I already reviewed the examples, and I have everything! to make me understand better. How do I pay the Fee for an exchange?
Jan 21, 2023, 12:59 AM

© 2024 Draquery.com All rights reserved.