From d564a9f43ef33062b2de3ee95a710fc167067aa9 Mon Sep 17 00:00:00 2001 From: bout3fiddy <11488427+bout3fiddy@users.noreply.github.com> Date: Fri, 20 Oct 2023 16:03:54 +0200 Subject: [PATCH] base deployment --- README.MD | 8 ++++++++ scripts/deploy_infra.py | 30 +++++++++++++++--------------- 2 files changed, 23 insertions(+), 15 deletions(-) diff --git a/README.MD b/README.MD index 70ffeebb..156db871 100644 --- a/README.MD +++ b/README.MD @@ -56,6 +56,14 @@ For integrators: check exchange_received. That should improve your pathing signi 4. [`StableSwapMetaNG`](contracts/main/CurveStableSwapMetaNG.vy): [0x87FE17697D0f14A222e8bEf386a0860eCffDD617](https://polygonscan.com/address/0x87FE17697D0f14A222e8bEf386a0860eCffDD617#code) 5. [`CurveStableSwapFactoryNG`](contracts/main/CurveStableSwapFactoryNG.vy): [0x1764ee18e8B3ccA4787249Ceb249356192594585](https://polygonscan.com/address/0x1764ee18e8B3ccA4787249Ceb249356192594585#code) +## Base + +1. [`CurveStableSwapNGMath`](contracts/main/CurveStableSwapNGMath.vy): [0x506F594ceb4E33F5161139bAe3Ee911014df9f7f](https://basescan.org/address/0x506F594ceb4E33F5161139bAe3Ee911014df9f7f#code) +2. [`CurveStableSwapNGViews`](contracts/main/CurveStableSwapNGViews.vy): [0x87FE17697D0f14A222e8bEf386a0860eCffDD617](https://basescan.org/address/0x87FE17697D0f14A222e8bEf386a0860eCffDD617#code) +3. [`StableSwapNG`](contracts/main/CurveStableSwapNG.vy): [0x1764ee18e8B3ccA4787249Ceb249356192594585](https://basescan.org/address/0x1764ee18e8B3ccA4787249Ceb249356192594585#code) +4. [`StableSwapMetaNG`](contracts/main/CurveStableSwapMetaNG.vy): [0x5eee3091f747e60a045a2e715a4c71e600e31f6e](https://basescan.org/address/0x5eee3091f747e60a045a2e715a4c71e600e31f6e#code) +5. [`CurveStableSwapFactoryNG`](contracts/main/CurveStableSwapFactoryNG.vy): [0xd2002373543Ce3527023C75e7518C274A51ce712](https://basescan.org/address/0xd2002373543Ce3527023C75e7518C274A51ce712#code) + ## Overview The metapool factory has several core components: diff --git a/scripts/deploy_infra.py b/scripts/deploy_infra.py index 891c12bc..cd5bf77e 100644 --- a/scripts/deploy_infra.py +++ b/scripts/deploy_infra.py @@ -48,11 +48,11 @@ "factory": "0x1764ee18e8B3ccA4787249Ceb249356192594585", }, "base:mainnet": { - "math": "", - "views": "", - "plain_amm": "", - "meta_amm": "", - "factory": "", + "math": "0x506F594ceb4E33F5161139bAe3Ee911014df9f7f", + "views": "0x87FE17697D0f14A222e8bEf386a0860eCffDD617", + "plain_amm": "0x1764ee18e8B3ccA4787249Ceb249356192594585", + "meta_amm": "0x5eee3091f747e60a045a2e715a4c71e600e31f6e", + "factory": "0xd2002373543Ce3527023C75e7518C274A51ce712", }, } @@ -204,21 +204,21 @@ def main(): # ) # # polygon - deploy_infra( - "polygon:mainnet", - os.environ["RPC_POLYGON"], - "FIDDYDEPLOYER", - fork=False, - ) - - # # base # deploy_infra( - # "base:mainnet", - # os.environ["RPC_BASE"], + # "polygon:mainnet", + # os.environ["RPC_POLYGON"], # "FIDDYDEPLOYER", # fork=False, # ) + # # base + deploy_infra( + "base:mainnet", + os.environ["RPC_BASE"], + "FIDDYDEPLOYER", + fork=False, + ) + # # avax # deploy_infra( # "avax:mainnet",