models

package
v0.0.0-...-80b2b3e Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BakingRight

type BakingRight struct {

	// delegate
	Delegate string `json:"delegate,omitempty"`

	// estimated time
	// Format: date-time
	EstimatedTime strfmt.DateTime `json:"estimated_time,omitempty"`

	// level
	Level int64 `json:"level,omitempty"`

	// priority
	Priority int64 `json:"priority,omitempty"`
}

BakingRight baking right swagger:model BakingRight

func (*BakingRight) MarshalBinary

func (m *BakingRight) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BakingRight) UnmarshalBinary

func (m *BakingRight) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BakingRight) Validate

func (m *BakingRight) Validate(formats strfmt.Registry) error

Validate validates this baking right

type EndorsementRight

type EndorsementRight struct {

	// delegate
	Delegate string `json:"delegate,omitempty"`

	// estimated time
	// Format: date-time
	EstimatedTime strfmt.DateTime `json:"estimated_time,omitempty"`

	// level
	Level int64 `json:"level,omitempty"`

	// slots
	Slots []int64 `json:"slots"`
}

EndorsementRight endorsement right swagger:model EndorsementRight

func (*EndorsementRight) MarshalBinary

func (m *EndorsementRight) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EndorsementRight) UnmarshalBinary

func (m *EndorsementRight) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EndorsementRight) Validate

func (m *EndorsementRight) Validate(formats strfmt.Registry) error

Validate validates this endorsement right

type VotingRolls

type VotingRolls struct {

	// pkh
	Pkh string `json:"pkh,omitempty"`

	// rolls
	Rolls int64 `json:"rolls,omitempty"`
}

VotingRolls voting rolls swagger:model VotingRolls

func (*VotingRolls) MarshalBinary

func (m *VotingRolls) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VotingRolls) UnmarshalBinary

func (m *VotingRolls) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VotingRolls) Validate

func (m *VotingRolls) Validate(formats strfmt.Registry) error

Validate validates this voting rolls

Jump to

Keyboard shortcuts

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