@@ -785,7 +785,7 @@ export default class USDTieredSTOWrapper extends STOWrapper {
785
785
*/
786
786
public modifyTimes = async ( params : ModifyTimesParams ) => {
787
787
assert . assert ( await this . isCallerTheSecurityTokenOwner ( params . txData ) , 'The caller must be the ST owner' ) ;
788
- assert . isFutureDate ( bigNumberToDate ( await this . startTime ( ) ) , 'STO already started' ) ;
788
+ assert . isFutureDate ( await this . startTime ( ) , 'STO already started' ) ;
789
789
assert . assert ( params . endTime > params . startTime , 'Start date must be greater than end time' ) ;
790
790
assert . isFutureDate ( params . startTime , 'Start date must be in the future' ) ;
791
791
return ( await this . contract ) . modifyTimes . sendTransactionAsync (
@@ -818,7 +818,7 @@ export default class USDTieredSTOWrapper extends STOWrapper {
818
818
*/
819
819
public modifyLimits = async ( params : ModifyLimitsParams ) => {
820
820
assert . assert ( await this . isCallerTheSecurityTokenOwner ( params . txData ) , 'The caller must be the ST owner' ) ;
821
- assert . isFutureDate ( bigNumberToDate ( await this . startTime ( ) ) , 'STO already started' ) ;
821
+ assert . isFutureDate ( await this . startTime ( ) , 'STO already started' ) ;
822
822
return ( await this . contract ) . modifyLimits . sendTransactionAsync (
823
823
valueToWei ( params . nonAccreditedLimitUSD , FULL_DECIMALS ) ,
824
824
valueToWei ( params . minimumInvestmentUSD , FULL_DECIMALS ) ,
@@ -832,7 +832,7 @@ export default class USDTieredSTOWrapper extends STOWrapper {
832
832
*/
833
833
public modifyFunding = async ( params : ModifyFundingParams ) => {
834
834
assert . assert ( await this . isCallerTheSecurityTokenOwner ( params . txData ) , 'The caller must be the ST owner' ) ;
835
- assert . isFutureDate ( bigNumberToDate ( await this . startTime ( ) ) , 'STO already started' ) ;
835
+ assert . isFutureDate ( await this . startTime ( ) , 'STO already started' ) ;
836
836
return ( await this . contract ) . modifyFunding . sendTransactionAsync (
837
837
params . fundRaiseTypes ,
838
838
params . txData ,
@@ -862,7 +862,7 @@ export default class USDTieredSTOWrapper extends STOWrapper {
862
862
*/
863
863
public modifyTiers = async ( params : ModifyTiersParams ) => {
864
864
assert . assert ( await this . isCallerTheSecurityTokenOwner ( params . txData ) , 'The caller must be the ST owner' ) ;
865
- assert . isFutureDate ( bigNumberToDate ( await this . startTime ( ) ) , 'STO already started' ) ;
865
+ assert . isFutureDate ( await this . startTime ( ) , 'STO already started' ) ;
866
866
assert . assert ( params . tokensPerTierTotal . length > 0 , 'No tiers provided' ) ;
867
867
assert . assert (
868
868
params . ratePerTier . length === params . tokensPerTierTotal . length &&
0 commit comments