Documentation ¶
Overview ¶
Package beta provides a temporary beta implementation of the Umee application, where partially incomplete modules may exist for the main purpose of integration and client testing.
Once modules have been fully implemented, the beta package should be removed entirely.
Index ¶
- Variables
- func GetMaccPerms() map[string][]string
- func IntegrationTestNetworkConfig() network.Config
- func MakeEncodingConfig() params.EncodingConfig
- func NewDefaultGenesisState(cdc codec.JSONCodec) app.GenesisState
- type UmeeApp
- func (app *UmeeApp) AppCodec() codec.Codec
- func (app *UmeeApp) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock
- func (app *UmeeApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock
- func (app *UmeeApp) ExportAppStateAndValidators(forZeroHeight bool, jailAllowedAddrs []string) (servertypes.ExportedApp, error)
- func (app *UmeeApp) GetBaseApp() *baseapp.BaseApp
- func (app *UmeeApp) GetIBCKeeper() *ibckeeper.Keeper
- func (app *UmeeApp) GetKey(storeKey string) *sdk.KVStoreKey
- func (app *UmeeApp) GetMemKey(storeKey string) *sdk.MemoryStoreKey
- func (app *UmeeApp) GetScopedIBCKeeper() capabilitykeeper.ScopedKeeper
- func (app *UmeeApp) GetStakingKeeper() stakingkeeper.Keeper
- func (app *UmeeApp) GetSubspace(moduleName string) paramstypes.Subspace
- func (app *UmeeApp) GetTKey(storeKey string) *sdk.TransientStoreKey
- func (app *UmeeApp) GetTxConfig() client.TxConfig
- func (app *UmeeApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain
- func (app *UmeeApp) InterfaceRegistry() types.InterfaceRegistry
- func (app *UmeeApp) LegacyAmino() *codec.LegacyAmino
- func (app *UmeeApp) LoadHeight(height int64) error
- func (app *UmeeApp) ModuleAccountAddrs() map[string]bool
- func (app *UmeeApp) Name() string
- func (app *UmeeApp) RegisterAPIRoutes(apiSvr *api.Server, apiConfig config.APIConfig)
- func (app *UmeeApp) RegisterTendermintService(clientCtx client.Context)
- func (app *UmeeApp) RegisterTxService(clientCtx client.Context)
Constants ¶
This section is empty.
Variables ¶
var ( // ModuleBasics defines the module BasicManager is in charge of setting up basic, // non-dependant module elements, such as codec registration // and genesis verification. ModuleBasics = module.NewBasicManager( auth.AppModuleBasic{}, genutil.AppModuleBasic{}, umeeapp.BankModule{}, capability.AppModuleBasic{}, umeeapp.StakingModule{}, umeeapp.MintModule{}, distr.AppModuleBasic{}, umeeapp.GovModule{AppModuleBasic: gov.NewAppModuleBasic(getGovProposalHandlers()...)}, params.AppModuleBasic{}, umeeapp.CrisisModule{}, umeeapp.SlashingModule{}, feegrantmodule.AppModuleBasic{}, authzmodule.AppModuleBasic{}, ibc.AppModuleBasic{}, upgrade.AppModuleBasic{}, evidence.AppModuleBasic{}, ibctransfer.AppModuleBasic{}, vesting.AppModuleBasic{}, leverage.AppModuleBasic{}, oracle.AppModuleBasic{}, gravity.AppModuleBasic{}, ) )
Functions ¶
func GetMaccPerms ¶
GetMaccPerms returns a deep copy of the module account permissions.
func IntegrationTestNetworkConfig ¶
IntegrationTestNetworkConfig returns a networking configuration used for integration tests using the SDK's in-process network test suite.
func MakeEncodingConfig ¶
func MakeEncodingConfig() params.EncodingConfig
MakeEncodingConfig returns the application's encoding configuration with all types and interfaces registered.
func NewDefaultGenesisState ¶
func NewDefaultGenesisState(cdc codec.JSONCodec) app.GenesisState
NewDefaultGenesisState generates the default state for the application.
Types ¶
type UmeeApp ¶
type UmeeApp struct { *baseapp.BaseApp // keepers AccountKeeper authkeeper.AccountKeeper BankKeeper bankkeeper.Keeper CapabilityKeeper *capabilitykeeper.Keeper StakingKeeper stakingkeeper.Keeper SlashingKeeper slashingkeeper.Keeper MintKeeper mintkeeper.Keeper DistrKeeper distrkeeper.Keeper GovKeeper govkeeper.Keeper CrisisKeeper crisiskeeper.Keeper UpgradeKeeper upgradekeeper.Keeper ParamsKeeper paramskeeper.Keeper IBCKeeper *ibckeeper.Keeper // IBC Keeper must be a pointer in the app, so we can SetRouter on it correctly EvidenceKeeper evidencekeeper.Keeper TransferKeeper uibctransferkeeper.Keeper FeeGrantKeeper feegrantkeeper.Keeper AuthzKeeper authzkeeper.Keeper LeverageKeeper leveragekeeper.Keeper GravityKeeper gravitykeeper.Keeper OracleKeeper oraclekeeper.Keeper // make scoped keepers public for testing purposes ScopedIBCKeeper capabilitykeeper.ScopedKeeper ScopedTransferKeeper capabilitykeeper.ScopedKeeper // contains filtered or unexported fields }
UmeeApp defines the ABCI application for the Umee network as an extension of the Cosmos SDK's BaseApp.
func (*UmeeApp) AppCodec ¶
AppCodec returns Umee's app codec.
NOTE: This is solely to be used for testing purposes as it may be desirable for modules to register their own custom testing types.
func (*UmeeApp) BeginBlocker ¶
func (app *UmeeApp) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock
BeginBlocker implements Umee's BeginBlock ABCI method.
func (*UmeeApp) EndBlocker ¶
func (app *UmeeApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock
EndBlocker implements Umee's EndBlock ABCI method.
func (*UmeeApp) ExportAppStateAndValidators ¶
func (app *UmeeApp) ExportAppStateAndValidators( forZeroHeight bool, jailAllowedAddrs []string, ) (servertypes.ExportedApp, error)
ExportAppStateAndValidators exports the state of the application for a genesis file.
func (*UmeeApp) GetBaseApp ¶
GetBaseApp is used solely for testing purposes.
func (*UmeeApp) GetIBCKeeper ¶
GetIBCKeeper is used solely for testing purposes.
func (*UmeeApp) GetKey ¶
func (app *UmeeApp) GetKey(storeKey string) *sdk.KVStoreKey
GetKey returns the KVStoreKey for the provided store key.
NOTE: This is solely to be used for testing purposes.
func (*UmeeApp) GetMemKey ¶
func (app *UmeeApp) GetMemKey(storeKey string) *sdk.MemoryStoreKey
GetMemKey returns the MemStoreKey for the provided mem key.
NOTE: This is solely used for testing purposes.
func (*UmeeApp) GetScopedIBCKeeper ¶
func (app *UmeeApp) GetScopedIBCKeeper() capabilitykeeper.ScopedKeeper
GetScopedIBCKeeper is used solely for testing purposes.
func (*UmeeApp) GetStakingKeeper ¶
func (app *UmeeApp) GetStakingKeeper() stakingkeeper.Keeper
GetStakingKeeper is used solely for testing purposes.
func (*UmeeApp) GetSubspace ¶
func (app *UmeeApp) GetSubspace(moduleName string) paramstypes.Subspace
GetSubspace returns a param subspace for a given module name.
NOTE: This is solely to be used for testing purposes.
func (*UmeeApp) GetTKey ¶
func (app *UmeeApp) GetTKey(storeKey string) *sdk.TransientStoreKey
GetTKey returns the TransientStoreKey for the provided store key.
NOTE: This is solely to be used for testing purposes.
func (*UmeeApp) GetTxConfig ¶
GetTxConfig is used solely for testing purposes.
func (*UmeeApp) InitChainer ¶
func (app *UmeeApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain
InitChainer implements Umee's InitChain ABCI method.
func (*UmeeApp) InterfaceRegistry ¶
func (app *UmeeApp) InterfaceRegistry() types.InterfaceRegistry
InterfaceRegistry returns Umee's InterfaceRegistry.
func (*UmeeApp) LegacyAmino ¶
func (app *UmeeApp) LegacyAmino() *codec.LegacyAmino
LegacyAmino returns Umee's amino codec.
NOTE: This is solely to be used for testing purposes as it may be desirable for modules to register their own custom testing types.
func (*UmeeApp) LoadHeight ¶
LoadHeight loads a particular height via Umee's BaseApp.
func (*UmeeApp) ModuleAccountAddrs ¶
ModuleAccountAddrs returns all of Umee's module account addresses.
func (*UmeeApp) RegisterAPIRoutes ¶
RegisterAPIRoutes registers all application module routes with the provided API server.
func (*UmeeApp) RegisterTendermintService ¶
RegisterTendermintService implements the Application.RegisterTendermintService method.
func (*UmeeApp) RegisterTxService ¶
RegisterTxService implements the Application.RegisterTxService method.