verifreg

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: Apache-2.0, MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Added    = "ADDED"
	Removed  = "REMOVED"
	Modified = "MODIFIED"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type VerifiedRegistryClaim added in v0.14.0

type VerifiedRegistryClaim struct {
	Height    int64  `pg:",pk,notnull,use_zero"`
	StateRoot string `pg:",pk,notnull"`
	ClaimID   uint64 `pg:",pk,notnull"`
	Provider  string `pg:",notnull"`
	Client    string `pg:",notnull"`
	Data      string `pg:",notnull"`
	Size      uint64 `pg:",notnull,use_zero"`
	TermMin   int64  `pg:",notnull,use_zero"`
	TermMax   int64  `pg:",notnull,use_zero"`
	TermStart int64  `pg:",notnull,use_zero"`
	Sector    uint64 `pg:",notnull,use_zero"`
	Event     string `pg:",notnull,type:verified_registry_event_type"`
}

func (*VerifiedRegistryClaim) Persist added in v0.14.0

type VerifiedRegistryClaimList added in v0.14.0

type VerifiedRegistryClaimList []*VerifiedRegistryClaim

func (VerifiedRegistryClaimList) Persist added in v0.14.0

type VerifiedRegistryVerifiedClient

type VerifiedRegistryVerifiedClient struct {
	Height    int64  `pg:",pk,notnull,use_zero"`
	StateRoot string `pg:",pk,notnull"`
	Address   string `pg:",pk,notnull"`

	Event   string `pg:",notnull,type:verified_registry_event_type"`
	DataCap string `pg:"type:numeric,notnull"`
}

func (*VerifiedRegistryVerifiedClient) Persist

type VerifiedRegistryVerifiedClientsList

type VerifiedRegistryVerifiedClientsList []*VerifiedRegistryVerifiedClient

func (VerifiedRegistryVerifiedClientsList) Persist

type VerifiedRegistryVerifier

type VerifiedRegistryVerifier struct {
	Height    int64  `pg:",pk,notnull,use_zero"`
	StateRoot string `pg:",pk,notnull"`
	Address   string `pg:",pk,notnull"`

	Event   string `pg:",notnull,type:verified_registry_event_type"`
	DataCap string `pg:",notnull,type:numeric"`
}

func (*VerifiedRegistryVerifier) Persist

type VerifiedRegistryVerifiersList

type VerifiedRegistryVerifiersList []*VerifiedRegistryVerifier

func (VerifiedRegistryVerifiersList) Persist

Jump to

Keyboard shortcuts

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