Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: underflow
--> 21e136faddd5c12beb24e4d71ac7b090def800eff8668251c943c4320fcd02e1:14:506
|
14 | let swap0InVault <- inVault.withdraw(amount: cur);let swap0OutVault <- getAccount(0xfa82796435e15832).getCapability<&{SwapInterfaces.PairPublic}>(SwapConfig.PairPublicPath).borrow()!.swap(vaultIn: <- swap0InVault, exactAmountOut: nil);let swap1OutVault <- UsdcUsdtSwapPair.swapToken1ForToken2(from: <- (swap0OutVault as! @FiatToken.Vault));let tokenOutVault <- FlowSwapPair.swapToken2ForToken1(from: <- (swap1OutVault as! @TeleportedTetherToken.Vault));;let iter = tokenOutVault.balance;e...
|