Skip to main content

index/variables/reverseBondingCurveConfigSchema.md

const reverseBondingCurveConfigSchema: z.ZodObject<{ maxFeePortion: z.ZodDefault<z.ZodString>; minFeePortion: z.ZodDefault<z.ZodString>; }, z.core.$strip>

Reverse bonding curve configuration schema

Validates bonding curve fee configuration:

  • minFeePortion: >= 0.1 (10%), <= 0.5 (50%)
  • maxFeePortion: >= 0.1 (10%), <= 0.5 (50%), >= minFeePortion

Defaults if not provided: { minFeePortion: "0.1", maxFeePortion: "0.5" }