Skip to content

Commit

Permalink
mainnet deploys
Browse files Browse the repository at this point in the history
  • Loading branch information
thelostone-mc committed Dec 7, 2023
1 parent bd0cf3e commit f4a28ed
Show file tree
Hide file tree
Showing 8 changed files with 119 additions and 15 deletions.
92 changes: 92 additions & 0 deletions .upgradable/zkSync-era.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
{
"manifestVersion": "3.2",
"admin": {
"address": "0xA32A2e8c77b3ad879a837B4766ceE247FBf6E8df",
"txHash": "0xf225962c1a46413a859e998ab7cf39e4341c687e68873a931b90ca93d1739b0b"
},
"proxies": [
{
"address": "0x68a14AF71BFa0FE09fC937033f6Ea5153c0e75e4",
"txHash": "0x18721cdf4951898fe6c09f887df1aad2dbebba64b37db4bfce86a357fdf130a9",
"kind": "transparent"
}
],
"impls": {
"b33f2f469bdc249af48debe29884079de44f3404c42fc09a338852a54364caf8": {
"address": "0x993abb247BAA8b450BD88Ab212F3F3f9D05BdAE8",
"txHash": "0x917f8a956607495331595d468cff6e344fda07b70da3a3aa6fe42a75275eced1",
"layout": {
"solcVersion": "0.8.17",
"storage": [
{
"label": "_initialized",
"offset": 0,
"slot": "0",
"type": "t_uint8",
"contract": "Initializable",
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63",
"retypedFrom": "bool"
},
{
"label": "_initializing",
"offset": 1,
"slot": "0",
"type": "t_bool",
"contract": "Initializable",
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68"
},
{
"label": "__gap",
"offset": 0,
"slot": "1",
"type": "t_array(t_uint256)50_storage",
"contract": "ContextUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:36"
},
{
"label": "_owner",
"offset": 0,
"slot": "51",
"type": "t_address",
"contract": "OwnableUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22"
},
{
"label": "__gap",
"offset": 0,
"slot": "52",
"type": "t_array(t_uint256)49_storage",
"contract": "OwnableUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94"
}
],
"types": {
"t_address": {
"label": "address",
"numberOfBytes": "20"
},
"t_array(t_uint256)49_storage": {
"label": "uint256[49]",
"numberOfBytes": "1568"
},
"t_array(t_uint256)50_storage": {
"label": "uint256[50]",
"numberOfBytes": "1600"
},
"t_bool": {
"label": "bool",
"numberOfBytes": "1"
},
"t_uint256": {
"label": "uint256",
"numberOfBytes": "32"
},
"t_uint8": {
"label": "uint8",
"numberOfBytes": "1"
}
}
}
}
}
}
22 changes: 17 additions & 5 deletions docs/CHAINS.md
Original file line number Diff line number Diff line change
Expand Up @@ -314,19 +314,31 @@ These are contracts that are created/deployed once for goerli

## ZkSync Testnet

| Contract | Address |
|---------------------------------------|--------------------------------------------|
| Contract | Address |
|-----------------------------------------|--------------------------------------------|
| ProgramFactoryZk | 0x6D341814Be4E2316142D9190E390b494F1dECFAf |
| QuadraticFundingVotingStrategyFactoryZk | 0x8c28F21D2d8C53eedC58bF9cdCfb7DCF7d809d97 |
| MerklePayoutStrategyFactoryZk | 0xbA160C13F8F626e3232078aDFD6eD2f2B2289563 |
| DirectPayoutStrategyFactoryZk | 0x4170665B31bC10009f8a69CeaACf3265C3d66797 |
| AlloSettings | 0x2891369Fb2DA2898B35b91dbd55b2489061abbE5 |
| AlloSettings | 0x2891369Fb2DA2898B35b91dbd55b2489061abbE5 |
| RoundFactoryZk | 0x0Bb6e2dfEaef0Db5809B3979717E99e053Cbae72 |
| ProjectRegistry | 0xb0F4882184EB6e3ed120c5181651D50719329788 |
| DummyVotingStrategy | 0x0c0B71BA1427cb46424d38133E8187365Cc5466b |
| ProjectRegistry | 0xb0F4882184EB6e3ed120c5181651D50719329788 |
| DummyVotingStrategy | 0x0c0B71BA1427cb46424d38133E8187365Cc5466b |


## ZkSync Era Mainnet

| Contract | Address |
|-----------------------------------------|--------------------------------------------|
| ProgramFactoryZk | 0x68a14AF71BFa0FE09fC937033f6Ea5153c0e75e4 |
| QuadraticFundingVotingStrategyFactoryZk | 0x94cB638556d3991363102431d8cE9e839C734677 |
| MerklePayoutStrategyFactoryZk | 0x41A8F19C6CB88C9Cc98d29Cb7A4015629910fFc0 |
| DirectPayoutStrategyFactoryZk | 0x0ccdfCB7e5DB60AAE5667d1680B490F7830c49C8 |
| AlloSettings | 0x7423451F93F8AA5324F61C36fAa76896E58ACd18 |
| RoundFactoryZk | 0xF3B5a0d59C6292BD0e4f8Cf735EEF52b98f428E6 |
| ProjectRegistry | 0xe6CCEe93c97E20644431647B306F48e278aFFdb9 |
| DummyVotingStrategy | 0x787D662D19C9528EB33FdaBb3cBEcBeAb2a7F15a |



## Base Mainnet
Expand Down
4 changes: 2 additions & 2 deletions scripts/config/allo.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ export const AlloSettingsParams: DeployParams = {
newProtocolTreasury: "0x0000000000000000000000000000000000000000",
},
"zksync-mainnet": {
alloSettingsContract: "",
alloSettingsContract: "0x7423451F93F8AA5324F61C36fAa76896E58ACd18",
newProtocolFeePercentage: 0,
newProtocolTreasury: "",
newProtocolTreasury: "0x0000000000000000000000000000000000000000",
},
"base": {
alloSettingsContract: "0x7ac74Be34b1A27E48a2525259719F877a57B2Aa4",
Expand Down
4 changes: 2 additions & 2 deletions scripts/config/payoutStrategy.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const MerklePayoutParams: DeployParams = {
contract: "",
},
"zksync-mainnet": {
factory: "",
factory: "0x41A8F19C6CB88C9Cc98d29Cb7A4015629910fFc0",
implementation: "",
contract: "",
},
Expand Down Expand Up @@ -158,7 +158,7 @@ export const DirectPayoutParams: DeployParams = {
contract: "",
},
"zksync-mainnet": {
factory: "",
factory: "0x0ccdfCB7e5DB60AAE5667d1680B490F7830c49C8",
implementation: "",
contract: "",
},
Expand Down
4 changes: 2 additions & 2 deletions scripts/config/program.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ export const programParams: DeployParams = {
programContract: "",
},
"zksync-mainnet": {
programFactoryContract: "0xe1b01395986bd93Cc9Fa62290987793c150a1AB2",
programImplementationContract: "0x08Bfe6ec7831d4bbd48873fCDc89Ef3d2d8c2C4E",
programFactoryContract: "0x68a14AF71BFa0FE09fC937033f6Ea5153c0e75e4",
programImplementationContract: "",
programContract: "",
},
"base": {
Expand Down
2 changes: 1 addition & 1 deletion scripts/config/projectRegistry.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const projectRegistryParams: DeployParams = {
proxyContractAddress: "0xb0F4882184EB6e3ed120c5181651D50719329788",
},
"zksync-mainnet": {
proxyContractAddress: "",
proxyContractAddress: "0xe6CCEe93c97E20644431647B306F48e278aFFdb9",
},
"base": {
proxyContractAddress: "0xA78Daa89fE9C1eC66c5cB1c5833bC8C6Cb307918"
Expand Down
2 changes: 1 addition & 1 deletion scripts/config/round.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export const roundParams: DeployParams = {
roundContract: "",
},
"zksync-mainnet": {
roundFactoryContract: "",
roundFactoryContract: "0xF3B5a0d59C6292BD0e4f8Cf735EEF52b98f428E6",
roundImplementationContract: "",
roundContract: "",
},
Expand Down
4 changes: 2 additions & 2 deletions scripts/config/votingStrategy.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const QFVotingParams: DeployParams = {
contract: "",
},
"zksync-mainnet": {
factory: "",
factory: "0x94cB638556d3991363102431d8cE9e839C734677",
implementation: "",
contract: "",
},
Expand Down Expand Up @@ -136,7 +136,7 @@ export const DummyVotingParams: Record<string, { contract: string }> = {
contract: "0x0c0B71BA1427cb46424d38133E8187365Cc5466b",
},
"zksync-mainnet": {
contract: "",
contract: "0x787D662D19C9528EB33FdaBb3cBEcBeAb2a7F15a",
},
"base": {
contract: "0x73AB205af1476Dc22104A6B8b3d4c273B58C6E27"
Expand Down

0 comments on commit f4a28ed

Please sign in to comment.