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
Copy file name to clipboardExpand all lines: CLI/commands/sto_manager.js
+1-14Lines changed: 1 addition & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,6 @@ let tokenSymbol;
22
22
letsecurityTokenRegistry;
23
23
letmoduleRegistry;
24
24
letpolyToken;
25
-
letusdToken;
26
25
letsecurityToken;
27
26
28
27
asyncfunctionexecuteApp(){
@@ -329,20 +328,15 @@ async function addressesConfigUSDTieredSTO(usdTokenRaise) {
329
328
letlistOfAddress;
330
329
331
330
if(usdTokenRaise){
332
-
addresses.usdToken=readlineSync.question('Enter the address (or multiple addresses separated by commas) of the USD stable coin(s) ('+usdToken.options.address+'): ',{
331
+
addresses.usdToken=readlineSync.question('Enter the address (or multiple addresses separated by commas) of the USD stable coin(s): ',{
333
332
limit: function(input){
334
333
listOfAddress=input.split(',');
335
334
returnlistOfAddress.every((addr)=>{
336
335
returnweb3.utils.isAddress(addr)
337
336
})
338
337
},
339
338
limitMessage: "Must be a valid address",
340
-
defaultInput: usdToken.options.address
341
339
});
342
-
if(addresses.usdToken==""){
343
-
listOfAddress=[usdToken.options.address]
344
-
addresses.usdToken=[usdToken.options.address];
345
-
}
346
340
}else{
347
341
listOfAddress=[]
348
342
addresses.usdToken=[];
@@ -978,8 +972,6 @@ async function getBalance(from, type) {
Copy file name to clipboardExpand all lines: CLI/commands/token_manager.js
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -297,7 +297,7 @@ async function mintTokens() {
297
297
letfromTime=readlineSync.questionInt('Enter the time (Unix Epoch time) when the sale lockup period ends and the investor can freely sell his tokens: ');
298
298
lettoTime=readlineSync.questionInt('Enter the time (Unix Epoch time) when the purchase lockup period ends and the investor can freely purchase tokens from others: ');
299
299
letexpiryTime=readlineSync.questionInt('Enter the time till investors KYC will be validated (after that investor need to do re-KYC): ');
300
-
letcanBuyFromSTO=readlineSync.keyInYNStrict('Is the investor a restricted investor?');
300
+
letcanBuyFromSTO=readlineSync.keyInYNStrict('Can the investor buy from security token offerings?');
0 commit comments