Skip to content

Commit

Permalink
base deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
bout3fiddy committed Oct 20, 2023
1 parent 7a9a26c commit d564a9f
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 15 deletions.
8 changes: 8 additions & 0 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
30 changes: 15 additions & 15 deletions scripts/deploy_infra.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
}

Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit d564a9f

Please sign in to comment.