0xb4ed9603…8ff0sent to0x440d9d4e…5591·#17,976,228·view on Etherscan
# Subgraph generate & deploy scripts
# Description
This changeset includes scripts for the subgraph generation and deployment of all available chains on hosted service and studio respectively. Small updates were made to streamline the subgraph code and the specVersion has been updated in the subgraph manifest.
This changeset was requested by Unlock to be built by the Graph BuildersDAO.
All changes made in `/subgraph/`
- Included network addresses, chains & startblocks in `config` folder
- Updated `package.json` with generate scripts for each chain in networks
- Updated `package.json` with deploy scripts for hosted service & studio for each chain in networks
- Added Relevant ABIs to abi folder and remove gitignore for `abis`
- Added second `ExpirationChanged` event & `RenewKeyPurchase` event to `PublicLockV13` abi to allow back versioning
- Updated `specVersion` to 5 on subgraph manifest
- Removed a `toI32()` function as value was already i32
- NOTE: When using the studio deploy script, add `-l={YOUR_VERSION}` to the command e.g.
```
yarn deploy-studio-arbitrum -l=v0.0.1
```
https://github.com/unlock-protocol/unlock/pull/12569/
Test Deployments included in Pull Request