[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: `AuthAccount`
--> 5295543d2967d059ba8b8cf4ee80df9d6863517b946bd4b11f645bbb92078999:17:20
|
17 | prepare(signer: AuthAccount) {
| ^^^^^^^^^^^ not found in this scope
error: value of type `&Account` has no member `getCapability`
--> 5295543d2967d059ba8b8cf4ee80df9d6863517b946bd4b11f645bbb92078999:26:13
|
26 | .getCapability(KARAT.ReceiverPublicPath)
| ^^^^^^^^^^^^^ unknown member
error: value of type `&KARAT.Administrator` has no member `createNewMinter`
--> 5295543d2967d059ba8b8cf4ee80df9d6863517b946bd4b11f645bbb92078999:34:38
|
34 | let minter <- self.tokenAdmin.createNewMinter(allowedAmount: amount)
| ^^^^^^^^^^^^^^^ unknown member