How to use the @0x/contracts-test-utils.ExchangeFunctionName.MarketBuyOrdersFillOrKill function in @0x/contracts-test-utils

To help you get started, we’ve selected a few @0x/contracts-test-utils examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github 0xProject / 0x-monorepo / contracts / coordinator / src / client / index.ts View on Github external
public async marketBuyOrdersFillOrKillAsync(
        orders: Order[],
        makerAssetFillAmount: BigNumber,
        signatures: string[],
        txData: TxData,
        sendTxOpts: SendTransactionOpts = { shouldValidate: true },
    ): Promise {
        return this._marketBuySellOrdersAsync(
            ExchangeFunctionName.MarketBuyOrdersFillOrKill,
            orders,
            makerAssetFillAmount,
            signatures,
            txData,
            sendTxOpts,
        );
    }