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