From e5c47170cbb1903a6f7a5160c8f23ff4d8545d84 Mon Sep 17 00:00:00 2001 From: Michael Liu Date: Thu, 19 Oct 2023 14:57:08 -0400 Subject: [PATCH] Adding Arf USDC migration pool --- packages/huma-shared/src/utils/pool.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/packages/huma-shared/src/utils/pool.ts b/packages/huma-shared/src/utils/pool.ts index ffc6e7c0..3fc63b4f 100644 --- a/packages/huma-shared/src/utils/pool.ts +++ b/packages/huma-shared/src/utils/pool.ts @@ -13,6 +13,7 @@ export enum POOL_NAME { Superfluid = 'Superfluid', Jia = 'Jia', ArfCreditPool1 = 'ArfCreditPool1', + ArfUSDCMigrationTest = 'ArfUSDCMigrationTest', BSOS = 'BSOS', ImpactMarket = 'ImpactMarket', Symplifi = 'Symplifi', @@ -521,6 +522,25 @@ export const PoolContractMap: PoolContractMapType = { }, }, [POOL_TYPE.CreditLine]: { + [POOL_NAME.ArfUSDCMigrationTest]: { + basePoolConfig: '0xe8338a5e3e58b425249f82594c82b42c2df4c5e9', + pool: '0xbb1b50e1ec5835b3c58944e820e7a5e136141ddc', + poolFeeManager: '0x9f667f613C16542aC8b1e502F4D796774F623D86', + poolUnderlyingToken: { + address: '0x0FA8781a83E46826621b3BC094Ea2A0212e71B23', + symbol: 'USDC', + decimals: 6, + icon: 'USDC', + }, + poolName: POOL_NAME.ArfUSDCMigrationTest, + poolType: POOL_TYPE.CreditLine, + poolAbi: BASE_CREDIT_POOL_ABI, + basePoolConfigAbi: BASE_POOL_CONFIG_ABI, + HDT: { + address: '0x8bce02521622222Ee13D1Ce2c5E4CCab52ce24Bb', + abi: HDT_ABI, + }, + }, [POOL_NAME.ArfCreditPool1]: { basePoolConfig: '0xc7E7d40F2D2B8E93E53727ECBec0Bf5683AFb7C4', pool: '0x51d996A8B0956F532663eB4fEe5fEC5a6eE81c63',