init

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: Apache-2.0, MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IdAddress

type IdAddress struct {
	// Epoch when this address mapping was created or updated.
	Height int64 `pg:",pk,notnull,use_zero"`
	// ID address
	ID string `pg:",pk,notnull"`
	// Robust address
	Address string `pg:",pk,notnull"`
	// StateRoot when this address mapping was created or updated.
	StateRoot string `pg:",pk,notnull"`
}

IdAddress contains a mapping of ID addresses to robust addresses from the init actor’s state.

func (*IdAddress) AsVersion

func (ia *IdAddress) AsVersion(version model.Version) (interface{}, bool)

func (*IdAddress) Persist

func (ia *IdAddress) Persist(ctx context.Context, s model.StorageBatch, version model.Version) error

type IdAddressList

type IdAddressList []*IdAddress

func (IdAddressList) Persist

func (ias IdAddressList) Persist(ctx context.Context, s model.StorageBatch, version model.Version) error

type IdAddressV0

type IdAddressV0 struct {
	ID        string `pg:",pk,notnull"`
	Address   string `pg:",pk,notnull"`
	StateRoot string `pg:",pk,notnull"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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