[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
--> 541f782e3c56d5675b856445d1bab9111a025430bc804d7417614fe50e7fe029:3:11
|
3 | let vault: @FungibleToken.Vault
| ^^^^^^^^^^^^^^^^^^^^ got `FungibleToken.Vault`; consider using `{FungibleToken.Vault}`
error: cannot find type in this scope: `AuthAccount`
--> 541f782e3c56d5675b856445d1bab9111a025430bc804d7417614fe50e7fe029:4:16
|
4 | prepare(signer: AuthAccount) {
| ^^^^^^^^^^^ not found in this scope
error: value of type `&Account` has no member `getCapability`
--> 541f782e3c56d5675b856445d1bab9111a025430bc804d7417614fe50e7fe029:11:1
|
11 | .getCapability(/public/flowTokenReceiver)!
| ^^^^^^^^^^^^^ unknown member