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
--> 147f8a15e0c90d0072219e7375ce99c10782e93b75d7a698e7e50a080def7c27:5:17
|
5 | let sentVault: @FungibleToken.Vault
| ^^^^^^^^^^^^^^^^^^^^ got `FungibleToken.Vault`; consider using `{FungibleToken.Vault}`
error: cannot find type in this scope: `AuthAccount`
--> 147f8a15e0c90d0072219e7375ce99c10782e93b75d7a698e7e50a080def7c27:6:18
|
6 | prepare(signer: AuthAccount) {
| ^^^^^^^^^^^ not found in this scope
error: value of type `&Account` has no member `getCapability`
--> 147f8a15e0c90d0072219e7375ce99c10782e93b75d7a698e7e50a080def7c27:15:7
|
15 | .getCapability(/public/flowTokenReceiver)
| ^^^^^^^^^^^^^ unknown member