* feat: define entities, add handlers for access points.
* feat: change ChangeAccessPointAutoApproval event to metadataUpdate with boolean value (new event), and also add NewMint handler again.
* test: rename ChangeAccessPointStatus to ChangeAccessPointCreationStatus in hardhat tests.
* refactor: deploy the new version of the contract and update the proxy address and block number in the subgraph config file.
* refactor: change name of status to creationStatus in schema.
Co-authored-by: Janison Sivarajah <jsonsivar@gmail.com>
* refactor: remove commented handlers for ACL.
* feat: add the condition for deploying proxy again
* refactor: remove newAccessPoint from subgraph.yaml
---------
Co-authored-by: Janison Sivarajah <jsonsivar@gmail.com>
* test: restructure the dir, add config file, divide transfer tests to a separate file.
* test: divide newTokenName tests.
* test: add tests for NewTokenENS, build, external urls, description.
* fix: update tests in newTokenENS.
* test: add owner tests.
* feat: add compile command to subgraph package.json
* test: remove deprecated events and their handlers and tests. add newmint mock handler.
* fix: error in the order of passed parameters in NewMint mock creator function.
* feat: define the GithubRepository entity and update the Token entity to include it.
* feat: add NewMint event to the contract and emit it in the mint function.
* feat: add newmint entity, update token and gitrepository entities. add handler for entities. update transfer entity handler. update subgraph.yaml config.
* chore: deployment update
* chore: fix proxy file with before deployments
* fix: remove constructor args in verify-polyscan.js file and update contract address at subgraph.yaml
* fix: remove develop from subgraph.yaml gh action.
* merge: develop with auto approval settings into reverse lookup branch
* fix: remove the word settings from acesspointautoapproval param.
* fix: error in hardhat last token id test
* fix: solidity tests.
* fix: proxy contract address in subgraph.yaml.
* chore: run subgraph tests only on main PRs
---------
Co-authored-by: Felipe Mendes <zo.fmendes@gmail.com>
* feat: add Collection and CollectionOwner entities. Handle CollectionOwner on CollectionRoleGranted and CollectionRoleRevoked events.
* feat: collection entity and its handler.
* test: add unit tests for the subgraph for events transfer, NewTokenName, NewTokenDescription, NewTokenExternalURL, NewTokenENS, NewTokenBuild
* fix: import errors
* fix: remove keyword "indexed" for strings in events.
* fix: update subgraph.yaml, schema.graphql, and all generated files with the test files to match the new interface of the contract events.
* fix: expose a makeEventId function to avoid repeating code for id generation and also change logIndex before handling events. Update tests to match the new changes.
* chore: remove Holder.
* fix: wrong import for newLogoEvent
* chore: add the verify command to the package.json file
* docs: add the re-deployment section to the README.md file
* feat: add support for token and holder entities based on transfer events that are emitted from the contract during the mint process.
---------
Co-authored-by: EmperorOrokuSaki <artie.eth@gmail.com>
* Add verify script and update hardhat config to automate all future code verifications on polygonscan
* Update deployments to match the new deployed instance of the contract on polygon mumbai testnet (verified)
* feat: Generate the base of the subgraph by graph-cli based on the verified deployed instance on mumbai
* bug: fixed type errors in the typescript specification file.
* chore: generate a new build of the subgraph
* feat: write a script to perform multiple types of queries on the subgraph
* docs: Write a README for the query-examples directory to guide users on how they can perform queries
* chore: remove the heavy subgraph generated WASM and add all .WASM files to .gitignore
* chore: apply the requested changes from Zoruka on the verify_polyscan.js file
* docs: write the readme doc for the subgraph
* chore: remove deploy from package.json and add build, abis, and generated to .gitignore
* chore: remove abis, build, and generated from the branch
* chore: move query-examples to examples/query/ and gitignore .graphclient
* docs: update readme (add a section for developing and describe build and generated directories better)
* chore: remove graphql from the root package.json file