|
565 | 565 | "documentation": [ |
566 | 566 | " Send a batch of dispatch calls.", |
567 | 567 | "", |
568 | | - " This will execute until the first one fails and then stop.", |
| 568 | + " This will execute until the first one fails and then stop. Calls must fulfil the", |
| 569 | + " `IsCallable` filter unless the origin is `Root`.", |
569 | 570 | "", |
570 | 571 | " May be called from any origin.", |
571 | 572 | "", |
|
599 | 600 | "documentation": [ |
600 | 601 | " Send a call through an indexed pseudonym of the sender.", |
601 | 602 | "", |
| 603 | + " Calls must each fulfil the `IsCallable` filter.", |
| 604 | + "", |
602 | 605 | " The dispatch origin for this call must be _Signed_.", |
603 | 606 | "", |
604 | 607 | " # <weight>", |
|
631 | 634 | " Register approval for a dispatch to be made from a deterministic composite account if", |
632 | 635 | " approved by a total of `threshold - 1` of `other_signatories`.", |
633 | 636 | "", |
634 | | - " If there are enough, then dispatch the call.", |
| 637 | + " If there are enough, then dispatch the call. Calls must each fulfil the `IsCallable`", |
| 638 | + " filter.", |
635 | 639 | "", |
636 | 640 | " Payment: `MultisigDepositBase` will be reserved if this is the first approval, plus", |
637 | 641 | " `threshold` times `MultisigDepositFactor`. It is returned once this dispatch happens or", |
|
863 | 867 | " A multisig operation has been cancelled. First param is the account that is", |
864 | 868 | " cancelling, third is the multisig account, fourth is hash of the call." |
865 | 869 | ] |
| 870 | + }, |
| 871 | + { |
| 872 | + "name": "Uncallable", |
| 873 | + "args": [ |
| 874 | + "u32" |
| 875 | + ], |
| 876 | + "documentation": [ |
| 877 | + " A call with a `false` IsCallable filter was attempted." |
| 878 | + ] |
866 | 879 | } |
867 | 880 | ], |
868 | 881 | "constants": [], |
|
938 | 951 | "documentation": [ |
939 | 952 | " A timepoint was given, yet no multisig operation is underway." |
940 | 953 | ] |
| 954 | + }, |
| 955 | + { |
| 956 | + "name": "Uncallable", |
| 957 | + "documentation": [ |
| 958 | + " A call with a `false` IsCallable filter was attempted." |
| 959 | + ] |
941 | 960 | } |
942 | 961 | ] |
943 | 962 | }, |
|
3170 | 3189 | " A new set of stakers was elected with the given computation method." |
3171 | 3190 | ] |
3172 | 3191 | }, |
| 3192 | + { |
| 3193 | + "name": "SolutionStored", |
| 3194 | + "args": [ |
| 3195 | + "ElectionCompute" |
| 3196 | + ], |
| 3197 | + "documentation": [ |
| 3198 | + " A new solution for the upcoming election has been stored." |
| 3199 | + ] |
| 3200 | + }, |
3173 | 3201 | { |
3174 | 3202 | "name": "Bonded", |
3175 | 3203 | "args": [ |
|
5393 | 5421 | "name": "close", |
5394 | 5422 | "args": [ |
5395 | 5423 | { |
5396 | | - "name": "proposal", |
| 5424 | + "name": "proposal_hash", |
5397 | 5425 | "type": "Hash" |
5398 | 5426 | }, |
5399 | 5427 | { |
|
5438 | 5466 | " - up to 3 events", |
5439 | 5467 | " # </weight>" |
5440 | 5468 | ] |
| 5469 | + }, |
| 5470 | + { |
| 5471 | + "name": "disapprove_proposal", |
| 5472 | + "args": [ |
| 5473 | + { |
| 5474 | + "name": "proposal_hash", |
| 5475 | + "type": "Hash" |
| 5476 | + } |
| 5477 | + ], |
| 5478 | + "documentation": [ |
| 5479 | + " Disapprove a proposal, close, and remove it from the system, regardless of its current state.", |
| 5480 | + "", |
| 5481 | + " Must be called by the Root origin.", |
| 5482 | + "", |
| 5483 | + " Parameters:", |
| 5484 | + " * `proposal_hash`: The hash of the proposal that should be disapproved.", |
| 5485 | + "", |
| 5486 | + " # <weight>", |
| 5487 | + " Complexity: O(P) where P is the number of max proposals", |
| 5488 | + " Base Weight: .49 * P", |
| 5489 | + " DB Weight:", |
| 5490 | + " * Reads: Proposals", |
| 5491 | + " * Writes: Voting, Proposals, ProposalOf", |
| 5492 | + " # </weight>" |
| 5493 | + ] |
5441 | 5494 | } |
5442 | 5495 | ], |
5443 | 5496 | "events": [ |
|
5816 | 5869 | "name": "close", |
5817 | 5870 | "args": [ |
5818 | 5871 | { |
5819 | | - "name": "proposal", |
| 5872 | + "name": "proposal_hash", |
5820 | 5873 | "type": "Hash" |
5821 | 5874 | }, |
5822 | 5875 | { |
|
5861 | 5914 | " - up to 3 events", |
5862 | 5915 | " # </weight>" |
5863 | 5916 | ] |
| 5917 | + }, |
| 5918 | + { |
| 5919 | + "name": "disapprove_proposal", |
| 5920 | + "args": [ |
| 5921 | + { |
| 5922 | + "name": "proposal_hash", |
| 5923 | + "type": "Hash" |
| 5924 | + } |
| 5925 | + ], |
| 5926 | + "documentation": [ |
| 5927 | + " Disapprove a proposal, close, and remove it from the system, regardless of its current state.", |
| 5928 | + "", |
| 5929 | + " Must be called by the Root origin.", |
| 5930 | + "", |
| 5931 | + " Parameters:", |
| 5932 | + " * `proposal_hash`: The hash of the proposal that should be disapproved.", |
| 5933 | + "", |
| 5934 | + " # <weight>", |
| 5935 | + " Complexity: O(P) where P is the number of max proposals", |
| 5936 | + " Base Weight: .49 * P", |
| 5937 | + " DB Weight:", |
| 5938 | + " * Reads: Proposals", |
| 5939 | + " * Writes: Voting, Proposals, ProposalOf", |
| 5940 | + " # </weight>" |
| 5941 | + ] |
5864 | 5942 | } |
5865 | 5943 | ], |
5866 | 5944 | "events": [ |
|
7750 | 7828 | "type": "u32", |
7751 | 7829 | "value": "0x08000000", |
7752 | 7830 | "documentation": [ |
7753 | | - " Size of a contract at the time of instantiation. This is a simple way to ensure that", |
7754 | | - " empty contracts eventually gets deleted." |
| 7831 | + " A size offset for an contract. A just created account with untouched storage will have that", |
| 7832 | + " much of storage from the perspective of the state rent.", |
| 7833 | + "", |
| 7834 | + " This is a simple way to ensure that contracts with empty storage eventually get deleted", |
| 7835 | + " by making them pay rent. This creates an incentive to remove them early in order to save", |
| 7836 | + " rent." |
7755 | 7837 | ] |
7756 | 7838 | }, |
7757 | 7839 | { |
|
0 commit comments