Crate sov_prover_incentives
source ·Expand description
Prover Incentives
This module is a placeholder for the logic incentivizing provers
This module implements the logic for processing proof transactions. Such logic is necessary if you want to reward provers or do anything else that’s “aware” of proof generation inside you state transition function.
Currently, this module allows provers to register and de-register, and allows the on-chain validation of proofs from registered provers. If proof validation fails, the offending prover is slashed.
This module does not reward provers - incentives for provers will depend on gas metering, which has yet to be implemented.
Structs
- A new module:
- Configuration of the prover incentives module. Specifies the address of the bonding token, the minimum bond, the commitment to the allowed verifier method and a set of initial provers with their bonding amount.
Enums
- The call methods specified in this module This enumeration represents the available call messages for interacting with the
ExampleModule
module.