messages

package
v0.0.0-...-8591075 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 License: BSD-2-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Commitment

type Commitment struct {
	IDF             string `json:"idf"`
	Contract        string `json:"contract"`
	ValidatorWallet string `json:"validator-wallet"`
	NominatorWallet string `json:"nominator-wallet"`
	SelectedStake   int    `json:"selected-stake"`
	Email           string `json:"email"`
	Signature       string `json:"signature"`
}

Commitment struct defines the JSON structure used by the REST api

type CommitmentInfo

type CommitmentInfo struct {
	ValidatorWallet string `json:"validator-wallet"`
	NominatorWallet string `json:"nominator-wallet"`
	SelectedStake   int    `json:"selected-stake"`
	MaxStake        int    `json:"max-stake"`
	Email           string `json:"email"`
}

Jump to

Keyboard shortcuts

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