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