app

package
v0.0.0-...-65a1244 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeCodec

func MakeCodec() *amino.Codec

Types

type RegistryApp

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

Extended ABCI application

func NewRegistryApp

func NewRegistryApp(logger log.Logger, db dbm.DB, mindeposit int64, applystage int64, commitstage int64, revealstage int64, dispensationpct float64, _quorum float64) *RegistryApp

Initializes New Registry App CONTRACT: applystage >= commitstage + revealstage

func (*RegistryApp) ExportAppStateJSON

func (app *RegistryApp) ExportAppStateJSON() (appState json.RawMessage, err error)

Custom logic for state export

Jump to

Keyboard shortcuts

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