Expand description

An implementation of ElectionProvider that uses an NposSolver to do the election. As the name suggests, this is meant to be used onchain. Given how heavy the calculations are, please be careful when using it onchain.


  • A simple on-chain implementation of the election provider trait.


  • Errors of the on-chain election.


  • Configuration trait for an onchain election execution.

Type Definitions