From 30a16561ccd9149a615d395b5882463633eab8e0 Mon Sep 17 00:00:00 2001
From: Remon Nashid
Date: Wed, 27 Nov 2019 12:54:36 -0800
Subject: [PATCH] change bulk import limit to 50
---
packages/polymath-issuer/src/actions/compliance.js | 4 ++--
packages/polymath-issuer/src/actions/restrictions.js | 2 +-
packages/polymath-issuer/src/actions/token.js | 2 +-
.../compliance/components/ImportWhitelistModal.js | 10 +++++-----
.../src/pages/token/components/MintTokens.js | 4 ++--
5 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/packages/polymath-issuer/src/actions/compliance.js b/packages/polymath-issuer/src/actions/compliance.js
index 6852aaa42..4fc4d1c55 100644
--- a/packages/polymath-issuer/src/actions/compliance.js
+++ b/packages/polymath-issuer/src/actions/compliance.js
@@ -334,7 +334,7 @@ export const fetchWhitelist = () => async (
};
export const uploadCSV = (file: Object) => async (dispatch: Function) => {
- const maxRows = 75;
+ const maxRows = 50;
const reader = new FileReader();
dispatch({ type: UPLOAD_START });
@@ -435,7 +435,7 @@ export const uploadCSV = (file: Object) => async (dispatch: Function) => {
reader.result,
config
);
- isTooMany = data.length > 75;
+ isTooMany = data.length > 50;
if (validationErrors.length) {
dispatch({
diff --git a/packages/polymath-issuer/src/actions/restrictions.js b/packages/polymath-issuer/src/actions/restrictions.js
index 3a950cbaa..d426ebc43 100644
--- a/packages/polymath-issuer/src/actions/restrictions.js
+++ b/packages/polymath-issuer/src/actions/restrictions.js
@@ -585,7 +585,7 @@ export const removeDefaultDailyRestriction = () => async (
};
export const uploadCSV = (file: Object) => async (dispatch: Function) => {
- const maxRows = 75;
+ const maxRows = 50;
const reader = new FileReader();
dispatch({ type: UPLOAD_START });
diff --git a/packages/polymath-issuer/src/actions/token.js b/packages/polymath-issuer/src/actions/token.js
index d04ebc904..9948315ee 100644
--- a/packages/polymath-issuer/src/actions/token.js
+++ b/packages/polymath-issuer/src/actions/token.js
@@ -387,7 +387,7 @@ export const uploadCSV = (file: Object) => async (dispatch: Function) => {
reader.result,
config
);
- isTooMany = data.length > 75;
+ isTooMany = data.length > 50;
if (validationErrors.length) {
dispatch({
diff --git a/packages/polymath-issuer/src/pages/compliance/components/ImportWhitelistModal.js b/packages/polymath-issuer/src/pages/compliance/components/ImportWhitelistModal.js
index b59c6c26c..69b1c5437 100644
--- a/packages/polymath-issuer/src/pages/compliance/components/ImportWhitelistModal.js
+++ b/packages/polymath-issuer/src/pages/compliance/components/ImportWhitelistModal.js
@@ -121,7 +121,7 @@ class ImportWhitelistModal extends Component {
Add multiple addresses to the whitelist by uploading a comma separated
.CSV file.{' '}
- You may add up to 75 addresses per .CSV file. The
+ You may add up to 50 addresses per .CSV file. The
format should be as follows:
• ETH Address (address to whitelist);
• Sell Restriction Date: mm/dd/yyyy (date when
@@ -158,7 +158,7 @@ class ImportWhitelistModal extends Component {
re-upload this information.
Maximum numbers of investors per transaction is{' '}
- 75.
+ 50.
@@ -218,15 +218,15 @@ class ImportWhitelistModal extends Component {
) : isTooMany ? (
) : (
Investors must be approved before they are added to the whitelist.{' '}
- Your file cannot exceed 75 addresses. If you have more than 75
+ Your file cannot exceed 50 addresses. If you have more than 50
addresses on your whitelist, upload multiple files.
)}
diff --git a/packages/polymath-issuer/src/pages/token/components/MintTokens.js b/packages/polymath-issuer/src/pages/token/components/MintTokens.js
index 8aff2eac0..d14b05192 100644
--- a/packages/polymath-issuer/src/pages/token/components/MintTokens.js
+++ b/packages/polymath-issuer/src/pages/token/components/MintTokens.js
@@ -289,7 +289,7 @@ class MintTokens extends Component {
• KYC/AML Expiry Date mm/dd/yyyy;
• Number of tokens to mint for the ETH address.
- Your file cannot exceed 75 addresses.
+ Your file cannot exceed 50 addresses.
You can
@@ -359,7 +359,7 @@ class MintTokens extends Component {
) : isTooMany ? (
) : (