[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
--> 0bdb99ece644df405a3fa03bac01771e3f4378b4f0d376255b5068b4ffa46063:7:19
|
7 | let sentVault: @FungibleToken.Vault
| ^^^^^^^^^^^^^^^^^^^^ got `FungibleToken.Vault`; consider using `{FungibleToken.Vault}`
error: cannot find type in this scope: `AuthAccount`
--> 0bdb99ece644df405a3fa03bac01771e3f4378b4f0d376255b5068b4ffa46063:9:20
|
9 | prepare(signer: AuthAccount) {
| ^^^^^^^^^^^ not found in this scope
error: value of type `&Account` has no member `getCapability`
--> 0bdb99ece644df405a3fa03bac01771e3f4378b4f0d376255b5068b4ffa46063:23:13
|
23 | .getCapability(/public/flowTokenReceiver)
| ^^^^^^^^^^^^^ unknown member