You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* CLI fix for whitelist command
* Fix for POLY transfer out of gas error
* CLI fix for scripts on remote nodes
* CLI: Allow any combination of raise types for USDTieredSTO
* Remove CLI restriction to mint tokens if STO is attached
* KYC expiry verification
selectedFunding=readlineSync.question('Enter'+chalk.green(` P `)+'for POLY raise,'+chalk.green(` D `)+'for DAI raise,'+chalk.green(` E `)+'for Ether raise or'+chalk.green(` A `)+'for all (A): ').toUpperCase();
524
+
selectedFunding=readlineSync.question('Enter'+chalk.green(` P `)+'for POLY raise,'+chalk.green(` D `)+'for DAI raise,'+chalk.green(` E `)+'for Ether raise or any combination of them (i.e.'+chalk.green(` PED `)+'for all): ').toUpperCase();
console.log(chalk.red(`Not enough balance to pay the ${selectedSTO} fee, Requires ${(newBigNumber(transferAmount).dividedBy(newBigNumber(10).pow(18))).toNumber()} POLY but have ${(newBigNumber(ownerBalance).dividedBy(newBigNumber(10).pow(18))).toNumber()} POLY. Access POLY faucet to get the POLY to complete this txn`));
756
+
console.log(chalk.red(`Not enough balance to pay the ${selectedSTO} fee, Requires ${web3.utils.fromWei(transferAmount)} POLY but have ${web3.utils.fromWei(ownerBalance)} POLY. Access POLY faucet to get the POLY to complete this txn`));
console.log(chalk.red("There was an error processing the transfer transaction. \n The most probable cause for this error is one of the involved accounts not being in the whitelist or under a lockup period."));
214
-
}
206
+
);
207
+
}catch(err){
208
+
console.log(err);
209
+
console.log(chalk.red("There was an error processing the transfer transaction. \n The most probable cause for this error is one of the involved accounts not being in the whitelist or under a lockup period."));
console.log(`A total of ${totalInvestors} affiliated investors get the token\n`);
216
-
console.log(`This script in total sent ${fullFileData.length-badData.length-affiliatesFailedArray.length} new investors and updated investors to the blockchain.\n`);
226
+
console.log(`This script in total sent ${fullFileData.length-badData.length-affiliatesFailedArray.length-affiliatesKYCInvalidArray.length} new investors and updated investors to the blockchain.\n`);
217
227
console.log(`There were ${badData.length} bad entries that didnt get sent to the blockchain in the script.\n`);
218
-
console.log(`There were ${affiliatesFailedArray.length} accounts that didnt get sent to the blockchain as they would fail.\n`);
228
+
console.log(`There were ${affiliatesKYCInvalidArray.length} accounts with invalid KYC.\n`);
229
+
console.log(`There were ${affiliatesFailedArray.length} accounts that didn't get sent to the blockchain as they would fail.\n`);
0 commit comments