admin

package
v0.10.10 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: MPL-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TxBlackList = map[runtime.Mode][]string{
	runtime.TransferOnlyMode: transferOnlyModeBlackList,
	runtime.RecoverOnlyMode:  append(transferOnlyModeBlackList, bank.MsgSend{}.Type()),
}

Functions

func AddCommands

func AddCommands(cmd *cobra.Command, cdc *wire.Codec)

func GetHandler

func GetHandler(config *config.Config) types.AbciQueryHandler

path: set to some mode: admin/mode/{mode}/{nonce}, nonce is a random number used together with req.Data to verify the priv key get current mode: admin/mode/{nonce}

func IsTxAllowed

func IsTxAllowed(tx sdk.Tx) bool

func TxNotAllowedError

func TxNotAllowedError() sdk.Error

Types

This section is empty.

Jump to

Keyboard shortcuts

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