Get desktop application:
View/edit binary Protocol Buffers messages
Msg defines the staking Msg service.
CreateValidator defines a method for creating a new validator.
MsgCreateValidator defines a PoE message for creating a new validator. Based on the SDK staking.MsgCreateValidator
Description meta data
OperatorAddress is the bech32 address string
Pubkey public key
Amount defines the initial staking amount from a liquid balance
VestingAmount defines the initial staking amount from a vesting account balance
MsgCreateValidatorResponse defines the MsgCreateValidator response type.
(message has no fields)
Delegate defines a method for performing a self delegation of coins by a node operator
MsgDelegate defines a SDK message for performing a self delegation of coins by a node operator
MsgDelegateResponse defines the Msg/Delegate response type.
(message has no fields)
Undelegate defines a method for performing an undelegation from a node operator
MsgUndelegate defines a SDK message for performing an undelegation from a node operator
MsgUndelegateResponse defines the Msg/Undelegate response type.
MsgCreateValidator defines a method for updating validator metadata
MsgCreateValidator defines a PoE message for updating validator metadata
New Description meta data
OperatorAddress is the bech32 address string Also know as "signer" in other messages
MsgUpdateValidatorResponse defines the MsgUpdateValidator response type.
(message has no fields)
Query defines the gRPC querier service.
ContractAddress queries the address for one of the PoE contracts
QueryContractAddressRequest is the request type for the Query/ContractAddress RPC method.
ContractType is the type of contract
QueryContractAddressRequest is the response type for the Query/ContractAddress RPC method.
HistoricalInfo queries the historical info for given height.
Validator queries validator info for given validator address.
QueryUnbondingPeriodRequest is request type for the Query/UnbondingPeriod RPC method
(message has no fields)
QueryUnbondingPeriodResponse is response type for the Query/UnbondingPeriod RPC method
Time is the time that must pass
Validator queries validator info for given validator address.
ValidatorDelegation queries self delegated amount for given validator.
QueryValidatorDelegationRequest is request type for the Query/ValidatorDelegation RPC method
validator_addr defines the validator address to query for.
QueryValidatorDelegationResponse is response type for the Query/ValidatorDelegation RPC method
ValidatorEngagementReward queries rewards of a validator address.
QueryValidatorEngagementRewardRequest is the request type for the Query/ValidatorEngagementReward RPC method.
validator_address defines the validator address to query for.
QueryValidatorEngagementRewardResponse is the response type for the Query/ValidatorEngagementReward RPC method.
ValidatorOutstandingRewards queries rewards of a validator address.
QueryValidatorOutstandingRewardRequest is the request type for the Query/ValidatorOutstandingReward RPC method.
validator_address defines the validator address to query for.
QueryValidatorOutstandingRewardResponse is the response type for the Query/ValidatorOutstandingReward RPC method.
ValidatorUnbondingDelegations queries unbonding delegations of a validator.
QueryValidatorUnbondingDelegationsRequest is required type for the Query/ValidatorUnbondingDelegations RPC method
validator_addr defines the validator address to query for.
pagination defines an optional pagination for the request.
QueryValidatorUnbondingDelegationsResponse is response type for the Query/ValidatorUnbondingDelegations RPC method.
unbonding delegation entries
pagination defines the pagination in the response.
Validators queries all validators that match the given status.
ArbiterPoolContractConfig initial setup config for the trusted circle
Used in:
Name of TRUSTED_CIRCLE
EscrowAmount The required escrow amount, in the default denom (utgd)
VotingRules rules for the tally
DenyListContractAddress is an optional cw4 contract with list of addresses denied to be part of TrustedCircle
DisputeCost The required dispute amount, in the default denom (utgd)
CommunityPoolContractConfig initial setup config for the contract
Used in:
VotingRules rules for the tally
EngagementContractConfig initial setup config
Used in:
GenesisState - initial state of module
params defines all the parameter of the module
SetupMode defines which scenario to apply on a genesis import. Either it is a fresh chain that needs PoE contracts bootstrapped or the module state has to be restored from a previous state dump.
SeedContracts stores and instantiates the Proof of Engagement contracts on the chain.
ImportDump restores the state from an exported state genesis
ImportDump has all module data for non seed mode.
Used in:
Contracts PoE contract addresses and types
Mixer contract setup. See https://github.com/confio/poe-contracts/tree/main/contracts/tg4-mixer
Used in:
Sigmoid returns a sigmoid-like value of staked amount times engagement points. See the Proof-of-Engagement white-paper for details.
Used in:
OversightCommitteeContractConfig initial setup config for the trusted circle
Used in:
Name of TRUSTED_CIRCLE
EscrowAmount The required escrow amount, in the default denom (utgd)
VotingRules rules for the tally
DenyListContractAddress is an optional cw4 contract with list of addresses denied to be part of TrustedCircle
Params defines the parameters for the PoE module.
Used in:
HistoricalEntries is the number of historical entries to persist.
InitialValEngagementPoints defines the number of engagement for any new validator joining post genesis
MinDelegationAmount defines the minimum amount a post genesis validator needs to self delegate to receive any engagement points. One must be exceeded. No minimum condition set when empty.
PoEContract address and type information
Used in:
ContractType type.
Address is the bech32 address string
PoEContractType type of PoE contract
Used in: ,
SeedContracts contains the contract configuration and group members to setup all PoE contracts on chain.
Used in:
GenTxs defines the genesis transactions to create a validator.
BootstrapAccountAddress single address that is set as bootstrap-account for the PoE contracts in seed mode.
Engagement weighted members of the engagement group. Validators should be in here.
BondDenom defines the bondable coin denomination.
StakeContractConfig initial setup config
Used in:
TG4Member member of the Engagement group.
Used in:
Address is the bech32 address string
ValidatorVotingContractConfig CommunityPoolContractConfig
Used in:
VotingRules rules for the tally
ValsetContractConfig initial setup config
Used in:
MaxValidators The maximum number of validators that can be included in the Tendermint validator set.
EpochLength We update the Tendermint validator set only once per epoch. Epoch # is env.block.time/epoch_length (round down). The first block with a new epoch number will trigger a new validator calculation.
Scaling is the factor to multiply cw4-group weights to produce the Tendermint validator power
FeePercentage is the percentage of total accumulated fees that is subtracted from tokens minted as rewards. 50% by default. To disable this feature just set it to 0 (which effectively means that fees don't affect the per-epoch reward).
CommunityPoolRewardRation in percentage
EngagementRewardRatio reward ration in percentage for all
ValidatorRewardRation in percentage for all
AutoUnjail if set to true, we will auto-unjail any validator after their jailtime is over.
DoubleSignSlashRatio Validators who are caught double signing are jailed forever and their bonded tokens are slashed based on this value.
When a validator joins the valset, verify they sign the first block since joining or jail them for a period otherwise. The verification happens every time the validator becomes an active validator, including when they are unjailed or when they just gain enough power to participate.
OfflineJailDuration duration to jail a validator for in case they don't sign their first epoch boundary block. After the period, they have to pass verification again, ad infinitum.
VotingRules contains configuration for the tally.
Used in: , , ,
VotingPeriod Voting period in days
Quorum voting quorum percentage (1-100)
Threshold voting threshold percentage (50-100)
AllowEndEarly If true, and absolute threshold and quorum are met, we can end before voting period finished. (Recommended value: true, unless you have special needs)