app

package module
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2020 License: AGPL-3.0 Imports: 31 Imported by: 0

README



Kamut - The Enigma Testnet

What is Kamut?

Kamut is a community run Testnet for the Enigma Blockchain

Testnet is out! Get the latest release at https://github.com/chainofsecrets/KamutBlockchain/releases/latest.

Block Explorers

Blockchain REST Providers

Docs

  • todo

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DefaultCLIHome default home directories for the application CLI
	DefaultCLIHome = os.ExpandEnv("$HOME/.kamutcli")

	// DefaultNodeHome sets the folder where the applcation data and configuration will be stored
	DefaultNodeHome = os.ExpandEnv("$HOME/.kamutd")

	// ModuleBasics The module BasicManager is in charge of setting up basic,
	// non-dependant module elements, such as codec registration
	// and genesis verification.
	ModuleBasics = module.NewBasicManager(
		genutil.AppModuleBasic{},
		auth.AppModuleBasic{},
		bank.AppModuleBasic{},
		staking.AppModuleBasic{},
		mint.AppModuleBasic{},
		distr.AppModuleBasic{},
		gov.NewAppModuleBasic(paramsclient.ProposalHandler, distr.ProposalHandler, upgradeclient.ProposalHandler),
		params.AppModuleBasic{},

		crisis.AppModuleBasic{},
		slashing.AppModuleBasic{},
		supply.AppModuleBasic{},
		upgrade.AppModuleBasic{},
		evidence.AppModuleBasic{},
		tokenswap.AppModuleBasic{},
	)
)

Functions

func GetMaccPerms

func GetMaccPerms() map[string][]string

GetMaccPerms returns a mapping of the application's module account permissions.

func MakeCodec

func MakeCodec() *codec.Codec

MakeCodec creates the application codec. The codec is sealed before it is returned.

func NewDefaultGenesisState

func NewDefaultGenesisState() simapp.GenesisState

NewDefaultGenesisState return a default genesis state

Types

type EnigmaChainApp

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

EnigmaChainApp extended ABCI application

func NewEnigmaChainApp

func NewEnigmaChainApp(
	logger log.Logger,
	db dbm.DB,
	traceStore io.Writer,
	loadLatest bool,
	invCheckPeriod uint,
	skipUpgradeHeights map[int64]bool,
	baseAppOptions ...func(*bam.BaseApp),
) *EnigmaChainApp

NewEnigmaChainApp is a constructor function for enigmaChainApp

func (*EnigmaChainApp) BeginBlocker

BeginBlocker application updates every begin block

func (*EnigmaChainApp) Codec

func (app *EnigmaChainApp) Codec() *codec.Codec

Codec returns the application's sealed codec.

func (*EnigmaChainApp) EndBlocker

EndBlocker application updates every end block

func (*EnigmaChainApp) ExportAppStateAndValidators

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

func (*EnigmaChainApp) InitChainer

InitChainer application update at chain initialization

func (*EnigmaChainApp) LoadHeight

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

LoadHeight loads a particular height

func (*EnigmaChainApp) ModuleAccountAddrs

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

ModuleAccountAddrs returns all the app's module account addresses.

func (*EnigmaChainApp) Name

func (app *EnigmaChainApp) Name() string

Name returns the name of the App

func (*EnigmaChainApp) SimulationManager

func (app *EnigmaChainApp) SimulationManager() *module.SimulationManager

SimulationManager implements the SimulationApp interface

type WasmWrapper

type WasmWrapper struct {
}

WasmWrapper allows us to use namespacing in the config file This is only used for parsing in the app, x/compute expects WasmConfig

Directories

Path Synopsis
cmd
api
x
compute
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/enigmampc/EnigmaBlockchain/x/compute/internal/types ALIASGEN: github.com/enigmampc/EnigmaBlockchain/x/compute/internal/keeper
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/enigmampc/EnigmaBlockchain/x/compute/internal/types ALIASGEN: github.com/enigmampc/EnigmaBlockchain/x/compute/internal/keeper

Jump to

Keyboard shortcuts

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