subscan
Runtime Modules / PhalaVault
Spec Version:
Events
Name
Lookup
Attributes
PoolCreated5e00["AccountId","u64","CollectionId","AccountId"]
VaultCommissionSet5e01["u64","u32"]
OwnerSharesClaimed5e02["u64","AccountId","BalanceOf"]
OwnerSharesGained5e03["u64","BalanceOf","BalanceOf"]
Contribution5e04["u64","AccountId","BalanceOf","BalanceOf"]
Storage Functions
Name
Type
VaultLocks{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U64"],"value":"NULL","keys_id":10,"value_id":31}}
Constants
Name
Type
Value
InitialPriceCheckPointU1280010a5d4e80000000000000000000000
Error Types
Name
Docs
UnauthorizedPoolOwnerThe caller is not the owner of the pool
NoEnoughShareToClaimThe withdrawal amount is too small or too large
NoRewardToClaimThe vault have no owner shares to claim
AssetAccountNotExistThe asset account hasn't been created. It indicates an internal error.
InsufficientBalanceTrying to contribute more than the available balance
InsufficientContributionThe contributed stake is smaller than the minimum threshold
VaultBankruptThe Vault was bankrupt; cannot interact with it unless all the shares are withdrawn.
NoNftToWithdrawThe caller has no nft to withdraw