Function adjustOrderPrice
- adjustOrderPrice(__namedParameters): Promise<Transaction>
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;
};
}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;
}