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