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