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