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`
--> c0b951c2985783513139bc3fec5f3431f630e9eb091780c2d5c3d7d4b0ba1045:8:20
|
8 | prepare(signer: AuthAccount) {
| ^^^^^^^^^^^ not found in this scope
error: value of type `&Account` has no member `getCapability`
--> c0b951c2985783513139bc3fec5f3431f630e9eb091780c2d5c3d7d4b0ba1045:20:13
|
20 | .getCapability(/public/CertifilyNFTPublicCollection)
| ^^^^^^^^^^^^^ unknown member
error: loss of resource
--> c0b951c2985783513139bc3fec5f3431f630e9eb091780c2d5c3d7d4b0ba1045:27:8
|
27 | self.minter.Mint(recipient: receiver, content:content, insitution:insitution, description:description, previewContent:previewContent, certType:certType, viewPermission: viewPermission)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^