Function adjustOrderPrice

  • Parameters

    • __namedParameters: {
          chainId: CHAIN_IDS;
          userAddress: `0x${string}`;
          token0: `0x${string}`;
          token1: `0x${string}`;
          salt: `0x${string}`;
          oraclePrice: string;
          bidPrice: string;
          askPrice: string;
          alpha: string;
          options?: {
              bidTick?: bigint;
              askTick?: bigint;
              roundingUpBidPrice?: boolean;
              roundingUpAskPrice?: boolean;
              useSubgraph?: boolean;
              pool?: Pool;
          } & DefaultOptions & {
              gasLimit?: bigint;
              gasPriceLimit?: bigint;
          };
      }
      • chainId: CHAIN_IDS
      • userAddress: `0x${string}`
      • token0: `0x${string}`
      • token1: `0x${string}`
      • salt: `0x${string}`
      • oraclePrice: string
      • bidPrice: string
      • askPrice: string
      • alpha: string
      • Optional options?: {
            bidTick?: bigint;
            askTick?: bigint;
            roundingUpBidPrice?: boolean;
            roundingUpAskPrice?: boolean;
            useSubgraph?: boolean;
            pool?: Pool;
        } & DefaultOptions & {
            gasLimit?: bigint;
            gasPriceLimit?: bigint;
        }

    Returns Promise<Transaction>