Name | Lookup | Parameters | |
---|---|---|---|
provision | 1500 | 2 | |
whitelist_accounts | 1501 | 1 | |
schedule_bootstrap | 1502 | 7 | |
cancel_bootstrap | 1503 | - | |
update_promote_bootstrap_pool | 1504 | 1 | |
claim_liquidity_tokens | 1505 | - | |
claim_and_activate_liquidity_tokens | 1506 | - | |
pre_finalize | 1507 | - | |
finalize | 1508 | - | |
claim_liquidity_tokens_for_account | 1509 | 2 |
Name | Lookup | Attributes | |
---|---|---|---|
Provisioned | 1500 | ["CurrencyIdOf","BalanceOf"] | |
VestedProvisioned | 1501 | ["CurrencyIdOf","BalanceOf"] | |
RewardsLiquidityAcitvationFailed | 1502 | ["AccountId","CurrencyIdOf","BalanceOf"] | |
RewardsClaimed | 1503 | ["CurrencyIdOf","BalanceOf"] | |
AccountsWhitelisted | 1504 | ||
BootstrapParitallyPreFinalized | 1505 | ||
BootstrapReadyToBeFinalized | 1506 | ||
BootstrapFinalized | 1507 |
Name | Type | |
---|---|---|
Provisions | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["AccountId","U32"],"value":"U128","keys_id":356,"value_id":45}} | |
VestedProvisions | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["AccountId","U32"],"value":"Tuple:U128U128U128","keys_id":356,"value_id":410}} | |
WhitelistedAccount | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"NULL","keys_id":0,"value_id":5}} | |
Phase | {"origin":"PlainType","plain_type":"pallet_bootstrap:BootstrapPhase","PlainTypeValue":411} | |
Valuations | {"origin":"PlainType","plain_type":"Tuple:U128U128","PlainTypeValue":251} | |
BootstrapSchedule | {"origin":"PlainType","plain_type":"Tuple:U32U32U32Tuple:U128U128","PlainTypeValue":412} | |
MintedLiquidity | {"origin":"PlainType","plain_type":"Tuple:U32U128","PlainTypeValue":288} | |
ClaimedRewards | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["AccountId","U32"],"value":"U128","keys_id":356,"value_id":45}} | |
ProvisionAccounts | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"NULL","keys_id":0,"value_id":5}} | |
ActivePair | {"origin":"PlainType","plain_type":"Tuple:U32U32","PlainTypeValue":150} | |
PromoteBootstrapPool | {"origin":"PlainType","plain_type":"Bool","PlainTypeValue":19} | |
ArchivedBootstrap | {"origin":"PlainType","plain_type":"Vec<Tuple:U32U32U32Tuple:U128U128>","PlainTypeValue":413} |
Name | Type | Value | |
---|---|---|---|
DefaultBootstrapPromotedPoolWeight | U8 | 00 | |
BootstrapUpdateBuffer | U32 | 2c010000 | |
TreasuryPalletId | [U8; 8] | 70792f7472737279 |
Name | Docs |
---|---|
UnsupportedTokenId | Only scheduled token pair can be used for provisions |
NotEnoughAssets | Not enough funds for provision |
NotEnoughVestedAssets | Not enough funds for provision (vested) |
MathOverflow | Math problem |
Unauthorized | User cannot participate at this moment |
BootstrapStartInThePast | Bootstrap cant be scheduled in past |
PhaseLengthCannotBeZero | Bootstarap phases cannot lasts 0 blocks |
AlreadyStarted | Bootstrate event already started |
ValuationRatio | Valuation ratio exceeded |
FirstProvisionInSecondTokenId | First provision must be in non restricted token |
PoolAlreadyExists | Bootstraped pool already exists |
NotFinishedYet | Cannot claim rewards before bootstrap finish |
NothingToClaim | no rewards to claim |
WrongRatio | wrong ratio |
BootstrapNotReadyToBeFinished | no rewards to claim |
SameToken | Tokens used in bootstrap cannot be the same |
TokenIdDoesNotExists | Token does not exists |
TokensActivationFailed | Token activations failed |
BootstrapNotSchduled | Bootstrap not scheduled |
BootstrapFinished | Bootstrap already Finished |
TooLateToUpdateBootstrap | Bootstrap can only be updated or cancelledBootstrapUpdateBuffer blocks or more before bootstrap start |
ProvisioningBlockedByMaintenanceMode | Bootstrap provisioning blocked by maintenance mode |
BootstrapMustBePreFinalized | Bootstrap must be pre finalized before it can be finalized |