Skip to content

Commit

Permalink
chore: fix description for src/dst time locks
Browse files Browse the repository at this point in the history
  • Loading branch information
vbrvk committed Sep 3, 2024
1 parent 4025f68 commit 1fc614b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/cross-chain-order/time-locks/dst-time-locks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
8 changes: 4 additions & 4 deletions src/cross-chain-order/time-locks/src-time-locks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 1fc614b

Please sign in to comment.