[CI Skip] 0.51.0-beta.0
This commit is contained in:
@@ -13,8 +13,6 @@ Events are emitted for certain operations on the runtime. The following sections
|
||||
|
||||
- **[democracy](#democracy)**
|
||||
|
||||
- **[fees](#fees)**
|
||||
|
||||
- **[grandpa](#grandpa)**
|
||||
|
||||
- **[indices](#indices)**
|
||||
@@ -119,6 +117,8 @@ ___
|
||||
|
||||
▸ **Cancelled**(`ReferendumIndex`)
|
||||
|
||||
▸ **Delegated**(`AccountId`, `AccountId`)
|
||||
|
||||
▸ **Executed**(`ReferendumIndex`, `bool`)
|
||||
|
||||
▸ **NotPassed**(`ReferendumIndex`)
|
||||
@@ -131,13 +131,7 @@ ___
|
||||
|
||||
▸ **Tabled**(`PropIndex`, `Balance`, `Vec<AccountId>`)
|
||||
|
||||
___
|
||||
|
||||
|
||||
### fees
|
||||
|
||||
▸ **Charged**(`u32`, `Amount`)
|
||||
- **summary**: Fee charged (extrinsic_index, fee_amount)
|
||||
▸ **Undelegated**(`AccountId`)
|
||||
|
||||
___
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@ ___
|
||||
- **summary**: Make a call to a specified account, optionally transferring some balance.
|
||||
|
||||
▸ **create**(endowment: `Compact<Balance>`, gas_limit: `Compact<Gas>`, code_hash: `CodeHash`, data: `Bytes`)
|
||||
- **summary**: Create a new contract, optionally transfering some balance to the created account. Creation is executed as follows: - the destination address is computed based on the sender and hash of the code. - account is created at the computed address. - the `ctor_code` is executed in the context of the newly created account. Buffer returned after the execution is saved as the `code` of the account. That code will be invoked upon any message received by this account.
|
||||
- **summary**: Create a new contract, optionally transferring some balance to the created account. Creation is executed as follows: - the destination address is computed based on the sender and hash of the code. - account is created at the computed address. - the `ctor_code` is executed in the context of the newly created account. Buffer returned after the execution is saved as the `code` of the account. That code will be invoked upon any message received by this account.
|
||||
|
||||
▸ **putCode**(gas_limit: `Compact<Gas>`, code: `Bytes`)
|
||||
- **summary**: Stores code in the storage. You can instantiate contracts only with stored code.
|
||||
@@ -148,6 +148,9 @@ ___
|
||||
▸ **cancelReferendum**(ref_index: `Compact<ReferendumIndex>`)
|
||||
- **summary**: Remove a referendum.
|
||||
|
||||
▸ **delegate**(to: `AccountId`, lock_periods: `LockPeriods`)
|
||||
- **summary**: Delegate vote.
|
||||
|
||||
▸ **propose**(proposal: `Proposal`, value: `Compact<BalanceOf>`)
|
||||
- **summary**: Propose a sensitive action to be taken.
|
||||
|
||||
@@ -157,6 +160,9 @@ ___
|
||||
▸ **startReferendum**(proposal: `Proposal`, threshold: `VoteThreshold`, delay: `BlockNumber`)
|
||||
- **summary**: Start a referendum.
|
||||
|
||||
▸ **undelegate**()
|
||||
- **summary**: Undelegate vote.
|
||||
|
||||
▸ **vote**(ref_index: `Compact<ReferendumIndex>`, vote: `Vote`)
|
||||
- **summary**: Vote in a referendum. If `vote.is_aye()`, the vote is to enact the proposal; otherwise it is a vote to keep the status quo.
|
||||
|
||||
|
||||
+9
-16
@@ -15,8 +15,6 @@ _The following sections contain Storage methods are part of the default Substrat
|
||||
|
||||
- **[democracy](#democracy)**
|
||||
|
||||
- **[fees](#fees)**
|
||||
|
||||
- **[grandpaFinality](#grandpaFinality)**
|
||||
|
||||
- **[indices](#indices)**
|
||||
@@ -59,6 +57,12 @@ ___
|
||||
▸ **totalIssuance**(): `Balance`
|
||||
- **summary**: The total amount of stake on the system.
|
||||
|
||||
▸ **transactionBaseFee**(): `Balance`
|
||||
- **summary**: The fee to be paid for making a transaction; the base.
|
||||
|
||||
▸ **transactionByteFee**(): `Balance`
|
||||
- **summary**: The fee to be paid for making a transaction; the per-byte portion.
|
||||
|
||||
▸ **transferFee**(): `Balance`
|
||||
- **summary**: The fee required to make a transfer.
|
||||
|
||||
@@ -218,6 +222,9 @@ ___
|
||||
|
||||
### democracy
|
||||
|
||||
▸ **delegations**(`AccountId`): `(AccountId,LockPeriods)`
|
||||
- **summary**: Get the account (and lock periods) to which another account is delegating vote.
|
||||
|
||||
▸ **depositOf**(`PropIndex`): `Option<(BalanceOf,Vec<AccountId>)>`
|
||||
- **summary**: Those who have locked a deposit.
|
||||
|
||||
@@ -263,20 +270,6 @@ ___
|
||||
___
|
||||
|
||||
|
||||
### fees
|
||||
|
||||
▸ **currentTransactionFee**(`u32`): `AssetOf`
|
||||
- **summary**: The `extrinsic_index => accumulated_fees` map, containing records to track the overall charged fees for each transaction. All records should be removed at finalise stage.
|
||||
|
||||
▸ **transactionBaseFee**(): `AssetOf`
|
||||
- **summary**: The fee to be paid for making a transaction; the base.
|
||||
|
||||
▸ **transactionByteFee**(): `AssetOf`
|
||||
- **summary**: The fee to be paid for making a transaction; the per-byte portion.
|
||||
|
||||
___
|
||||
|
||||
|
||||
### grandpaFinality
|
||||
|
||||
▸ **nextForced**(): `Option<BlockNumber>`
|
||||
|
||||
+1
-1
@@ -9,5 +9,5 @@
|
||||
"packages": [
|
||||
"packages/*"
|
||||
],
|
||||
"version": "0.50.1"
|
||||
"version": "0.51.0-beta.0"
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "0.50.1",
|
||||
"version": "0.51.0-beta.0",
|
||||
"private": true,
|
||||
"engines": {
|
||||
"node": ">=10.13.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/api-derive",
|
||||
"version": "0.50.1",
|
||||
"version": "0.51.0-beta.0",
|
||||
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
|
||||
"main": "index.js",
|
||||
"keywords": [
|
||||
@@ -31,8 +31,8 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.4.0",
|
||||
"@polkadot/api": "^0.50.1",
|
||||
"@polkadot/types": "^0.50.1",
|
||||
"@polkadot/api": "^0.51.0-beta.0",
|
||||
"@polkadot/types": "^0.51.0-beta.0",
|
||||
"@types/memoizee": "^0.4.2",
|
||||
"memoizee": "^0.4.14"
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/api",
|
||||
"version": "0.50.1",
|
||||
"version": "0.51.0-beta.0",
|
||||
"description": "Promise and RxJS wrappers around the Polkadot JS RPC",
|
||||
"main": "index.js",
|
||||
"keywords": [
|
||||
@@ -30,12 +30,12 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.4.0",
|
||||
"@polkadot/api-derive": "^0.50.1",
|
||||
"@polkadot/extrinsics": "^0.50.1",
|
||||
"@polkadot/rpc-provider": "^0.50.1",
|
||||
"@polkadot/rpc-rx": "^0.50.1",
|
||||
"@polkadot/storage": "^0.50.1",
|
||||
"@polkadot/types": "^0.50.1",
|
||||
"@polkadot/api-derive": "^0.51.0-beta.0",
|
||||
"@polkadot/extrinsics": "^0.51.0-beta.0",
|
||||
"@polkadot/rpc-provider": "^0.51.0-beta.0",
|
||||
"@polkadot/rpc-rx": "^0.51.0-beta.0",
|
||||
"@polkadot/storage": "^0.51.0-beta.0",
|
||||
"@polkadot/types": "^0.51.0-beta.0",
|
||||
"@polkadot/util-crypto": "^0.40.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/rpc-core",
|
||||
"version": "0.50.1",
|
||||
"version": "0.51.0-beta.0",
|
||||
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
|
||||
"main": "index.js",
|
||||
"keywords": [
|
||||
@@ -30,9 +30,9 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.4.0",
|
||||
"@polkadot/jsonrpc": "^0.50.1",
|
||||
"@polkadot/rpc-provider": "^0.50.1",
|
||||
"@polkadot/types": "^0.50.1",
|
||||
"@polkadot/jsonrpc": "^0.51.0-beta.0",
|
||||
"@polkadot/rpc-provider": "^0.51.0-beta.0",
|
||||
"@polkadot/types": "^0.51.0-beta.0",
|
||||
"@polkadot/util": "^0.40.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/rpc-provider",
|
||||
"version": "0.50.1",
|
||||
"version": "0.51.0-beta.0",
|
||||
"description": "Transport providers for the API",
|
||||
"main": "index.js",
|
||||
"keywords": [
|
||||
@@ -31,7 +31,7 @@
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.4.0",
|
||||
"@polkadot/keyring": "^0.40.1",
|
||||
"@polkadot/storage": "^0.50.1",
|
||||
"@polkadot/storage": "^0.51.0-beta.0",
|
||||
"@polkadot/util": "^0.40.1",
|
||||
"@polkadot/util-crypto": "^0.40.1",
|
||||
"@types/nock": "^9.3.1",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/rpc-rx",
|
||||
"version": "0.50.1",
|
||||
"version": "0.51.0-beta.0",
|
||||
"description": "An RxJs wrapper around the Polkadot JS API",
|
||||
"main": "index.js",
|
||||
"keywords": [
|
||||
@@ -30,8 +30,8 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-rx#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.4.0",
|
||||
"@polkadot/rpc-core": "^0.50.1",
|
||||
"@polkadot/rpc-provider": "^0.50.1",
|
||||
"@polkadot/rpc-core": "^0.51.0-beta.0",
|
||||
"@polkadot/rpc-provider": "^0.51.0-beta.0",
|
||||
"@types/memoizee": "^0.4.2",
|
||||
"@types/rx": "^4.1.1",
|
||||
"memoizee": "^0.4.14",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/extrinsics",
|
||||
"version": "0.50.1",
|
||||
"version": "0.51.0-beta.0",
|
||||
"main": "index.js",
|
||||
"repository": "https://github.com/polkadot-js/api.git",
|
||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||
@@ -11,7 +11,7 @@
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.4.0",
|
||||
"@polkadot/types": "^0.50.1",
|
||||
"@polkadot/types": "^0.51.0-beta.0",
|
||||
"@polkadot/util": "^0.40.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/jsonrpc",
|
||||
"version": "0.50.1",
|
||||
"version": "0.51.0-beta.0",
|
||||
"description": "Method definitions for the Polkadot RPC layer",
|
||||
"main": "index.js",
|
||||
"engines": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/storage",
|
||||
"version": "0.50.1",
|
||||
"version": "0.51.0-beta.0",
|
||||
"description": "Generic wrapper wrapper around state storage",
|
||||
"main": "index.js",
|
||||
"engines": {
|
||||
@@ -31,7 +31,7 @@
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.4.0",
|
||||
"@polkadot/keyring": "^0.40.1",
|
||||
"@polkadot/types": "^0.50.1",
|
||||
"@polkadot/types": "^0.51.0-beta.0",
|
||||
"@polkadot/util": "^0.40.1",
|
||||
"@polkadot/util-crypto": "^0.40.1"
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/types",
|
||||
"version": "0.50.1",
|
||||
"version": "0.51.0-beta.0",
|
||||
"description": "Implementation of the Parity codec",
|
||||
"main": "index.js",
|
||||
"keywords": [
|
||||
|
||||
Reference in New Issue
Block a user