Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> de8b576a2e92f6de495006e11dff0cd220a5293799e1bdf024718e1907025a01:35:22
|
35 | let tokens <- getAccount(pairAddr).capabilities.borrow<&{SwapInterfaces.PairPublic}>(SwapConfig.PairPublicPath)!.removeLiquidity(lpTokenVault: <-lpTokenRemove)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> fa82796435e15832.SwapPair:612:22
|
612 | return <- SwapPair.removeLiquidity(lpTokenVault: <- lpTokenVault)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> fa82796435e15832.SwapPair:356:31
|
356 | let withdrawnToken1 <- self.token1Vault.withdraw(amount: token1Amount)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> b19436aae4d94622.FiatToken:48:22
|
48 | FiatToken.recoveryPanic("Vault.withdraw")
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: panic: Contract FiatToken is no longer functional. A version of the contract has been recovered to allow access to the fields declared in the FT standard. Vault.withdraw is not available in recovered program.
--> b19436aae4d94622.FiatToken:9:25
|
9 | return panic(
10 | "Contract FiatToken is no longer functional. A version of the contract has been recovered to allow access to the fields declared in the FT standard. ".concat(functionName).concat(" is not available in recovered program.")
11 | )
| ^^^^^^^^^^^^^^