Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 7005b86cbd24b0206ab64c254b466e088c3d18a8c1d488a2b5df8e3d30f0b1aa:121:61
|
121 | poolOutVault.deposit(from: <-pool.swap(vaultIn: <- pairInVault.withdraw(amount: poolInAmount), exactAmountOut: nil))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 6155398610a02093.SwapPair:508:22
|
508 | return <- SwapPair.swap(vaultIn: <-vaultIn, exactAmountOut: exactAmountOut)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 6155398610a02093.SwapPair:339:22
|
339 | return <- self.token1Vault.withdraw(amount: amountOut)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: pre-condition failed: FiatToken contract paused
--> b19436aae4d94622.FiatToken:196:16
|
196 | !FiatToken.paused: "FiatToken contract paused"
| ^^^^^^^^^^^^^^^^^