subscan
Runtime Modules / PhalaWrappedBalances
Spec Version:
Call Functions
Name
Lookup
Parameters
wrap5f001
unwrap_all5f01-
unwrap5f021
vote5f033
unlock5f042
Events
Name
Lookup
Attributes
DustRemoved5f00["AccountId","BalanceOf"]
Wrapped5f01["AccountId","BalanceOf"]
Unwrapped5f02["AccountId","BalanceOf"]
Voted5f03["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":575,"value_id":591}}
AccountVoteMap{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["AccountId","U32"],"value":"NULL","keys_id":592,"value_id":31}}
StakerAccounts{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"phala_pallets:compute:wrapped_balances:pallet:FinanceAccount","keys_id":0,"value_id":593}}
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