parliament

package
v1.9.5 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2022 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func New

func New(
	messages core.MessageStore,
	userz core.UserService,
	assetz core.AssetService,
	walletz core.WalletService,
	collaterals core.CollateralStore,
	proposalz core.ProposalService,
	system *core.System,
	cfg Config,
) core.Parliament

Types

type Config added in v1.5.4

type Config struct {
	Links map[string]string
}

type Flip added in v1.4.7

type Flip struct {
	Number int64
	Info   []Item
}

type FlipStat added in v1.4.7

type FlipStat struct {
	Lot string
	Bid string
	Tab string
	Gem string
	Dai string
}

type Item

type Item struct {
	Key    string
	Value  string
	Action string
}

type Proposal

type Proposal struct {
	Number int64
	Action string
	Info   []Item
	Meta   []Item

	ApprovedCount int
	ApprovedBy    string
}

Jump to

Keyboard shortcuts

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