Skip to content

Commit

Permalink
renamed polygon to matic and updated cli version, as required to publ…
Browse files Browse the repository at this point in the history
…ish to thegraph studio
  • Loading branch information
EdNoepel committed Sep 5, 2023
1 parent 7a4d040 commit 1ac69c3
Show file tree
Hide file tree
Showing 4 changed files with 124 additions and 172 deletions.
2 changes: 1 addition & 1 deletion networks.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"startBlock": 17913208
}
},
"polygon": {
"matic": {
"ERC20PoolFactory": {
"address": "0x7f18C4DAfA5AEF9B0C4baF47e426bc57494ceE33",
"startBlock": 46312499
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test": "graph test"
},
"dependencies": {
"@graphprotocol/graph-cli": ">=0.37.6",
"@graphprotocol/graph-cli": "0.56",
"@graphprotocol/graph-ts": ">=0.29.1",
"@types/node": "*",
"typescript": "^5.1.6"
Expand Down
2 changes: 1 addition & 1 deletion src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const MAX_BUCKET_INDEX = 4156;
// Pool addresses per network
export const poolInfoUtilsAddressTable = new TypedMap<string, Address>()
poolInfoUtilsAddressTable.set('mainnet', Address.fromString('0x154FFf344f426F99E328bacf70f4Eb632210ecdc'))
poolInfoUtilsAddressTable.set('polygon', Address.fromString('0xA9Ada58DD3c820b30D3bf5B490226F2ef92107bA'))
poolInfoUtilsAddressTable.set('matic', Address.fromString('0xA9Ada58DD3c820b30D3bf5B490226F2ef92107bA'))
poolInfoUtilsAddressTable.set('goerli', Address.fromString('0xBB61407715cDf92b2784E9d2F1675c4B8505cBd8'))
poolInfoUtilsAddressTable.set('mumbai', Address.fromString('0x39250241CC84Dadb1cDFE3A1a717631e2aA603eB'))
poolInfoUtilsAddressTable.set('ganache', Address.fromString('0x6c5c7fD98415168ada1930d44447790959097482'))
Expand Down
Loading

0 comments on commit 1ac69c3

Please sign in to comment.