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