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