Commit Graph

4 Commits

Author SHA1 Message Date
Felipe Mendes 869b9f6e78
feat: apps contract and updated scripts (#268)
* feat: FleekApps contract

* feat: update scripts

* wip: more helper scripts

* chore: remove unused import

* test: fix deploy test

* chore: fix testing networks

* fix: contract helper scripts
2023-06-02 17:12:09 -03:00
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
Felipe Mendes cbe8b93594
bug: contract verifier address sent on mint calls (#239)
* chore: update hardhat to fix viaIR issues

* feat: add validations in main contract

* refactor: add hardhat tests

* test: add foundry tests
2023-04-25 15:58:50 -03:00
Felipe Mendes 2225b301ff
chore: prevent direct calls to implementation contract (#194)
* feat: disable initializers and set paused state for implementation contracts

* test: add deploy guarantee tests for interaction with implementation contracts

* chore: add buildId and implementationAddress to deployStore script

* test: reset initialized state on store of deployed contract for foundry tests

* test: optmize deployUninitialized function

* test: test if is possible to mint in implementation contract
2023-04-04 16:19:06 -03:00