Skip to content

Commit fab0746

Browse files
committed
fix: address review issues
1 parent 251d1c5 commit fab0746

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/LowLevel/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ export enum StoModuleTypes {
5151
}
5252

5353
export enum StoModuleNames {
54-
Capped = 'capped',
55-
UsdTiered = 'usdTiered',
54+
Capped = 'CappedSTO',
55+
UsdTiered = 'USDTieredSTO',
5656
}
5757

5858
export enum ModuleTypes {

src/procedures/ForceTransfer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

src/procedures/SetController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)