diff --git a/packages/contract-artifacts/CHANGELOG.json b/packages/contract-artifacts/CHANGELOG.json index 196b17c9fd..2c7afc6d1d 100644 --- a/packages/contract-artifacts/CHANGELOG.json +++ b/packages/contract-artifacts/CHANGELOG.json @@ -9,6 +9,10 @@ { "note": "Update all artifacts.", "pr": 2432 + }, + { + "note": "Update `IERC20BridgeSampler artifact", + "pr": 2427 } ] }, diff --git a/packages/contract-artifacts/artifacts/IERC20BridgeSampler.json b/packages/contract-artifacts/artifacts/IERC20BridgeSampler.json index 11259f12af..ae313e793a 100644 --- a/packages/contract-artifacts/artifacts/IERC20BridgeSampler.json +++ b/packages/contract-artifacts/artifacts/IERC20BridgeSampler.json @@ -284,6 +284,26 @@ }, "return": "orderFillableTakerAssetAmounts How much taker asset can be filled by each order in `orders`." }, + "queryBatchOrdersAndSampleBuys((address,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,bytes,bytes,bytes,bytes)[][],bytes[][],address[],uint256[][])": { + "details": "Query batches of native orders and sample buy quotes on multiple DEXes at once.", + "params": { + "makerTokenAmounts": "Batches of Maker token sell amount for each sample.", + "orderSignatures": "Batches of Signatures for each respective order in `orders`.", + "orders": "Batches of Native orders to query.", + "sources": "Address of each DEX. Passing in an unsupported DEX will throw." + }, + "return": "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" + }, + "queryBatchOrdersAndSampleSells((address,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,bytes,bytes,bytes,bytes)[][],bytes[][],address[],uint256[][])": { + "details": "Query batches of native orders and sample sell quotes on multiple DEXes at once.", + "params": { + "orderSignatures": "Batches of Signatures for each respective order in `orders`.", + "orders": "Batches of Native orders to query.", + "sources": "Address of each DEX. Passing in an unsupported DEX will throw.", + "takerTokenAmounts": "Batches of Taker token sell amount for each sample." + }, + "return": "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." + }, "queryOrdersAndSampleBuys((address,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,bytes,bytes,bytes,bytes)[],bytes[],address[],uint256[])": { "details": "Query native orders and sample buy quotes on multiple DEXes at once.", "params": {