Validation Rules

Validation Rules

  • Token and Wallet: Both must be valid Base addresses (required).

  • Liquidity: Must be a non-negative integer (required).

  • Tokens: Required for Native Fair Launch and USDC Fair Launch; must be a non-negative integer.

  • Team Tokens: Must be a non-negative integer (required).

  • Rate and Listing Rate:

    • Required for Native Presale and USDC Presale; must be a non-negative number.

    • The listing rate must be less than or equal to the rate.

  • Soft Cap and Hard Cap:

    • Hard cap must be greater than or equal to the soft cap and greater than zero.

    • Must be a non-negative number.

  • Min Buy and Max Buy:

    • Both must be non-negative.

    • Max buy must be greater than or equal to min buy.

  • Start and End Time:

    • Both must be specified in a valid datetime format.

    • Start time must be at least one hour from the current time.

    • End time must occur after the start time.

  • Liquidity Duration and Whitelist Duration: Must be non-negative integers (optional).

  • Vesting Details: Must be non-negative integers if specified.

Last updated