Skip to content

Commit

Permalink
feat: allow partial/multiple fills
Browse files Browse the repository at this point in the history
  • Loading branch information
vbrvk committed Aug 1, 2024
1 parent 46b25ef commit 2bb7065
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 1 addition & 6 deletions src/cross-chain-order/inner-order.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,7 @@ export class InnerOrder extends FusionOrder {
orderInfo,
extension.auctionDetails,
extension.postInteractionData,
{
...extra,
// for now not allowed, will add in future releases
allowMultipleFills: false,
allowPartialFills: false
},
extra,
extension
)

Expand Down
2 changes: 2 additions & 0 deletions src/cross-chain-order/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ export type Extra = {
orderExpirationDelay?: bigint
enablePermit2?: boolean
source?: string
allowMultipleFills?: boolean
allowPartialFills?: boolean
}

export type Details = {
Expand Down

0 comments on commit 2bb7065

Please sign in to comment.