Flow price: --
045bc3a66a196d1ee12e80cdb889895398d5be0f0495700ce00effb889e1a493

Transaction

Hash: 045bc3a66a196d1ee12e80cdb889895398d5be0f0495700ce00effb889e1a493
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:
  --> 045bc3a66a196d1ee12e80cdb889895398d5be0f0495700ce00effb889e1a493:53:8
   |
53 |         pairRef.flashloan(executorCap: executorCap, requestedTokenVaultType: requestedVaultType, requestedAmount: requestedAmount, params: args)
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

   --> 2f1146efca1864a3.SwapPair:504:12
    |
504 |             SwapPair.flashloan(executorCap: executorCap, requestedTokenVaultType: requestedTokenVaultType, requestedAmount: requestedAmount, params: params)
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

   --> 2f1146efca1864a3.SwapPair:390:23
    |
390 |         let tokenIn <- executorRef.executeAndRepay(loanedToken: <- tokenOut!, params: params)
    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: pre-condition failed: Amount withdrawn must be less than or equal than the balance of the Vault
   --> 9a0766d93b6608b7.FungibleToken:198:16
    |
198 |                 self.balance >= amount:
    |                 ^^^^^^^^^^^^^^^^^^^^^^


Hash:
045bc3a66a196d1ee12e80cdb889895398d5be0f0495700ce00effb889e1a493
Status:
ERROR
Block height:
176516915
Block id:
f5f8b0c16c1975b727fa86c5570d205df671398983c6ecfc27be047629932d0f
Timestamp:
Monday 22 April 2024 at 00:37:31 UTC
()
Proposer:
Authorizers:
Gas used:
449