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: cannot find type in this scope: `MagnetiqAlphaOne.Admin`
--> 930c8a157a38dcf13883fb374af7627dba3c356b2d817a432cdf4f1aac9b6787:5:19
|
5 | let adminRef: &MagnetiqAlphaOne.Admin
| ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: `AuthAccount`
--> 930c8a157a38dcf13883fb374af7627dba3c356b2d817a432cdf4f1aac9b6787:7:18
|
7 | prepare(acct: AuthAccount) {
| ^^^^^^^^^^^ not found in this scope
error: value of type `&Account` has no member `getCapability`
--> 930c8a157a38dcf13883fb374af7627dba3c356b2d817a432cdf4f1aac9b6787:25:36
|
25 | let receiverRef = recipient.getCapability(/public/MagnetiqAlphaOneTokensCollection).borrow<&{MagnetiqAlphaOne.TokenCollectionPublic}>()
| ^^^^^^^^^^^^^ unknown member