Nodle
subscan
Runtime Modules / Sponsorship
Spec Version:
Events
Name
Lookup
Attributes
PotCreated2d00["PotId","AccountId","SponsorshipType","BalanceOf","BalanceOf"]
PotRemoved2d01["PotId"]
PotUpdated2d02["PotId","BalanceOf","BalanceOf"]
PotSponsorshipTypeUpdated2d03["PotId","SponsorshipType"]
UsersRegistered2d04["PotId","Vec<AccountId>","BalanceOf","BalanceOf"]
UsersRemoved2d05["PotId","Vec<AccountId>"]
UsersLimitsUpdated2d06["PotId","Vec<AccountId>","BalanceOf","BalanceOf"]
Sponsored2d07["BalanceOf","BalanceOf"]
TransactionFeePaid2d08["AccountId","BalanceOf"]
Storage Functions
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}
Constants
Name
Type
Value
UserDepositU128554dd2c2070000000000000000000000
PotDepositU12800407a10f35a00000000000000000000
Error Types
Name
Docs
InUseThe pot ID is already taken.
NoPermissionThe signing account has no permission to do the operation.
PotNotExistThe pot does not exist.
UserNotRegisteredThe user is not registered for the pot.
UserAlreadyRegisteredThe user is already registered for the pot.
CannotRemoveProxyThe user is not removable due to holding some reserve.
CannotCreateProxyLogic error: cannot create proxy account for user.This should never happen.
BalanceLeakBalance leak is not allowed during a sponsored call.
CannotUpdateFeeLimitCannot update the fee limit most likely due to being below the current commitment.
CannotUpdateReserveLimitCannot update the reserve limit most likely due to being below the current commitment.
MigrationInProgressMigration is in progress.