Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 7825b843141bd5c3ff0aed5b7a13b1426cbc58297b145ff529e83f2800612aff: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 | )
| ^^^^^^^^^^^^^^