Documentation ¶
Index ¶
- type GenesisDataProvider
- func (gdp *GenesisDataProvider) GetMigrationAdminMember(ctx context.Context) (*insolar.Reference, error)
- func (gdp *GenesisDataProvider) GetMigrationDaemonMembers(ctx context.Context) ([]*insolar.Reference, error)
- func (gdp *GenesisDataProvider) GetNodeDomain(ctx context.Context) (*insolar.Reference, error)
- func (gdp *GenesisDataProvider) GetRootDomain(ctx context.Context) *insolar.Reference
- func (gdp *GenesisDataProvider) GetRootMember(ctx context.Context) (*insolar.Reference, error)
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 (*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 ¶
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 ¶
GetRootMember returns reference to root member
Click to show internal directories.
Click to hide internal directories.