Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 2d0a1a886bc9a0eca571c65a72ab3948d55071cc57ea2b39dacc88804d25b529:62:26
|
62 | let ftVaultData = ftContract.resolveContractView(resourceType: self.salePaymentVaultType, viewType: Type<FungibleTokenMetadataViews.FTVaultData>())! as! FungibleTokenMetadataViews.FTVaultData
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> b19436aae4d94622.FiatToken:28:18
|
28 | FiatToken.recoveryPanic("resolveContractView")
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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. resolveContractView 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 | )
| ^^^^^^^^^^^^^^