Skip to content

Commit

Permalink
Merge branch 'master' into add-deploy-functions-for-factory
Browse files Browse the repository at this point in the history
  • Loading branch information
elshan-eth committed Dec 6, 2024
2 parents df9d6ac + 6b5383a commit d3d9738
Show file tree
Hide file tree
Showing 60 changed files with 6,521 additions and 11 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
- Deployed V3 Vault to Mainnet, Gnosis and Sepolia.
- Deployed V3 Weighted Pool to Mainnet, Gnosis and Sepolia.
- Deployed V3 Stable Pool to Mainnet, Gnosis and Sepolia.
- Deployed V3 Router to Mainnet, Gnosis and Sepolia.
- Deployed V3 Batch Router to Mainnet, Gnosis and Sepolia.
- Deployed V3 Composite Liquidity Router to Mainnet, Gnosis and Sepolia.
- Deployed V3 Buffer Router to Mainnet, Gnosis and Sepolia.
- Deployed V3 Vault Explorer to Mainnet, Gnosis and Sepolia.

- Deployed contracts to Fraxtal with veBAL support.
- Deployed contracts to Mode without veBAL support.
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,11 @@ Returns an object with all contracts from a deployment and their addresses.
| V3 Vault | [`20241204-v3-vault`](./v3/tasks/20241204-v3-vault) |
| V3 Weighted Pool | [`20241205-v3-weighted-pool`](./v3/tasks/20241205-v3-weighted-pool) |
| V3 Stable Pool | [`20241205-v3-stable-pool`](./v3/tasks/20241205-v3-stable-pool) |
| V3 Router | [`20241205-v3-router`](./v3/tasks/20241205-v3-router) |
| V3 Batch Router | [`20241205-v3-batch-router`](./v3/tasks/20241205-v3-batch-router) |
| V3 Composite Liquidity Router | [`20241205-v3-composite-liquidity-router`](./v3/tasks/20241205-v3-composite-liquidity-router) |
| V3 Buffer Router | [`20241205-v3-buffer-router`](./v3/tasks/20241205-v3-buffer-router) |
| V3 Vault Explorer | [`20241205-v3-vault-explorer`](./v3/tasks/20241205-v3-vault-explorer) |

## Scripts

Expand Down
45 changes: 45 additions & 0 deletions addresses/gnosis.json
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,42 @@
],
"status": "ACTIVE"
},
"20241205-v3-batch-router": {
"contracts": [
{
"name": "BatchRouter",
"address": "0xe2fa4e1d17725e72dcdAfe943Ecf45dF4B9E285b"
}
],
"status": "ACTIVE"
},
"20241205-v3-buffer-router": {
"contracts": [
{
"name": "BufferRouter",
"address": "0x86e67E115f96DF37239E0479441303De0de7bc2b"
}
],
"status": "ACTIVE"
},
"20241205-v3-composite-liquidity-router": {
"contracts": [
{
"name": "CompositeLiquidityRouter",
"address": "0xC1A64500E035D9159C8826E982dFb802003227f0"
}
],
"status": "ACTIVE"
},
"20241205-v3-router": {
"contracts": [
{
"name": "Router",
"address": "0x84813aA3e079A665C0B80F944427eE83cBA63617"
}
],
"status": "ACTIVE"
},
"20241205-v3-stable-pool": {
"contracts": [
{
Expand All @@ -547,6 +583,15 @@
],
"status": "ACTIVE"
},
"20241205-v3-vault-explorer": {
"contracts": [
{
"name": "VaultExplorer",
"address": "0x0C8f71D19f87c0bD1b9baD2484EcC3388D5DbB98"
}
],
"status": "ACTIVE"
},
"20241205-v3-weighted-pool": {
"contracts": [
{
Expand Down
45 changes: 45 additions & 0 deletions addresses/mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -1298,6 +1298,42 @@
],
"status": "ACTIVE"
},
"20241205-v3-batch-router": {
"contracts": [
{
"name": "BatchRouter",
"address": "0x136f1EFcC3f8f88516B9E94110D56FDBfB1778d1"
}
],
"status": "ACTIVE"
},
"20241205-v3-buffer-router": {
"contracts": [
{
"name": "BufferRouter",
"address": "0x9179C06629ef7f17Cb5759F501D89997FE0E7b45"
}
],
"status": "ACTIVE"
},
"20241205-v3-composite-liquidity-router": {
"contracts": [
{
"name": "CompositeLiquidityRouter",
"address": "0x1CD776897ef4f647bf8241Ec69549e4A9cb1D608"
}
],
"status": "ACTIVE"
},
"20241205-v3-router": {
"contracts": [
{
"name": "Router",
"address": "0x5C6fb490BDFD3246EB0bB062c168DeCAF4bD9FDd"
}
],
"status": "ACTIVE"
},
"20241205-v3-stable-pool": {
"contracts": [
{
Expand All @@ -1311,6 +1347,15 @@
],
"status": "ACTIVE"
},
"20241205-v3-vault-explorer": {
"contracts": [
{
"name": "VaultExplorer",
"address": "0x774cB66e2B2dB59A9daF175e9b2B7A142E17EB94"
}
],
"status": "ACTIVE"
},
"20241205-v3-weighted-pool": {
"contracts": [
{
Expand Down
45 changes: 45 additions & 0 deletions addresses/sepolia.json
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,42 @@
],
"status": "ACTIVE"
},
"20241205-v3-batch-router": {
"contracts": [
{
"name": "BatchRouter",
"address": "0xC85b652685567C1B074e8c0D4389f83a2E458b1C"
}
],
"status": "ACTIVE"
},
"20241205-v3-buffer-router": {
"contracts": [
{
"name": "BufferRouter",
"address": "0xb5F3A41515457CC6E2716c62a011D260441CcfC9"
}
],
"status": "ACTIVE"
},
"20241205-v3-composite-liquidity-router": {
"contracts": [
{
"name": "CompositeLiquidityRouter",
"address": "0xc6674C0c7694E9b990eAc939E74F8cc3DD39B4b0"
}
],
"status": "ACTIVE"
},
"20241205-v3-router": {
"contracts": [
{
"name": "Router",
"address": "0x0BF61f706105EA44694f2e92986bD01C39930280"
}
],
"status": "ACTIVE"
},
"20241205-v3-stable-pool": {
"contracts": [
{
Expand All @@ -629,6 +665,15 @@
],
"status": "ACTIVE"
},
"20241205-v3-vault-explorer": {
"contracts": [
{
"name": "VaultExplorer",
"address": "0xEB15EBBF9C1a4D7D243d57dE447Df0b97C40c324"
}
],
"status": "ACTIVE"
},
"20241205-v3-weighted-pool": {
"contracts": [
{
Expand Down
7 changes: 6 additions & 1 deletion deployment-txs/gnosis.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,10 @@
"0xEB1eeaBF0126d813589C3D2CfeFFE410D9aE3863": "0x04965cda30a501e074b983c40c5ff83d70401597da929e937e39d60022f4f0d9",
"0xd43c36038250c66D46854e536Bf959fdDE5294c3": "0x81103c45f5122e7c48e538cdc4defa0831221bf39cf5efb1d463ff8d77c033eb",
"0x22625eEDd92c81a219A83e1dc48f88d54786B017": "0xbd157de3b2e45017b96a93474051c6f390f4c5d46a178a8a2e96c7b68ca85873",
"0x5006082D252c6315C3A83BD621927551a20F3b44": "0xf44730a89599bb646bf82595a1d82f255891fef1360488863809f3041e24b2b9"
"0x5006082D252c6315C3A83BD621927551a20F3b44": "0xf44730a89599bb646bf82595a1d82f255891fef1360488863809f3041e24b2b9",
"0x84813aA3e079A665C0B80F944427eE83cBA63617": "0x223eefba2dfc4c6cdb6d0ccd086adacca5ce36ef953f98545db52c0bd3cb684f",
"0x86e67E115f96DF37239E0479441303De0de7bc2b": "0x18467ab24c2ac5a36fe354ce80130b83a266ebff363a9de106ce25468a4af378",
"0xe2fa4e1d17725e72dcdAfe943Ecf45dF4B9E285b": "0xeafddbace9f445266f851ef1d92928e3d01a4622a1a6780b41ac52d5872f12ab",
"0xC1A64500E035D9159C8826E982dFb802003227f0": "0x08aa1394d85892bf3b3c592fc44776e2035287755957a655754acd0404d2e4e7",
"0x0C8f71D19f87c0bD1b9baD2484EcC3388D5DbB98": "0x5d053a5a16fd14c86cf0403dc85fb90d35a58c3e8f85831d88640d74bab4ebdc"
}
13 changes: 9 additions & 4 deletions deployment-txs/mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,17 @@
"0x18CC3C68A5e64b40c846Aa6E45312cbcBb94f71b": "0x1f11890a40a96fb3be92f2ab5ae160a70252e671ade0038242f21a6992f0ceab",
"0xE241C6e48CA045C7f631600a0f1403b2bFea05ad": "0x8ea045aa2c50cc3fe24f6e9122cac4d1825b9367598fce148fce736b2540a1ab",
"0xAc27df81663d139072E615855eF9aB0Af3FBD281": "0xc8ae141334ca62994b5108c39d6d926596272a639edbb06b2d353b8890072db6",
"0xbA1333333333a1BA1108E8412f11850A5C319bA9": "0x49a4986a672bcc20eecf99a3603f0099b19ab663eebe5dd5fe04808c380147b4",
"0x0E8B07657D719B86e06bF0806D6729e3D528C9A9": "0x49a4986a672bcc20eecf99a3603f0099b19ab663eebe5dd5fe04808c380147b4",
"0x35fFB749B273bEb20F40f35EdeB805012C539864": "0x49a4986a672bcc20eecf99a3603f0099b19ab663eebe5dd5fe04808c380147b4",
"0xa731C23D7c95436Baaae9D52782f966E1ed07cc8": "0x49a4986a672bcc20eecf99a3603f0099b19ab663eebe5dd5fe04808c380147b4",
"0x201efd508c8DfE9DE1a13c2452863A78CB2a86Cc": "0x1e14baaeb10fc3a6b689e77ec34e8c5e8e21853f6e23257459dd99c35b6ff06b",
"0x527d0E14acc53FB040DeBeae1cAb973D23FB3568": "0x44d82009c125f39bd2bbd1f723e7284e4226d5d752a66b18536e5d92c37b0c82",
"0xB9d01CA61b9C181dA1051bFDd28e1097e920AB14": "0x2794463090a850910415b88df0f756e01e0838c8782e83a89389992c17469513",
"0x89Ef89Fd9a6ec73bcE588F309C1F65C406d2891C": "0xb85dd153e2e12599487632277c99375af44402e6c6053d47fa622a7a02d71691",
"0xbA1333333333a1BA1108E8412f11850A5C319bA9": "0x49a4986a672bcc20eecf99a3603f0099b19ab663eebe5dd5fe04808c380147b4",
"0x0E8B07657D719B86e06bF0806D6729e3D528C9A9": "0x49a4986a672bcc20eecf99a3603f0099b19ab663eebe5dd5fe04808c380147b4",
"0x35fFB749B273bEb20F40f35EdeB805012C539864": "0x49a4986a672bcc20eecf99a3603f0099b19ab663eebe5dd5fe04808c380147b4",
"0xa731C23D7c95436Baaae9D52782f966E1ed07cc8": "0x49a4986a672bcc20eecf99a3603f0099b19ab663eebe5dd5fe04808c380147b4"
"0x5C6fb490BDFD3246EB0bB062c168DeCAF4bD9FDd": "0x01cac4d5fec805176a2ea2391fa6634ec594d55689bd871bd2052d4668f12157",
"0x9179C06629ef7f17Cb5759F501D89997FE0E7b45": "0xd18957294c2e5f3419355d373b57b7cb0d74ce26e70323b38186b3d28c85904a",
"0x136f1EFcC3f8f88516B9E94110D56FDBfB1778d1": "0x41cb8619fb92dd532eb09b0e81fd4ce1c6006a10924893f02909e36a317777f3",
"0x1CD776897ef4f647bf8241Ec69549e4A9cb1D608": "0x22f9196d3f158a05ebb8b4533fbdb5951392122a4158a4b04c43b24cb052eb24",
"0x774cB66e2B2dB59A9daF175e9b2B7A142E17EB94": "0x990076c3e93d6c0d46f6c9187b9b2b3216864f7b6fb0b61d6311e60804a51a29"
}
13 changes: 9 additions & 4 deletions deployment-txs/sepolia.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,17 @@
"0x05503B3aDE04aCA81c8D6F88eCB73Ba156982D2B": "0x53aa3587002469b758e2bb87135d9599fd06e7be944fe61c7f82045c45328566",
"0x7b0d669142FEDe0eB9065E3B9140a7c90a934a27": "0x254b0ec866c204a1a1eca3d1a85879ddc4b24191141215d7ecff085cf478f70c",
"0xAc27df81663d139072E615855eF9aB0Af3FBD281": "0x35299591bbd0daf8013573a132cec517f16a03b2cdcaa6370c3bcc37459924b9",
"0xbA1333333333a1BA1108E8412f11850A5C319bA9": "0xe9ab355e0f5987453c48b3fe64f7c63ae4ba6dc5a85d1e43fb3a066dffe16a81",
"0x0E8B07657D719B86e06bF0806D6729e3D528C9A9": "0xe9ab355e0f5987453c48b3fe64f7c63ae4ba6dc5a85d1e43fb3a066dffe16a81",
"0x35fFB749B273bEb20F40f35EdeB805012C539864": "0xe9ab355e0f5987453c48b3fe64f7c63ae4ba6dc5a85d1e43fb3a066dffe16a81",
"0xa731C23D7c95436Baaae9D52782f966E1ed07cc8": "0xe9ab355e0f5987453c48b3fe64f7c63ae4ba6dc5a85d1e43fb3a066dffe16a81",
"0x7532d5a3bE916e4a4D900240F49F0BABd4FD855C": "0xe42c9cdc05ab3de2b8698ed32e56dce0f85c1017099aa965784d8023fb29d012",
"0xFc253B433B7225AC7736EAbDF4115F7252aECb91": "0x45579023de61bae57ba62a72a50783509afa7c47f466150b3d5f134d220624b6",
"0xd67F485C07D258B3e93835a3799d862ffcB55923": "0x48d803b01baf630543481ca6eefca5dc269d8670cf44afd08dcba3792a48710f",
"0x7373C5b9610d43466395617c428eCAA5b47ac5AA": "0x00dcc321792c060560757aea332ba6247d84c0365f535105229ea75b8d9d3f9d",
"0xbA1333333333a1BA1108E8412f11850A5C319bA9": "0xe9ab355e0f5987453c48b3fe64f7c63ae4ba6dc5a85d1e43fb3a066dffe16a81",
"0x0E8B07657D719B86e06bF0806D6729e3D528C9A9": "0xe9ab355e0f5987453c48b3fe64f7c63ae4ba6dc5a85d1e43fb3a066dffe16a81",
"0x35fFB749B273bEb20F40f35EdeB805012C539864": "0xe9ab355e0f5987453c48b3fe64f7c63ae4ba6dc5a85d1e43fb3a066dffe16a81",
"0xa731C23D7c95436Baaae9D52782f966E1ed07cc8": "0xe9ab355e0f5987453c48b3fe64f7c63ae4ba6dc5a85d1e43fb3a066dffe16a81"
"0x0BF61f706105EA44694f2e92986bD01C39930280": "0x904d1f11c701b2546bd991b924d5614865784dc49069c1bcab4ceaac311048b7",
"0xb5F3A41515457CC6E2716c62a011D260441CcfC9": "0x0c0c7799ef190037fdbd0b87acbe7970f22b3befc707e67541d649aa1e2a054a",
"0xC85b652685567C1B074e8c0D4389f83a2E458b1C": "0x95ed8e1aaaa7bdc5881f3c8fc5a4914a66639bee52987c3a1ea88545083b0681",
"0xc6674C0c7694E9b990eAc939E74F8cc3DD39B4b0": "0xd4cc29282a17a77f5f6847ff2d94502ed3ef70b838756cca72a8450712fec430",
"0xEB15EBBF9C1a4D7D243d57dE447Df0b97C40c324": "0x1160abf53ad2553476267f7bd136dcc35226f2ad2d3b93e1ff71f79dd5492acf"
}
1 change: 1 addition & 0 deletions src/helpers/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export const MAX_UINT96: BigNumber = maxUint(96);
export const MAX_UINT10: BigNumber = maxUint(10);
export const MAX_UINT31: BigNumber = maxUint(31);
export const MAX_UINT32: BigNumber = maxUint(32);
export const MAX_UINT48: BigNumber = maxUint(48);
export const MAX_UINT64: BigNumber = maxUint(64);

export const MIN_INT22: BigNumber = minInt(22);
Expand Down
3 changes: 3 additions & 0 deletions v3/tasks/00000000-permit2/output/gnosis.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"Permit2": "0x000000000022D473030F116dDEE9F6B43aC78BA3"
}
3 changes: 3 additions & 0 deletions v3/tasks/00000000-permit2/output/mainnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"Permit2": "0x000000000022D473030F116dDEE9F6B43aC78BA3"
}
3 changes: 3 additions & 0 deletions v3/tasks/00000000-permit2/output/sepolia.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"Permit2": "0x000000000022D473030F116dDEE9F6B43aC78BA3"
}
3 changes: 3 additions & 0 deletions v3/tasks/00000000-permit2/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Permit2

This is not a real task; it just contains deployment addresses for Permit2 in different networks.
Loading

0 comments on commit d3d9738

Please sign in to comment.