validateEvmTypedOrder
validateEvmTypedOrder(
td,expected): asserts td is { domain: { chainId: string | number; verifyingContract: string }; message: Record<string, unknown>; primaryType: string; types: Record<string, { name: string; type: string }[]> }
Defined in: protocol-swap2-omniston/src/provider.ts:1040
The EVM order checks the provider runs on every build, exported so an app that holds the quote’s settlement data can run them itself (scan 2026-10-27 modules, F4): the 1inch Limit Order Protocol v4 domain on the settlement contract and chain, the exact Order schema, this owner as maker, the resolver as receiver, the input asset and amount, single-fill traits, the salt committing the order extension and the expiry at the trade-start deadline. Throws when any of it does not hold.
Parameters
Section titled “Parameters”unknown
expected
Section titled “expected”chainId
Section titled “chainId”number
makerAsset
Section titled “makerAsset”string
makingAmount
Section titled “makingAmount”string
orderExtension
Section titled “orderExtension”Uint8Array
string
quoteTimestamp
Section titled “quoteTimestamp”number
receiver
Section titled “receiver”string
settlementContract
Section titled “settlementContract”string
takingAmount
Section titled “takingAmount”string
tradeStartDeadline
Section titled “tradeStartDeadline”number
Returns
Section titled “Returns”asserts td is { domain: { chainId: string | number; verifyingContract: string }; message: Record<string, unknown>; primaryType: string; types: Record<string, { name: string; type: string }[]> }