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