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
--> ec29007b3a744083862d2f3e41bc3d57b70d3e5d715c02459e79d41284b5e665:7:23
|
7 | let sentVault: @FungibleToken.Vault
| ^^^^^^^^^^^^^^^^^^^^ got `FungibleToken.Vault`; consider using `{FungibleToken.Vault}`
error: cannot find type in this scope: `AuthAccount`
--> ec29007b3a744083862d2f3e41bc3d57b70d3e5d715c02459e79d41284b5e665:9:24
|
9 | prepare(signer: AuthAccount) {
| ^^^^^^^^^^^ not found in this scope
error: value of type `&Account` has no member `getCapability`
--> ec29007b3a744083862d2f3e41bc3d57b70d3e5d715c02459e79d41284b5e665:25:40
|
25 | let receiverRef = recipient.getCapability(/public/sdmTokenReceiver)
| ^^^^^^^^^^^^^ unknown member