MetaNova Verse Documentation
  • MetaNova Verse Introduction
    • Metanovaverse
    • Tokens
    • Transactions
    • Inflation
    • Keys
      • Keyring
      • Multisig
    • Gas Fees
    • Wallet and Accounts
      • Adding Metanovaverse to Metamask
      • Adding Metanovaverse to Keplr
      • Transfers Between Wallets
      • Backup
    • Deploying Smart Contracts
      • Remix
      • Hardhat
  • Metanovaverse Summary
  • The MNV Token
  • Governance
    • Proposals
      • Proposal Tips
      • Submit a Proposal
    • Community Pool
    • Chain Parameters
  • Technical Concepts
    • Architecture
    • Accounts
    • Chain ID
    • Encoding
    • Pending State
  • dApp Developers
    • Establishing Connections
    • Metanovaverse Clients
    • Guides
      • Wallet Integration
      • Smart Contract Incentive Registration
      • Tracing Transactions
      • Query Balances
    • Testnet
      • Testnet Commands
    • Ethereum JSON-RPC
      • JSON-RPC Server
      • Running the Server
      • Namespaces
      • JSON-RPC Methods
      • Events
  • Protocol Developers
    • Modules
      • auth
        • Concepts
        • State
        • AnteHandlers
        • Keepers
        • Vesting
        • Parameters
        • Client Auth
      • bank
        • State
        • Keepers
        • Messages
        • Events
        • Parameters
        • Client
      • crisis
        • State
        • Messages
        • Events
        • Parameters
        • Client
      • distribution
        • Concepts
        • State
        • Begin Block
        • Messages
        • Hooks
        • Events
        • Parameters
        • Client
      • epochs
        • Concepts
        • State
        • Events
        • Keepers
        • Hooks
        • Queries
        • Future Improvements
      • erc20
        • Concepts
        • State
        • State Transitions
        • Transactions
        • Hooks
        • Events
        • Parameters
        • Clients
      • evidence
        • Concepts
        • State
        • Messages
        • Events
        • Parameters
        • BeginBlock
        • Client
      • evm
        • Concepts
        • State
        • State Transitions
        • Transactions
        • ABCI
        • Hooks
        • Events
        • Parameters
        • Client
      • feemarket
        • Concepts
        • State
        • Begin block
        • End block
        • AnteHandlers
        • Keeper
        • Events
        • Client
        • Future Improvements
        • Parameters
      • feesplit
        • Concepts
        • State
        • State Transitions
        • Transactions
        • Hooks
        • Events
        • Parameters
        • Clients
        • Future Improvements
      • gov
        • Concepts
        • State
        • Messages
        • Events
        • Future Improvements
        • Parameters
        • Client
      • incentives
        • Concepts
        • State
        • State Transitions
        • Transactions
        • Hooks
        • Events
        • Parameters
        • Clients
      • ibc-core
      • inflation
        • Concepts
        • State
        • Hooks
        • Events
        • Parameters
        • Clients
      • slashing
        • Concepts
        • State
        • Messages
        • BeginBlock
        • Hooks
        • Events
        • Staking Tombstone
        • Parameters
        • CLI
      • staking
        • State
        • State Transitions
        • Messages
        • Begin-Block
        • End-Block
        • Hooks
        • Events
        • Parameters
        • Client
      • upgrade
        • Concepts
        • State
        • Events
        • Client
        • Resources
      • vesting
        • Concepts
        • State
        • State Transitions
        • Transactions
        • AnteHandlers
        • Events
        • Clients
  • Validators
    • Quick Start
    • Telemetry
    • Security
      • Tendermint KMS
      • Tendermint KMS + Ledger
      • Validator Security Checklist
      • Validator Backup
    • Snapshots, Archive Nodes
    • FAQ
  • Delegators
    • Staking Process
  • Tokenomics
  • Block Explorers
Powered by GitBook
On this page
  • CLI
  • gRPC
  1. Protocol Developers
  2. Modules
  3. incentives

Clients

A user can query the x/incentives module using the CLI, JSON-RPC, gRPC or REST.

CLI

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.

Queries

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.

mnovad query incentives params [flags]

Proposals

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.

mnovad tx gov submit-proposal register-incentive [contract-address] [allocation] [epochs] [flags]

cancel-incentive

Allows users to submit a CanelIncentiveProposal.

mnovad tx gov submit-proposal cancel-incentive [contract-address] [flags]

param-change

Allows users to submit a `ParameterChangeProposal``.

mnovad tx gov submit-proposal param-change [proposal-file] [flags]

gRPC

Queries

Verb
Method
Description

gRPC

mnova.incentives.v1.Query/Incentives

Gets all registered incentives

gRPC

mnova.incentives.v1.Query/Incentive

Gets incentive for a given contract

gRPC

mnova.incentives.v1.Query/GasMeters

Gets gas meters for a given incentive

gRPC

mnova.incentives.v1.Query/GasMeter

Gets gas meter for a given incentive and user

gRPC

mnova.incentives.v1.Query/AllocationMeters

Gets all allocation meters

gRPC

mnova.incentives.v1.Query/AllocationMeter

Gets allocation meter for a denom

gRPC

mnova.incentives.v1.Query/Params

Gets incentives params

GET

/mnova/incentives/v1/incentives

Gets all registered incentives

GET

/mnova/incentives/v1/incentives/{contract}

Gets incentive for a given contract

GET

/mnova/incentives/v1/gas_meters

Gets gas meters for a given incentive

GET

/mnova/incentives/v1/gas_meters/{contract}/{participant}

Gets gas meter for a given incentive and user

GET

/mnova/incentives/v1/allocation_meters

Gets all allocation meters

GET

/mnova/incentives/v1/allocation_meters/{denom}

Gets allocation meter for a denom

GET

/mnova/incentives/v1/params

Gets incentives params

PreviousParametersNextibc-core

Last updated 5 months ago