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