Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/deploy-subgraph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ on:
- "manta"
- "telos"
- "moonbeam"
- "eth"
default: "matic"

version:
Expand Down Expand Up @@ -114,6 +115,14 @@ jobs:
run: |
graph auth $GRAPH_DEPLOY_KEY_MOONBEAM

# Set up authentication for ETH
- name: "Authenticate with The Graph (ETH)"
if: inputs.chain == 'eth'
env:
GRAPH_DEPLOY_KEY_ETH: ${{ secrets.GRAPH_AUTH_TOKEN }}
run: |
graph auth $GRAPH_DEPLOY_KEY_ETH

# Generate types and build for the specified chain
- name: "Generate types and build subgraph"
run: |
Expand Down
46 changes: 46 additions & 0 deletions networks.json
Original file line number Diff line number Diff line change
Expand Up @@ -355,5 +355,51 @@
"address": "0x9c8F78E0aeAB8190c9d1DF7BEd0B26c1EDcB8DE6",
"startBlock": 7430173
}
},
"mainnet": {
"VaultManager": {
"address": "0x9ff1db30c66cd9d3311b4b22da49791610922b13",
"startBlock": 20089515
},
"LockDealNFT": {
"address": "0x5e0bB1fF9003ac3586f039D482d2974A6D7ED781",
"startBlock": 20118782
},
"DealProvider": {
"address": "0xf8449c81E2d132e429caa1cb744E1ba7235C20DE",
"startBlock": 22276250
},
"LockDealProvider": {
"address": "0x83d9a44395b6a4Aa3a907a445CB049C50fF5b962",
"startBlock": 22276254
},
"TimedDealProvider": {
"address": "0x313a8Dd9d9399fc625Ec946b328F45020d15A699",
"startBlock": 22276259
},
"DispenserProvider": {
"address": "0xf5e1D15FdCbB8efC617632dCBAcBC74b96a3ccA7",
"startBlock": 22276265
},
"CollateralProvider": {
"address": "0x0000000000000000000000000000000000000000",
"startBlock": 22276265
},
"RefundProvider": {
"address": "0x0000000000000000000000000000000000000000",
"startBlock": 22276265
},
"OldDealProvider": {
"address": "0xA3F5abB71a5665741D3dA685a4e8899e9d4E2532",
"startBlock": 20118815
},
"OldLockDealProvider": {
"address": "0x6c6f6D7Ec412EfEF553F5d2f273A72F872A67CeB",
"startBlock": 20118820
},
"OldTimedDealProvider": {
"address": "0xe18542a10b8a2B48BC8F1A18fA77613d2a1b2D67",
"startBlock": 20118827
}
}
}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"build:manta": "graph build --network manta",
"build:telos": "graph build --network telos",
"build:moonbeam": "graph build --network moonbeam",
"build:eth": "graph build --network mainnet",
"deploy:matic": "graph deploy --node https://api.studio.thegraph.com/deploy/ poolzfinancematic",
"deploy:base": "graph deploy --node https://api.studio.thegraph.com/deploy/ poolzfinancebase",
"deploy:unichain": "graph deploy --node https://api.studio.thegraph.com/deploy/ poolzfinanceunichain",
Expand All @@ -19,6 +20,7 @@
"deploy:manta": "graph deploy --node https://api.studio.thegraph.com/deploy/ poolzfinancemanta",
"deploy:telos": "graph deploy --node https://api.studio.thegraph.com/deploy/ poolzfinancetelos",
"deploy:moonbeam": "graph deploy --node https://api.studio.thegraph.com/deploy/ poolzfinancemoonbeam",
"deploy:eth": "graph deploy --node https://api.studio.thegraph.com/deploy/ poolzfinanceeth",
"create-local": "graph create --node http://localhost:8020/ poolz-subgraph",
"remove-local": "graph remove --node http://localhost:8020/ poolz-subgraph",
"deploy-local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 poolz-subgraph",
Expand Down