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
--> aeecc9cc211f01bf99a1176158feb04d6425098795347021c43062c8cca3ccdb:7:19
|
7 | let sentVault: @FungibleToken.Vault
| ^^^^^^^^^^^^^^^^^^^^ got `FungibleToken.Vault`; consider using `{FungibleToken.Vault}`
error: cannot find type in this scope: `AuthAccount`
--> aeecc9cc211f01bf99a1176158feb04d6425098795347021c43062c8cca3ccdb:9:20
|
9 | prepare(signer: AuthAccount) {
| ^^^^^^^^^^^ not found in this scope
error: value of type `&Account` has no member `getCapability`
--> aeecc9cc211f01bf99a1176158feb04d6425098795347021c43062c8cca3ccdb:23:13
|
23 | .getCapability(/public/flowTokenReceiver)
| ^^^^^^^^^^^^^ unknown member