crisis

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: MIT Imports: 5 Imported by: 0

README

Crisis module

Usage

(Tx) Invariant broken
invariantBrokenMsg := types.InvariantBrokenMsg{
    ModuleName: "module_name",
    InvariantRoute: "invariant_route",
}

txbytes, err := xplac.InvariantBroken(invariantBrokenMsg).CreateAndSignTx()
res, err := xplac.Broadcast(txbytes)

Documentation

Index

Constants

View Source
const (
	CrisisModule                 = "crisis"
	CrisisInvariantBrokenMsgType = "crisis-invariant-broken"
)

Variables

This section is empty.

Functions

func MakeInvariantRouteMsg

func MakeInvariantRouteMsg(invariantBrokenMsg types.InvariantBrokenMsg, privKey key.PrivateKey) (crisistypes.MsgVerifyInvariant, error)

(Tx) make msg - invariant broken

Types

This section is empty.

Jump to

Keyboard shortcuts

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