mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 08:51:09 +00:00
Compute yearly inflation on-chain allowing to change x_ideal according to number of slots. (#8332)
* new crate * Update frame/staking/reward-fn/src/lib.rs Co-authored-by: Gavin Wood <gavin@parity.io> * fix doc Co-authored-by: Gavin Wood <gavin@parity.io>
This commit is contained in:
committed by
GitHub
parent
c727799531
commit
28fa5c2b6c
@@ -0,0 +1,25 @@
|
||||
[package]
|
||||
name = "pallet-staking-reward-fn"
|
||||
version = "3.0.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
edition = "2018"
|
||||
license = "Apache-2.0"
|
||||
homepage = "https://substrate.dev"
|
||||
repository = "https://github.com/paritytech/substrate/"
|
||||
description = "Reward function for FRAME staking pallet"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
[lib]
|
||||
|
||||
[dependencies]
|
||||
sp-arithmetic = { version = "3.0.0", default-features = false, path = "../../../primitives/arithmetic" }
|
||||
log = { version = "0.4.14", default-features = false }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"sp-arithmetic/std",
|
||||
"log/std",
|
||||
]
|
||||
Reference in New Issue
Block a user