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