Function setStrategyConfig

  • 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;
          };
      }
      • 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;
        }
        • 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;
        }

    Returns Promise<Transaction>