signatorysets

package
v0.0.0-...-c04c664 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bus

type Bus struct {
	// contains filtered or unexported fields
}

func NewBus

func NewBus(signatorySet *SignatorySet) *Bus

func (*Bus) GetSignatorySet

func (b *Bus) GetSignatorySet() *types.SignatorySet

type SignatorySet

type SignatorySet struct {
	// contains filtered or unexported fields
}

func NewSignatorySet

func NewSignatorySet(stateBus *bus.Bus, iavl tree.Tree) (*SignatorySet, error)

func (*SignatorySet) Commit

func (s *SignatorySet) Commit() error

func (*SignatorySet) Export

func (s *SignatorySet) Export(state *types.AppState)

func (*SignatorySet) GetBtcSignaturesSet

func (s *SignatorySet) GetBtcSignaturesSet() []types.BtcSignature

func (*SignatorySet) GetMntSignaturesSet

func (s *SignatorySet) GetMntSignaturesSet() []types.MntSignature

func (*SignatorySet) GetSet

func (s *SignatorySet) GetSet() *types.SignatorySet

func (*SignatorySet) Import

func (s *SignatorySet) Import(set []types.Signatory, power uint64)

func (*SignatorySet) LoadSignatorySets

func (s *SignatorySet) LoadSignatorySets()

func (*SignatorySet) MultisigAddressParams

func (s *SignatorySet) MultisigAddressParams() ([]uint, []types.Address, uint)

func (*SignatorySet) SetNewSignatories

func (s *SignatorySet) SetNewSignatories(set *types.SignatorySet)

func (*SignatorySet) TwoThirdsVotingPower

func (s *SignatorySet) TwoThirdsVotingPower() uint64

Jump to

Keyboard shortcuts

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