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