Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 9f34e8e792e0f0fff9ccee124002e0241b64501dae01b6e67ab92b676e123a68:258:61
|
258 | poolOutVault.deposit(from: <-pool.swap(vaultIn: <- pairInVault.withdraw(amount: poolInAmount), exactAmountOut: poolOutAmount))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 4d22665b4318e514.SwapPair:508:22
|
508 | return <- SwapPair.swap(vaultIn: <-vaultIn, exactAmountOut: exactAmountOut)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 4d22665b4318e514.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"
| ^^^^^^^^^^^^^^^^^