From 1fc614b786263c20bb875986ab77e5916e1da952 Mon Sep 17 00:00:00 2001 From: Vladimir Borovik Date: Tue, 3 Sep 2024 23:08:19 +0300 Subject: [PATCH] chore: fix description for src/dst time locks --- src/cross-chain-order/time-locks/dst-time-locks.ts | 6 +++--- src/cross-chain-order/time-locks/src-time-locks.ts | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/cross-chain-order/time-locks/dst-time-locks.ts b/src/cross-chain-order/time-locks/dst-time-locks.ts index 46c7630..b21e0c3 100644 --- a/src/cross-chain-order/time-locks/dst-time-locks.ts +++ b/src/cross-chain-order/time-locks/dst-time-locks.ts @@ -66,17 +66,17 @@ export class DstTimeLocks extends BaseTimeLock { ) } - /** Delay from `deployedAt` at which ends `finality lock` and starts `private withdrawal` */ + /** Timestamp at which ends `finality lock` and starts `private withdrawal` */ public get privateWithdrawal(): bigint { return this.deployedAt + this._withdrawal } - /** Delay from `deployedAt` at which ends `private withdrawal` and starts `public withdrawal` */ + /** Timestamp at which ends `private withdrawal` and starts `public withdrawal` */ public get publicWithdrawal(): bigint { return this.deployedAt + this._publicWithdrawal } - /** Delay from `deployedAt` at which ends `public withdrawal` and starts `private cancellation` */ + /** Timestamp at which ends `public withdrawal` and starts `private cancellation` */ public get privateCancellation(): bigint { return this.deployedAt + this._cancellation } diff --git a/src/cross-chain-order/time-locks/src-time-locks.ts b/src/cross-chain-order/time-locks/src-time-locks.ts index dc36574..0c4e994 100644 --- a/src/cross-chain-order/time-locks/src-time-locks.ts +++ b/src/cross-chain-order/time-locks/src-time-locks.ts @@ -82,22 +82,22 @@ export class SrcTimeLocks extends BaseTimeLock { ) } - /** Delay from `deployedAt` at which ends `finality lock` and starts `private withdrawal` */ + /** Timestamp at which ends `finality lock` and starts `private withdrawal` */ public get privateWithdrawal(): bigint { return this.deployedAt + this._withdrawal } - /** Delay from `deployedAt` at which ends `private withdrawal` and starts `public withdrawal` */ + /** Timestamp at which ends `private withdrawal` and starts `public withdrawal` */ public get publicWithdrawal(): bigint { return this.deployedAt + this._publicWithdrawal } - /** Delay from `deployedAt` at which ends `public withdrawal` and starts `private cancellation` */ + /** Timestamp at which ends `public withdrawal` and starts `private cancellation` */ public get privateCancellation(): bigint { return this.deployedAt + this._cancellation } - /** Delay from `deployedAt` at which ends `private cancellation` and starts `public cancellation` */ + /** Timestamp at which ends `private cancellation` and starts `public cancellation` */ public get publicCancellation(): bigint { return this.deployedAt + this._publicCancellation }