Launchpad
The following table outlines potential errors that may occur during interactions with the launchpad contract in GnoSwap:
GNOSWAP-LAUNCHPAD-001
No left reward
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 pool information.
GNOSWAP-LAUNCHPAD-004
Project is active
Occurs when an operation that requires an inactive project is attempted on an active project.
GNOSWAP-LAUNCHPAD-005
Project is inactive
Occurs when an operation requiring an active project is attempted on an inactive project.
GNOSWAP-LAUNCHPAD-006
Pool is inactive
Occurs when a project references a pool that is currently inactive and not eligible for the operation.
GNOSWAP-LAUNCHPAD-007
Invalid input data
Occurs when input data does not meet the required format or parameters, making the operation invalid.
GNOSWAP-LAUNCHPAD-008
Can not create same porject in same block
Occurs when there is an attempt to create two projects with identical configurations within the same block.
GNOSWAP-LAUNCHPAD-009
Invalid pool
Occurs when a specified pool does not meet the criteria for use in the launchpad operation.
GNOSWAP-LAUNCHPAD-010
Invalid pool ratio
Occurs when an invalid pool ratio is provided, possibly outside the accepted range.
GNOSWAP-LAUNCHPAD-011
Invalid length
Occurs when creating project with invalid length of token and amount.
GNOSWAP-LAUNCHPAD-012
Not enough balance
Occurs when the user’s balance is insufficient to complete the transaction or funding operation.
GNOSWAP-LAUNCHPAD-013
Invalid transfer condition
Occurs when left reward from project is being transferred but does not match proper condition
GNOSWAP-LAUNCHPAD-014
Convert fail
Occurs when invalid token amount has ben set as condition while creating project.
GNOSWAP-LAUNCHPAD-015
Only user caller
Occurs when smart contract calls but meant to be call by user only
GNOSWAP-LAUNCHPAD-016
Invalid data
Occurs when deposit condition is nil.
GNOSWAP-LAUNCHPAD-017
Invalid amount
Occurs when transfer token with invalid amount.
GNOSWAP-LAUNCHPAD-018
Duplicate deposit
Occurs when user deposit to same project in same block.
GNOSWAP-LAUNCHPAD-019
Invalid reward state
Occurs when collecting reward while state is invalid.
GNOSWAP-LAUNCHPAD-020
Not exist deposit
Occurs when collecting reward from non exists deposit.
GNOSWAP-LAUNCHPAD-021
Already exist deposit
Occurs when user deposit to same project in same block.
GNOSWAP-LAUNCHPAD-022
Invalid project id
Occurs when collecting reward from non exists project.
GNOSWAP-LAUNCHPAD-023
Already collected
Occurs when collecting reward from same deposit in same block.
GNOSWAP-LAUNCHPAD-024
Not yet claim reward
Occurs when collection reward wbut claimable time has not reached yet.
GNOSWAP-LAUNCHPAD-025
Invalid caller
Occurs when collecting reward, but caller has non depoists.
GNOSWAP-LAUNCHPAD-026
Invalid owner
Occurs when collecting reward, but caller is not address who made deposit.
GNOSWAP-LAUNCHPAD-027
Invalid average block time
Occurs when converting time to height but average block time is 0.
GNOSWAP-LAUNCHPAD-028
Invalid height
Occurs when collecting reward, current block is less than target block.
GNOSWAP-LAUNCHPAD-029
Tier has participants
Occurs when left reward from project is being transferred but project has still participants.
Last updated
Was this helpful?