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`
--> 07ffb404f1f1d1fd0184b5cd975b7a57a1f738cdf44dfc52c84f149426a2bb33:10:20
|
10 | prepare(signer: AuthAccount) {
| ^^^^^^^^^^^ not found in this scope
error: too few arguments
--> 07ffb404f1f1d1fd0184b5cd975b7a57a1f738cdf44dfc52c84f149426a2bb33:17:26
|
17 | let collection <- ExampleNFT.createEmptyCollection()
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected at least 1, got 0