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