For the complete documentation index, see llms.txt. This page is also available as Markdown.

Launchpad

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

Code
Error
Description

GNOSWAP-LAUNCHPAD-001

No left reward

Occurs when there is no remaining reward available for distribution.

GNOSWAP-LAUNCHPAD-002

Invalid address

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

GNOSWAP-LAUNCHPAD-003

Requested data not found

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

GNOSWAP-LAUNCHPAD-004

Project is inactive

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

GNOSWAP-LAUNCHPAD-005

Invalid input data

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

GNOSWAP-LAUNCHPAD-006

Cannot 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-007

Invalid tier

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

GNOSWAP-LAUNCHPAD-008

Insufficient balance

Occurs when the contract balance is insufficient for the operation.

GNOSWAP-LAUNCHPAD-009

Invalid data

Occurs when deposit condition is nil.

GNOSWAP-LAUNCHPAD-010

Invalid amount

Occurs when transfer token with invalid amount.

GNOSWAP-LAUNCHPAD-011

Invalid reward state

Occurs when collecting reward while state is invalid.

GNOSWAP-LAUNCHPAD-012

Not exist deposit

Occurs when collecting reward from non exists deposit.

GNOSWAP-LAUNCHPAD-013

Already collected

Occurs when collecting reward from same deposit in same block.

GNOSWAP-LAUNCHPAD-014

Invalid owner

Occurs when collecting reward, but caller is not address who made deposit.

GNOSWAP-LAUNCHPAD-015

Invalid time

Occurs when the provided time parameter is invalid.

GNOSWAP-LAUNCHPAD-016

Project lock period is not over yet

Occurs when attempting to perform an operation before the project lock period has ended.

GNOSWAP-LAUNCHPAD-017

Overflow

Occurs when mathematical results overflow numeric range.

Last updated