diff --git a/packages/huma-shared/src/services/CampaignService.ts b/packages/huma-shared/src/services/CampaignService.ts index a363ee04..5637a30a 100644 --- a/packages/huma-shared/src/services/CampaignService.ts +++ b/packages/huma-shared/src/services/CampaignService.ts @@ -18,7 +18,7 @@ export type CampaignPartner = { multiplier: number } -interface BaseCampaign { +export interface BaseCampaign { id: string name: string chainId: string diff --git a/packages/huma-shared/src/solana/metadata/mainnet.ts b/packages/huma-shared/src/solana/metadata/mainnet.ts index b8e7739d..42984978 100644 --- a/packages/huma-shared/src/solana/metadata/mainnet.ts +++ b/packages/huma-shared/src/solana/metadata/mainnet.ts @@ -9,23 +9,23 @@ export const SOLANA_MAINNET_INFO: SolanaChainInfo = { } export const SOLANA_MAINNET_METADATA: SolanaPoolsInfo = { - ArfCreditPool6Months: { + ArfCreditPool3Months: { title: 'Arf - Cross Border Payment Financing', - poolName: POOL_NAME.ArfCreditPool6Months, + poolName: POOL_NAME.ArfCreditPool3Months, poolType: POOL_TYPE.CreditLine, chainId: SolanaChainEnum.SolanaMainnet, industry: 'Remittance Financing', desc: 'Arf provides an innovative on-chain liquidity solution that simplifies cross-border payments by facilitating immediate USDC-based settlements and tokenizing payment orders, enhancing transparency in the process.', - poolId: '6oAuPDYheeDBrmRgY5z1iXvmFwbmtpEGdGBtMCWgAHwb', - poolAuthority: 'FyBd4A7VzeTBP1dyfmmi1rqZYx6wpLT63xKKzngDKu5p', - poolUnderlyingTokenAccount: 'FwZoHpBs1cwHRZzQ9XAzd2Jai4okVVAsNTZbAoEysRpV', - poolConfig: '4beixqv1temogHLmJU98SLpQvGyxkgTyn2AK7dWTr3k8', + poolId: '29cg8D8hKeNxcN4ujoP2hTNB3eDFgYkzYEKggrJqDAsd', + poolAuthority: '6Q4e1GEZEYS4GZJst767NU8Z6NeZoqykqhontcWZ33vS', + poolUnderlyingTokenAccount: '8ZcgiBPiAxErfe3ZPTyKiWPFBCvNP2JeVgUKnTiiFUAc', + poolConfig: '8NkJUfNPTn7cRF8Jn1Z84SamRe4NLKWhvQLkbcHpsRXP', humaConfig: 'Fh2WKYCJfota6k76gDGnhTELUuhPa7FHQvVza4cE11ja', - poolState: 'BA1nPxHMnaWiuXeqHSGQntNnx7hobXhHNtiK1PWhrS6E', - juniorTrancheMint: 'EabTCfsZytPd8PRAsSVxcPpMn9hPARLFgvNx6eRjFz1i', - juniorTrancheState: '78Jz2ne15ahye3iC2vVmWF4kDQba7xFFcVE3nT9nE1q6', - seniorTrancheMint: '9J7t9Lnd3bwmACix1Xiw9W3crdtzx6q5Y18LGt25UYco', - seniorTrancheState: 'GGsYvQW5Xw4VLwJAzRA36NHFc146XBQJ6DveR2qBAUgS', + poolState: 'FaAQ5uEm4Coi6mRZ2PkEobbPBDEWHTP8J3HU4jJQnPjP', + juniorTrancheMint: '3U4X1vs4vvtadfTf4CNqdHZ3fYwL7ZLbWaTKkXjt4c2S', + juniorTrancheState: 'UZQspSnnmUprmXKQhNxdbWTMwzqfSgoKZfoTHQPuaXw', + seniorTrancheMint: '7HpPrzapRiAooyCUverJRZVCgXrtroNsvWspCJLh2Mjh', + seniorTrancheState: '5zNaDGjFZ2XKN8kSX1Yf9LFUToFsd78eK1Um58wa38ZL', trancheDecimals: 6, underlyingMint: { address: 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v', @@ -40,23 +40,23 @@ export const SOLANA_MAINNET_METADATA: SolanaPoolsInfo = { hasReceivables: true, }, }, - ArfCreditPool3Months: { + ArfCreditPool6Months: { title: 'Arf - Cross Border Payment Financing', - poolName: POOL_NAME.ArfCreditPool3Months, + poolName: POOL_NAME.ArfCreditPool6Months, poolType: POOL_TYPE.CreditLine, chainId: SolanaChainEnum.SolanaMainnet, industry: 'Remittance Financing', desc: 'Arf provides an innovative on-chain liquidity solution that simplifies cross-border payments by facilitating immediate USDC-based settlements and tokenizing payment orders, enhancing transparency in the process.', - poolId: '29cg8D8hKeNxcN4ujoP2hTNB3eDFgYkzYEKggrJqDAsd', - poolAuthority: '6Q4e1GEZEYS4GZJst767NU8Z6NeZoqykqhontcWZ33vS', - poolUnderlyingTokenAccount: '8ZcgiBPiAxErfe3ZPTyKiWPFBCvNP2JeVgUKnTiiFUAc', - poolConfig: '8NkJUfNPTn7cRF8Jn1Z84SamRe4NLKWhvQLkbcHpsRXP', + poolId: '6oAuPDYheeDBrmRgY5z1iXvmFwbmtpEGdGBtMCWgAHwb', + poolAuthority: 'FyBd4A7VzeTBP1dyfmmi1rqZYx6wpLT63xKKzngDKu5p', + poolUnderlyingTokenAccount: 'FwZoHpBs1cwHRZzQ9XAzd2Jai4okVVAsNTZbAoEysRpV', + poolConfig: '4beixqv1temogHLmJU98SLpQvGyxkgTyn2AK7dWTr3k8', humaConfig: 'Fh2WKYCJfota6k76gDGnhTELUuhPa7FHQvVza4cE11ja', - poolState: 'FaAQ5uEm4Coi6mRZ2PkEobbPBDEWHTP8J3HU4jJQnPjP', - juniorTrancheMint: '3U4X1vs4vvtadfTf4CNqdHZ3fYwL7ZLbWaTKkXjt4c2S', - juniorTrancheState: 'UZQspSnnmUprmXKQhNxdbWTMwzqfSgoKZfoTHQPuaXw', - seniorTrancheMint: '7HpPrzapRiAooyCUverJRZVCgXrtroNsvWspCJLh2Mjh', - seniorTrancheState: '5zNaDGjFZ2XKN8kSX1Yf9LFUToFsd78eK1Um58wa38ZL', + poolState: 'BA1nPxHMnaWiuXeqHSGQntNnx7hobXhHNtiK1PWhrS6E', + juniorTrancheMint: 'EabTCfsZytPd8PRAsSVxcPpMn9hPARLFgvNx6eRjFz1i', + juniorTrancheState: '78Jz2ne15ahye3iC2vVmWF4kDQba7xFFcVE3nT9nE1q6', + seniorTrancheMint: '9J7t9Lnd3bwmACix1Xiw9W3crdtzx6q5Y18LGt25UYco', + seniorTrancheState: 'GGsYvQW5Xw4VLwJAzRA36NHFc146XBQJ6DveR2qBAUgS', trancheDecimals: 6, underlyingMint: { address: 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v', diff --git a/packages/huma-web-shared/src/solana/types/solanaPoolState.ts b/packages/huma-web-shared/src/solana/types/solanaPoolState.ts index 0e6305c0..3805dd9f 100644 --- a/packages/huma-web-shared/src/solana/types/solanaPoolState.ts +++ b/packages/huma-web-shared/src/solana/types/solanaPoolState.ts @@ -17,6 +17,7 @@ export type SolanaPoolState = { epochEndTime?: number isUniTranche?: boolean blendedApy?: number + rangeApy?: string seniorTrancheApy?: number juniorTrancheApy?: number amountDefaulted?: number