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