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