v0

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2020 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ModuleBasics - The module BasicManager is in charge of setting up basic, non-dependant module elements, such as codec registration and genesis verification.

Functions

func MakeCodec

func MakeCodec() *codec.Codec

MakeCodec registers codec

func ModuleAccountAddrs

func ModuleAccountAddrs() map[string]bool

ModuleAccountAddrs returns all the module account addresses

func NewDefaultGenesisState

func NewDefaultGenesisState() sdk.GenesisState

Types

type ProtocolV0

type ProtocolV0 struct {
	// contains filtered or unexported fields
}

ProtocolV0 is the struct of the original protocol

func NewProtocolV0

func NewProtocolV0(version uint64, log log.Logger, pk sdk.ProtocolKeeper, deliverTx genutil.DeliverTxfn, invCheckPeriod uint, config *cfg.InstrumentationConfig) *ProtocolV0

NewProtocolV0 creates a new instance of ProtocolV0

func (*ProtocolV0) AccountKeeper

func (p *ProtocolV0) AccountKeeper() auth.AccountKeeper

AccountKeeper return accountKeeper

func (*ProtocolV0) BeginBlocker

BeginBlocker set function to BaseApp as a hook

func (*ProtocolV0) EndBlocker

EndBlocker sets function to BaseApp as a hook

func (*ProtocolV0) ExportAppStateAndValidators

func (p *ProtocolV0) ExportAppStateAndValidators(ctx sdk.Context, forZeroHeight bool, jailWhiteList []string) (appState json.RawMessage, validators []tmtypes.GenesisValidator, err error)

func (*ProtocolV0) GetAnteHandler

func (p *ProtocolV0) GetAnteHandler() sdk.AnteHandler

GetAnteHandler

func (*ProtocolV0) GetBeginBlocker

func (p *ProtocolV0) GetBeginBlocker() sdk.BeginBlocker

GetBeginBlocker

func (*ProtocolV0) GetCodec

func (p *ProtocolV0) GetCodec() *codec.Codec

GetCodec gets tx codec

func (*ProtocolV0) GetEndBlocker

func (p *ProtocolV0) GetEndBlocker() sdk.EndBlocker

GetEndBlocker

func (*ProtocolV0) GetFeeRefundHandler

func (p *ProtocolV0) GetFeeRefundHandler() sdk.FeeRefundHandler

GetFeeRefundHandler

func (*ProtocolV0) GetInitChainer

func (p *ProtocolV0) GetInitChainer() sdk.InitChainer

GetInitChainer

func (*ProtocolV0) GetQueryRouter

func (p *ProtocolV0) GetQueryRouter() sdk.QueryRouter

GetQueryRouter

func (*ProtocolV0) GetRouter

func (p *ProtocolV0) GetRouter() sdk.Router

GetRouter

func (*ProtocolV0) GetSimulationManager

func (p *ProtocolV0) GetSimulationManager() interface{}

GetSimulationManager - for simulation

func (*ProtocolV0) GetVersion

func (p *ProtocolV0) GetVersion() uint64

GetVersion gets the version of this protocol

func (*ProtocolV0) GovKeeper

func (p *ProtocolV0) GovKeeper() gov.Keeper

GovKeeper return govKeeper

func (*ProtocolV0) Init

func (p *ProtocolV0) Init()

Init

func (*ProtocolV0) InitChainer

InitChainer initializes application state at genesis as a hook

func (*ProtocolV0) LoadContext

func (p *ProtocolV0) LoadContext()

LoadContext updates the context for the app after the upgrade of protocol

func (*ProtocolV0) SetAnteHandler

func (p *ProtocolV0) SetAnteHandler(anteHandler sdk.AnteHandler)

SetAnteHandler set the anteHandler

func (*ProtocolV0) SetGovKeeper

func (p *ProtocolV0) SetGovKeeper(gk gov.Keeper)

SetGovKeeper set govKeeper

func (*ProtocolV0) SetInitChainer

func (p *ProtocolV0) SetInitChainer(initChainer sdk.InitChainer)

SetInitChainer set the initChainer

func (*ProtocolV0) SetQueryRouter

func (p *ProtocolV0) SetQueryRouter(queryRouter sdk.QueryRouter)

SetQueryRouter allows us to customize the query router

func (*ProtocolV0) SetRouter

func (p *ProtocolV0) SetRouter(router sdk.Router)

SetRouter allows us to customize the router

func (*ProtocolV0) StakingKeeper

func (p *ProtocolV0) StakingKeeper() staking.Keeper

StakingKeeper return stakingKeeper

func (*ProtocolV0) SupplyKeeper

func (p *ProtocolV0) SupplyKeeper() supply.Keeper

SupplyKeeper return supplyKeeper

Directories

Path Synopsis
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories:
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories:
types
nolint noalias
nolint noalias
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories:
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories:
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/Dipper-Labs/Dipper-Protocol/app/v0/crisis/types
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/Dipper-Labs/Dipper-Protocol/app/v0/crisis/types
client/cli
nolint
nolint
client/cli
nolint
nolint
types
nolint nolint
nolint nolint
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories:
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories:
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories:
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories:
gov
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories:
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories:
legacy/v0_34
DONTCOVER nolint
DONTCOVER nolint
types
nolint
nolint
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/Dipper-Labs/Dipper-Protocol/app/v0/mint/internal/keeper ALIASGEN: github.com/Dipper-Labs/Dipper-Protocol/app/v0/mint/internal/types
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/Dipper-Labs/Dipper-Protocol/app/v0/mint/internal/keeper ALIASGEN: github.com/Dipper-Labs/Dipper-Protocol/app/v0/mint/internal/types
internal/keeper
nolint:deadcode unused
nolint:deadcode unused
Package simulation implements a full fledged Cosmos SDK application used for executing simulation test suites.
Package simulation implements a full fledged Cosmos SDK application used for executing simulation test suites.
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/Dipper-Labs/Dipper-Protocol/app/v0/slashing/types nolint
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/Dipper-Labs/Dipper-Protocol/app/v0/slashing/types nolint
types
nolint
nolint
types
nolint
nolint
vm

Jump to

Keyboard shortcuts

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