Transactions
This section defines the sdk.Msg
concrete types that result in the state transitions defined on the previous section.
RegisterIncentiveProposal
RegisterIncentiveProposal
A gov Content
type to register an Incentive for a given contract for the duration of a certain number of epochs. Governance users vote on this proposal and it automatically executes the custom handler for RegisterIncentiveProposal
when the vote passes.
The proposal content stateless validation fails if:
Title is invalid (length or char)
Description is invalid (length or char)
Contract address is invalid
Allocations are invalid
no allocation included in Allocations
invalid amount of at least one allocation (below 0 or above 1)
Epochs are invalid (zero)
CancelIncentiveProposal
CancelIncentiveProposal
A gov Content
type to remove an Incentive. Governance users vote on this proposal and it automatically executes the custom handler for CancelIncentiveProposal
when the vote passes.
The proposal content stateless validation fails if:
Title is invalid (length or char)
Description is invalid (length or char)
Contract address is invalid
Last updated