A user can query the x/incentives module using the CLI, JSON-RPC, gRPC or REST.
Find below a list of mnovad commands added with the x/incentives module. You can obtain the full list by using the mnovad -h command.
The query commands allow users to query incentives state.
incentives
Allows users to query all registered incentives.
mnovad query incentives incentives [flags]
incentive
Allows users to query an incentive for a given contract.
mnovad query incentives incentive [contract-address] [flags]
gas-meters
Allows users to query all gas meters for a given incentive.
mnovad query incentives gas-meters [contract-address] [flags]
gas-meter
Allows users to query a gas meter for a given incentive and user.
mnovad query incentives gas-meter [contract-address] [participant-address] [flags]
params
Allows users to query incentives params.
The tx gov submit-proposal commands allow users to query create a proposal using the governance module CLI:
register-incentive
Allows users to submit a RegisterIncentiveProposal.
cancel-incentive
Allows users to submit a CanelIncentiveProposal.
param-change
Allows users to submit a `ParameterChangeProposal``.
mnova.incentives.v1.Query/Incentives
Gets all registered incentives
mnova.incentives.v1.Query/Incentive
Gets incentive for a given contract
mnova.incentives.v1.Query/GasMeters
Gets gas meters for a given incentive
mnova.incentives.v1.Query/GasMeter
Gets gas meter for a given incentive and user
mnova.incentives.v1.Query/AllocationMeters
Gets all allocation meters
mnova.incentives.v1.Query/AllocationMeter
Gets allocation meter for a denom
mnova.incentives.v1.Query/Params
/mnova/incentives/v1/incentives
Gets all registered incentives
/mnova/incentives/v1/incentives/{contract}
Gets incentive for a given contract
/mnova/incentives/v1/gas_meters
Gets gas meters for a given incentive
/mnova/incentives/v1/gas_meters/{contract}/{participant}
Gets gas meter for a given incentive and user
/mnova/incentives/v1/allocation_meters
Gets all allocation meters
/mnova/incentives/v1/allocation_meters/{denom}
Gets allocation meter for a denom
/mnova/incentives/v1/params