Docs.rs
noble-staking-reward-curve-2.0.0
noble-staking-reward-curve 2.0.0
Permalink
Docs.rs crate page
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
marlonhanks
Dependencies
proc-macro-crate ^0.1.4
normal
proc-macro2 ^1.0.6
normal
quote ^1.0.3
normal
syn ^1.0.58
normal
tp-runtime ^2.0.2
dev
Versions
100%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
noble_
staking_
reward_
curve
2.0.0
All Items
Crate Items
Macros
Crate
noble_staking_reward_curve
Copy item path
Source
Expand description
Proc macro to generate the reward curve functions and tests.
Macros
ยง
build
Accepts a number of expressions to create a instance of PiecewiseLinear which represents the NPoS curve (as detailed
here
) for those parameters. Parameters are: