File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,8 +51,8 @@ export enum StoModuleTypes {
5151}
5252
5353export enum StoModuleNames {
54- Capped = 'capped ' ,
55- UsdTiered = 'usdTiered ' ,
54+ Capped = 'CappedSTO ' ,
55+ UsdTiered = 'USDTieredSTO ' ,
5656}
5757
5858export enum ModuleTypes {
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ export class ForceTransfer extends Procedure<ForceTransferArgs> {
5959 if ( account !== controller ) {
6060 throw new PolymathError ( {
6161 code : ErrorCodes . ProcedureValidationError ,
62- message : `Unauthorized ` ,
62+ message : `You must be the controller of this Security Token to perform forced transfers. Did you remember to call "setController"? ` ,
6363 } ) ;
6464 }
6565
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ export class SetController extends Procedure<SetControllerArgs> {
4848 if ( account !== owner ) {
4949 throw new PolymathError ( {
5050 code : ErrorCodes . ProcedureValidationError ,
51- message : `Unauthorized ` ,
51+ message : `You must be the owner of this Security Token to set the controller ` ,
5252 } ) ;
5353 }
5454
You can’t perform that action at this time.
0 commit comments