app

package
v0.0.0-...-121ef1c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2019 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StakePerAccount                                    = "stake_per_account"
	InitiallyBondedValidators                          = "initially_bonded_validators"
	OpWeightDeductFee                                  = "op_weight_deduct_fee"
	OpWeightMsgSend                                    = "op_weight_msg_send"
	OpWeightSingleInputMsgMultiSend                    = "op_weight_single_input_msg_multisend"
	OpWeightMsgSetWithdrawAddress                      = "op_weight_msg_set_withdraw_address"
	OpWeightMsgWithdrawDelegationReward                = "op_weight_msg_withdraw_delegation_reward"
	OpWeightMsgWithdrawValidatorCommission             = "op_weight_msg_withdraw_validator_commission"
	OpWeightSubmitVotingSlashingTextProposal           = "op_weight_submit_voting_slashing_text_proposal"
	OpWeightSubmitVotingSlashingCommunitySpendProposal = "op_weight_submit_voting_slashing_community_spend_proposal"
	OpWeightSubmitVotingSlashingParamChangeProposal    = "op_weight_submit_voting_slashing_param_change_proposal"
	OpWeightMsgDeposit                                 = "op_weight_msg_deposit"
	OpWeightMsgCreateValidator                         = "op_weight_msg_create_validator"
	OpWeightMsgEditValidator                           = "op_weight_msg_edit_validator"
	OpWeightMsgDelegate                                = "op_weight_msg_delegate"
	OpWeightMsgUndelegate                              = "op_weight_msg_undelegate"
	OpWeightMsgBeginRedelegate                         = "op_weight_msg_begin_redelegate"
	OpWeightMsgUnjail                                  = "op_weight_msg_unjail"
)

Simulation parameter constants

Variables

Functions

func MakeCodec

func MakeCodec() *codec.Codec

MakeCodec -

Types

type GenesisState

type GenesisState map[string]json.RawMessage

GenesisState -

func NewDefaultGenesisState

func NewDefaultGenesisState() GenesisState

NewDefaultGenesisState -

type ShitApp

type ShitApp struct {
	*bam.BaseApp
	// contains filtered or unexported fields
}

ShitApp -

func NewShitApp

func NewShitApp(logger log.Logger, db dbm.DB, invCheckPeriod uint) *ShitApp

NewShitApp -

func NewShitAppUNSAFE

func NewShitAppUNSAFE(logger log.Logger, db dbm.DB, invCheckPeriod uint) (sapp *ShitApp, keyMain, keyStaking *sdk.KVStoreKey, stakingKeeper staking.Keeper)

NewShitAppUNSAFE -

func (*ShitApp) BeginBlocker

func (app *ShitApp) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock

BeginBlocker -

func (*ShitApp) EndBlocker

func (app *ShitApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock

EndBlocker -

func (*ShitApp) ExportAppStateAndValidators

func (app *ShitApp) ExportAppStateAndValidators(forZeroHeight bool, jailWhiteList []string,
) (appState json.RawMessage, validators []tmtypes.GenesisValidator, err error)

ExportAppStateAndValidators -

func (*ShitApp) InitChainer

func (app *ShitApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain

InitChainer -

func (*ShitApp) LoadHeight

func (app *ShitApp) LoadHeight(height int64) error

LoadHeight -

func (*ShitApp) ModuleAccountAddrs

func (app *ShitApp) ModuleAccountAddrs() map[string]bool

ModuleAccountAddrs returns all the app's module account addresses.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL