report

package
v0.0.0-...-d1b4aff Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(url string, days int, apr float64) (resdata []byte, err error)

Types

type Distribution

type Distribution = []Receiver

type Receiver

type Receiver = struct {
	Address string `json:"address"`
	Value   string `json:"value"`
}

type Report

type Report struct {
	Users        int          `json:"users"`
	Days         int          `json:"days"`
	Apr          float64      `json:"apr"`
	Delegated    currencies   `json:"delegated"`
	Rewards      currencies   `json:"rewards"`
	Distribution Distribution `json:"distribution"`
}

Jump to

Keyboard shortcuts

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