Skip to content

Commit

Permalink
fix metapool impl for mainnet only
Browse files Browse the repository at this point in the history
  • Loading branch information
bout3fiddy committed Nov 11, 2023
1 parent aeca06b commit 7fb7a1b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 15 deletions.
2 changes: 1 addition & 1 deletion scripts/deploy_infra.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"plain_amm": "0x3E3B5F27bbf5CC967E074b70E9f4046e31663181",
"meta_amm": "0x64AFA95e0C3D8410240a4262df9Fd82B12b64eDd",
"factory": "0x6A8cbed756804B16E05E741eDaBd5cB544AE21bf",
"gauge": "0xF5617D4f7514bE35fce829a1C19AE7f6c9106979",
"gauge": "0xf2eff2Cd0d9C82b7b2f17FbBed703fA7931dB1da",
},
# Layer 2
"arbitrum:mainnet": {
Expand Down
26 changes: 12 additions & 14 deletions scripts/deploy_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,21 +95,19 @@ class PoolSettings:

pool_settings = {
"ethereum:mainnet": {
"plain": [
"FRAXsDAI", # name
"FRAXSDAI", # symbol
[
"0x853d955aCEf822Db058eb8505911ED77F175b99e", # frax
"0x83F20F44975D03b1b09e64809B757c47f942BEeA", # sdai
],
1500, # A
"meta": [
"0xbEbc44782C7dB0a1A60Cb6fe97d0b483032FF1C7", # 3pool
"USDV-3crv", # name
"USDV3crv", # symbol
"0x0E573Ce2736Dd9637A0b21058352e1667925C7a8",
500, # A
1000000, # fee
10000000000, # offpeg_fee_multiplier
865, # ma_exp_time
50000000000, # offpeg_fee_multiplier
866, # ma_exp_time
0, # implementation index
[0, 3], # asset_types
[b"", b""], # method_ids
[ZERO_ADDRESS, ZERO_ADDRESS], # oracles
0, # asset_types
b"", # method_ids
ZERO_ADDRESS, # oracles
],
}
}
Expand Down Expand Up @@ -199,7 +197,7 @@ def deploy_pool_and_gauge(network, url, account, pool_type, fork):
def main():

fork = False
deploy_pool_and_gauge("ethereum:mainnet", os.environ["RPC_ETHEREUM"], "FIDDYDEPLOYER", "plain", fork)
deploy_pool_and_gauge("ethereum:mainnet", "http://localhost:9090", "FIDDYDEPLOYER", "meta", fork)


if __name__ == "__main__":
Expand Down

0 comments on commit 7fb7a1b

Please sign in to comment.