Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 1d84c6beba418cceb4484e522663eeeebfe8a426cd2e91a2b7a60a04e180cca5:17:22
|
17 | let tokens <- getAccount(swapPoolAddr).getCapability<&{SwapInterfaces.PairPublic}>(SwapConfig.PairPublicPath).borrow()!.removeLiquidity(lpTokenVault: <-lpTokenRemove)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> d97420bc1623a598.SwapPair:516:22
|
516 | return <- SwapPair.removeLiquidity(lpTokenVault: <- lpTokenVault)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> d97420bc1623a598.SwapPair:276:31
|
276 | let withdrawnToken1 <- self.token1Vault.withdraw(amount: token1Amount)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: pre-condition failed: FiatToken contract paused
--> b19436aae4d94622.FiatToken:196:16