subscan
Runtime Modules / PhalaWrappedBalances
Spec Version:
Call Functions
Name
Lookup
Parameters
wrap5b001
unwrap_all5b01-
unwrap5b021
vote5b033
unlock5b042
Events
Name
Lookup
Attributes
DustRemoved5b00["AccountId","BalanceOf"]
Wrapped5b01["AccountId","BalanceOf"]
Unwrapped5b02["AccountId","BalanceOf"]
Voted5b03["AccountId","ReferendumIndex","BalanceOf","BalanceOf"]
Storage Functions
Name
Type
VoteAccountMap{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U32","AccountId"],"value":"Tuple:U128U128","keys_id":513,"value_id":634}}
AccountVoteMap{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","U32"],"value":"NULL","keys_id":635,"value_id":32}}
StakerAccounts{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"phala_pallets:compute:wrapped_balances:pallet:FinanceAccount","keys_id":0,"value_id":636}}
UnmintableDust{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
Constants
Name
Type
Value
WPhaAssetIdU3210270000
WrappedBalancesAccountIdAccountId777068612f000000000000000000000000000000000000000000000000000000
Error Types
Name
Docs
StakerAccountNotFounduser's `FinanceAccount` does not exist in storage: `StakerAccounts`
UnwrapAmountExceedsAvaliableStakeTrying to unwrap more than the available balance
VoteAmountLargerThanTotalStakesTrying to vote more than the available balance
ReferendumInvalidThe vote is not currently on going
ReferendumOngoingThe vote is now on going and the W-PHA used in voting can not be unlocked
IterationsIsNotVaildThe Iteration exceed the max limitaion