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