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