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