metadata

package
v1.5.9 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2020 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Depositary

type Depositary struct {
	ID      model.Hash `json:"id"`
	Address string     `json:"address"`
	Display Display    `json:"display"`
}

Depositary ...

type Display

type Display struct {
	Name string `json:"name"`
	URL  string `json:"url"`
}

Display ...

type Metadata

type Metadata struct {
	Timestamp        uint64       `json:"timestamp"`
	CurrentPeriodID  uint64       `json:"currentPeriodId"`
	LastBlockID      model.Hash   `json:"lastBlockId"`
	Depositaries     []Depositary `json:"depositaries"`
	GenesisTimestamp uint64       `json:"genesisTimestamp"`
	PeriodDuration   uint64       `json:"periodDuration"`
}

Metadata ...

Jump to

Keyboard shortcuts

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