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