genesisdataprovider

package
v0.9.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenesisDataProvider

type GenesisDataProvider struct {
	CertificateManager insolar.CertificateManager `inject:""`
	ContractRequester  insolar.ContractRequester  `inject:""`
	// contains filtered or unexported fields
}

GenesisDataProvider gives access to basic information about genesis objects

func New

func New() (*GenesisDataProvider, error)

New creates new GenesisDataProvider

func (*GenesisDataProvider) GetMigrationAdminMember

func (gdp *GenesisDataProvider) GetMigrationAdminMember(ctx context.Context) (*insolar.Reference, error)

GetMigrationAdminMember returns reference to migration admin member

func (*GenesisDataProvider) GetMigrationDaemonMembers

func (gdp *GenesisDataProvider) GetMigrationDaemonMembers(ctx context.Context) ([]*insolar.Reference, error)

GetMigrationDaemonMembers returns references to migration daemons members

func (*GenesisDataProvider) GetNodeDomain

func (gdp *GenesisDataProvider) GetNodeDomain(ctx context.Context) (*insolar.Reference, error)

GetNodeDomain returns reference to NodeDomain

func (*GenesisDataProvider) GetRootDomain

func (gdp *GenesisDataProvider) GetRootDomain(ctx context.Context) *insolar.Reference

GetRootDomain returns reference to RootDomain

func (*GenesisDataProvider) GetRootMember

func (gdp *GenesisDataProvider) GetRootMember(ctx context.Context) (*insolar.Reference, error)

GetRootMember returns reference to root member

Jump to

Keyboard shortcuts

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