Function setStrategyConfig
- setStrategyConfig(__namedParameters): Promise<Transaction>
Parameters
- __namedParameters: {
chainId: CHAIN_IDS;
userAddress: `0x${string}`;
token0: `0x${string}`;
token1: `0x${string}`;
salt: `0x${string}`;
config: {
referenceThreshold: string;
rebalanceThreshold: string;
rateA: string;
rateB: string;
minRateA: string;
minRateB: string;
priceThresholdA: string;
priceThresholdB: string;
};
options?: {
useSubgraph?: boolean;
} & DefaultOptions & {
gasLimit?: bigint;
gasPriceLimit?: bigint;
};
}userAddress: `0x${string}`
token0: `0x${string}`
token1: `0x${string}`
salt: `0x${string}`
config: {
referenceThreshold: string;
rebalanceThreshold: string;
rateA: string;
rateB: string;
minRateA: string;
minRateB: string;
priceThresholdA: string;
priceThresholdB: string;
}
referenceThreshold: string
rebalanceThreshold: string
rateA: string
rateB: string
minRateA: string
minRateB: string
priceThresholdA: string
priceThresholdB: string
Optional
options?: {
useSubgraph?: boolean;
} & DefaultOptions & {
gasLimit?: bigint;
gasPriceLimit?: bigint;
}