Skip to content

Commit

Permalink
Add deposit banner
Browse files Browse the repository at this point in the history
  • Loading branch information
kattylucy committed Nov 27, 2024
1 parent bc166db commit 41696cc
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
10 changes: 9 additions & 1 deletion centrifuge-app/src/pages/IssuerCreatePool/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ const IssuerCreatePoolPage = () => {
const metadataValues: PoolMetadataInput = { ...values } as any

// find the currency (asset denomination in UI)
const currency = currencies.find((c) => c.symbol === values.currency)!
const currency = currencies.find((c) => c.symbol === values.assetDenomination)!

// Handle admin multisig
metadataValues.adminMultisig =
Expand Down Expand Up @@ -390,6 +390,14 @@ const IssuerCreatePoolPage = () => {
<Step label="Pool setup" />
</Stepper>
</Box>
{step === 1 && (
<Box px={2} py={2} display="flex" justifyContent="center" backgroundColor="statusInfoBg">
<Text variant="body3">
A deposit of <b>1100 CFG</b> is required to create this pool. Please make sure you have sufficient funds
in your wallet.
</Text>
</Box>
)}
<StyledBox padding="48px 80px 0px 80px">
{step === 1 && <PoolStructureSection />}
{step === 2 && <PoolDetailsSection />}
Expand Down
12 changes: 6 additions & 6 deletions centrifuge-js/src/modules/pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -674,17 +674,17 @@ export interface PoolMetadataInput {
// details
poolName: string
investorType: string
poolIcon: FileType | null
poolIcon: FileType
poolType: 'open' | 'closed'
maxReserve: number | ''
issuerName: string
issuerRepName?: string
issuerLogo?: FileType | null
issuerRepName: string
issuerLogo: FileType | null
issuerShortDescription: string
issuerDescription: string
website?: string | ''
forum?: string | ''
email?: string | ''
website: string
forum: string
email: string
executiveSummary?: FileType | null
details?: IssuerDetail[]
issuerCategories: { type: string; value: string; description?: string }[]
Expand Down

0 comments on commit 41696cc

Please sign in to comment.