ILaunchpad
Interface of launchpad staking reward. Basic structs, events and errors to be used in the launchpad contract are defined in this interface.
PoolInfo
The staking pool information. Each token to be staked should be mapped one pool information.
DepositInfo
The deposit information. One deposit information should be mapped for each staking pool in which each account has deposited.
Depositparams
Parameters required when depositing into a staking pool.
AdjustDepositParams
Parameters required when adjusting the return option for what has already been deposited in the staking pool.
PoolInfoResponse
The response to be returned when requesting staking pool information.
DepositInfoResponse
The response to be returned when requesting deposit information.
MiningMultiplierParams
The parameter required when set mining multiplier.
PoolConfig
The parameter required when set pool information.
ClaimConfig
The parameter required when set claim schedule.
InitializeParams
The parameter required when initialize.
CreatePool
This event should be emit when create staking pool.
Parameters
Deposit
This event should be emit when user deposit to staking pool.
Parameters
Withdraw
This event should be emit when user withdraw from staking pool.
Parameters
EmergencyWithdraw
This event should be emit when user emergency withdraw from staking pool.
Parameters
Refund
This event should be emit when user refunded from staking pool.
Parameters
Claim
This event should be emit when user claim rewards.
Parameters
Collect
This event should be emit when transfer token to collector.
Parameters
FixRewards
This event should be emit when fixed user's total rewards.
Parameters
InvalidPeriod
It was not executed within the valid period.
Parameters
InvalidPool
The pool of token does not exist.
Parameters
InvalidDepositInfo
The deposit information does not exist.
Parameters
InvalidDepositedPool
The deposited pool by token dose not exist.
Parameters
OutOfRange
The input value is not a valid range value.
Parameters
ClaimUnauthorized
The user is not authorized to claim. To claim reward, the user must first withdraw deposit.
Parameters
NotYetStarted
The starting block number has not yet been reached.
Parameters
NotExistRewardOf
The user's reward does not exist.
Parameters
OverTheLimit
The required value is exceeds the limit value.
Parameters
OverTheDeadline
Over the deadline. No more execute the function.
Parameters
BelowStandard
The required value is below the standard value.
Parameters
ERC20TransferFailure
The ERC20 token transfer is failed.
Parameters
ETHTransferFailure
The Native token transfer is failed.