Fix CI Link Check (#7639)

* fix trigger fingers

* more

* Update frame/example-offchain-worker/README.md

Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
This commit is contained in:
Shawn Tabrizi
2020-11-30 14:01:18 -08:00
committed by GitHub
parent 15b0dece54
commit 762b4b25d0
26 changed files with 56 additions and 56 deletions
+2 -2
View File
@@ -11,9 +11,9 @@ with a fixed supply, including:
* Asset Transfer * Asset Transfer
* Asset Destruction * Asset Destruction
To use it in your runtime, you need to implement the assets [`Config`](https://docs.rs/pallet-assets/latest/pallet_assets/trait.Config.html). To use it in your runtime, you need to implement the assets [`assets::Trait`](https://docs.rs/pallet-assets/latest/pallet_assets/trait.Trait.html).
The supported dispatchable functions are documented in the [`Call`](https://docs.rs/pallet-assets/latest/pallet_assets/enum.Call.html) enum. The supported dispatchable functions are documented in the [`assets::Call`](https://docs.rs/pallet-assets/latest/pallet_assets/enum.Call.html) enum.
### Terminology ### Terminology
+1 -1
View File
@@ -2,7 +2,7 @@
A module for atomically sending funds. A module for atomically sending funds.
- [`atomic_swap::Config`](https://docs.rs/pallet-atomic-swap/latest/pallet_atomic_swap/trait.Config.html) - [`atomic_swap::Trait`](https://docs.rs/pallet-atomic-swap/latest/pallet_atomic_swap/trait.Trait.html)
- [`Call`](https://docs.rs/pallet-atomic-swap/latest/pallet_atomic_swap/enum.Call.html) - [`Call`](https://docs.rs/pallet-atomic-swap/latest/pallet_atomic_swap/enum.Call.html)
- [`Module`](https://docs.rs/pallet-atomic-swap/latest/pallet_atomic_swap/struct.Module.html) - [`Module`](https://docs.rs/pallet-atomic-swap/latest/pallet_atomic_swap/struct.Module.html)
+1 -1
View File
@@ -1,6 +1,6 @@
# Aura Module # Aura Module
- [`aura::Config`](https://docs.rs/pallet-aura/latest/pallet_aura/trait.Config.html) - [`aura::Trait`](https://docs.rs/pallet-aura/latest/pallet_aura/trait.Trait.html)
- [`Module`](https://docs.rs/pallet-aura/latest/pallet_aura/struct.Module.html) - [`Module`](https://docs.rs/pallet-aura/latest/pallet_aura/struct.Module.html)
## Overview ## Overview
+1 -1
View File
@@ -2,7 +2,7 @@
The Balances module provides functionality for handling accounts and balances. The Balances module provides functionality for handling accounts and balances.
- [`balances::Config`](https://docs.rs/pallet-balances/latest/pallet_balances/trait.Config.html) - [`balances::Trait`](https://docs.rs/pallet-balances/latest/pallet_balances/trait.Trait.html)
- [`Call`](https://docs.rs/pallet-balances/latest/pallet_balances/enum.Call.html) - [`Call`](https://docs.rs/pallet-balances/latest/pallet_balances/enum.Call.html)
- [`Module`](https://docs.rs/pallet-balances/latest/pallet_balances/struct.Module.html) - [`Module`](https://docs.rs/pallet-balances/latest/pallet_balances/struct.Module.html)
+1 -1
View File
@@ -2,7 +2,7 @@
The Contract module provides functionality for the runtime to deploy and execute WebAssembly smart-contracts. The Contract module provides functionality for the runtime to deploy and execute WebAssembly smart-contracts.
- [`contract::Config`](https://docs.rs/pallet-contracts/latest/pallet_contracts/trait.Config.html) - [`contract::Trait`](https://docs.rs/pallet-contracts/latest/pallet_contracts/trait.Trait.html)
- [`Call`](https://docs.rs/pallet-contracts/latest/pallet_contracts/enum.Call.html) - [`Call`](https://docs.rs/pallet-contracts/latest/pallet_contracts/enum.Call.html)
## Overview ## Overview
+1 -1
View File
@@ -1,6 +1,6 @@
# Democracy Pallet # Democracy Pallet
- [`democracy::Config`](https://docs.rs/pallet-democracy/latest/pallet_democracy/trait.Config.html) - [`democracy::Trait`](https://docs.rs/pallet-democracy/latest/pallet_democracy/trait.Trait.html)
- [`Call`](https://docs.rs/pallet-democracy/latest/pallet_democracy/enum.Call.html) - [`Call`](https://docs.rs/pallet-democracy/latest/pallet_democracy/enum.Call.html)
## Overview ## Overview
+1 -1
View File
@@ -60,7 +60,7 @@ being re-elected at the end of each round.
### Module Information ### Module Information
- [`election_sp_phragmen::Config`](https://docs.rs/pallet-elections-phragmen/latest/pallet_elections_phragmen/trait.Config.html) - [`election_sp_phragmen::Trait`](https://docs.rs/pallet-elections-phragmen/latest/pallet_elections_phragmen/trait.Trait.html)
- [`Call`](https://docs.rs/pallet-elections-phragmen/latest/pallet_elections_phragmen/enum.Call.html) - [`Call`](https://docs.rs/pallet-elections-phragmen/latest/pallet_elections_phragmen/enum.Call.html)
- [`Module`](https://docs.rs/pallet-elections-phragmen/latest/pallet_elections_phragmen/struct.Module.html) - [`Module`](https://docs.rs/pallet-elections-phragmen/latest/pallet_elections_phragmen/struct.Module.html)
@@ -7,7 +7,7 @@ concepts, APIs and structures common to most offchain workers.
Run `cargo doc --package pallet-example-offchain-worker --open` to view this module's Run `cargo doc --package pallet-example-offchain-worker --open` to view this module's
documentation. documentation.
- [`pallet_example_offchain_worker::Config`](./trait.Config.html) - [`pallet_example_offchain_worker::Trait`](./trait.Trait.html)
- [`Call`](./enum.Call.html) - [`Call`](./enum.Call.html)
- [`Module`](./struct.Module.html) - [`Module`](./struct.Module.html)
+1 -1
View File
@@ -46,7 +46,7 @@ Copy and paste this template from frame/example/src/lib.rs into file
// Include the following links that shows what trait needs to be implemented to use the pallet // Include the following links that shows what trait needs to be implemented to use the pallet
// and the supported dispatchables that are documented in the Call enum. // and the supported dispatchables that are documented in the Call enum.
- \[`<INSERT_CUSTOM_PALLET_NAME>::Config`](https://docs.rs/pallet-example/latest/pallet_example/trait.Config.html) - \[`<INSERT_CUSTOM_PALLET_NAME>::Trait`](https://docs.rs/pallet-example/latest/pallet_example/trait.Trait.html)
- \[`Call`](https://docs.rs/pallet-example/latest/pallet_example/enum.Call.html) - \[`Call`](https://docs.rs/pallet-example/latest/pallet_example/enum.Call.html)
- \[`Module`](https://docs.rs/pallet-example/latest/pallet_example/struct.Module.html) - \[`Module`](https://docs.rs/pallet-example/latest/pallet_example/struct.Module.html)
+1 -1
View File
@@ -1,6 +1,6 @@
# Identity Module # Identity Module
- [`identity::Config`](https://docs.rs/pallet-identity/latest/pallet_identity/trait.Config.html) - [`identity::Trait`](https://docs.rs/pallet-identity/latest/pallet_identity/trait.Trait.html)
- [`Call`](https://docs.rs/pallet-identity/latest/pallet_identity/enum.Call.html) - [`Call`](https://docs.rs/pallet-identity/latest/pallet_identity/enum.Call.html)
## Overview ## Overview
+1 -1
View File
@@ -13,7 +13,7 @@ and includes the recent best block number of the local validators chain as well
as the `NetworkState`. as the `NetworkState`.
It is submitted as an Unsigned Transaction via off-chain workers. It is submitted as an Unsigned Transaction via off-chain workers.
- [`im_online::Config`](https://docs.rs/pallet-im-online/latest/pallet_im_online/trait.Config.html) - [`im_online::Trait`](https://docs.rs/pallet-im-online/latest/pallet_im_online/trait.Trait.html)
- [`Call`](https://docs.rs/pallet-im-online/latest/pallet_im_online/enum.Call.html) - [`Call`](https://docs.rs/pallet-im-online/latest/pallet_im_online/enum.Call.html)
- [`Module`](https://docs.rs/pallet-im-online/latest/pallet_im_online/struct.Module.html) - [`Module`](https://docs.rs/pallet-im-online/latest/pallet_im_online/struct.Module.html)
+1 -1
View File
@@ -1,7 +1,7 @@
# Multisig Module # Multisig Module
A module for doing multisig dispatch. A module for doing multisig dispatch.
- [`multisig::Config`](https://docs.rs/pallet-multisig/latest/pallet_multisig/trait.Config.html) - [`multisig::Trait`](https://docs.rs/pallet-multisig/latest/pallet_multisig/trait.Trait.html)
- [`Call`](https://docs.rs/pallet-multisig/latest/pallet_multisig/enum.Call.html) - [`Call`](https://docs.rs/pallet-multisig/latest/pallet_multisig/enum.Call.html)
## Overview ## Overview
+1 -1
View File
@@ -1,6 +1,6 @@
# Nicks Module # Nicks Module
- [`nicks::Config`](https://docs.rs/pallet-nicks/latest/pallet_nicks/trait.Config.html) - [`nicks::Trait`](https://docs.rs/pallet-nicks/latest/pallet_nicks/trait.Trait.html)
- [`Call`](https://docs.rs/pallet-nicks/latest/pallet_nicks/enum.Call.html) - [`Call`](https://docs.rs/pallet-nicks/latest/pallet_nicks/enum.Call.html)
## Overview ## Overview
+1 -1
View File
@@ -6,7 +6,7 @@ The accounts to which permission is delegated may be requied to announce the act
wish to execute some duration prior to execution happens. In this case, the target account may wish to execute some duration prior to execution happens. In this case, the target account may
reject the announcement and in doing so, veto the execution. reject the announcement and in doing so, veto the execution.
- [`proxy::Config`](https://docs.rs/pallet-proxy/latest/pallet_proxy/trait.Config.html) - [`proxy::Trait`](https://docs.rs/pallet-proxy/latest/pallet_proxy/trait.Trait.html)
- [`Call`](https://docs.rs/pallet-proxy/latest/pallet_proxy/enum.Call.html) - [`Call`](https://docs.rs/pallet-proxy/latest/pallet_proxy/enum.Call.html)
## Overview ## Overview
+1 -1
View File
@@ -1,6 +1,6 @@
# Recovery Pallet # Recovery Pallet
- [`recovery::Config`](https://docs.rs/pallet-recovery/latest/pallet_recovery/trait.Config.html) - [`recovery::Trait`](https://docs.rs/pallet-recovery/latest/pallet_recovery/trait.Trait.html)
- [`Call`](https://docs.rs/pallet-recovery/latest/pallet_recovery/enum.Call.html) - [`Call`](https://docs.rs/pallet-recovery/latest/pallet_recovery/enum.Call.html)
## Overview ## Overview
+1 -1
View File
@@ -1,7 +1,7 @@
# Scheduler # Scheduler
A module for scheduling dispatches. A module for scheduling dispatches.
- [`scheduler::Config`](https://docs.rs/pallet-scheduler/latest/pallet_scheduler/trait.Config.html) - [`scheduler::Trait`](https://docs.rs/pallet-scheduler/latest/pallet_scheduler/trait.Trait.html)
- [`Call`](https://docs.rs/pallet-scheduler/latest/pallet_scheduler/enum.Call.html) - [`Call`](https://docs.rs/pallet-scheduler/latest/pallet_scheduler/enum.Call.html)
- [`Module`](https://docs.rs/pallet-scheduler/latest/pallet_scheduler/struct.Module.html) - [`Module`](https://docs.rs/pallet-scheduler/latest/pallet_scheduler/struct.Module.html)
+1 -1
View File
@@ -20,7 +20,7 @@ time. If an entity is currently a member, this results in removal
from the `Pool` and `Members`; the entity is immediately replaced from the `Pool` and `Members`; the entity is immediately replaced
by the next highest scoring candidate in the pool, if available. by the next highest scoring candidate in the pool, if available.
- [`scored_pool::Config`](https://docs.rs/pallet-scored-pool/latest/pallet_scored_pool/trait.Config.html) - [`scored_pool::Trait`](https://docs.rs/pallet-scored-pool/latest/pallet_scored_pool/trait.Trait.html)
- [`Call`](https://docs.rs/pallet-scored-pool/latest/pallet_scored_pool/enum.Call.html) - [`Call`](https://docs.rs/pallet-scored-pool/latest/pallet_scored_pool/enum.Call.html)
- [`Module`](https://docs.rs/pallet-scored-pool/latest/pallet_scored_pool/struct.Module.html) - [`Module`](https://docs.rs/pallet-scored-pool/latest/pallet_scored_pool/struct.Module.html)
+1 -1
View File
@@ -3,7 +3,7 @@
The Session module allows validators to manage their session keys, provides a function for changing The Session module allows validators to manage their session keys, provides a function for changing
the session length, and handles session rotation. the session length, and handles session rotation.
- [`session::Config`](https://docs.rs/pallet-session/latest/pallet_session/trait.Config.html) - [`session::Trait`](https://docs.rs/pallet-session/latest/pallet_session/trait.Trait.html)
- [`Call`](https://docs.rs/pallet-session/latest/pallet_session/enum.Call.html) - [`Call`](https://docs.rs/pallet-session/latest/pallet_session/enum.Call.html)
- [`Module`](https://docs.rs/pallet-session/latest/pallet_session/struct.Module.html) - [`Module`](https://docs.rs/pallet-session/latest/pallet_session/struct.Module.html)
+1 -1
View File
@@ -1,6 +1,6 @@
# Society Module # Society Module
- [`society::Config`](https://docs.rs/pallet-society/latest/pallet_society/trait.Config.html) - [`society::Trait`](https://docs.rs/pallet-society/latest/pallet_society/trait.Trait.html)
- [`Call`](https://docs.rs/pallet-society/latest/pallet_society/enum.Call.html) - [`Call`](https://docs.rs/pallet-society/latest/pallet_society/enum.Call.html)
## Overview ## Overview
+4 -4
View File
@@ -2,7 +2,7 @@
The Staking module is used to manage funds at stake by network maintainers. The Staking module is used to manage funds at stake by network maintainers.
- [`staking::Config`](https://docs.rs/pallet-staking/latest/pallet_staking/trait.Config.html) - [`staking::Trait`](https://docs.rs/pallet-staking/latest/pallet_staking/trait.Trait.html)
- [`Call`](https://docs.rs/pallet-staking/latest/pallet_staking/enum.Call.html) - [`Call`](https://docs.rs/pallet-staking/latest/pallet_staking/enum.Call.html)
- [`Module`](https://docs.rs/pallet-staking/latest/pallet_staking/struct.Module.html) - [`Module`](https://docs.rs/pallet-staking/latest/pallet_staking/struct.Module.html)
@@ -157,7 +157,7 @@ decl_module! {
### Era payout ### Era payout
The era payout is computed using yearly inflation curve defined at The era payout is computed using yearly inflation curve defined at
[`T::RewardCurve`](https://docs.rs/pallet-staking/latest/pallet_staking/trait.Config.html#associatedtype.RewardCurve) as such: [`T::RewardCurve`](https://docs.rs/pallet-staking/latest/pallet_staking/trait.Trait.html#associatedtype.RewardCurve) as such:
```nocompile ```nocompile
staker_payout = yearly_inflation(npos_token_staked / total_tokens) * total_tokens / era_per_year staker_payout = yearly_inflation(npos_token_staked / total_tokens) * total_tokens / era_per_year
@@ -168,7 +168,7 @@ This payout is used to reward stakers as defined in next section
remaining_payout = max_yearly_inflation * total_tokens / era_per_year - staker_payout remaining_payout = max_yearly_inflation * total_tokens / era_per_year - staker_payout
``` ```
The remaining reward is send to the configurable end-point The remaining reward is send to the configurable end-point
[`T::RewardRemainder`](https://docs.rs/pallet-staking/latest/pallet_staking/trait.Config.html#associatedtype.RewardRemainder). [`T::RewardRemainder`](https://docs.rs/pallet-staking/latest/pallet_staking/trait.Trait.html#associatedtype.RewardRemainder).
### Reward Calculation ### Reward Calculation
@@ -214,7 +214,7 @@ Any funds already placed into stash can be the target of the following operation
The controller account can free a portion (or all) of the funds using the The controller account can free a portion (or all) of the funds using the
[`unbond`](https://docs.rs/pallet-staking/latest/pallet_staking/enum.Call.html#variant.unbond) call. Note that the funds are not immediately [`unbond`](https://docs.rs/pallet-staking/latest/pallet_staking/enum.Call.html#variant.unbond) call. Note that the funds are not immediately
accessible. Instead, a duration denoted by [`BondingDuration`](https://docs.rs/pallet-staking/latest/pallet_staking/trait.Config.html#associatedtype.BondingDuration) accessible. Instead, a duration denoted by [`BondingDuration`](https://docs.rs/pallet-staking/latest/pallet_staking/trait.Trait.html#associatedtype.BondingDuration)
(in number of eras) must pass until the funds can actually be removed. Once the (in number of eras) must pass until the funds can actually be removed. Once the
`BondingDuration` is over, the [`withdraw_unbonded`](https://docs.rs/pallet-staking/latest/pallet_staking/enum.Call.html#variant.withdraw_unbonded) `BondingDuration` is over, the [`withdraw_unbonded`](https://docs.rs/pallet-staking/latest/pallet_staking/enum.Call.html#variant.withdraw_unbonded)
call can be used to actually withdraw the funds. call can be used to actually withdraw the funds.
+1 -1
View File
@@ -1,6 +1,6 @@
# Sudo Module # Sudo Module
- [`sudo::Config`](https://docs.rs/pallet-sudo/latest/pallet_sudo/trait.Config.html) - [`sudo::Trait`](https://docs.rs/pallet-sudo/latest/pallet_sudo/trait.Trait.html)
- [`Call`](https://docs.rs/pallet-sudo/latest/pallet_sudo/enum.Call.html) - [`Call`](https://docs.rs/pallet-sudo/latest/pallet_sudo/enum.Call.html)
## Overview ## Overview
+1 -1
View File
@@ -3,7 +3,7 @@
The System module provides low-level access to core types and cross-cutting utilities. The System module provides low-level access to core types and cross-cutting utilities.
It acts as the base layer for other pallets to interact with the Substrate framework components. It acts as the base layer for other pallets to interact with the Substrate framework components.
- [`system::Config`](https://docs.rs/frame-system/latest/frame_system/trait.Config.html) - [`system::Trait`](https://docs.rs/frame-system/latest/frame_system/trait.Trait.html)
## Overview ## Overview
+1 -1
View File
@@ -2,7 +2,7 @@
The Timestamp module provides functionality to get and set the on-chain time. The Timestamp module provides functionality to get and set the on-chain time.
- [`timestamp::Config`](https://docs.rs/pallet-timestamp/latest/pallet_timestamp/trait.Config.html) - [`timestamp::Trait`](https://docs.rs/pallet-timestamp/latest/pallet_timestamp/trait.Trait.html)
- [`Call`](https://docs.rs/pallet-timestamp/latest/pallet_timestamp/enum.Call.html) - [`Call`](https://docs.rs/pallet-timestamp/latest/pallet_timestamp/enum.Call.html)
- [`Module`](https://docs.rs/pallet-timestamp/latest/pallet_timestamp/struct.Module.html) - [`Module`](https://docs.rs/pallet-timestamp/latest/pallet_timestamp/struct.Module.html)
+1 -1
View File
@@ -3,7 +3,7 @@
The Treasury module provides a "pot" of funds that can be managed by stakeholders in the The Treasury module provides a "pot" of funds that can be managed by stakeholders in the
system and a structure for making spending proposals from this pot. system and a structure for making spending proposals from this pot.
- [`treasury::Config`](https://docs.rs/pallet-treasury/latest/pallet_treasury/trait.Config.html) - [`treasury::Trait`](https://docs.rs/pallet-treasury/latest/pallet_treasury/trait.Trait.html)
- [`Call`](https://docs.rs/pallet-treasury/latest/pallet_treasury/enum.Call.html) - [`Call`](https://docs.rs/pallet-treasury/latest/pallet_treasury/enum.Call.html)
## Overview ## Overview
+1 -1
View File
@@ -1,7 +1,7 @@
# Utility Module # Utility Module
A stateless module with helpers for dispatch management which does no re-authentication. A stateless module with helpers for dispatch management which does no re-authentication.
- [`utility::Config`](https://docs.rs/pallet-utility/latest/pallet_utility/trait.Config.html) - [`utility::Trait`](https://docs.rs/pallet-utility/latest/pallet_utility/trait.Trait.html)
- [`Call`](https://docs.rs/pallet-utility/latest/pallet_utility/enum.Call.html) - [`Call`](https://docs.rs/pallet-utility/latest/pallet_utility/enum.Call.html)
## Overview ## Overview
+1 -1
View File
@@ -1,6 +1,6 @@
# Vesting Module # Vesting Module
- [`vesting::Config`](https://docs.rs/pallet-vesting/latest/pallet_vesting/trait.Config.html) - [`vesting::Trait`](https://docs.rs/pallet-vesting/latest/pallet_vesting/trait.Trait.html)
- [`Call`](https://docs.rs/pallet-vesting/latest/pallet_vesting/enum.Call.html) - [`Call`](https://docs.rs/pallet-vesting/latest/pallet_vesting/enum.Call.html)
## Overview ## Overview