incentives
The incentives
module facilitates the incentivisation of staking on Mars Hub. Incentivisation is defined via linear unlocking schedules. Tokens associated with a schedule are sourced from the community pool and therefore incentives can only be launched after a successful governance action. It should be noted that a schedule can consist of multiple tokens, not only MARS.
Links
- Module address:
- Testnet address:
- Module repo: https://github.com/mars-protocol/hub/tree/main/x/incentives
- Proto repo: https://github.com/mars-protocol/hub/tree/main/proto/mars/incentives/v1beta1
- proposals.proto: https://github.com/mars-protocol/hub/blob/main/proto/mars/incentives/v1beta1/proposals.proto
- query.proto: https://github.com/mars-protocol/hub/blob/main/proto/mars/incentives/v1beta1/query.proto
- Video walkthrough: https://www.youtube.com/watch?v=XIdH3kGqtLw
- Article breakdown: https://blog.marsprotocol.io/blog/mars-protocol-code-review-breakdown-session-5-staking-incentives-module
- Audit:
Proposal Types
CreateIncentivesScheduleProposal
CreateIncentivesScheduleProposal
defines a governance proposal for starting a new incentives schedule.
TerminateIncentivesSchedulesProposal
TerminateIncentivesSchedulesProposal
defines a governance proposal for pre-mature ending of one or more incentives schedules.
Queries
Query
defines the gRPC querier service for the incentives module.
QueryScheduleRequest
QueryScheduleRequest
is the request type for the Query/Schedule
RPC method.
QueryScheduleResponse
QueryScheduleResponse
is the response type for the Query/Schedule
RPC method.
QuerySchedulesRequest
QuerySchedulesRequest
is the request type for the Query/Schedules
RPC method.
QuerySchedulesResponse
QuerySchedulesResponse
is the response type for the Query/Schedules
RPC method.