Technical Solution
The target audience for this page are developers building projects which interact with dApp Staking protocol.
Please make sure to check the existing dApp staking protocol documentation before diving into this document.
Pallet Internals
To avoid duplicating information, please check the code documentation for respective crates/modules. The rustdoc can be found here.
User is encouraged to check out pallet-dapp-staking
, pallet-evm-precompile-dapp-staking
and pallet-inflation
.
Scenarios
The following subchapters are aimed to help users understand the logic behind some internal workings of the pallet. This information is intended to be complimentary to the aforementioned pallet documentation.
The CurrentProtocolState
storage entry is relevant essentially to every functionality, so it won't be repeated in every subchapter.