From 7507f64aadb9f285754f80f01307ae2d1d51f430 Mon Sep 17 00:00:00 2001 From: bout3fiddy <11488427+bout3fiddy@users.noreply.github.com> Date: Tue, 13 Feb 2024 16:55:36 +0100 Subject: [PATCH] fraxtal deployment --- .github/workflows/push_pr.yml | 4 ++-- deployments.yaml | 6 ++++++ scripts/deploy_infra.py | 6 +++--- scripts/deployment_utils.py | 4 ++++ 4 files changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/push_pr.yml b/.github/workflows/push_pr.yml index 2f6bf77..721a875 100644 --- a/.github/workflows/push_pr.yml +++ b/.github/workflows/push_pr.yml @@ -1,6 +1,6 @@ on: release: - types: [ created ] + types: [created] name: on-creating-new-tag @@ -30,7 +30,7 @@ jobs: git config user.name "curvefi" git remote update git fetch - git checkout master + git checkout main git add deployments git commit -m "chore: add release file - $TITLE" git push diff --git a/deployments.yaml b/deployments.yaml index 685c73f..39c21e5 100644 --- a/deployments.yaml +++ b/deployments.yaml @@ -45,6 +45,12 @@ ethereum:sepolia: factory: '0x4b00E8c997AeBACeEf6B8c6F89eE2bf99b2CA846' math: '0x550574E33b81C45D3D69250b46Ae30c7bC40d330' views: '0x59AfCD3e931018dc493AA1d833B11bb5A0744906' +fraxtal:mainnet: + amm_native_transfers_disabled: '0x1A83348F9cCFD3Fe1A8C0adBa580Ac4e267Fe495' + amm_native_transfers_enabled: '0xd3b17f862956464ae4403ccf829ce69199856e1e' + factory: '0xc9Fe0C63Af9A39402e8a5514f9c43Af0322b665F' + math: '0x0C9D8c7e486e822C29488Ff51BFf0167B4650953' + views: '0x64379C265Fc6595065D7d835AAaa731c0584dB80' ftm:mainnet: amm_native_transfers_disabled: '0xd125E7a0cEddF89c6473412d85835450897be6Dc' amm_native_transfers_enabled: '0x76303e4fDcA0AbF28aB3ee42Ce086E6503431F1D' diff --git a/scripts/deploy_infra.py b/scripts/deploy_infra.py index 1173008..880cba7 100644 --- a/scripts/deploy_infra.py +++ b/scripts/deploy_infra.py @@ -215,9 +215,9 @@ def main(): forkmode = False deploy_infra( - ":mainnet", - os.environ["RPC_"], - "", + "fraxtal:mainnet", + os.environ["RPC_FRAXTAL"], + "FIDDYDEPLOYER", fork=forkmode, ) diff --git a/scripts/deployment_utils.py b/scripts/deployment_utils.py index a254a23..0cdd23a 100644 --- a/scripts/deployment_utils.py +++ b/scripts/deployment_utils.py @@ -113,6 +113,10 @@ class CurveNetworkSettings: thin_proxy_contract="", fee_receiver_address="0x4920088D9a5e5De9c098FCA4960d0DA5f4caa4c1", ), + "fraxtal:mainnet": CurveNetworkSettings( + thin_proxy_contract="0x8b3EFBEfa6eD222077455d6f0DCdA3bF4f3F57A6", + fee_receiver_address="0x8b3EFBEfa6eD222077455d6f0DCdA3bF4f3F57A6", + ), } CURVE_DAO_OWNERSHIP = {