Commit Graph

7 Commits

Author SHA1 Message Date
Shredder 70f2df4210
feat: verifications and mongo write operations (#253)
* integration

* refactor: rename the mintId parameter, add serverless offline.

* docs: update documentation readme.

* feat: add the create call for handling new mint info.

* feat: add build record db, write the signed transaction call to the contract, query builds in the mint handler.

* feat: new prisma schema.

* feat: add logic to the build handler and update mint handler to pass the verified field.

* feat: update token record in the build handler, add start command to package.json

* feat: add dotenv to read the private key variable from the main .env file.

* feat: add domain and ipfs hash to mint and setTokenBuild functions. Alter the structs accordingly.

* test: update mint parameters with ipfsHash for foundry and hardhat tests.

* feat: add build record entity to subgraph.

* feat: add domain field, update schema, remove tokenId from build handler.

* test: fix missing parameters.

* fix: build info test parameters missing.

* test: final test fix for the foundry metadataupdate params.

* refactor: tsconfig changes and pr feedback.
2023-05-09 21:25:19 +03:30
Shredder 85d14483cb
fix: decrement total tokens by one for each burn, fix the collection id, remove tokens field of git repo in the mapping file. (#249) 2023-05-02 19:19:02 +03:30
Felipe Mendes a20ec8bb22
feat: subgraph updated handlers (#235)
* feat: add verifier when contract is initialized

* feat: initialize git repository on new mint

* feat: add created at in token entity

* feat: add created at in ap entity

* feat: handle verifier role grant and revoke

* feat: add verified field to token

* refactor: create constants file

* feat: add total tokens counter on collection entity

* refactor: verify verifier address for mint event

* refactor: remove collection id
2023-04-28 12:22:51 -03:00
Shredder aa98d91c7a
style: fix eslint errors for subgraph (#218)
* style: fix eslint errors.

* fix: remove yarn-error.log from serverless dir.
2023-04-12 19:37:25 +03:30
Camila Sosa Morales ac618f9a32
feat: form field validations (#190)
* feat: add form field validation

* chore: add form on repo configuration

* wip: setting default branch

* chore: set default branch

* chore: form field validation workig with some fix needed

* chore: fix change first github step

* feat: set default branch

* feat: validation for textarea. fix styles on select repository

* chore: PR comments changes

* chore: remove constant

* chore: added comments

* chore: change combobox input props

* chore: remove ens validation since we dont allow custom ens

* chore: remove isEns

* refactor: fetch ens list from ens graph
2023-03-29 18:13:22 -03:00
Shredder 2eca4be8f0
feat: update subgraph and its new mint handler + test refactor (#186)
* feat: update newMint and add verifier and apAutoApproval, update subgraph accordingly.

* remove: bugged tests.
2023-03-17 19:08:17 +03:30
Shredder 3414a96c65
chore: separate handlers by event type [subgraph] (#161)
* chore: separate handlers by event type

* fix: export handlers from the mapping file.
2023-03-14 00:18:08 +03:30