Skip to content

Commit

Permalink
Update configuration for new deployment (#178)
Browse files Browse the repository at this point in the history
* Update contracts and switch chains to sepolia
  • Loading branch information
alexkeating authored Mar 25, 2024
1 parent fa5480a commit e6777fc
Show file tree
Hide file tree
Showing 9 changed files with 1,011 additions and 514 deletions.
2 changes: 1 addition & 1 deletion codegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const config: CodegenConfig = {
output: 'string',
},
BigInt: {
input: 'bigint',
input: 'string',
output: 'string',
},
},
Expand Down
52 changes: 26 additions & 26 deletions config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { goerli, optimismGoerli, mainnet } from 'wagmi/chains';
import { sepolia, optimismSepolia, mainnet } from 'wagmi/chains';

export const chains = [goerli, optimismGoerli, mainnet];
export const chains = [sepolia, optimismSepolia, mainnet];

export enum DaoId {
PoolTogether = 'pool-together',
Expand All @@ -14,25 +14,25 @@ export const config = {
showDebug: true,
daoLogo: '/pooltogetherLogo.svg',
l1: {
chain: goerli,
chain: sepolia,
chainLogo: '/eth.svg',
wormholeChainId: 2,
deployBlock: 10018232n,
tokenAddress: '0x3bc0439198851B9896862D09a2562CF5F83E94D4' as `0x${string}`,
wormholeChainId: 10002,
deployBlock: 5336521n,
tokenAddress: '0x742c206127Da6Eab076C720Bc5F03A4D2E7FCDD6' as `0x${string}`,
tokenLogo: '/pooltogetherLogo.svg',
erc20Bridge: '0x1B66c6EBec3E33e6fBe9b2559d1B591E5C364690' as `0x${string}`,
governor: '0xDB4e3F34bb3eba8FD3FcFAbC89E58CF4005AF367' as `0x${string}`,
metadataBridge: '0x1e27F602A252201694FE33e86716fc305C2E5d1e' as `0x${string}`,
erc20Bridge: '0xB9A557BAAB14542ef549d3B0Be3C60842a79D40F' as `0x${string}`,
governor: '0x13F7dCcBFa3E17c9063eCFF7299BfbCB738E6AF8' as `0x${string}`,
metadataBridge: '0xfAF65Dd6DE96cf56425D023d1e3b8143fe8693ea' as `0x${string}`,
tallyGovernorDomain: 'https://www.tally.xyz/gov/pooltogether-test',
},
l2: {
chain: optimismGoerli,
chain: optimismSepolia,
chainLogo: '/optimism.svg',
wormholeChainId: 24,
deployBlock: 17089678n,
tokenAddress: '0xf0A2270262CF869a4efD741AbB994095C18FFB50' as `0x${string}`,
wormholeChainId: 10005,
deployBlock: 8373201n,
tokenAddress: '0x44fa8E6588e7a9ad869837d09621Cc663539D753' as `0x${string}`,
tokenLogo: '/pooltogetherLogo.svg',
voteAggregator: '0xc3a6866DF38DbACD217ac44E2383164400978A29' as `0x${string}`,
voteAggregator: '0x56d441A772f9F6C0d5B3e137aAAC030aE04Cb2a3' as `0x${string}`,
tallyGovernorDomain: 'https://www.tally.xyz/gov/pooltogether-l2-test',
},
},
Expand All @@ -42,25 +42,25 @@ export const config = {
showDebug: true,
daoLogo: '/gitcoinLogo.svg',
l1: {
chain: goerli,
chain: sepolia,
chainLogo: '/eth.svg',
wormholeChainId: 2,
deployBlock: 10018221n,
tokenAddress: '0xC351f3d4B2B16C1BbE6ae2d445e5D0969b5963F8' as `0x${string}`,
wormholeChainId: 10002,
deployBlock: 5336521n,
tokenAddress: '0x4B9a1CD6566Df9FF3d0555B4a159Ca0a252D0Fce' as `0x${string}`,
tokenLogo: '/gitcoinLogo.svg',
erc20Bridge: '0xba8eF445Cf1c49Ed0af23d121068e28EF21a4e0A' as `0x${string}`,
governor: '0xbEF87C8665F2F7C413b9781EFC5b7f1852B68D2e' as `0x${string}`,
metadataBridge: '0x82a384E292C4A8CaF691E83b6D65ce1492267048' as `0x${string}`,
erc20Bridge: '0x202868591857A7AD3B01C8a586C0cBf6B802d97A' as `0x${string}`,
governor: '0x6254c468849548Cf79898347AA4db0c046F10a86' as `0x${string}`,
metadataBridge: '0x59F57536ecD85BB724dfE6C9Dc55d96b44Fdb958' as `0x${string}`,
tallyGovernorDomain: 'https://www.tally.xyz/gov/gitcoin-test',
},
l2: {
chain: optimismGoerli,
chain: optimismSepolia,
chainLogo: '/optimism.svg',
wormholeChainId: 24,
deployBlock: 17089678n,
tokenAddress: '0x78d148B627636392CA2AAf5094f3B2DeB7E0826F' as `0x${string}`,
wormholeChainId: 10005,
deployBlock: 8373201n,
tokenAddress: '0x8ea1Cec74fA7CDdfE8056198ef1A3718aDae2895' as `0x${string}`,
tokenLogo: '/gitcoinLogo.svg',
voteAggregator: '0x4b56814a4A5b38De8406F3E04F5b39628658cD1B' as `0x${string}`,
voteAggregator: '0xe3264ff0A8c44ab58eaCD63F2F57c1EeB9E13762' as `0x${string}`,
tallyGovernorDomain: 'https://www.tally.xyz/gov/gitcoin-l2-test',
},
},
Expand Down
2 changes: 1 addition & 1 deletion graphql/aggregator.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ query L2Proposals($governor: Bytes!, $proposalIds: [BigInt!]) {
proposals(
first: 1000
orderBy: blockNumber
orderDirection: desc
orderDirection: asc
where: { governorAddress: $governor, proposalId_in: $proposalIds }
) {
id
Expand Down
Loading

0 comments on commit e6777fc

Please sign in to comment.