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