[Error Code: 1101] error caused by: 1 error occurred:
* transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: invalid use of interface as type
--> ca483e074cac8fc0031baa2a39076be9529da08a3750105407e31b6fcbb9d2ac:3:11
|
3 | let vault: @FungibleToken.Vault
| ^^^^^^^^^^^^^^^^^^^^ got `FungibleToken.Vault`; consider using `{FungibleToken.Vault}`
error: cannot find type in this scope: `AuthAccount`
--> ca483e074cac8fc0031baa2a39076be9529da08a3750105407e31b6fcbb9d2ac:4:16
|
4 | prepare(signer: AuthAccount) {
| ^^^^^^^^^^^ not found in this scope
error: value of type `&Account` has no member `getCapability`
--> ca483e074cac8fc0031baa2a39076be9529da08a3750105407e31b6fcbb9d2ac:11:1
|
11 | .getCapability(/public/flowTokenReceiver)!
| ^^^^^^^^^^^^^ unknown member