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
func (v *VerifiedRegistryClaim) Persist(ctx context.Context, s model.StorageBatch, _ model.Version) error
type VerifiedRegistryClaimList ¶ added in v0.14.0
type VerifiedRegistryClaimList []*VerifiedRegistryClaim
func (VerifiedRegistryClaimList) Persist ¶ added in v0.14.0
func (v VerifiedRegistryClaimList) Persist(ctx context.Context, s model.StorageBatch, _ model.Version) error
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 ¶
func (v *VerifiedRegistryVerifiedClient) Persist(ctx context.Context, s model.StorageBatch, _ model.Version) error
type VerifiedRegistryVerifiedClientsList ¶
type VerifiedRegistryVerifiedClientsList []*VerifiedRegistryVerifiedClient
func (VerifiedRegistryVerifiedClientsList) Persist ¶
func (v VerifiedRegistryVerifiedClientsList) Persist(ctx context.Context, s model.StorageBatch, _ model.Version) error
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 ¶
func (v *VerifiedRegistryVerifier) Persist(ctx context.Context, s model.StorageBatch, _ model.Version) error
type VerifiedRegistryVerifiersList ¶
type VerifiedRegistryVerifiersList []*VerifiedRegistryVerifier
func (VerifiedRegistryVerifiersList) Persist ¶
func (v VerifiedRegistryVerifiersList) Persist(ctx context.Context, s model.StorageBatch, _ model.Version) error
Click to show internal directories.
Click to hide internal directories.