Skip to content

Commit 80c9d5e

Browse files
authored
Merge pull request #671 from PolymathNetwork/hotfixes
change bulk import limit to 50
2 parents 0fc42b3 + 30a1656 commit 80c9d5e

5 files changed

Lines changed: 11 additions & 11 deletions

File tree

packages/polymath-issuer/src/actions/compliance.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ export const fetchWhitelist = () => async (
334334
};
335335

336336
export const uploadCSV = (file: Object) => async (dispatch: Function) => {
337-
const maxRows = 75;
337+
const maxRows = 50;
338338
const reader = new FileReader();
339339

340340
dispatch({ type: UPLOAD_START });
@@ -435,7 +435,7 @@ export const uploadCSV = (file: Object) => async (dispatch: Function) => {
435435
reader.result,
436436
config
437437
);
438-
isTooMany = data.length > 75;
438+
isTooMany = data.length > 50;
439439

440440
if (validationErrors.length) {
441441
dispatch({

packages/polymath-issuer/src/actions/restrictions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ export const removeDefaultDailyRestriction = () => async (
585585
};
586586

587587
export const uploadCSV = (file: Object) => async (dispatch: Function) => {
588-
const maxRows = 75;
588+
const maxRows = 50;
589589
const reader = new FileReader();
590590

591591
dispatch({ type: UPLOAD_START });

packages/polymath-issuer/src/actions/token.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ export const uploadCSV = (file: Object) => async (dispatch: Function) => {
387387
reader.result,
388388
config
389389
);
390-
isTooMany = data.length > 75;
390+
isTooMany = data.length > 50;
391391

392392
if (validationErrors.length) {
393393
dispatch({

packages/polymath-issuer/src/pages/compliance/components/ImportWhitelistModal.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ class ImportWhitelistModal extends Component<Props> {
121121
<h4 className="pui-h4">
122122
Add multiple addresses to the whitelist by uploading a comma separated
123123
.CSV file.{' '}
124-
<strong>You may add up to 75 addresses per .CSV file</strong>. The
124+
<strong>You may add up to 50 addresses per .CSV file</strong>. The
125125
format should be as follows:
126126
<br />• ETH Address (address to whitelist);
127127
<br />• Sell Restriction Date: <strong>mm/dd/yyyy</strong> (date when
@@ -158,7 +158,7 @@ class ImportWhitelistModal extends Component<Props> {
158158
re-upload this information.
159159
<br />
160160
<br /> Maximum numbers of investors per transaction is{' '}
161-
<strong>75</strong>.
161+
<strong>50</strong>.
162162
</p>
163163
</h4>
164164
<h5 className="pui-h5">
@@ -218,15 +218,15 @@ class ImportWhitelistModal extends Component<Props> {
218218
) : isTooMany ? (
219219
<InlineNotification
220220
hideCloseButton
221-
title="The file you uploaded contains more than 75 investors"
222-
subtitle="You can still continue, but only 75 first investors will be submitted."
221+
title="The file you uploaded contains more than 50 investors"
222+
subtitle="You can still continue, but only 50 first investors will be submitted."
223223
kind="error"
224224
/>
225225
) : (
226226
<Remark title="Reminder">
227227
Investors must be approved before they are added to the whitelist.{' '}
228228
<br />
229-
Your file cannot exceed 75 addresses. If you have more than 75
229+
Your file cannot exceed 50 addresses. If you have more than 50
230230
addresses on your whitelist, upload multiple files.
231231
</Remark>
232232
)}

packages/polymath-issuer/src/pages/token/components/MintTokens.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ class MintTokens extends Component<Props> {
289289
<br />• KYC/AML Expiry Date mm/dd/yyyy;
290290
<br />• Number of tokens to mint for the ETH address.
291291
<br />
292-
<Remark title="Note">Your file cannot exceed 75 addresses.</Remark>
292+
<Remark title="Note">Your file cannot exceed 50 addresses.</Remark>
293293
</h4>
294294
<h5 className="pui-h5">
295295
You can&nbsp;&nbsp;&nbsp;
@@ -359,7 +359,7 @@ class MintTokens extends Component<Props> {
359359
) : isTooMany ? (
360360
<InlineNotification
361361
hideCloseButton
362-
title="The file you uploaded contains more than 75 addresses"
362+
title="The file you uploaded contains more than 50 addresses"
363363
kind="error"
364364
/>
365365
) : (

0 commit comments

Comments
 (0)