From a8a77c86550240af84fe6d6d1c8ec6e621423cc7 Mon Sep 17 00:00:00 2001 From: Ed Noepel Date: Thu, 4 Jan 2024 11:22:29 -0500 Subject: [PATCH] update ganache, goerli, base addresses --- networks.json | 38 +++++++++++++++++++------------------- src/utils/constants.ts | 18 +++++++++--------- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/networks.json b/networks.json index 0e3cca8..155739c 100644 --- a/networks.json +++ b/networks.json @@ -53,20 +53,20 @@ }, "base": { "ERC20PoolFactory": { - "address": "0xdc01502485c02496a929c12762cE99Fd755c6a25", - "startBlock": 8156311 + "address": "0x154FFf344f426F99E328bacf70f4Eb632210ecdc", + "startBlock": 8797468 }, "ERC721PoolFactory": { - "address": "0x513cc6E8De2FC3c7532d867fc6c287ABb56df230", - "startBlock": 8156311 + "address": "0xd8B6729E20d141a03eC4BcAC17F1441CD85975C3", + "startBlock": 8797468 }, "PositionManager": { - "address": "0x72Ce601AecE3C46eF2b7C85712E05d7c0f29A364", - "startBlock": 8156311 + "address": "0xA650Fad48AA4F9cF3a5858460563B2227d6BD4E7", + "startBlock": 8797468 }, "GrantFund": { "address": "0x0000000000000000000000000000000000000000", - "startBlock": 8156311 + "startBlock": 8797468 }, "AjnaToken": { "address": "0xf0f326af3b1Ed943ab95C29470730CC8Cf66ae47", @@ -79,16 +79,16 @@ }, "goerli": { "ERC20PoolFactory": { - "address": "0xA2d6694F24c84e428B97bF9fCD8E3e3dba3023D0", - "startBlock": 10243942 + "address": "0xDB61f8aD0B3ed0c5522b8FE71b80023fe9188e9e", + "startBlock": 10321610 }, "ERC721PoolFactory": { - "address": "0x0CC0Ba1bC6f45513422D6BF301Bd1Cb8c78B5861", - "startBlock": 10243942 + "address": "0x8FA83D458CDbB2FCeA66d9bc31FDa80511e0AA56", + "startBlock": 10321610 }, "PositionManager": { - "address": "0x20BE7129B4126dC39aadBfA4C3360b52313a660D", - "startBlock": 10243942 + "address": "0x7b6C6917ACA28BA790837d41e5aA4A49c9Ad4570", + "startBlock": 10321610 }, "GrantFund": { "address": "0x17C7eb98aD29c8C07C2842C4B64342142C405aF4", @@ -131,27 +131,27 @@ }, "ganache": { "ERC20PoolFactory": { - "address": "0x6C3ff638Ad7D4CA25600b5236CeFcb41B3895F8e", + "address": "0x9617ABE221F9A9c492D5348be56aef4Db75A692d", "startBlock": 0 }, "ERC721PoolFactory": { - "address": "0x6fE7DEB17CC00A3d65f3CDf852Bb17DddEddf8E7", + "address": "0x4f05DA51eAAB00e5812c54e370fB95D4C9c51F21", "startBlock": 0 }, "PositionManager": { - "address": "0x502dD41556B128C23F8B715dBEEBB73D1F1Feb67", + "address": "0xdF7403003a16c49ebA5883bB5890d474794cea5a", "startBlock": 0 }, "GrantFund": { - "address": "0x6F985d253b1Be2a2c9267A447F74fE44F413F2a6", + "address": "0x0b3A0ea1Fc7207d3e3ed9973025dA9d0e8fb0F3f", "startBlock": 0 }, "AjnaToken": { - "address": "0x3c55A1F2Dde70ce9481621c67Eb4F6d1d1CB8dBc", + "address": "0x25Af17eF4E2E6A4A2CE586C9D25dF87FD84D4a7d", "startBlock": 0 }, "BurnWrappedAjna": { - "address": "0x19FCc2FFFc1AB0f56f3e706a76021560F557241d", + "address": "0xE340B87CEd1af1AbE1CE8D617c84B7f168e3b18b", "startBlock": 0 } } diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 72e8fc0..0f942a2 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -31,18 +31,18 @@ export const MAX_BUCKET_INDEX = 4156; export const poolInfoUtilsAddressTable = new TypedMap() poolInfoUtilsAddressTable.set('mainnet', Address.fromString('0x154FFf344f426F99E328bacf70f4Eb632210ecdc')) poolInfoUtilsAddressTable.set('matic', Address.fromString('0xA9Ada58DD3c820b30D3bf5B490226F2ef92107bA')) -poolInfoUtilsAddressTable.set('base', Address.fromString('0xC086acc9Bf89D8a0E2209e2870fC020D8f3323a8')) -poolInfoUtilsAddressTable.set('goerli', Address.fromString('0x3c5cf15122903C7CabcAA49FcfC090D3A311C038')) +poolInfoUtilsAddressTable.set('base', Address.fromString('0x1358e3be37C191Eb5B842F673fcB5C79Cc4F6644')) +poolInfoUtilsAddressTable.set('goerli', Address.fromString('0xdE8D83e069F552fbf3EE5bF04E8C4fa53a097ee5')) poolInfoUtilsAddressTable.set('mumbai', Address.fromString('0x39250241CC84Dadb1cDFE3A1a717631e2aA603eB')) -poolInfoUtilsAddressTable.set('ganache', Address.fromString('0xab56A77bDFe82b36875e92CE717fE533C1709A9D')) +poolInfoUtilsAddressTable.set('ganache', Address.fromString('0x6c5c7fD98415168ada1930d44447790959097482')) export const poolInfoUtilsMulticallAddressTable = new TypedMap() -poolInfoUtilsMulticallAddressTable.set('base', Address.fromString('0x83bC7AE84B469Fa4c86a91BA8A82D253c0858e13')) -poolInfoUtilsMulticallAddressTable.set('goerli', Address.fromString('0xE1a73054BA68f31F029bC6D452DF786D900b3Ed0')) -poolInfoUtilsMulticallAddressTable.set('ganache', Address.fromString('0x1d00b2f5861457F8503a481774903E36872Ea17d')) +poolInfoUtilsMulticallAddressTable.set('base', Address.fromString('0x372F9c6A49a4E68e47459Eed6e6452c0823956b6')) +poolInfoUtilsMulticallAddressTable.set('goerli', Address.fromString('0x63feF8659ECdC4F909ddFB55a8B701957115B906')) +poolInfoUtilsMulticallAddressTable.set('ganache', Address.fromString('0x6548dF23A854f72335902e58a1e59B50bb3f11F1')) export const positionManagerAddressTable = new TypedMap() -positionManagerAddressTable.set('base', Address.fromString('0x72Ce601AecE3C46eF2b7C85712E05d7c0f29A364')) -positionManagerAddressTable.set('goerli', Address.fromString('0x20BE7129B4126dC39aadBfA4C3360b52313a660D')) -positionManagerAddressTable.set('ganache', Address.fromString('0x502dD41556B128C23F8B715dBEEBB73D1F1Feb67')) +positionManagerAddressTable.set('base', Address.fromString('0xA650Fad48AA4F9cF3a5858460563B2227d6BD4E7')) +positionManagerAddressTable.set('goerli', Address.fromString('0x7b6C6917ACA28BA790837d41e5aA4A49c9Ad4570')) +positionManagerAddressTable.set('ganache', Address.fromString('0xdF7403003a16c49ebA5883bB5890d474794cea5a')) // GrantFund constants export const CHALLENGE_PERIOD_LENGTH = BigInt.fromI32(50400)