From e699a6d47ebbbdd38bfcfabc131a8b456408eba3 Mon Sep 17 00:00:00 2001 From: aeolian <94939382+aeolianeth@users.noreply.github.com> Date: Mon, 23 Sep 2024 20:42:42 +1000 Subject: [PATCH] fix: update v4 launch contracts --- src/packages/v4/hooks/useLaunchProjectTx.ts | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/src/packages/v4/hooks/useLaunchProjectTx.ts b/src/packages/v4/hooks/useLaunchProjectTx.ts index 196f4da95e..dd717acfa3 100644 --- a/src/packages/v4/hooks/useLaunchProjectTx.ts +++ b/src/packages/v4/hooks/useLaunchProjectTx.ts @@ -41,19 +41,22 @@ const getProjectIdFromLaunchReceipt = ( return projectId } -// todo no ideal to hardcode these addresses +/** + * The contract addresses to use for deployment + * @todo not ideal to hardcode these addresses + */ const SUPPORTED_JB_MULTITERMINAL_ADDRESS = { - '84532': '0x88e8ED1Dd942B2aB4Adc1e3b50Bd0EdB9822231E' as Address, - '421614': '0x88e8ED1Dd942B2aB4Adc1e3b50Bd0EdB9822231E' as Address, - '11155111': '0x88e8ED1Dd942B2aB4Adc1e3b50Bd0EdB9822231E' as Address, - '11155420': '0x88e8ED1Dd942B2aB4Adc1e3b50Bd0EdB9822231E' as Address, + '84532': '0x4DeF0AA5B9CA095d11705284221b2878731ab4EF' as Address, + '421614': '0x4DeF0AA5B9CA095d11705284221b2878731ab4EF' as Address, + '11155111': '0x4DeF0AA5B9CA095d11705284221b2878731ab4EF' as Address, + '11155420': '0x4DeF0AA5B9CA095d11705284221b2878731ab4EF' as Address, } const SUPPORTED_JB_CONTROLLER_ADDRESS = { - '84532': '0x1e4c8DFfE8D72aeB63e8dDbE9eF89bc368cbbE99' as Address, - '421614': '0x1e4c8DFfE8D72aeB63e8dDbE9eF89bc368cbbE99' as Address, - '11155111': '0x1e4c8DFfE8D72aeB63e8dDbE9eF89bc368cbbE99' as Address, - '11155420': '0x1e4c8DFfE8D72aeB63e8dDbE9eF89bc368cbbE99' as Address, + '84532': '0x219A5cE6d1c512D5b050ad2E3d380b8746BE0Cb8' as Address, + '421614': '0x219A5cE6d1c512D5b050ad2E3d380b8746BE0Cb8' as Address, + '11155111': '0x219A5cE6d1c512D5b050ad2E3d380b8746BE0Cb8' as Address, + '11155420': '0x219A5cE6d1c512D5b050ad2E3d380b8746BE0Cb8' as Address, } /**