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