[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
--> 95c8f8583d111baa8df11cea7f58562f51495cb9cfd0bbc30a4eb99d4abcdde7:3:11
|
3 | let vault: @FungibleToken.Vault
| ^^^^^^^^^^^^^^^^^^^^ got `FungibleToken.Vault`; consider using `{FungibleToken.Vault}`
error: cannot find type in this scope: `AuthAccount`
--> 95c8f8583d111baa8df11cea7f58562f51495cb9cfd0bbc30a4eb99d4abcdde7:4:16
|
4 | prepare(signer: AuthAccount) {
| ^^^^^^^^^^^ not found in this scope
error: value of type `&Account` has no member `getCapability`
--> 95c8f8583d111baa8df11cea7f58562f51495cb9cfd0bbc30a4eb99d4abcdde7:11:1
|
11 | .getCapability(/public/flowTokenReceiver)!
| ^^^^^^^^^^^^^ unknown member