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