Skip to content

Commit 2d4e2cb

Browse files
committed
feat: rename signature functions to be more concise
1 parent 7744568 commit 2d4e2cb

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/entities/SecurityToken/Controller.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ export class Controller extends SubModule {
2323
/**
2424
* Permanently disable controller functionality
2525
*
26-
* @param signature optional signed data. If not passed, signing will be requested when the transaction queue is run. The data can be generated beforehand by the token owner calling `signDisableControllerData`
26+
* @param signature optional signed data. If not passed, signing will be requested when the transaction queue is run. The data can be generated beforehand by the token owner calling `signDisableAck`
2727
*/
28-
public disableController = async (args?: { signature?: string }) => {
28+
public disable = async (args?: { signature?: string }) => {
2929
const { symbol } = this.securityToken;
3030
const procedure = new DisableController({ ...args, symbol }, this.context);
3131
return procedure.prepare();
@@ -87,7 +87,7 @@ export class Controller extends SubModule {
8787
*
8888
* Note that only the owner's signature is valid for this operation
8989
*/
90-
public signDisableControllerAck = async () => {
90+
public signDisableAck = async () => {
9191
const { symbol } = this.securityToken;
9292

9393
const procedure = new SignDisableControllerAck({ symbol }, this.context);

src/entities/SecurityToken/Issuance/Issuance.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export class Issuance extends SubModule {
4444
/**
4545
* Permanently freeze issuance of the security token
4646
*
47-
* @param signature optional signed data. If not passed, signing will be requested when the transaction queue is run. The data can be generated beforehand by the token owner calling `signFreezeIssuanceData`
47+
* @param signature optional signed data. If not passed, signing will be requested when the transaction queue is run. The data can be generated beforehand by the token owner calling `signFreezeAck`
4848
*/
4949
public freeze = async (args?: { signature?: string }) => {
5050
const { symbol } = this.securityToken;
@@ -59,7 +59,7 @@ export class Issuance extends SubModule {
5959
*
6060
* Note that only the owner's signature is valid for this operation
6161
*/
62-
public signFreezeIssuanceAck = async () => {
62+
public signFreezeAck = async () => {
6363
const { symbol } = this.securityToken;
6464

6565
const procedure = new SignFreezeIssuanceAck({ symbol }, this.context);

src/entities/SecurityToken/Transfers/Transfers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export class Transfers extends SubModule {
3939
* @param validFrom date from which this signature is valid
4040
* @param validTo date until which this signature is valid
4141
*/
42-
public signTransferData = async (args: {
42+
public signKycData = async (args: {
4343
kycData: Omit<Omit<ShareholderDataEntry, 'canBuyFromSto'>, 'isAccredited'>[];
4444
validFrom: Date;
4545
validTo: Date;

0 commit comments

Comments
 (0)