Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> dd0f1de6cca39b025b7391f71cdc7723803f171e6221c11ece9f518311640667:18:26
|
18 | let ftVaultData = resolverRef.resolveContractView(resourceType: nil, viewType: Type<FungibleTokenMetadataViews.FTVaultData>()) as! FungibleTokenMetadataViews.FTVaultData?
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> a983fecbed621163.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.
--> a983fecbed621163.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 | )
| ^^^^^^^^^^^^^^