Name | Lookup | Parameters | |
|---|---|---|---|
| add_benefit_funds | 1c00 | 2 | |
| cut_benefit_funds | 1c01 | 2 | |
| withdraw_benefit_funds | 1c02 | - | |
| rebond_benefit_funds | 1c03 | 2 |
Name | Lookup | Attributes | |
|---|---|---|---|
| AddBenefitFundsSuccess | 1c00 | ||
| CutBenefitFundsSuccess | 1c01 | ||
| RebondBenefitFundsSuccess | 1c02 | ||
| WithdrawBenefitFundsSuccess | 1c03 |
Name | Type | |
|---|---|---|
| CurrentBenefits | {"origin":"PlainType","plain_type":"EraBenefits<BalanceOf>"} | |
| MarketBenefits | {"origin":"MapType","map_type":{"key":"AccountId","hasher":"Blake2_128Concat","value":"MarketBenefit<BalanceOf>","isLinked":false}} | |
| SworkBenefits | {"origin":"MapType","map_type":{"key":"AccountId","hasher":"Blake2_128Concat","value":"SworkBenefit<BalanceOf>","isLinked":false}} |
Name | Docs |
|---|---|
| InsuffientBalance | Don't have enough money |
| InvalidTarget | Don't have benefit records |
| NoMoreChunks | Can not schedule more unlock chunks. |
| NoUnlockChunk | Can not rebond without unlocking chunks. |
| InsufficientValue | Can not bond with value less than minimum balance. |