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