Flow price: --
fa03845e40f2b7990f91fd003aa711bc1b4078ee9b2442822b22a92c8eff222b

Transaction

Hash: fa03845e40f2b7990f91fd003aa711bc1b4078ee9b2442822b22a92c8eff222b
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] error caused by: 1 error occurred:
	* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
  --> fa03845e40f2b7990f91fd003aa711bc1b4078ee9b2442822b22a92c8eff222b:32:8
   |
32 |         getAccount(0xc353b9d685ec427d)
33 |             .capabilities.borrow<&{SwapInterfaces.PairPublic}>(SwapConfig.PairPublicPath)!
34 |             .flashloan(executor: LendingExecutor.borrowSwapExecutor()!, requestedTokenVaultType: outVault.getType(), requestedAmount: amount, params: args)
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

   --> c353b9d685ec427d.SwapPair:620:12
    |
620 |             SwapPair.flashloan(executor: executor, requestedTokenVaultType: requestedTokenVaultType, requestedAmount: requestedAmount, params: params)
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

   --> c353b9d685ec427d.SwapPair:481:23
    |
481 |         let tokenIn <- executor.executeAndRepay(loanedToken: <- tokenOut!, params: params)
    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  --> efb80fd452832e05.LendingExecutor:19:12
   |
19 | 			return <-callback(<-loanedToken, repayAmount)
   | 			         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: assertion failed: 757.96417774 <= 759.13565262
  --> fa03845e40f2b7990f91fd003aa711bc1b4078ee9b2442822b22a92c8eff222b:23:12
   |
23 |             assert(e.balance > repayAmount, message: e.balance.toString().concat(" <= ").concat(repayAmount.toString()))
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


Hash:
fa03845e40f2b7990f91fd003aa711bc1b4078ee9b2442822b22a92c8eff222b
Status:
ERROR
Block height:
94632312
Block id:
fae219e4813e66f1bea9cffbcaa863fc3272cec51e0f55b9d403d75cee4f7e85
Timestamp:
Sunday 24 November 2024 at 04:26:08 UTC
()
Proposer:
Authorizers:
Gas used:
1484