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