Documentation ¶
Index ¶
- Variables
- func MakeCodec() *codec.Codec
- func ModuleAccountAddrs() map[string]bool
- func NewDefaultGenesisState() sdk.GenesisState
- type ProtocolV0
- func (p *ProtocolV0) AccountKeeper() auth.AccountKeeper
- func (p *ProtocolV0) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock
- func (p *ProtocolV0) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock
- func (p *ProtocolV0) ExportAppStateAndValidators(ctx sdk.Context, forZeroHeight bool, jailWhiteList []string) (appState json.RawMessage, validators []tmtypes.GenesisValidator, err error)
- func (p *ProtocolV0) GetAnteHandler() sdk.AnteHandler
- func (p *ProtocolV0) GetBeginBlocker() sdk.BeginBlocker
- func (p *ProtocolV0) GetCodec() *codec.Codec
- func (p *ProtocolV0) GetEndBlocker() sdk.EndBlocker
- func (p *ProtocolV0) GetFeeRefundHandler() sdk.FeeRefundHandler
- func (p *ProtocolV0) GetInitChainer() sdk.InitChainer
- func (p *ProtocolV0) GetQueryRouter() sdk.QueryRouter
- func (p *ProtocolV0) GetRouter() sdk.Router
- func (p *ProtocolV0) GetSimulationManager() interface{}
- func (p *ProtocolV0) GetVersion() uint64
- func (p *ProtocolV0) GovKeeper() gov.Keeper
- func (p *ProtocolV0) Init()
- func (p *ProtocolV0) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain
- func (p *ProtocolV0) LoadContext()
- func (p *ProtocolV0) SetAnteHandler(anteHandler sdk.AnteHandler)
- func (p *ProtocolV0) SetGovKeeper(gk gov.Keeper)
- func (p *ProtocolV0) SetInitChainer(initChainer sdk.InitChainer)
- func (p *ProtocolV0) SetQueryRouter(queryRouter sdk.QueryRouter)
- func (p *ProtocolV0) SetRouter(router sdk.Router)
- func (p *ProtocolV0) StakingKeeper() staking.Keeper
- func (p *ProtocolV0) SupplyKeeper() supply.Keeper
Constants ¶
This section is empty.
Variables ¶
var ModuleBasics = module.NewBasicManager( genaccounts.AppModuleBasic{}, genutil.AppModuleBasic{}, auth.AppModuleBasic{}, bank.AppModuleBasic{}, staking.AppModuleBasic{}, mint.AppModuleBasic{}, distr.AppModuleBasic{}, gov.NewAppModuleBasic(paramsclient.ProposalHandler, distrclient.ProposalHandler), params.AppModuleBasic{}, crisis.AppModuleBasic{}, slashing.AppModuleBasic{}, supply.AppModuleBasic{}, vm.AppModuleBasic{}, upgrade.AppModuleBasic{}, guardian.AppModuleBasic{}, )
ModuleBasics - The module BasicManager is in charge of setting up basic, non-dependant module elements, such as codec registration and genesis verification.
Functions ¶
func ModuleAccountAddrs ¶
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 ¶
func (p *ProtocolV0) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock
BeginBlocker set function to BaseApp as a hook
func (*ProtocolV0) EndBlocker ¶
func (p *ProtocolV0) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock
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) 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) 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) InitChainer ¶
func (p *ProtocolV0) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain
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: |
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 |