Bump static metadata (#2557)

This commit is contained in:
Jaco Greeff
2020-08-31 23:06:18 +02:00
committed by GitHub
parent 57c54c860a
commit 6bd10daf43
2 changed files with 329 additions and 91 deletions
@@ -589,12 +589,7 @@
"",
" NOTE: Prior to version *12, this was called `as_limited_sub`.",
"",
" The dispatch origin for this call must be _Signed_.",
"",
" # <weight>",
" - Base weight: 2.861 µs",
" - Plus the weight of the `call`",
" # </weight>"
" The dispatch origin for this call must be _Signed_."
]
}
],
@@ -900,9 +895,6 @@
" - `O(T)` where `T` complexity of `on_timestamp_set`",
" - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in `on_finalize`)",
" - 1 event handler `on_timestamp_set` `O(T)`.",
" - Benchmark: 7.678 (min squares analysis)",
" - NOTE: This benchmark was done for a runtime with insignificant `on_timestamp_set` handlers.",
" New benchmarking is needed when adding new handlers.",
" # </weight>"
]
}
@@ -1246,7 +1238,16 @@
]
}
],
"constants": [],
"constants": [
{
"name": "Deposit",
"type": "BalanceOf",
"value": "0x00407a10f35a00000000000000000000",
"documentation": [
" The deposit needed for reserving an index."
]
}
],
"errors": []
},
{
@@ -1683,7 +1684,7 @@
"type": {
"Plain": "u32"
},
"fallback": "0x04000000",
"fallback": "0x00000000",
"documentation": [
" Minimum number of staking participants before emergency conditions are imposed."
]
@@ -2905,7 +2906,7 @@
],
"documentation": [
" The era payout has been set; the first balance is the validator-payout; the second is",
" the remainder from the maximum amount of reward. ",
" the remainder from the maximum amount of reward.",
" [era_index, validator_payout, remainder]"
]
},
@@ -2926,7 +2927,7 @@
"Balance"
],
"documentation": [
" One validator (and its nominators) has been slashed by the given amount. ",
" One validator (and its nominators) has been slashed by the given amount.",
" [validator, amount]"
]
},
@@ -3158,13 +3159,13 @@
]
},
{
"name": "PhragmenEarlySubmission",
"name": "OffchainElectionEarlySubmission",
"documentation": [
" The submitted result is received out of the open window."
]
},
{
"name": "PhragmenWeakSubmission",
"name": "OffchainElectionWeakSubmission",
"documentation": [
" The submitted result is not as good as the one stored on chain."
]
@@ -3176,64 +3177,64 @@
]
},
{
"name": "PhragmenBogusWinnerCount",
"name": "OffchainElectionBogusWinnerCount",
"documentation": [
" Incorrect number of winners were presented."
]
},
{
"name": "PhragmenBogusWinner",
"name": "OffchainElectionBogusWinner",
"documentation": [
" One of the submitted winners is not an active candidate on chain (index is out of range",
" in snapshot)."
]
},
{
"name": "PhragmenBogusCompact",
"name": "OffchainElectionBogusCompact",
"documentation": [
" Error while building the assignment type from the compact. This can happen if an index",
" is invalid, or if the weights _overflow_."
]
},
{
"name": "PhragmenBogusNominator",
"name": "OffchainElectionBogusNominator",
"documentation": [
" One of the submitted nominators is not an active nominator on chain."
]
},
{
"name": "PhragmenBogusNomination",
"name": "OffchainElectionBogusNomination",
"documentation": [
" One of the submitted nominators has an edge to which they have not voted on chain."
]
},
{
"name": "PhragmenSlashedNomination",
"name": "OffchainElectionSlashedNomination",
"documentation": [
" One of the submitted nominators has an edge which is submitted before the last non-zero",
" slash of the target."
]
},
{
"name": "PhragmenBogusSelfVote",
"name": "OffchainElectionBogusSelfVote",
"documentation": [
" A self vote must only be originated from a validator to ONLY themselves."
]
},
{
"name": "PhragmenBogusEdge",
"name": "OffchainElectionBogusEdge",
"documentation": [
" The submitted result has unknown edges that are not among the presented winners."
]
},
{
"name": "PhragmenBogusScore",
"name": "OffchainElectionBogusScore",
"documentation": [
" The claimed score does not match with the one computed from the data."
]
},
{
"name": "PhragmenBogusElectionSize",
"name": "OffchainElectionBogusElectionSize",
"documentation": [
" The election size is invalid."
]
@@ -3688,8 +3689,6 @@
" - Complexity: `O(1)`",
" - Db reads: `PublicPropCount`, `PublicProps`",
" - Db writes: `PublicPropCount`, `PublicProps`, `DepositOf`",
" -------------------",
" Base Weight: 42.58 + .127 * P µs with `P` the number of proposals `PublicProps`",
" # </weight>"
]
},
@@ -3719,8 +3718,6 @@
" - Complexity: `O(S)` where S is the number of seconds a proposal already has.",
" - Db reads: `DepositOf`",
" - Db writes: `DepositOf`",
" ---------",
" - Base Weight: 22.28 + .229 * S µs",
" # </weight>"
]
},
@@ -3750,10 +3747,6 @@
" weight is charged as if maximum votes.",
" - Db reads: `ReferendumInfoOf`, `VotingOf`, `balances locks`",
" - Db writes: `ReferendumInfoOf`, `VotingOf`, `balances locks`",
" --------------------",
" - Base Weight:",
" - Vote New: 49.24 + .333 * R µs",
" - Vote Existing: 49.94 + .343 * R µs",
" # </weight>"
]
},
@@ -3777,8 +3770,6 @@
" - Complexity: `O(1)`.",
" - Db reads: `ReferendumInfoOf`, `Cancellations`",
" - Db writes: `ReferendumInfoOf`, `Cancellations`",
" -------------",
" - Base Weight: 34.25 µs",
" # </weight>"
]
},
@@ -3803,7 +3794,6 @@
" Decoding vec of length V. Charged as maximum",
" - Db reads: `NextExternal`, `Blacklist`",
" - Db writes: `NextExternal`",
" - Base Weight: 13.8 + .106 * V µs",
" # </weight>"
]
},
@@ -3829,7 +3819,6 @@
" # <weight>",
" - Complexity: `O(1)`",
" - Db write: `NextExternal`",
" - Base Weight: 3.065 µs",
" # </weight>"
]
},
@@ -3855,7 +3844,6 @@
" # <weight>",
" - Complexity: `O(1)`",
" - Db write: `NextExternal`",
" - Base Weight: 3.087 µs",
" # </weight>"
]
},
@@ -3920,7 +3908,6 @@
" Performs a binary search on `existing_vetoers` which should not be very large.",
" - Db reads: `NextExternal`, `Blacklist`",
" - Db writes: `NextExternal`, `Blacklist`",
" - Base Weight: 29.87 + .188 * V µs",
" # </weight>"
]
},
@@ -3942,7 +3929,6 @@
" # <weight>",
" - Complexity: `O(1)`.",
" - Db writes: `ReferendumInfoOf`",
" - Base Weight: 21.57 µs",
" # </weight>"
]
},
@@ -3965,7 +3951,6 @@
" - `O(D)` where `D` is the items in the dispatch queue. Weighted as `D = 10`.",
" - Db reads: `scheduler lookup`, scheduler agenda`",
" - Db writes: `scheduler lookup`, scheduler agenda`",
" - Base Weight: 36.78 + 3.277 * D µs",
" # </weight>"
]
},
@@ -4007,11 +3992,10 @@
" # <weight>",
" - Complexity: `O(R)` where R is the number of referendums the voter delegating to has",
" voted on. Weight is charged as if maximum votes.",
" - Db reads: 2*`VotingOf`, `balances locks`",
" - Db writes: 2*`VotingOf`, `balances locks`",
" - Db reads: 3*`VotingOf`, `origin account locks`",
" - Db writes: 3*`VotingOf`, `origin account locks`",
" - Db reads per votes: `ReferendumInfoOf`",
" - Db writes per votes: `ReferendumInfoOf`",
" - Base Weight: 65.78 + 8.229 * R µs",
" # </weight>"
]
},
@@ -4036,7 +4020,6 @@
" - Db writes: 2*`VotingOf`",
" - Db reads per votes: `ReferendumInfoOf`",
" - Db writes per votes: `ReferendumInfoOf`",
" - Base Weight: 33.29 + 8.104 * R µs",
" # </weight>"
]
},
@@ -4051,7 +4034,6 @@
" # <weight>",
" - `O(1)`.",
" - Db writes: `PublicProps`",
" - Base Weight: 2.505 µs",
" # </weight>"
]
},
@@ -4074,7 +4056,9 @@
" Emits `PreimageNoted`.",
"",
" # <weight>",
" see `weight_for::note_preimage`",
" - Complexity: `O(E)` with E size of `encoded_proposal` (protected by a required deposit).",
" - Db reads: `Preimages`",
" - Db writes: `Preimages`",
" # </weight>"
]
},
@@ -4100,7 +4084,9 @@
],
"documentation": [
" Register the preimage for an upcoming proposal. This requires the proposal to be",
" in the dispatch queue. No deposit is needed.",
" in the dispatch queue. No deposit is needed. When this call is successful, i.e.",
" the preimage has not been uploaded before and matches some imminent proposal,",
" no fee is paid.",
"",
" The dispatch origin of this call must be _Signed_.",
"",
@@ -4109,7 +4095,9 @@
" Emits `PreimageNoted`.",
"",
" # <weight>",
" see `weight_for::note_preimage`",
" - Complexity: `O(E)` with E size of `encoded_proposal` (protected by a required deposit).",
" - Db reads: `Preimages`",
" - Db writes: `Preimages`",
" # </weight>"
]
},
@@ -4154,9 +4142,8 @@
"",
" # <weight>",
" - Complexity: `O(D)` where D is length of proposal.",
" - Db reads: `Preimages`",
" - Db writes: `Preimages`",
" - Base Weight: 39.31 + .003 * b µs",
" - Db reads: `Preimages`, provider account data",
" - Db writes: `Preimages` provider account data",
" # </weight>"
]
},
@@ -4179,9 +4166,6 @@
" - Complexity `O(R)` with R number of vote of target.",
" - Db reads: `VotingOf`, `balances locks`, `target account`",
" - Db writes: `VotingOf`, `balances locks`, `target account`",
" - Base Weight:",
" - Unlock Remove: 42.96 + .048 * R",
" - Unlock Set: 37.63 + .327 * R",
" # </weight>"
]
},
@@ -4224,7 +4208,6 @@
" Weight is calculated for the maximum number of vote.",
" - Db reads: `ReferendumInfoOf`, `VotingOf`",
" - Db writes: `ReferendumInfoOf`, `VotingOf`",
" - Base Weight: 21.03 + .359 * R",
" # </weight>"
]
},
@@ -4259,7 +4242,6 @@
" Weight is calculated for the maximum number of vote.",
" - Db reads: `ReferendumInfoOf`, `VotingOf`",
" - Db writes: `ReferendumInfoOf`, `VotingOf`",
" - Base Weight: 19.15 + .372 * R",
" # </weight>"
]
},
@@ -4405,7 +4387,7 @@
"Balance"
],
"documentation": [
" A proposal preimage was removed and used (the deposit was returned). ",
" A proposal preimage was removed and used (the deposit was returned).",
" [proposal_hash, provider, deposit]"
]
},
@@ -4438,7 +4420,7 @@
"AccountId"
],
"documentation": [
" A registered preimage was removed and the deposit collected by the reaper. ",
" A registered preimage was removed and the deposit collected by the reaper.",
" [proposal_hash, provider, deposit, reaper]"
]
},
@@ -4835,7 +4817,7 @@
"",
" Requires root origin.",
"",
" NOTE: Does not enforce the expected `MAX_MEMBERS` limit on the amount of members, but",
" NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but",
" the weight estimations rely on it to estimate dispatchable weight.",
"",
" # <weight>",
@@ -5022,7 +5004,6 @@
"",
" # <weight>",
" Complexity: O(P) where P is the number of max proposals",
" Base Weight: .49 * P",
" DB Weight:",
" * Reads: Proposals",
" * Writes: Voting, Proposals, ProposalOf",
@@ -5290,7 +5271,7 @@
"",
" Requires root origin.",
"",
" NOTE: Does not enforce the expected `MAX_MEMBERS` limit on the amount of members, but",
" NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but",
" the weight estimations rely on it to estimate dispatchable weight.",
"",
" # <weight>",
@@ -5477,7 +5458,6 @@
"",
" # <weight>",
" Complexity: O(P) where P is the number of max proposals",
" Base Weight: .49 * P",
" DB Weight:",
" * Reads: Proposals",
" * Writes: Voting, Proposals, ProposalOf",
@@ -7132,7 +7112,7 @@
"type": {
"Plain": "Schedule"
},
"fallback": "0x0000000020a107000000000020a107000000000020a107000000000020a107000000000020a107000000000020a107000000000020a1070000000000e0f7050400000000e024370500000000e0f705040000000020a107000000000020a107000000000080f0fa020000000000e1f50500000000040000000000010010000000004000000020000000",
"fallback": "0x0000000020a107000000000020a107000000000020a107000000000020a107000000000020a107000000000020a107000000000020a1070000000000e0f7050400000000e024370500000000e0f705040000000020a107000000000020a107000000000080f0fa020000000000e1f5050000000004000000000001001000000000400000002000000000000800",
"documentation": [
" Current cost schedule for contracts."
]
@@ -7522,13 +7502,72 @@
]
},
{
"name": "InsufficientBalance",
"name": "BelowSubsistenceThreshold",
"documentation": [
" Performing the requested transfer would have brought the contract below",
" the subsistence threshold. No transfer is allowed to do this in order to allow",
" for a tombstone to be created. Use `ext_terminate` to remove a contract without",
" for a tombstone to be created. Use `seal_terminate` to remove a contract without",
" leaving a tombstone behind."
]
},
{
"name": "NewContractNotFunded",
"documentation": [
" The newly created contract is below the subsistence threshold after executing",
" its contructor. No contracts are allowed to exist below that threshold."
]
},
{
"name": "TransferFailed",
"documentation": [
" Performing the requested transfer failed for a reason originating in the",
" chosen currency implementation of the runtime. Most probably the balance is",
" too low or locks are placed on it."
]
},
{
"name": "MaxCallDepthReached",
"documentation": [
" Performing a call was denied because the calling depth reached the limit",
" of what is specified in the schedule."
]
},
{
"name": "NotCallable",
"documentation": [
" The contract that was called is either no contract at all (a plain account)",
" or is a tombstone."
]
},
{
"name": "CodeTooLarge",
"documentation": [
" The code supplied to `put_code` exceeds the limit specified in the current schedule."
]
},
{
"name": "CodeNotFound",
"documentation": [
" No code could be found at the supplied code hash."
]
},
{
"name": "OutOfBounds",
"documentation": [
" A buffer outside of sandbox memory was passed to a contract API function."
]
},
{
"name": "DecodingFailed",
"documentation": [
" Input passed to a contract API function failed to decode as expected type."
]
},
{
"name": "ContractTrapped",
"documentation": [
" Contract trapped during execution."
]
}
]
},
@@ -10724,7 +10763,7 @@
"Map": {
"hasher": "Twox64Concat",
"key": "AccountId",
"value": "(Vec<(AccountId,ProxyType)>,BalanceOf)",
"value": "(Vec<ProxyDefinition>,BalanceOf)",
"linked": false
}
},
@@ -10733,6 +10772,22 @@
" The set of account proxies. Maps the account which has delegated to the accounts",
" which are being delegated to, together with the amount held on deposit."
]
},
{
"name": "Announcements",
"modifier": "Default",
"type": {
"Map": {
"hasher": "Twox64Concat",
"key": "AccountId",
"value": "(Vec<Announcement>,BalanceOf)",
"linked": false
}
},
"fallback": "0x0000000000000000000000000000000000",
"documentation": [
" The announcements made by the proxy (key)."
]
}
]
},
@@ -10757,6 +10812,8 @@
" Dispatch the given `call` from an account that the sender is authorised for through",
" `add_proxy`.",
"",
" Removes any corresponding announcement(s).",
"",
" The dispatch origin for this call must be _Signed_.",
"",
" Parameters:",
@@ -10765,10 +10822,7 @@
" - `call`: The call to be made by the `real` account.",
"",
" # <weight>",
" P is the number of proxies the user has",
" - Base weight: 19.87 + .141 * P µs",
" - DB weight: 1 storage read.",
" - Plus the weight of the `call`",
" Weight is a function of the number of proxies the user has (P).",
" # </weight>"
]
},
@@ -10776,12 +10830,16 @@
"name": "add_proxy",
"args": [
{
"name": "proxy",
"name": "delegate",
"type": "AccountId"
},
{
"name": "proxy_type",
"type": "ProxyType"
},
{
"name": "delay",
"type": "BlockNumber"
}
],
"documentation": [
@@ -10794,9 +10852,7 @@
" - `proxy_type`: The permissions allowed for this proxy account.",
"",
" # <weight>",
" P is the number of proxies the user has",
" - Base weight: 17.48 + .176 * P µs",
" - DB weight: 1 storage read and write.",
" Weight is a function of the number of proxies the user has (P).",
" # </weight>"
]
},
@@ -10804,12 +10860,16 @@
"name": "remove_proxy",
"args": [
{
"name": "proxy",
"name": "delegate",
"type": "AccountId"
},
{
"name": "proxy_type",
"type": "ProxyType"
},
{
"name": "delay",
"type": "BlockNumber"
}
],
"documentation": [
@@ -10822,9 +10882,7 @@
" - `proxy_type`: The permissions currently enabled for the removed proxy account.",
"",
" # <weight>",
" P is the number of proxies the user has",
" - Base weight: 14.37 + .164 * P µs",
" - DB weight: 1 storage read and write.",
" Weight is a function of the number of proxies the user has (P).",
" # </weight>"
]
},
@@ -10840,9 +10898,7 @@
" the unreserved fees will be inaccessible. **All access to this account will be lost.**",
"",
" # <weight>",
" P is the number of proxies the user has",
" - Base weight: 13.73 + .129 * P µs",
" - DB weight: 1 storage read and write.",
" Weight is a function of the number of proxies the user has (P).",
" # </weight>"
]
},
@@ -10853,6 +10909,10 @@
"name": "proxy_type",
"type": "ProxyType"
},
{
"name": "delay",
"type": "BlockNumber"
},
{
"name": "index",
"type": "u16"
@@ -10870,6 +10930,8 @@
" - `index`: A disambiguation index, in case this is called multiple times in the same",
" transaction (e.g. with `utility::batch`). Unless you're using `batch` you probably just",
" want to use `0`.",
" - `delay`: The announcement period required of the initial proxy. Will generally be",
" zero.",
"",
" Fails with `Duplicate` if this has already been called in this transaction, from the",
" same sender, with the same parameters.",
@@ -10877,10 +10939,9 @@
" Fails if there are insufficient funds to pay for deposit.",
"",
" # <weight>",
" P is the number of proxies the user has",
" - Base weight: 36.48 + .039 * P µs",
" - DB weight: 1 storage read and write.",
" # </weight>"
" Weight is a function of the number of proxies the user has (P).",
" # </weight>",
" TODO: Might be over counting 1 read"
]
},
{
@@ -10926,9 +10987,145 @@
" account whose `anonymous` call has corresponding parameters.",
"",
" # <weight>",
" P is the number of proxies the user has",
" - Base weight: 15.65 + .137 * P µs",
" - DB weight: 1 storage read and write.",
" Weight is a function of the number of proxies the user has (P).",
" # </weight>"
]
},
{
"name": "announce",
"args": [
{
"name": "real",
"type": "AccountId"
},
{
"name": "call_hash",
"type": "CallHashOf"
}
],
"documentation": [
" Publish the hash of a proxy-call that will be made in the future.",
"",
" This must be called some number of blocks before the corresponding `proxy` is attempted",
" if the delay associated with the proxy relationship is greater than zero.",
"",
" No more than `MaxPending` announcements may be made at any one time.",
"",
" This will take a deposit of `AnnouncementDepositFactor` as well as",
" `AnnouncementDepositBase` if there are no other pending announcements.",
"",
" The dispatch origin for this call must be _Signed_ and a proxy of `real`.",
"",
" Parameters:",
" - `real`: The account that the proxy will make a call on behalf of.",
" - `call_hash`: The hash of the call to be made by the `real` account.",
"",
" # <weight>",
" Weight is a function of:",
" - A: the number of announcements made.",
" - P: the number of proxies the user has.",
" # </weight>"
]
},
{
"name": "remove_announcement",
"args": [
{
"name": "real",
"type": "AccountId"
},
{
"name": "call_hash",
"type": "CallHashOf"
}
],
"documentation": [
" Remove a given announcement.",
"",
" May be called by a proxy account to remove a call they previously announced and return",
" the deposit.",
"",
" The dispatch origin for this call must be _Signed_.",
"",
" Parameters:",
" - `real`: The account that the proxy will make a call on behalf of.",
" - `call_hash`: The hash of the call to be made by the `real` account.",
"",
" # <weight>",
" Weight is a function of:",
" - A: the number of announcements made.",
" - P: the number of proxies the user has.",
" # </weight>"
]
},
{
"name": "reject_announcement",
"args": [
{
"name": "delegate",
"type": "AccountId"
},
{
"name": "call_hash",
"type": "CallHashOf"
}
],
"documentation": [
" Remove the given announcement of a delegate.",
"",
" May be called by a target (proxied) account to remove a call that one of their delegates",
" (`delegate`) has announced they want to execute. The deposit is returned.",
"",
" The dispatch origin for this call must be _Signed_.",
"",
" Parameters:",
" - `delegate`: The account that previously announced the call.",
" - `call_hash`: The hash of the call to be made.",
"",
" # <weight>",
" Weight is a function of:",
" - A: the number of announcements made.",
" - P: the number of proxies the user has.",
" # </weight>"
]
},
{
"name": "proxy_announced",
"args": [
{
"name": "delegate",
"type": "AccountId"
},
{
"name": "real",
"type": "AccountId"
},
{
"name": "force_proxy_type",
"type": "Option<ProxyType>"
},
{
"name": "call",
"type": "Call"
}
],
"documentation": [
" Dispatch the given `call` from an account that the sender is authorised for through",
" `add_proxy`.",
"",
" Removes any corresponding announcement(s).",
"",
" The dispatch origin for this call must be _Signed_.",
"",
" Parameters:",
" - `real`: The account that the proxy will make a call on behalf of.",
" - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.",
" - `call`: The call to be made by the `real` account.",
"",
" # <weight>",
" Weight is a function of:",
" - A: the number of announcements made.",
" - P: the number of proxies the user has.",
" # </weight>"
]
}
@@ -10955,6 +11152,17 @@
" Anonymous account has been created by new proxy with given",
" disambiguation index and proxy type. [anonymous, who, proxy_type, disambiguation_index]"
]
},
{
"name": "Announced",
"args": [
"AccountId",
"AccountId",
"Hash"
],
"documentation": [
" An announcement was placed to make a call in the future. [real, proxy, call_hash]"
]
}
],
"constants": [
@@ -10981,13 +11189,37 @@
"documentation": [
" The maximum amount of proxies allowed for a single account."
]
},
{
"name": "MaxPending",
"type": "u32",
"value": "0x20000000",
"documentation": [
" `MaxPending` metadata shadow."
]
},
{
"name": "AnnouncementDepositBase",
"type": "BalanceOf",
"value": "0x00f09e544c3900000000000000000000",
"documentation": [
" `AnnouncementDepositBase` metadata shadow."
]
},
{
"name": "AnnouncementDepositFactor",
"type": "BalanceOf",
"value": "0x00c054ef286801000000000000000000",
"documentation": [
" `AnnouncementDepositFactor` metadata shadow."
]
}
],
"errors": [
{
"name": "TooMany",
"documentation": [
" There are too many proxies registered."
" There are too many proxies registered or too many announcements pending."
]
},
{
@@ -11019,6 +11251,12 @@
"documentation": [
" Call may not be made by proxy because it may escalate its privileges."
]
},
{
"name": "Unannounced",
"documentation": [
" Announcement, if made at all, was made too recently."
]
}
]
},
File diff suppressed because one or more lines are too long