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: `AuthAccount`
--> 7a63ec268cfcee11a973787da665e345f5e4aca4b580c1548860a32d2a75e8df:25:18
|
25 | prepare(acct: AuthAccount) {
| ^^^^^^^^^^^ not found in this scope
error: value of type `&Account` has no member `getCapability`
--> 7a63ec268cfcee11a973787da665e345f5e4aca4b580c1548860a32d2a75e8df:30:13
|
30 | .getCapability(ProvineerV1.CollectionPublicPath)
| ^^^^^^^^^^^^^ unknown member
error: cannot access `mintNFT`: function requires `Minter` authorization, but reference is unauthorized
--> 7a63ec268cfcee11a973787da665e345f5e4aca4b580c1548860a32d2a75e8df:36:8
|
36 | self.adminRef.mintNFT(
| ^^^^^^^^^^^^^^^^^^^^^