Launchpad

The following table outlines potential errors that may occur during interactions with the launchpad contract in GnoSwap:

Code
Error
Description

GNOSWAP-LAUNCHPAD-001

Caller has no permission

Occurs when a user without the required permissions attempts an action restricted to authorized callers.

GNOSWAP-LAUNCHPAD-002

Not registered token

Occurs when a token involved in the operation is not registered within the Launchpad contract.

GNOSWAP-LAUNCHPAD-003

Already registered token

Occurs when there is an attempt to register a token that is already registered.

GNOSWAP-LAUNCHPAD-004

Can't transfer token while locked

Occurs when a user tries to transfer tokens that are currently locked and cannot be transferred.

GNOSWAP-LAUNCHPAD-005

Invalid address

Occurs when an invalid address is provided for a project or funding operation.

GNOSWAP-LAUNCHPAD-006

Requested data not found

Occurs when the system is unable to locate the requested data, such as project or pool information.

GNOSWAP-LAUNCHPAD-007

Project is active

Occurs when an operation that requires an inactive project is attempted on an active project.

GNOSWAP-LAUNCHPAD-008

Project is inactive

Occurs when an operation requiring an active project is attempted on an inactive project.

GNOSWAP-LAUNCHPAD-009

Pool is inactive

Occurs when a project references a pool that is currently inactive and not eligible for the operation.

GNOSWAP-LAUNCHPAD-010

Invalid input data

Occurs when input data does not meet the required format or parameters, making the operation invalid.

GNOSWAP-LAUNCHPAD-011

Can not create same project in same block

Occurs when there is an attempt to create two projects with identical configurations within the same block.

GNOSWAP-LAUNCHPAD-012

Invalid pool

Occurs when a specified pool does not meet the criteria for use in the launchpad operation.

GNOSWAP-LAUNCHPAD-013

Invalid pool ratio

Occurs when an invalid pool ratio is provided, possibly outside the accepted range.

GNOSWAP-LAUNCHPAD-014

Can not start from past time

Occurs when a project is scheduled to start in the past, which is invalid.

GNOSWAP-LAUNCHPAD-015

Not enough balance

Occurs when the user’s balance is insufficient to complete the transaction or funding operation.

GNOSWAP-LAUNCHPAD-016

Already refunded

Occurs when an attempt is made to issue a refund for a project or participant that has already been refunded.

Last updated