@@ -26,7 +26,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.1",
|
||||
"@babel/runtime": "^7.10.2",
|
||||
"@polkadot/api": "1.17.0-beta.7",
|
||||
"@polkadot/rpc-core": "1.17.0-beta.7",
|
||||
"@polkadot/types": "1.17.0-beta.7",
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.1",
|
||||
"@babel/runtime": "^7.10.2",
|
||||
"@polkadot/api": "1.17.0-beta.7",
|
||||
"@polkadot/rpc-core": "1.17.0-beta.7",
|
||||
"@polkadot/rpc-provider": "1.17.0-beta.7",
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.1",
|
||||
"@babel/runtime": "^7.10.2",
|
||||
"@polkadot/api-derive": "1.17.0-beta.7",
|
||||
"@polkadot/keyring": "^2.12.2",
|
||||
"@polkadot/metadata": "1.17.0-beta.7",
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/type-metadata#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.1",
|
||||
"@babel/runtime": "^7.10.2",
|
||||
"@polkadot/types": "1.17.0-beta.7",
|
||||
"@polkadot/types-known": "1.17.0-beta.7",
|
||||
"@polkadot/util": "^2.12.2",
|
||||
|
||||
@@ -565,7 +565,8 @@
|
||||
"documentation": [
|
||||
" Send a batch of dispatch calls.",
|
||||
"",
|
||||
" This will execute until the first one fails and then stop.",
|
||||
" This will execute until the first one fails and then stop. Calls must fulfil the",
|
||||
" `IsCallable` filter unless the origin is `Root`.",
|
||||
"",
|
||||
" May be called from any origin.",
|
||||
"",
|
||||
@@ -599,6 +600,8 @@
|
||||
"documentation": [
|
||||
" Send a call through an indexed pseudonym of the sender.",
|
||||
"",
|
||||
" Calls must each fulfil the `IsCallable` filter.",
|
||||
"",
|
||||
" The dispatch origin for this call must be _Signed_.",
|
||||
"",
|
||||
" # <weight>",
|
||||
@@ -631,7 +634,8 @@
|
||||
" Register approval for a dispatch to be made from a deterministic composite account if",
|
||||
" approved by a total of `threshold - 1` of `other_signatories`.",
|
||||
"",
|
||||
" If there are enough, then dispatch the call.",
|
||||
" If there are enough, then dispatch the call. Calls must each fulfil the `IsCallable`",
|
||||
" filter.",
|
||||
"",
|
||||
" Payment: `MultisigDepositBase` will be reserved if this is the first approval, plus",
|
||||
" `threshold` times `MultisigDepositFactor`. It is returned once this dispatch happens or",
|
||||
@@ -863,6 +867,15 @@
|
||||
" A multisig operation has been cancelled. First param is the account that is",
|
||||
" cancelling, third is the multisig account, fourth is hash of the call."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Uncallable",
|
||||
"args": [
|
||||
"u32"
|
||||
],
|
||||
"documentation": [
|
||||
" A call with a `false` IsCallable filter was attempted."
|
||||
]
|
||||
}
|
||||
],
|
||||
"constants": [],
|
||||
@@ -938,6 +951,12 @@
|
||||
"documentation": [
|
||||
" A timepoint was given, yet no multisig operation is underway."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Uncallable",
|
||||
"documentation": [
|
||||
" A call with a `false` IsCallable filter was attempted."
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -3170,6 +3189,15 @@
|
||||
" A new set of stakers was elected with the given computation method."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "SolutionStored",
|
||||
"args": [
|
||||
"ElectionCompute"
|
||||
],
|
||||
"documentation": [
|
||||
" A new solution for the upcoming election has been stored."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Bonded",
|
||||
"args": [
|
||||
@@ -5393,7 +5421,7 @@
|
||||
"name": "close",
|
||||
"args": [
|
||||
{
|
||||
"name": "proposal",
|
||||
"name": "proposal_hash",
|
||||
"type": "Hash"
|
||||
},
|
||||
{
|
||||
@@ -5438,6 +5466,31 @@
|
||||
" - up to 3 events",
|
||||
" # </weight>"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "disapprove_proposal",
|
||||
"args": [
|
||||
{
|
||||
"name": "proposal_hash",
|
||||
"type": "Hash"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
" Disapprove a proposal, close, and remove it from the system, regardless of its current state.",
|
||||
"",
|
||||
" Must be called by the Root origin.",
|
||||
"",
|
||||
" Parameters:",
|
||||
" * `proposal_hash`: The hash of the proposal that should be disapproved.",
|
||||
"",
|
||||
" # <weight>",
|
||||
" Complexity: O(P) where P is the number of max proposals",
|
||||
" Base Weight: .49 * P",
|
||||
" DB Weight:",
|
||||
" * Reads: Proposals",
|
||||
" * Writes: Voting, Proposals, ProposalOf",
|
||||
" # </weight>"
|
||||
]
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
@@ -5816,7 +5869,7 @@
|
||||
"name": "close",
|
||||
"args": [
|
||||
{
|
||||
"name": "proposal",
|
||||
"name": "proposal_hash",
|
||||
"type": "Hash"
|
||||
},
|
||||
{
|
||||
@@ -5861,6 +5914,31 @@
|
||||
" - up to 3 events",
|
||||
" # </weight>"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "disapprove_proposal",
|
||||
"args": [
|
||||
{
|
||||
"name": "proposal_hash",
|
||||
"type": "Hash"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
" Disapprove a proposal, close, and remove it from the system, regardless of its current state.",
|
||||
"",
|
||||
" Must be called by the Root origin.",
|
||||
"",
|
||||
" Parameters:",
|
||||
" * `proposal_hash`: The hash of the proposal that should be disapproved.",
|
||||
"",
|
||||
" # <weight>",
|
||||
" Complexity: O(P) where P is the number of max proposals",
|
||||
" Base Weight: .49 * P",
|
||||
" DB Weight:",
|
||||
" * Reads: Proposals",
|
||||
" * Writes: Voting, Proposals, ProposalOf",
|
||||
" # </weight>"
|
||||
]
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
@@ -7750,8 +7828,12 @@
|
||||
"type": "u32",
|
||||
"value": "0x08000000",
|
||||
"documentation": [
|
||||
" Size of a contract at the time of instantiation. This is a simple way to ensure that",
|
||||
" empty contracts eventually gets deleted."
|
||||
" A size offset for an contract. A just created account with untouched storage will have that",
|
||||
" much of storage from the perspective of the state rent.",
|
||||
"",
|
||||
" This is a simple way to ensure that contracts with empty storage eventually get deleted",
|
||||
" by making them pay rent. This creates an incentive to remove them early in order to save",
|
||||
" rent."
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -26,7 +26,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.1",
|
||||
"@babel/runtime": "^7.10.2",
|
||||
"@polkadot/metadata": "1.17.0-beta.7",
|
||||
"@polkadot/rpc-provider": "1.17.0-beta.7",
|
||||
"@polkadot/types": "1.17.0-beta.7",
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.1",
|
||||
"@babel/runtime": "^7.10.2",
|
||||
"@polkadot/metadata": "1.17.0-beta.7",
|
||||
"@polkadot/types": "1.17.0-beta.7",
|
||||
"@polkadot/util": "^2.12.2",
|
||||
|
||||
@@ -33,9 +33,9 @@
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/typegen#readme",
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.10.1",
|
||||
"@babel/core": "^7.10.2",
|
||||
"@babel/register": "^7.10.1",
|
||||
"@babel/runtime": "^7.10.1",
|
||||
"@babel/runtime": "^7.10.2",
|
||||
"@polkadot/api": "1.17.0-beta.7",
|
||||
"@polkadot/metadata": "1.17.0-beta.7",
|
||||
"@polkadot/rpc-provider": "1.17.0-beta.7",
|
||||
|
||||
@@ -18,6 +18,7 @@ function generate (metaHex: string, pkg: string | undefined, output: string, isS
|
||||
console.log(`Generating from metadata, ${formatNumber((metaHex.length - 2) / 2)} bytes`);
|
||||
|
||||
const extraTypes = pkg
|
||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||
? { [pkg]: require(path.join(process.cwd(), output, 'definitions')) as Record<string, any> }
|
||||
: {};
|
||||
|
||||
@@ -97,7 +98,7 @@ export default function main (): void {
|
||||
process.exit(1);
|
||||
});
|
||||
} else {
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
||||
// eslint-disable-next-line @typescript-eslint/no-var-requires,@typescript-eslint/no-unsafe-member-access
|
||||
generate(require(path.join(process.cwd(), endpoint)).result, pkg, output, isStrict);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types-known#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.1",
|
||||
"@babel/runtime": "^7.10.2",
|
||||
"@polkadot/types": "1.17.0-beta.7",
|
||||
"@polkadot/util": "^2.12.2",
|
||||
"bn.js": "^5.1.2"
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.10.1",
|
||||
"@babel/runtime": "^7.10.2",
|
||||
"@polkadot/metadata": "1.17.0-beta.7",
|
||||
"@polkadot/util": "^2.12.2",
|
||||
"@polkadot/util-crypto": "^2.12.2",
|
||||
|
||||
Reference in New Issue
Block a user