Name | Lookup | Parameters | |
|---|---|---|---|
| create | 5e00 | - | |
| set_payout_pref | 5e01 | 2 | |
| claim_owner_shares | 5e02 | 3 | |
| maybe_gain_owner_shares | 5e03 | 1 | |
| check_and_maybe_force_withdraw | 5e04 | 1 | |
| contribute | 5e05 | 2 | |
| withdraw | 5e06 | 2 |
Name | Lookup | Attributes | |
|---|---|---|---|
| PoolCreated | 5e00 | ["AccountId","u64","CollectionId","AccountId"] | |
| VaultCommissionSet | 5e01 | ["u64","u32"] | |
| OwnerSharesClaimed | 5e02 | ["u64","AccountId","BalanceOf"] | |
| OwnerSharesGained | 5e03 | ["u64","BalanceOf","BalanceOf"] | |
| Contribution | 5e04 | ["u64","AccountId","BalanceOf","BalanceOf"] | |
| ForceShutdown | 5e05 | ["u64","ForceShutdownReason"] |
Name | Type | |
|---|---|---|
| VaultLocks | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U64"],"value":"NULL","keys_id":11,"value_id":32}} |
Name | Type | Value | |
|---|---|---|---|
| InitialPriceCheckPoint | U128 | 0010a5d4e80000000000000000000000 | |
| VaultQueuePeriod | U64 | 80af1b0000000000 |
Name | Docs |
|---|---|
| UnauthorizedPoolOwner | The caller is not the owner of the pool |
| NoEnoughShareToClaim | The withdrawal amount is too small or too large |
| NoRewardToClaim | The vault have no owner shares to claim |
| AssetAccountNotExist | The asset account hasn't been created. It indicates an internal error. |
| InsufficientBalance | Trying to contribute more than the available balance |
| InsufficientContribution | The contributed stake is smaller than the minimum threshold |
| VaultBankrupt | The Vault was bankrupt; cannot interact with it unless all the shares are withdrawn. |
| NoNftToWithdraw | The caller has no nft to withdraw |
| CommissionNotChanged | The commission is not changed |