Skip to content

Commit

Permalink
nit: new changes
Browse files Browse the repository at this point in the history
Signed-off-by: james-a-morris <[email protected]>
  • Loading branch information
james-a-morris committed Dec 11, 2024
1 parent 4b02044 commit 2db4072
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions api/_types/exclusivity.types.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import { boolean, Infer, object, optional } from "superstruct";
import { positiveIntStr, validAddress } from "../_utils";
import { positiveFloatStr, positiveIntStr, validAddress } from "../_utils";

export const RelayerFillLimitSchema = object({
originChainId: positiveIntStr(),
destinationChainId: positiveIntStr(),
inputToken: validAddress(),
outputToken: validAddress(),
minOutputAmount: optional(positiveIntStr()),
maxOutputAmount: optional(positiveIntStr()),
minOutputAmount: positiveIntStr(),
maxOutputAmount: positiveIntStr(),
minProfitThreshold: positiveFloatStr(),
minExclusivityPeriod: optional(positiveIntStr()),
minProfitThreshold: optional(positiveIntStr()),
balanceMultiplier: optional(positiveIntStr()),
msgFill: boolean(),
balanceMultiplier: optional(positiveFloatStr()),
msgFill: optional(boolean()),
});

export type RelayerFillLimit = Infer<typeof RelayerFillLimitSchema>;
Expand Down

0 comments on commit 2db4072

Please sign in to comment.