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