Skip to content

Commit daf2ec0

Browse files
authored
feat(BatchTradeExtension): Deploy BatchTradeExtension [SIM-285] (#40)
* add polygon staging mainnet BatchTradeExtension deployment * add polygon mainnet BatchTradeExtension deployment * add optimism BatchTradeExtension deployment * add ethereum BatchTradeExtension deployment
1 parent 3301b6a commit daf2ec0

File tree

8 files changed

+198
-16
lines changed

8 files changed

+198
-16
lines changed

ethereum/deployments/outputs/1-production.json

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@
33
"network_key": "1-production",
44
"human_friendly_name": "main-net-production",
55
"network_id": 1,
6-
"last_deployment_stage": 3
6+
"last_deployment_stage": 4
77
},
88
"addresses": {
99
"ManagerCore": "0x7a397B3ed39E84C6181e47309CE940574290f4e7",
1010
"DelegatedManagerFactory": "0x5132044c71b98315bDD5D8E6900bcf93EB2EbeC0",
1111
"IssuanceExtension": "0x05C5c57E5E75FC8EaD83FE06ebe4aCc471Fb2948",
1212
"StreamingFeeSplitExtension": "0x1F52bA34eb80cBD48b9f3Dad43FFB4Cb6D0FCCF5",
13-
"TradeExtension": "0x00DD1D0A8acF768700c009CB5E54BBb5b6920071"
13+
"TradeExtension": "0x00DD1D0A8acF768700c009CB5E54BBb5b6920071",
14+
"BatchTradeExtension": "0x2db41170bEd581eAf00415015A8c24900799f99D"
1415
},
1516
"transactions": {
1617
"0": {
@@ -85,6 +86,29 @@
8586
"id": "0xd293f491d8dc0fcacfce7cc9ae8a64099f092ad623fd18e28f79633f66f67157",
8687
"timestamp": 1648697282613,
8788
"description": "Transfer ManagerCore ownership to Multisig"
89+
},
90+
"7": {
91+
"id": "0x115b572c32876050db968f945a2ae5cac86115bcba6f1e6759874aeb9b783f55",
92+
"name": "BatchTradeExtension",
93+
"timestamp": 1652211496526,
94+
"verified": true,
95+
"description": "Deployed BatchTradeExtension",
96+
"contractAddress": "0x2db41170bEd581eAf00415015A8c24900799f99D",
97+
"constructorArgs": [
98+
"0x7a397B3ed39E84C6181e47309CE940574290f4e7",
99+
"0x90F765F63E7DC5aE97d6c576BF693FB6AF41C129",
100+
[
101+
"ZeroExApiAdapterV5"
102+
]
103+
],
104+
"libraries": {}
105+
},
106+
"8": {
107+
"id": null,
108+
"timestamp": null,
109+
"data": "0x170ff3e10000000000000000000000002db41170bed581eaf00415015a8c24900799f99d",
110+
"description": "Add BatchTradeExtension to ManagerCore",
111+
"contractName": "ManagerCore"
88112
}
89113
}
90114
}

ethereum/deployments/outputs/1-staging.json

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@
33
"network_key": "1-staging",
44
"human_friendly_name": "main-net-staging",
55
"network_id": 1,
6-
"last_deployment_stage": 3
6+
"last_deployment_stage": 4
77
},
88
"addresses": {
99
"ExchangeIssuanceZeroEx": "0x939eD0665f6CC78882C0ef451d2636110FEA87fe",
1010
"ManagerCore": "0x09338207F33BC81B04A520464eBFCD0165dd302E",
1111
"DelegatedManagerFactory": "0x55cC794247Ec45db9A1D5B0F26055B7B729F19D2",
1212
"IssuanceExtension": "0xFc4E27bDb739A6e2AAdA6c8764860bec6F4288Ee",
1313
"StreamingFeeSplitExtension": "0x946735c0B0C47dd74a38eAe96E75E0eFF5BFB93E",
14-
"TradeExtension": "0xEa2F360529dFB5A3423ec84D44482673C28960e5"
14+
"TradeExtension": "0xEa2F360529dFB5A3423ec84D44482673C28960e5",
15+
"BatchTradeExtension": "0x980be45751Da83C1f6726292fbF594A9288cF41b"
1516
},
1617
"transactions": {
1718
"0": {
@@ -95,6 +96,27 @@
9596
"id": "0xf1dc847c5ca60e8dbc170ca8672ffb5d30cbd4d42c37a573c7cae9a1e3fe1fcb",
9697
"timestamp": 1648694500282,
9798
"description": "Initialized ManagerCore with DelegatedManagerFactory, IssuanceExtension, StreamingFeeSplitExtension, and TradeExtension"
99+
},
100+
"7": {
101+
"id": "0x423a69ae802e092ada28f2c8815fc23cc9dac04d021b85c848eb92d59614b866",
102+
"name": "BatchTradeExtension",
103+
"timestamp": 1652210875298,
104+
"verified": true,
105+
"description": "Deployed BatchTradeExtension",
106+
"contractAddress": "0x980be45751Da83C1f6726292fbF594A9288cF41b",
107+
"constructorArgs": [
108+
"0x09338207F33BC81B04A520464eBFCD0165dd302E",
109+
"0x45D67b9dbEA9bd51ED2B67832addEAF839628fAa",
110+
[
111+
"ZeroExApiAdapterV5"
112+
]
113+
],
114+
"libraries": {}
115+
},
116+
"8": {
117+
"id": "0x93a3158505d0271df65b297342ac2b7bcbb1db866691b67868f859f8d32a40e8",
118+
"timestamp": 1652210886960,
119+
"description": "Add BatchTradeExtension to ManagerCore"
98120
}
99121
}
100122
}

ethereum/deployments/outputs/42-staging.json

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@
33
"network_key": "42-staging",
44
"human_friendly_name": "kovan-staging",
55
"network_id": 42,
6-
"last_deployment_stage": 3
6+
"last_deployment_stage": 4
77
},
88
"addresses": {
99
"ExchangeIssuanceZeroEx": "0x30BA25b354Cf1A23Ead0Ad84aa81d3E3eD494234",
1010
"ManagerCore": "0xF03481D07933e11763551958e6A5415c6c9261B5",
1111
"DelegatedManagerFactory": "0x3156C917357022b037f13FdFeF3bA1908Bb9dFDD",
1212
"IssuanceExtension": "0x12D003f2a1B3bFC036B67eBd7ac400D3D1c9dE9D",
1313
"StreamingFeeSplitExtension": "0xe55C26E1caa46755660F89A636D763795927eDA1",
14-
"TradeExtension": "0x4425d972674BBDeB94CCc9873dfA854A87977058"
14+
"TradeExtension": "0x4425d972674BBDeB94CCc9873dfA854A87977058",
15+
"BatchTradeExtension": "0x7Ec7BbE8129f773c9c34AD3Fc2970c00784c90b6"
1516
},
1617
"transactions": {
1718
"0": {
@@ -95,6 +96,27 @@
9596
"id": "0x5fa75174498db2e716d6a649c0eaeb4299afe1183c45b9f924c0e2ce22fc8fde",
9697
"timestamp": 1648691241371,
9798
"description": "Initialized ManagerCore with DelegatedManagerFactory, IssuanceExtension, StreamingFeeSplitExtension, and TradeExtension"
99+
},
100+
"7": {
101+
"id": "0xa5b94fd839601360949e7f756b23d64c86ba10bdcf99a8ccd122331205930d1d",
102+
"name": "BatchTradeExtension",
103+
"timestamp": 1652210500911,
104+
"verified": true,
105+
"description": "Deployed BatchTradeExtension",
106+
"contractAddress": "0x7Ec7BbE8129f773c9c34AD3Fc2970c00784c90b6",
107+
"constructorArgs": [
108+
"0xF03481D07933e11763551958e6A5415c6c9261B5",
109+
"0xC93c8CDE0eDf4963ea1eea156099B285A945210a",
110+
[
111+
"ZeroExApiAdapterV5"
112+
]
113+
],
114+
"libraries": {}
115+
},
116+
"8": {
117+
"id": "0xf33a885512472d4eeb3781fd8aefa95b817978f560e45f36a13119175f7eb17a",
118+
"timestamp": 1652210512827,
119+
"description": "Add BatchTradeExtension to ManagerCore"
98120
}
99121
}
100122
}

optimism/deployments/outputs/10-production.json

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"network_key": "10-production",
44
"human_friendly_name": "optimism-mainnet-production",
55
"network_id": 10,
6-
"last_deployment_stage": 6
6+
"last_deployment_stage": 7
77
},
88
"addresses": {
99
"ExchangeIssuanceZeroEx": "0x01ecc782531ADCfB8C5a58A2C7FD544Ada946b81",
@@ -14,7 +14,8 @@
1414
"TradeExtension": "0x5fdbEb52Adfc6FbA26ef0E4b5e9464C63A15467b",
1515
"MNYeBaseManager": "0xB0051e20A2eD91AF525A2eDc54AEd6735e7fe892",
1616
"MNYeBasisTradingStrategyExtension": "0x3138293423c06D81Cc9Ae78FbCD3F7DB6323B83a",
17-
"MNYeFeeSplitExtension": "0x61A307cbfa9b88f2bE019915bD597C99D9690D96"
17+
"MNYeFeeSplitExtension": "0x61A307cbfa9b88f2bE019915bD597C99D9690D96",
18+
"BatchTradeExtension": "0x797136fB4dd214FEF0A510B2946ce58CaB390218"
1819
},
1920
"transactions": {
2021
"0": {
@@ -259,6 +260,29 @@
259260
"id": "0xab4934e5f313f4072861113c6ff36c972da7a08530797285991d2769b3a04e31",
260261
"timestamp": 1650563282977,
261262
"description": "Set MNYeBaseManager contract as MNY_ETH_TOKEN Manager"
263+
},
264+
"15": {
265+
"id": "0x7db184a3e5775b23e019c088c39e3ae6786a7536e27b6647a9d7ff06380c1476",
266+
"name": "BatchTradeExtension",
267+
"timestamp": 1652210271599,
268+
"verified": true,
269+
"description": "Deployed BatchTradeExtension",
270+
"contractAddress": "0x797136fB4dd214FEF0A510B2946ce58CaB390218",
271+
"constructorArgs": [
272+
"0x71ceB3F645dCBD7549CaaF85A224Db987Ae92630",
273+
"0x7215f38011C3e4058Ca3cF7d2b99033016EeFBD8",
274+
[
275+
"ZeroExApiAdapterV5"
276+
]
277+
],
278+
"libraries": {}
279+
},
280+
"16": {
281+
"id": null,
282+
"timestamp": null,
283+
"data": "0x170ff3e1000000000000000000000000797136fb4dd214fef0a510b2946ce58cab390218",
284+
"description": "Add BatchTradeExtension to ManagerCore",
285+
"contractName": "ManagerCore"
262286
}
263287
}
264288
}

optimism/deployments/outputs/10-staging.json

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"network_key": "10-staging",
44
"human_friendly_name": "optimism-mainnet-staging",
55
"network_id": 10,
6-
"last_deployment_stage": 5
6+
"last_deployment_stage": 7
77
},
88
"addresses": {
99
"ExchangeIssuanceZeroEx - DEPRECATED": "0xb56DEb6aBC9AB381ACa33ddb7BAa9fCb4C2Db8f5",
@@ -17,7 +17,8 @@
1717
"DeltaNeutralBasisTradingStrategyExtension-DEPRECATED": "0xdBBD0295eF049515A5eD1803995bA7296B866565",
1818
"DeltaNeutralBasisTradingStrategyExtension-DEPRECATED-2": "0x9EC0f9187e579b0142Bd0ED2968dc3A720e3F9f2",
1919
"PerpV2BaseManager": "0xddA86C5Ab04F8d671E3EC0e79F396b3f745bA2Ae",
20-
"DeltaNeutralBasisTradingStrategyExtension": "0x2ab4Ae1EaE439BF2a3320eE337d72Fc067b326E5"
20+
"DeltaNeutralBasisTradingStrategyExtension": "0x2ab4Ae1EaE439BF2a3320eE337d72Fc067b326E5",
21+
"BatchTradeExtension": "0x46A79cd173abC6060eCcC26076b15cf6D9CFb49F"
2122
},
2223
"transactions": {
2324
"0": {
@@ -460,6 +461,27 @@
460461
"id": "0xad2c0407fe34c64487a3635494083cf1fc74b1ec9346eca592430e39acea032b",
461462
"timestamp": 1650452564570,
462463
"description": "Set PerpV2BaseManager contract as TEST_BASIS_TOKEN Manager"
464+
},
465+
"18": {
466+
"id": "0x82be3d9866b1f7d67df0b0aded0a3efc434985f8158afd7d091b3ca136cddf40",
467+
"name": "BatchTradeExtension",
468+
"timestamp": 1652210178599,
469+
"verified": true,
470+
"description": "Deployed BatchTradeExtension",
471+
"contractAddress": "0x46A79cd173abC6060eCcC26076b15cf6D9CFb49F",
472+
"constructorArgs": [
473+
"0xe3Ebf3788Fab3de919da7332e7b72899414d3E80",
474+
"0x4F70287526ea9Ba7e799D616ea86635CdAf0de4F",
475+
[
476+
"ZeroExApiAdapterV5"
477+
]
478+
],
479+
"libraries": {}
480+
},
481+
"19": {
482+
"id": "0x1850292a1f5929191bd168ccf50b3f9d2324a896c6f37d72239325691f1af0cf",
483+
"timestamp": 1652210185588,
484+
"description": "Add BatchTradeExtension to ManagerCore"
463485
}
464486
}
465487
}

optimism/deployments/outputs/69-staging.json

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"network_key": "69-kovan",
44
"human_friendly_name": "optimism-kovan",
55
"network_id": 69,
6-
"last_deployment_stage": 5
6+
"last_deployment_stage": 7
77
},
88
"addresses": {
99
"BaseManager": "0x25337C2cD1147acd3EE99871f2087Af6095B6aF4",
@@ -15,7 +15,8 @@
1515
"StreamingFeeSplitExtension": "0x06Ed895C81d252FFe693f4A15ce7292b4cAb5612",
1616
"TradeExtension": "0xC4300E01c37020bcF471aefA16Ca8eFE1618E939",
1717
"PerpV2BaseManager": "0x1687eF971F48620bBbD098cBB9D3E32B60D5b1e7",
18-
"DeltaNeutralBasisTradingStrategyExtension": "0xD9a63615f5159f7Abd743E82BCc31c033a595C2E"
18+
"DeltaNeutralBasisTradingStrategyExtension": "0xD9a63615f5159f7Abd743E82BCc31c033a595C2E",
19+
"BatchTradeExtension": "0x391D7b72C97c1bE8378fB10cF3f5CcC85f6760Bc"
1920
},
2021
"transactions": {
2122
"0": {
@@ -658,6 +659,27 @@
658659
"data": "0xd0ebdbe70000000000000000000000001687ef971f48620bbbd098cbb9d3e32b60d5b1e7",
659660
"description": "Set PerpV2BaseManager contract as TEST_BASIS_TOKEN Manager",
660661
"contractName": "TEST_BASIS_TOKEN"
662+
},
663+
"24": {
664+
"id": "0xea89e29785ad3207601d475d8ae9de82d33bd3f6266d1b1af4ebdaabafd399e9",
665+
"name": "BatchTradeExtension",
666+
"timestamp": 1652209952103,
667+
"verified": true,
668+
"description": "Deployed BatchTradeExtension",
669+
"contractAddress": "0x391D7b72C97c1bE8378fB10cF3f5CcC85f6760Bc",
670+
"constructorArgs": [
671+
"0x13C5A1444CC7cF0bCae366ed5BDe13d46dba3311",
672+
"0x0a18Ad43a9dc991dB9401ee7aC5AAD0A3b219159",
673+
[
674+
"ZeroExApiAdapterV5"
675+
]
676+
],
677+
"libraries": {}
678+
},
679+
"25": {
680+
"id": "0x0329e9debb0db31168901173050a477b40f15248b8f5bb8c088151b77f222c2b",
681+
"timestamp": 1652209958828,
682+
"description": "Add BatchTradeExtension to ManagerCore"
661683
}
662684
}
663685
}

polygon/deployments/outputs/137-production.json

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@
33
"network_key": "137-production",
44
"human_friendly_name": "polygon-mainnet-production",
55
"network_id": 137,
6-
"last_deployment_stage": 3
6+
"last_deployment_stage": 4
77
},
88
"addresses": {
99
"ExchangeIssuanceZeroEx": "0x1c0c05a2aA31692e5dc9511b04F651db9E4d8320",
1010
"ManagerCore": "0x0df58926e1c8A236B3b41f07a94Df77C90c6638F",
1111
"DelegatedManagerFactory": "0xBDae9e6897E08f7ceEc538c4cb0B7f413EEc3497",
1212
"IssuanceExtension": "0xdBBD0295eF049515A5eD1803995bA7296B866565",
1313
"StreamingFeeSplitExtension": "0x2E60b48DFc8d995BDbAb52AC353E115b939Dcb9e",
14-
"TradeExtension": "0x963EA50D6A06278A57F08BC5a056F840F59f7634"
14+
"TradeExtension": "0x963EA50D6A06278A57F08BC5a056F840F59f7634",
15+
"BatchTradeExtension": "0xd71689B98F526Aa679EfBC9eeeF98F7f99AEC31C"
1516
},
1617
"transactions": {
1718
"0": {
@@ -100,6 +101,29 @@
100101
"id": "0xb56b1acc5d92284cb961216f58bff048ce8d53d4124159ebb14e5267014bfab5",
101102
"timestamp": 1648680391807,
102103
"description": "Transfer ManagerCore ownership to Multisig"
104+
},
105+
"8": {
106+
"id": "0x20434e75891291c4b78483f2cb164803999e4c0e3662d5f386ff8bc7f881414f",
107+
"name": "BatchTradeExtension",
108+
"timestamp": 1652209469053,
109+
"verified": true,
110+
"description": "Deployed BatchTradeExtension",
111+
"contractAddress": "0xd71689B98F526Aa679EfBC9eeeF98F7f99AEC31C",
112+
"constructorArgs": [
113+
"0x0df58926e1c8A236B3b41f07a94Df77C90c6638F",
114+
"0xd04AabadEd11e92Fefcd92eEdbBC81b184CdAc82",
115+
[
116+
"ZeroExApiAdapterV5"
117+
]
118+
],
119+
"libraries": {}
120+
},
121+
"9": {
122+
"id": null,
123+
"timestamp": null,
124+
"data": "0x170ff3e1000000000000000000000000d71689b98f526aa679efbc9eeef98f7f99aec31c",
125+
"description": "Add BatchTradeExtension to ManagerCore",
126+
"contractName": "ManagerCore"
103127
}
104128
}
105129
}

polygon/deployments/outputs/137-staging.json

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"network_key": "137-staging",
44
"human_friendly_name": "polygon-mainnet-staging",
55
"network_id": 137,
6-
"last_deployment_stage": 3
6+
"last_deployment_stage": 4
77
},
88
"addresses": {
99
"ExchangeIssuanceZeroEx": "0xF22075FFEB9bCFa7e54d68Cd2f0FbFA17D1bCE35",
@@ -16,7 +16,8 @@
1616
"DelegatedManagerFactory": "0xa5351d5F6fE586A7A2eE0A5B7f797F5Fb686082B",
1717
"IssuanceExtension": "0x802569a5AC139650956f79bB0129C767cC491DE4",
1818
"StreamingFeeSplitExtension": "0x171Bf119b7Da5E24Ea1f41c81e0DAD41E57FeE48",
19-
"TradeExtension": "0x34548881b83dC247Ca11ed4cfbe2cbeB5a2Bf0D1"
19+
"TradeExtension": "0x34548881b83dC247Ca11ed4cfbe2cbeB5a2Bf0D1",
20+
"BatchTradeExtension": "0x6462fF37B2ddcD66309d5374a09f254F3bd962a0"
2021
},
2122
"transactions": {
2223
"0": {
@@ -100,6 +101,27 @@
100101
"id": "0x793fc731ab030e1c4a333061fe13cc29ba907bc37ee65efb41c319de3243eb43",
101102
"timestamp": 1648492713859,
102103
"description": "Initialized ManagerCore with DelegatedManagerFactory, IssuanceExtension, StreamingFeeSplitExtension, and TradeExtension"
104+
},
105+
"7": {
106+
"id": "0x34d6b2abdbb988b2c02dc9dc87c202de22d33ec4c8004295d3723533a6f8de85",
107+
"name": "BatchTradeExtension",
108+
"timestamp": 1651165177888,
109+
"verified": true,
110+
"description": "Deployed BatchTradeExtension",
111+
"contractAddress": "0x6462fF37B2ddcD66309d5374a09f254F3bd962a0",
112+
"constructorArgs": [
113+
"0x6443E67CbCF1C527B040b8b4a90F9e9229d790e4",
114+
"0x4F70287526ea9Ba7e799D616ea86635CdAf0de4F",
115+
[
116+
"ZeroExApiAdapterV5"
117+
]
118+
],
119+
"libraries": {}
120+
},
121+
"8": {
122+
"id": "0xb38e663452162269cf557cad448e17a3e703724fe5e6201241ef8742b398083f",
123+
"timestamp": 1651165184594,
124+
"description": "Add BatchTradeExtension to ManagerCore"
103125
}
104126
}
105127
}

0 commit comments

Comments
 (0)