package
0.0.0-20230112070230-96587e205e3a
Repository: https://github.com/harbinger-network/furya.git
Documentation: pkg.go.dev

# README

Proof of Engagement (PoE)

This module contains the Proof of Engagement (PoE) contracts and integration points. See the Whitepaper for more details about PoE.

This module provides first class support for PoE:

  • Bootstrap and contract instantiation
  • Query and CLI support
  • Genesis import/ export
  • Integration tests

Contracts

  • tg4-group - engagement group with weighted members
  • tg4-stake - validator group weighted by staked amount
  • valset - privileged contract to map a trusted cw4 contract to the Tendermint validator set running the chain
  • mixer - calculates the combined value of stake and engagement points. Source for the valset contract.

Command line interface (CLI)

  • Commands
  tgrade tx poe -h
  • Query
  tgrade query poe -h

Disclaimer

This module uses code that was part on the Cosmos-sdk genutil module.

Credits and big thank you go to the original authors

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package types is a reverse proxy.
No description provided by the author

# Functions

BeginBlocker ABCI begin block callback.
BootstrapPoEContracts stores and instantiates all PoE contracts: See https://github.com/confio/tgrade-contracts/blob/main/docs/Architecture.md#multi-level-governance for an overview.
ClearEmbeddedContracts release memory.
EndBlocker calls the Valset contract for the validator diff.
NewAppModule creates a new AppModule object.
No description provided by the author
NewHandler constructor.
VerifyPoEContracts sanity check that verifies all PoE contracts are set up as expected.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

AppModule implements an application module for the genutil module.
AppModuleBasic defines the basic application module used by the genutil module.
DeductFeeDecorator deducts fees from the first signer of the tx If the first signer does not have the funds to pay for the fees, return with InsufficientFunds error Call next AnteHandler if fees successfully deducted CONTRACT: Tx must implement FeeTx interface to use DeductFeeDecorator.

# Type aliases

No description provided by the author