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