Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 3270038c3a58cff87e61149848496d7fbadf07666b5f523ba53847e682266aa0:78:35
|
78 | var pairInVault <- userAccount.storage.borrow<auth(FungibleToken.Withdraw) &{FungibleToken.Vault}>(from: tokenInVaultPath)!.withdraw(amount: pathInAmount)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> c8c340cebd11f690.SdmToken:48:22
|
48 | SdmToken.recoveryPanic("Vault.withdraw")
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: panic: Contract SdmToken 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.
--> c8c340cebd11f690.SdmToken:9:25
|
9 | return panic(
10 | "Contract SdmToken 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 | )
| ^^^^^^^^^^^^^^