diff --git a/src/cross-chain-order/time-locks/time-locks.ts b/src/cross-chain-order/time-locks/time-locks.ts index ea04d3e..be4dc62 100644 --- a/src/cross-chain-order/time-locks/time-locks.ts +++ b/src/cross-chain-order/time-locks/time-locks.ts @@ -151,6 +151,10 @@ export class TimeLocks { return new TimeLocks(...params) } + public toJSON(): string { + return '0x' + this.build().toString(16) + } + public build(): bigint { return [ this.deployedAt,