package
0.48.0
Repository: https://github.com/elys-network/elys.git
Documentation: pkg.go.dev

# README

Dependencies map

Keepers dependencies

commitment -> staking tokenomics -> commitment estaking -> staking, commitment, distr, tokenomics slashing -> estaking amm -> commitment stablestake -> commitment distr -> commitment, estaking masterchef -> tokenomics leveragelp -> stablestake, commitment

Hooks dependencies

staking -> slashing, distr, estaking amm -> perpetual, leveragelp, masterchef epochs -> oracle, commitment, perpetual perpetual -> accountedpool commitment -> estaking stablestake -> masterchef

The deepest stack actions

Eden uncommit

commitment hooks estaking with EdenUncommitted estaking calls commitment with BurnEdenBoost commitment hooks BeforeEdenBCommitChange, BeforeEdenCommitChange, CommitmentChanged estaking hooks staking with BeforeDelegationCreated, BeforeDelegationSharesModified, BeforeDelegationRemoved, AfterDelegationModified staking hooks estaking with AfterDelegationModified staking hooks distr with BeforeDelegationCreated, BeforeDelegationSharesModified, BeforeDelegationRemoved, AfterDelegationModified distr executes rewards claim on BeforeDelegationSharesModified

Elys unstake

staking hooks AfterDelegationModified estaking calls commitment with BurnEdenBoost commitment hooks BeforeEdenBCommitChange, BeforeEdenCommitChange, CommitmentChanged estaking hooks staking with BeforeDelegationCreated, BeforeDelegationSharesModified, BeforeDelegationRemoved, AfterDelegationModified staking hooks estaking with AfterDelegationModified staking hooks distr with BeforeDelegationCreated, BeforeDelegationSharesModified, BeforeDelegationRemoved, AfterDelegationModified distr executes rewards claim on BeforeDelegationSharesModified

# Packages

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

# Functions

AddTestAddrs constructs and returns accNum amount of accounts with an initial balance of accAmt in random order.
Add testing commitments.
CreateRandomAccounts is a strategy used by addTestAddrs() in order to generated addresses in random order.
No description provided by the author
GetEnabledProposals parses the ProposalsEnabled / EnableSpecificProposals values to produce a list of enabled proposals to pass into wasmd app.
GetMaccPerms returns a copy of the module account permissions.
Initializes a new ElysApp without IBC functionality.
Initializes a new ElysApp without IBC functionality and returns genesis account (delegator).
Initiate a new ElysApp object - Common function used by the following 2 functions.
MakeEncodingConfig creates an EncodingConfig for testing.
NewDefaultGenesisState generates the default state for the application.
New returns a reference to an initialized blockchain app.
No description provided by the author

# Constants

No description provided by the author
If set to non-empty string it must be comma-separated list of values that are all a subset of "EnableAllProposals" (takes precedence over ProposalsEnabled) https://github.com/CosmWasm/wasmd/blob/02a54d33ff2c064f3539ae12d75d027d9c665f05/x/wasm/internal/types/proposal.go#L28-L34.
No description provided by the author
No description provided by the author
If EnabledSpecificProposals is "", and this is "true", then enable all x/wasm proposals.

# Variables

DefaultNodeHome default home directories for the application daemon.
ModuleBasics defines the module BasicManager is in charge of setting up basic, non-dependant module elements, such as codec registration and genesis verification.
make sure to update these when you upgrade the version.

# Structs

App extends an ABCI application, but with most of its parameters exported.

# Type aliases

No description provided by the author
The genesis state of the blockchain is represented here as a map of raw json messages key'd by a identifier string.