Skip to content
Open
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ The Aave Protocol subgraphs index data from the protocol smart contracts, and ex
- [Soneium V3](https://thegraph.com/explorer/subgraphs/5waxmqS3rkRtZPoV2mL5RCToupVxVbTd7hjicxMGebYm)
- [Ink V3](https://thegraph.com/explorer/subgraphs/6AY9ccNwMwd3G27zp9vUKWCi9ugvNS6gkh5EEBY2xnPC)
- [MegaETH V3](https://thegraph.com/explorer/subgraphs/DnfLSdosqrcZ8pb8G2rL954SdRB8Pk4jjkgjtfwfx7cY)
- [X Layer V3](https://thegraph.com/explorer/subgraphs/3sfF6x49emXFzMov1q7AvRVCkVZpSTZxuKeLDXZY53sE)

### Test networks

Expand Down
9 changes: 9 additions & 0 deletions config/xlayer-v3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"network": "xlayer-mainnet",
"AaveOracleAddress": "0x91FC11136d5615575a0fC5981Ab5C0C54418E2C6",
"AaveOracleStartBlock": 54023245,
"PoolAddressesProviderRegistryAddress": "0x0f2b21fd713379bb406bE2eA956EaFe55197DE9C",
"PoolAddressesProviderRegistryStartBlock": 54023235,
"RewardsControllerAddress": "0x5404934c8F472818135176C80095283d78EB32D6",
"RewardsControllerStartBlock": 54023251
}
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"prepare:subgraph": "mustache ./config/${NETWORK}-${VERSION}.json ./templates/${BLOCKCHAIN}.subgraph.template.yaml > subgraph.yaml && rm -rf generated && npm run generate:schema && npm run subgraph:codegen && npm run subgraph:build",
"subgraph:codegen": "graph codegen --output-dir ./generated",
"subgraph:build": "graph build",
"subgraph:auth": "graph auth --studio $ACCESS_TOKEN",
"subgraph:deploy": "graph deploy --studio $SLUG",
"subgraph:auth": "graph auth $ACCESS_TOKEN",
"subgraph:deploy": "graph deploy $SLUG",
"deploy:hosted:mainnet": "VERSION=v2 BLOCKCHAIN=ethereum NETWORK=mainnet env-cmd npm run prepare:subgraph && SLUG=protocol-v2 env-cmd npm run subgraph:deploy",
"deploy:hosted:mainnet-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=mainnet env-cmd npm run prepare:subgraph && SLUG=protocol-v3 env-cmd npm run subgraph:deploy",
"deploy:hosted:mainnetlido-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=mainnetlido env-cmd npm run prepare:subgraph && SLUG=protocol-v3-lido env-cmd npm run subgraph:deploy",
Expand All @@ -35,6 +35,7 @@
"deploy:hosted:soneium-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=soneium env-cmd npm run prepare:subgraph && SLUG=protocol-v-3-soneium env-cmd npm run subgraph:deploy",
"deploy:hosted:ink-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=ink env-cmd npm run prepare:subgraph && SLUG=protocol-v-3-ink env-cmd npm run subgraph:deploy",
"deploy:hosted:megaeth-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=megaeth env-cmd npm run prepare:subgraph && SLUG=protocol-v-3-mega-eth env-cmd npm run subgraph:deploy",
"deploy:hosted:xlayer-v3": "VERSION=v3 BLOCKCHAIN=v3 NETWORK=xlayer env-cmd npm run prepare:subgraph && SLUG=protocol-v-3-x-layer env-cmd npm run subgraph:deploy",
"deploy:hosted:v2": "npm run deploy:hosted:mainnet && npm run deploy:hosted:polygon-v2 && npm run deploy:hosted:avalanche-v2",
"deploy:hosted:v2-testnet": "npm run deploy:hosted:goerli-v2 && npm run deploy:hosted:mumbai-v2 && npm run deploy:hosted:fuji-v2",
"deploy:hosted:v3": "npm run deploy:hosted:avalanche-v3 && npm run deploy:hosted:polygon-v3 && npm run deploy:hosted:optimism-v3 && npm run deploy:hosted:fantom-v3 && npm run deploy:hosted:arbitrum-v3 && npm run deploy:hosted:harmony-v3 && npm run deploy:hosted:mainnet-v3 && npm run deploy:hosted:gnosis-v3 && npm run deploy:hosted:bnb-v3 && npm run deploy:hosted:scroll-v3",
Expand Down
Loading