Name | Lookup | Parameters | |
---|---|---|---|
create_ilo | 3100 | 22 | |
contribute | 3101 | 2 | |
emergency_withdraw | 3102 | 1 | |
finish_ilo | 3103 | 1 | |
claim_lp_tokens | 3104 | 1 | |
claim | 3105 | 1 | |
change_fee_percent_for_raised_funds | 3106 | 1 | |
change_ceres_burn_fee | 3107 | 1 | |
change_ceres_contribution_fee | 3108 | 1 | |
claim_pswap_rewards | 3109 | - | |
add_whitelisted_contributor | 310a | 1 | |
remove_whitelisted_contributor | 310b | 1 | |
add_whitelisted_ilo_organizer | 310c | 1 | |
remove_whitelisted_ilo_organizer | 310d | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
ILOCreated | 3100 | ["AccountIdOf","AssetIdOf"] | |
Contributed | 3101 | ["AccountIdOf","AssetIdOf","Balance"] | |
EmergencyWithdrawn | 3102 | ["AccountIdOf","AssetIdOf","Balance"] | |
ILOFinished | 3103 | ["AccountIdOf","AssetIdOf"] | |
ClaimedLP | 3104 | ["AccountIdOf","AssetIdOf"] | |
Claimed | 3105 | ["AccountIdOf","AssetIdOf"] | |
FeeChanged | 3106 | ["Balance"] | |
ClaimedPSWAP | 3107 | ||
WhitelistedContributor | 3108 | ["AccountIdOf"] | |
WhitelistedIloOrganizer | 3109 | ["AccountIdOf"] | |
RemovedWhitelistedContributor | 310a | ["AccountIdOf"] | |
RemovedWhitelistedIloOrganizer | 310b | ["AccountIdOf"] |
Name | Type | |
---|---|---|
PenaltiesAccount | {"origin":"PlainType","plain_type":"AccountId","PlainTypeValue":0} | |
CeresBurnFeeAmount | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
CeresForContributionInILO | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
FeePercentOnRaisedFunds | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
AuthorityAccount | {"origin":"PlainType","plain_type":"AccountId","PlainTypeValue":0} | |
ILOs | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["[U8; 32]"],"value":"ceres_launchpad:ILOInfo","keys_id":67,"value_id":743}} | |
Contributions | {"origin":"Map","n_map_type":{"hashers":["Identity","Identity"],"key_vec":["[U8; 32]","AccountId"],"value":"ceres_launchpad:ContributionInfo","keys_id":746,"value_id":747}} | |
WhitelistedContributors | {"origin":"PlainType","plain_type":"Vec<AccountId>","PlainTypeValue":144} | |
WhitelistedIloOrganizers | {"origin":"PlainType","plain_type":"Vec<AccountId>","PlainTypeValue":144} |
Name | Docs |
---|---|
ILOAlreadyExists | ILO for token already exists |
ParameterCantBeZero | Parameter can't be zero |
InvalidSoftCap | Soft cap should be minimum 50% of hard cap |
InvalidMinimumContribution | Minimum contribution must be equal or greater than 0.01 base asset tokens |
InvalidMaximumContribution | Maximum contribution must be greater than minimum contribution |
InvalidLiquidityPercent | Minimum 51% of raised funds must go to liquidity |
InvalidLockupDays | Lockup days must be minimum 30 |
InvalidStartTimestamp | Start timestamp be in future |
InvalidEndTimestamp | End timestamp must be greater than start timestamp |
InvalidPrice | Listing price must be greater than ILO price |
InvalidNumberOfTokensForLiquidity | Invalid number of tokens for liquidity |
InvalidNumberOfTokensForILO | Invalid number of tokens for ILO |
InvalidFirstReleasePercent | First release percent can't be zero |
InvalidVestingPercent | Invalid vesting percent |
InvalidVestingPeriod | Vesting period can't be zero |
NotEnoughCeres | Not enough CERES |
NotEnoughTokens | Not enough ILO tokens |
ILONotStarted | ILO not started |
ILOIsFinished | ILO is finished, |
CantContributeInILO | Can't contribute in ILO |
HardCapIsHit | Hard cap is hit |
NotEnoughTokensToBuy | Not enough tokens to buy |
ContributionIsLowerThenMin | Contribution is lower than min |
ContributionIsBiggerThenMax | Contribution is bigger than max |
NotEnoughFunds | Not enough funds |
ILODoesNotExist | ILO for token does not exist |
ILOIsNotFinished | ILO is not finished |
PoolDoesNotExist | Pool does not exist |
Unauthorized | Unauthorized |
CantClaimLPTokens | Can't claim LP tokens |
FundsAlreadyClaimed | Funds already claimed |
NothingToClaim | Nothing to claim |
ILOIsFailed | ILO is failed |
ILOIsSucceeded | ILO is succeeded |
CantCreateILOForListedToken | Can't create ILO for listed token |
AccountIsNotWhitelisted | Account is not whitelisted |
InvalidTeamFirstReleasePercent | Team first release percent can't be zero |
InvalidTeamVestingPercent | Team invalid vesting percent |
InvalidTeamVestingPeriod | Team vesting period can't be zero |
NotEnoughTeamTokensToLock | Not enough team tokens to lock |
InvalidFeePercent | Invalid fee percent on raised funds |
BaseAssetNotSupported | Asset in which funds are being raised is not supported |