Skip to content

Commit

Permalink
fix(fusion-order): add partialFillAllowed/multipleFillsAllowed (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
vbrvk committed Mar 25, 2024
1 parent 207210e commit 4907636
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/fusion-order/fusion-order.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,14 @@ export class FusionOrder {
return startTime + duration
}

get partialFillAllowed(): boolean {
return this.inner.makerTraits.isPartialFillAllowed()
}

get multipleFillsAllowed(): boolean {
return this.inner.makerTraits.isMultipleFillsAllowed()
}

static new(
/**
* Fusion extension address
Expand Down

0 comments on commit 4907636

Please sign in to comment.