[CI Skip] 0.46.7

This commit is contained in:
Travis CI
2019-03-07 11:15:46 +00:00
parent 7f8a7f4286
commit 5fbca9ae97
13 changed files with 84 additions and 57 deletions
+30 -10
View File
@@ -15,6 +15,8 @@ _The following sections contain Extrinsics methods are part of the default Subst
- **[democracy](#democracy)**
- **[finalityTracker](#finalityTracker)**
- **[grandpa](#grandpa)**
- **[session](#session)**
@@ -161,6 +163,14 @@ ___
___
### finalityTracker
▸ **finalHint**(hint: `Compact<BlockNumber>`)
- **summary**: Hint that the author of this block thinks the best finalized block is the given number.
___
### grandpa
▸ **reportMisbehavior**(_report: `Bytes`)
@@ -185,13 +195,20 @@ ___
### staking
▸ **bond**(controller: `Address`, value: `Compact<BalanceOf>`, payee: `RewardDestination`)
- **summary**: Take the origin account as a stash and lock up `value` of its balance. `controller` will be the account that controls it.
▸ **bondExtra**(max_additional: `BalanceOf`)
- **summary**: Add some extra amount that have appeared in the stash `free_balance` into the balance up for staking. Use this if there are additional funds in your stash account that you wish to bond. NOTE: This call must be made by the controller, not the stash.
▸ **chill**()
- **summary**: Declare no desire to either validate or nominate. Effects will be felt at the beginning of the next era. NOTE: This call must be made by the controller, not the stash.
▸ **forceNewEra**(apply_rewards: `bool`)
- **summary**: Force there to be a new era. This also forces a new session immediately after. `apply_rewards` should be true for validators to get the session reward.
▸ **nominate**(target: `Address`)
▸ **registerPreferences**(intentions_index: `Compact<u32>`, prefs: `ValidatorPrefs`)
- **summary**: Set the given account's preference for slashing behaviour should they be a validator. An error (no-op) if `Self::intentions()[intentions_index] != origin`.
▸ **nominate**(targets: `Vec<Address>`)
- **summary**: Declare the desire to nominate `targets` for the origin controller. Effects will be felt at the beginning of the next era. NOTE: This call must be made by the controller, not the stash.
▸ **setBondingDuration**(new: `Compact<BlockNumber>`)
- **summary**: The length of the bonding duration in eras.
@@ -202,20 +219,23 @@ ___
▸ **setOfflineSlashGrace**(new: `Compact<u32>`)
- **summary**: Set the offline slash grace period.
▸ **setPayee**(payee: `RewardDestination`)
- **summary**: (Re-)set the payment target for a controller. Effects will be felt at the beginning of the next era. NOTE: This call must be made by the controller, not the stash.
▸ **setSessionsPerEra**(new: `Compact<BlockNumber>`)
- **summary**: Set the number of sessions in an era.
▸ **setValidatorCount**(new: `Compact<u32>`)
- **summary**: The ideal number of validators.
▸ **stake**()
- **summary**: Declare the desire to stake for the transactor. Effects will be felt at the beginning of the next era.
▸ **unbond**(value: `Compact<BalanceOf>`)
- **summary**: Schedule a portion of the stash to be unlocked ready for transfer out after the bond period ends. If this leaves an amount actively bonded less than T::Currency::existential_deposit(), then it is increased to the full amount. Once the unlock period is done, you can call `withdraw_unbonded` to actually move the funds out of management ready for transfer. NOTE: This call must be made by the controller, not the stash. See also `withdraw_unbonded`.
▸ **unnominate**(target_index: `Compact<u32>`)
- **summary**: Will panic if called when source isn't currently nominating target. Updates Nominating, NominatorsFor and NominationBalance.
▸ **validate**(prefs: `ValidatorPrefs`)
- **summary**: Declare the desire to validate for the origin controller. Effects will be felt at the beginning of the next era. NOTE: This call must be made by the controller, not the stash.
▸ **unstake**(intentions_index: `Compact<u32>`)
- **summary**: Retract the desire to stake for the transactor. Effects will be felt at the beginning of the next era.
▸ **withdrawUnbonded**()
- **summary**: Remove any unlocked chunks from the `unlocking` queue from our management. This essentially frees up that balance to be used by the stash account to do whatever it wants. NOTE: This call must be made by the controller, not the stash. See also `unbond`.
___
+27 -20
View File
@@ -50,6 +50,9 @@ ___
▸ **freeBalance**(`AccountId`): `Balance`
- **summary**: The 'free' balance of a given account. This is the only balance that matters in terms of most operations on tokens. It is alone used to determine the balance when in the contract execution environment. When this balance falls below the value of `ExistentialDeposit`, then the 'current account' is deleted: specifically `FreeBalance`. Furthermore, `OnFreeBalanceZero` callback is invoked, giving a chance to external modules to cleanup data associated with the deleted account. `system::AccountNonce` is also deleted if `ReservedBalance` is also zero (it also gets collapsed to zero if it ever becomes less than `ExistentialDeposit`.
▸ **locks**(`AccountId`): `Vec<BalanceLock>`
- **summary**: Any liquidity locks on some account balances.
▸ **reservedBalance**(`AccountId`): `Balance`
- **summary**: The amount of the balance of a given account that is externally reserved; this can still get slashed, but gets slashed last of all. This balance is a 'reserve' balance that other subsystems use in order to set aside tokens that are still 'owned' by the account holder, but which are suspendable. (This is different and wholly unrelated to the `Bondage` system used in the staking module.) When this balance falls below the value of `ExistentialDeposit`, then this 'reserve account' is deleted: specifically, `ReservedBalance`. `system::AccountNonce` is also deleted if `FreeBalance` is also zero (it also gets collapsed to zero if it ever becomes less than `ExistentialDeposit`.
@@ -215,9 +218,6 @@ ___
### democracy
▸ **bondage**(`AccountId`): `BlockNumber`
- **summary**: The block at which the `who`'s funds become liquid.
▸ **depositOf**(`PropIndex`): `Option<(BalanceOf,Vec<AccountId>)>`
- **summary**: Those who have locked a deposit.
@@ -279,6 +279,8 @@ ___
### grandpaFinality
▸ **nextForced**(): `Option<BlockNumber>`
▸ **pendingChange**(): `Option<StoredPendingChange>`
___
@@ -326,8 +328,8 @@ ___
### staking
▸ **bondage**(`AccountId`): `BlockNumber`
- **summary**: The block at which the `who`'s funds become entirely liquid.
▸ **bonded**(`AccountId`): `Option<AccountId>`
- **summary**: Map from all locked "stash" accounts to the controller account.
▸ **bondingDuration**(): `BlockNumber`
- **summary**: The length of the bonding duration in blocks.
@@ -335,8 +337,8 @@ ___
▸ **currentEra**(): `BlockNumber`
- **summary**: The current era index.
▸ **currentNominatorsFor**(`AccountId`): `Vec<AccountId>`
- **summary**: Nominators for a particular account that is in action right now.
▸ **currentEraReward**(): `BalanceOf`
- **summary**: The accumulated reward for the current era. Reset to zero at the beginning of the era and increased for every successfully finished session.
▸ **currentOfflineSlash**(): `BalanceOf`
- **summary**: Slash, per validator that is taken for the first time they are found to be offline.
@@ -347,26 +349,25 @@ ___
▸ **forcingNewEra**(): `Option<Null>`
- **summary**: We are forcing a new era.
▸ **intentions**(): `Vec<AccountId>`
- **summary**: All the accounts with a desire to stake.
▸ **invulerables**(): `Vec<AccountId>`
- **summary**: Any validators that may never be slashed or forcible kicked. It's a Vec since they're easy to initialise and the performance hit is minimal (we expect no more than four invulnerables) and restricted to testnets.
▸ **invulnerables**(): `Vec<AccountId>`
- **summary**: Any validators that may never be slashed or forcibly kicked. It's a Vec since they're easy to initialise and the performance hit is minimal (we expect no more than four invulnerables) and restricted to testnets.
▸ **lastEraLengthChange**(): `BlockNumber`
- **summary**: The session index at which the era length last changed.
▸ **ledger**(`AccountId`): `Option<StakingLedger>`
- **summary**: Map from all (unlocked) "controller" accounts to the info regarding the staking.
▸ **minimumValidatorCount**(): `u32`
- **summary**: Minimum number of staking participants before emergency conditions are imposed.
▸ **nextSessionsPerEra**(): `Option<BlockNumber>`
- **summary**: The next value of sessions per era.
▸ **nominating**(`AccountId`): `Option<AccountId>`
- **summary**: All nominator -> nominee relationships.
▸ **nominatorsFor**(`AccountId`): `Vec<AccountId>`
- **summary**: Nominators for a particular account.
▸ **nominators**(`AccountId`): `Vec<AccountId>`
- **summary**: The set of keys are all controllers that want to nominate. The value are the nominations.
▸ **offlineSlash**(): `Perbill`
- **summary**: Slash, per validator that is taken for the first time they are found to be offline.
@@ -374,6 +375,9 @@ ___
▸ **offlineSlashGrace**(): `u32`
- **summary**: Number of instances of offline reports before slashing begins for validators.
▸ **payee**(`AccountId`): `RewardDestination`
- **summary**: Where the reward payment should be made.
▸ **recentlyOffline**(): `Vec<(AccountId,BlockNumber,u32)>`
- **summary**: Most recent `RECENT_OFFLINE_COUNT` instances. (who it was, when it was reported, how many instances they were offline for).
@@ -386,14 +390,17 @@ ___
▸ **slashCount**(`AccountId`): `u32`
- **summary**: The number of times a given validator has been reported offline. This gets decremented by one each era that passes.
▸ **stakeRange**(): `(BalanceOf,BalanceOf)`
- **summary**: The highest and lowest staked validator slashable balances.
▸ **slotStake**(): `BalanceOf`
- **summary**: The amount of balance actively at stake for each validator slot, currently. This is used to derive rewards and punishments.
▸ **stakers**(`AccountId`): `Exposure`
- **summary**: Nominators for a particular account that is in action right now. You can't iterate through validators here, but you can find them in the `sessions` module.
▸ **validatorCount**(): `u32`
- **summary**: The ideal number of staking participants.
▸ **validatorPreferences**(`AccountId`): `ValidatorPrefs`
- **summary**: Preferences that a validator has.
▸ **validators**(`AccountId`): `ValidatorPrefs`
- **summary**: The set of keys are all controllers that want to validate. The values are the preferences that a validator has.
___
+1 -1
View File
@@ -9,5 +9,5 @@
"packages": [
"packages/*"
],
"version": "0.46.6"
"version": "0.46.7"
}
+1 -1
View File
@@ -1,5 +1,5 @@
{
"version": "0.46.6",
"version": "0.46.7",
"private": true,
"engines": {
"node": ">=10.13.0",
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api-derive",
"version": "0.46.6",
"version": "0.46.7",
"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.3.4",
"@polkadot/api": "^0.46.6",
"@polkadot/types": "^0.46.6",
"@polkadot/api": "^0.46.7",
"@polkadot/types": "^0.46.7",
"@types/memoizee": "^0.4.2",
"memoizee": "^0.4.14"
}
+7 -7
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api",
"version": "0.46.6",
"version": "0.46.7",
"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.3.4",
"@polkadot/api-derive": "^0.46.6",
"@polkadot/extrinsics": "^0.46.6",
"@polkadot/rpc-provider": "^0.46.6",
"@polkadot/rpc-rx": "^0.46.6",
"@polkadot/storage": "^0.46.6",
"@polkadot/types": "^0.46.6",
"@polkadot/api-derive": "^0.46.7",
"@polkadot/extrinsics": "^0.46.7",
"@polkadot/rpc-provider": "^0.46.7",
"@polkadot/rpc-rx": "^0.46.7",
"@polkadot/storage": "^0.46.7",
"@polkadot/types": "^0.46.7",
"@polkadot/util-crypto": "^0.35.6"
}
}
+4 -4
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/rpc-core",
"version": "0.46.6",
"version": "0.46.7",
"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.3.4",
"@polkadot/jsonrpc": "^0.46.6",
"@polkadot/rpc-provider": "^0.46.6",
"@polkadot/types": "^0.46.6",
"@polkadot/jsonrpc": "^0.46.7",
"@polkadot/rpc-provider": "^0.46.7",
"@polkadot/types": "^0.46.7",
"@polkadot/util": "^0.35.6"
}
}
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/rpc-provider",
"version": "0.46.6",
"version": "0.46.7",
"description": "Transport providers for the API",
"main": "index.js",
"keywords": [
@@ -31,7 +31,7 @@
"dependencies": {
"@babel/runtime": "^7.3.4",
"@polkadot/keyring": "^0.35.6",
"@polkadot/storage": "^0.46.6",
"@polkadot/storage": "^0.46.7",
"@polkadot/util": "^0.35.6",
"@polkadot/util-crypto": "^0.35.6",
"@types/nock": "^9.3.1",
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/rpc-rx",
"version": "0.46.6",
"version": "0.46.7",
"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.3.4",
"@polkadot/rpc-core": "^0.46.6",
"@polkadot/rpc-provider": "^0.46.6",
"@polkadot/rpc-core": "^0.46.7",
"@polkadot/rpc-provider": "^0.46.7",
"@types/memoizee": "^0.4.2",
"@types/rx": "^4.1.1",
"memoizee": "^0.4.14",
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/extrinsics",
"version": "0.46.6",
"version": "0.46.7",
"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.3.4",
"@polkadot/types": "^0.46.6",
"@polkadot/types": "^0.46.7",
"@polkadot/util": "^0.35.6"
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/jsonrpc",
"version": "0.46.6",
"version": "0.46.7",
"description": "Method definitions for the Polkadot RPC layer",
"main": "index.js",
"engines": {
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/storage",
"version": "0.46.6",
"version": "0.46.7",
"description": "Generic wrapper wrapper around state storage",
"main": "index.js",
"engines": {
@@ -31,7 +31,7 @@
"dependencies": {
"@babel/runtime": "^7.3.4",
"@polkadot/keyring": "^0.35.6",
"@polkadot/types": "^0.46.6",
"@polkadot/types": "^0.46.7",
"@polkadot/util": "^0.35.6",
"@polkadot/util-crypto": "^0.35.6"
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/types",
"version": "0.46.6",
"version": "0.46.7",
"description": "Implementation of the Parity codec",
"main": "index.js",
"keywords": [