diff --git a/packages/contract-wrappers/src/generated-wrappers/i_erc20_bridge_sampler.ts b/packages/contract-wrappers/src/generated-wrappers/i_erc20_bridge_sampler.ts index 7f4e26ca33..4251fe7e08 100644 --- a/packages/contract-wrappers/src/generated-wrappers/i_erc20_bridge_sampler.ts +++ b/packages/contract-wrappers/src/generated-wrappers/i_erc20_bridge_sampler.ts @@ -852,8 +852,18 @@ export class IERC20BridgeSamplerContract extends BaseContract { }, }; } + /** + * Query batches of native orders and sample buy quotes on multiple DEXes at once. + * @param orders Batches of Native orders to query. + * @param orderSignatures Batches of Signatures for each respective order in + * `orders`. + * @param sources Address of each DEX. Passing in an unsupported DEX will + * throw. + * @param makerTokenAmounts Batches of Maker token sell amount for each sample. + * @returns ordersAndSamples How much taker asset can be filled by each order in `orders`. Taker amounts sold for each source at each maker token amount. First indexed by source index, then sample index + */ public queryBatchOrdersAndSampleBuys( - orders: Array>, + }>[], orderSignatures: string[][], sources: string[], makerTokenAmounts: BigNumber[][], @@ -906,8 +916,18 @@ export class IERC20BridgeSamplerContract extends BaseContract { }, }; } + /** + * Query batches of native orders and sample sell quotes on multiple DEXes at once. + * @param orders Batches of Native orders to query. + * @param orderSignatures Batches of Signatures for each respective order in + * `orders`. + * @param sources Address of each DEX. Passing in an unsupported DEX will + * throw. + * @param takerTokenAmounts Batches of Taker token sell amount for each sample. + * @returns ordersAndSamples How much taker asset can be filled by each order in `orders`. Maker amounts bought for each source at each taker token amount. First indexed by source index, then sample index. + */ public queryBatchOrdersAndSampleSells( - orders: Array>, + }>[], orderSignatures: string[][], sources: string[], takerTokenAmounts: BigNumber[][],