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