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