Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 9a8c7b79d0efe3de459ecc7f68191d91651d31ff94e1a163d5a2a8b026f4fd9d:12:268
|
12 | 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 <- getAccount(0x0757a7b95ca0dc36).getCapability<&{SwapInterfaces.PairPublic}>(SwapConfig.PairPublicPath).borrow()!.swap(vaultIn: <...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: pre-condition failed: UsdcUsdtSwapPair is frozen
--> 9c6f94adf47904b5.UsdcUsdtSwapPair:269:6