Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add polygon amoy contracts config #107

Merged
merged 3 commits into from
Apr 12, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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 @@ -11,6 +11,7 @@
| Matic Temp | Hosted Services | https://thegraph.com/explorer/subgraph/decentraland/collections-matic-mainnet-temp | QmTKztw187jUHZ33S2pndtyo68K462XwewcvMVAVH7mwZR | Qmf3igvJs24gozdwCwnDyPNz9DEBQMPQRFmEhUzEvgxZSq |
| Mumbai | Satsuma | https://subgraph.satsuma-prod.com/decentraland/collections-matic-mumbai/playground | QmdqoM3jpJWWbK1EMTZcSE5WJgiUaoSpKcSLeQRHhqQSea | QmYVGaMGvqkcBMrJ4F5XrkzwCzhB3FfJvHRBERbtgovCai |
| Mumbai | Hosted Service | https://thegraph.com/explorer/subgraph/decentraland/collections-matic-mumbai | QmdqoM3jpJWWbK1EMTZcSE5WJgiUaoSpKcSLeQRHhqQSea | QmYVGaMGvqkcBMrJ4F5XrkzwCzhB3FfJvHRBERbtgovCai |
| Amoy | Satsuma | https://subgraph.satsuma-prod.com/decentraland/collections-matic-amoy/playground | Qma6T1cGQtBvYY5bsctwLNSbNymXKidkXaC9DbQVTgH1BE | - |

Using [The Graph](https://thegraph.com) and [Alchemy](https://www.alchemy.com/)

Expand Down
27 changes: 27 additions & 0 deletions config/amoy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"network": "polygon-amoy",
"address_fist_collection_v1": "0x30ae57840b0e9b8ea55334083d53d80b2cfe80e0",
"startBock_first_collections_v1": 14517370,
"address_factory": "0x2A72Ec4241Ac4fBc915ae98aC5a5b01AdE721f4B",
"startBlock_factory": 14517370,
"address_factory_v3": "0xe21289022b9324f9b9145a91ee59297ceb040c06",
"startBlock_factory_v3": 5706687,
"address_old_committee": "0x4bb5ACe5ceB3Dd51ea35fa01a8f9B5507c234270",
"startBlock_old_committee": 14517370,
"address_committee": "0x53c9c388000b6fc91b91fb466742d0e869785c3b",
"startBlock_committee": 5706678,
"address_marketplace": "0x2a09a000224f5dbe0E17214cA95CDe506DA7CB74",
"startBlock_marketplace": 14517370,
"address_marketplace_V2": "0x0c8ad1f6aadf89d2eb19f01a100a6143108fe2b0",
"startBlock_marketplace_V2": 5706656,
"address_bid": "0x0000000000000000000000000000000000000000",
"startBlock_bid": 21834173,
"address_bid_v2": "0x4b66eab79cc03a96fb6275cfcdf23c0db431606d",
"startBlock_bid_v2": 5706662,
"address_rarity": "0xddb3781fff645325c8896aa1f067baa381607ecc",
"startBlock_rarity": 5706665,
"address_rarities_with_oracle": "0x25b6b4bac4adb582a0abd475439da6730777fbf7",
"startBlock_rarities_with_oracle": 5706669,
"address_collection_manager": "0x5309ae874fc4eb21adcd63f8b6c3f766cc3b1849",
"startBlock_collection_manager": 5706681
}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@
"prepare:mainnet": "mustache config/mainnet.json subgraph.template.yaml > subgraph.yaml && npm run codegen",
"prepare:sepolia": "mustache config/sepolia.json subgraph.template.yaml > subgraph.yaml && npm run codegen",
"prepare:mumbai": "mustache config/mumbai.json subgraph.template.yaml > subgraph.yaml && npm run codegen",
"prepare:amoy": "mustache config/amoy.json subgraph.template.yaml > subgraph.yaml && npm run codegen",
"prepare:matic": "mustache config/matic.json subgraph.template.yaml > subgraph.yaml && npm run codegen",
"prepare:temp": "mustache config/matic.json subgraph.template.yaml > subgraph.yaml && npm run codegen",
"deploy:mainnet": "npm run prepare:mainnet && npx graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ decentraland/collections-ethereum-mainnet",
"deploy:sepolia": "npm run prepare:sepolia && npx graph deploy --studio collections-ethereum-sepolia",
"deploy:mumbai": "npm run prepare:mumbai && npx graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ decentraland/collections-matic-mumbai",
"deploy:amoy": "npm run prepare:amoy && npx graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ decentraland/collections-matic-amoy",
"deploy:matic": "npm run prepare:matic && npx graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ decentraland/collections-matic-mainnet",
"deploy:temp": "npm run prepare:temp && npx graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ decentraland/collections-matic-mainnet-temp",
"test": "graph test",
Expand Down
Loading