Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
vbrvk committed Jun 25, 2024
1 parent 9df36c0 commit 7cb0012
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cross-chain-order/cross-chain-order.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,10 @@ export class CrossChainOrder {

/**
* Check if the auction has exclusive resolver, and it is in the exclusivity period
*
* @param time timestamp to check, `now()` by default
*/
public isExclusivityPeriod(time?: bigint): boolean {
public isExclusivityPeriod(time = now()): boolean {
return this.inner.isExclusivityPeriod(time)
}
}
1 change: 1 addition & 0 deletions src/cross-chain-order/inner-order.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export class InnerOrder extends FusionOrder {
extension.postInteractionData,
{
...extra,
// for now not allowed, will add in future releases
allowMultipleFills: false,
allowPartialFills: false
},
Expand Down

0 comments on commit 7cb0012

Please sign in to comment.