Skip to content

Commit 463d530

Browse files
shawntabrizibkchrgui1117
authored
Fix CI Link Check (#7639)
* fix trigger fingers * more * Update frame/example-offchain-worker/README.md Co-authored-by: Guillaume Thiolliere <[email protected]> Co-authored-by: Bastian Köcher <[email protected]> Co-authored-by: Guillaume Thiolliere <[email protected]>
1 parent 2e70272 commit 463d530

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The Staking module is used to manage funds at stake by network maintainers.
44

5-
- [`staking::Config`](https://docs.rs/pallet-staking/latest/pallet_staking/trait.Config.html)
5+
- [`staking::Trait`](https://docs.rs/pallet-staking/latest/pallet_staking/trait.Trait.html)
66
- [`Call`](https://docs.rs/pallet-staking/latest/pallet_staking/enum.Call.html)
77
- [`Module`](https://docs.rs/pallet-staking/latest/pallet_staking/struct.Module.html)
88

@@ -157,7 +157,7 @@ decl_module! {
157157
### Era payout
158158

159159
The era payout is computed using yearly inflation curve defined at
160-
[`T::RewardCurve`](https://docs.rs/pallet-staking/latest/pallet_staking/trait.Config.html#associatedtype.RewardCurve) as such:
160+
[`T::RewardCurve`](https://docs.rs/pallet-staking/latest/pallet_staking/trait.Trait.html#associatedtype.RewardCurve) as such:
161161

162162
```nocompile
163163
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
168168
remaining_payout = max_yearly_inflation * total_tokens / era_per_year - staker_payout
169169
```
170170
The remaining reward is send to the configurable end-point
171-
[`T::RewardRemainder`](https://docs.rs/pallet-staking/latest/pallet_staking/trait.Config.html#associatedtype.RewardRemainder).
171+
[`T::RewardRemainder`](https://docs.rs/pallet-staking/latest/pallet_staking/trait.Trait.html#associatedtype.RewardRemainder).
172172

173173
### Reward Calculation
174174

@@ -214,7 +214,7 @@ Any funds already placed into stash can be the target of the following operation
214214

215215
The controller account can free a portion (or all) of the funds using the
216216
[`unbond`](https://docs.rs/pallet-staking/latest/pallet_staking/enum.Call.html#variant.unbond) call. Note that the funds are not immediately
217-
accessible. Instead, a duration denoted by [`BondingDuration`](https://docs.rs/pallet-staking/latest/pallet_staking/trait.Config.html#associatedtype.BondingDuration)
217+
accessible. Instead, a duration denoted by [`BondingDuration`](https://docs.rs/pallet-staking/latest/pallet_staking/trait.Trait.html#associatedtype.BondingDuration)
218218
(in number of eras) must pass until the funds can actually be removed. Once the
219219
`BondingDuration` is over, the [`withdraw_unbonded`](https://docs.rs/pallet-staking/latest/pallet_staking/enum.Call.html#variant.withdraw_unbonded)
220220
call can be used to actually withdraw the funds.
@@ -246,4 +246,4 @@ The Staking module depends on the [`GenesisConfig`](https://docs.rs/pallet-staki
246246
- [Session](https://docs.rs/pallet-session/latest/pallet_session/): Used to manage sessions. Also, a list of new
247247
validators is stored in the Session module's `Validators` at the end of each era.
248248

249-
License: Apache-2.0
249+
License: Apache-2.0

0 commit comments

Comments
 (0)