Name | Lookup | Parameters | |
---|---|---|---|
create_pot | 2d00 | 4 | |
remove_pot | 2d01 | 1 | |
register_users | 2d02 | 4 | |
remove_users | 2d03 | 2 | |
sponsor_for | 2d04 | 2 | |
update_pot_limits | 2d05 | 3 | |
update_users_limits | 2d06 | 4 | |
update_sponsorship_type | 2d07 | 2 |
Name | Lookup | Attributes | |
---|---|---|---|
PotCreated | 2d00 | ["PotId","AccountId","SponsorshipType","BalanceOf","BalanceOf"] | |
PotRemoved | 2d01 | ["PotId"] | |
PotUpdated | 2d02 | ["PotId","BalanceOf","BalanceOf"] | |
PotSponsorshipTypeUpdated | 2d03 | ["PotId","SponsorshipType"] | |
UsersRegistered | 2d04 | ["PotId","Vec<AccountId>","BalanceOf","BalanceOf"] | |
UsersRemoved | 2d05 | ["PotId","Vec<AccountId>"] | |
UsersLimitsUpdated | 2d06 | ["PotId","Vec<AccountId>","BalanceOf","BalanceOf"] | |
Sponsored | 2d07 | ["BalanceOf","BalanceOf"] | |
TransactionFeePaid | 2d08 | ["AccountId","BalanceOf"] |
Name | Type | |
---|---|---|
Pot | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U32"],"value":"pallet_sponsorship:PotDetails","keys_id":4,"value_id":407}} | |
User | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U32","AccountId"],"value":"pallet_sponsorship:UserDetails","keys_id":408,"value_id":409}} | |
UserRegistrationCount | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"U32","keys_id":0,"value_id":4}} | |
PotMigrationCursor | {"origin":"PlainType","plain_type":"Vec<U8>","PlainTypeValue":13} | |
UserMigrationCursor | {"origin":"PlainType","plain_type":"Vec<U8>","PlainTypeValue":13} | |
PotUserMigrationPerBlock | {"origin":"PlainType","plain_type":"Tuple:U32U32","PlainTypeValue":34} |
Name | Type | Value | |
---|---|---|---|
UserDeposit | U128 | 554dd2c2070000000000000000000000 | |
PotDeposit | U128 | 00407a10f35a00000000000000000000 |
Name | Docs |
---|---|
InUse | The pot ID is already taken. |
NoPermission | The signing account has no permission to do the operation. |
PotNotExist | The pot does not exist. |
UserNotRegistered | The user is not registered for the pot. |
UserAlreadyRegistered | The user is already registered for the pot. |
CannotRemoveProxy | The user is not removable due to holding some reserve. |
CannotCreateProxy | Logic error: cannot create proxy account for user.This should never happen. |
BalanceLeak | Balance leak is not allowed during a sponsored call. |
CannotUpdateFeeLimit | Cannot update the fee limit most likely due to being below the current commitment. |
CannotUpdateReserveLimit | Cannot update the reserve limit most likely due to being below the current commitment. |
MigrationInProgress | Migration is in progress. |