Function placeMarketMakingQuotes

  • Parameters

    • __namedParameters: {
          chainId: CHAIN_IDS;
          userAddress: `0x${string}`;
          bidQuotes: {
              price: string;
              amount: string;
          }[];
          askQuotes: {
              price: string;
              amount: string;
          }[];
          baseToken: `0x${string}`;
          quoteToken: `0x${string}`;
          clearOpenOrders?: boolean;
          options?: {
              market?: Market;
              roundingUpMakeBid?: boolean;
              roundingDownMakeAsk?: boolean;
              useSubgraph?: boolean;
              provider?: `0x${string}`;
              orderIdsToClaim: string[];
              orderIdsToCancel: string[];
          } & DefaultOptions & {
              gasLimit?: bigint;
              gasPriceLimit?: bigint;
          };
      }
      • chainId: CHAIN_IDS
      • userAddress: `0x${string}`
      • bidQuotes: {
            price: string;
            amount: string;
        }[]
      • askQuotes: {
            price: string;
            amount: string;
        }[]
      • baseToken: `0x${string}`
      • quoteToken: `0x${string}`
      • Optional clearOpenOrders?: boolean
      • Optional options?: {
            market?: Market;
            roundingUpMakeBid?: boolean;
            roundingDownMakeAsk?: boolean;
            useSubgraph?: boolean;
            provider?: `0x${string}`;
            orderIdsToClaim: string[];
            orderIdsToCancel: string[];
        } & DefaultOptions & {
            gasLimit?: bigint;
            gasPriceLimit?: bigint;
        }

    Returns Promise<Transaction>