Skip to content

Class: StakingFactoryService

modules/staking.StakingFactoryService

Intended for staking pool

Table of contents

Constructors

Methods

Constructors

constructor

new StakingFactoryService(_signerService, _domainsService)

Parameters

Name Type
_signerService SignerService
_domainsService DomainsService

Methods

allServices

allServices(): Promise<Service[]>

Returns

Promise<Service[]>

Description

Returns all services for which pools are launched


getPool

getPool(): Promise<StakingPoolService>

Returns

Promise<StakingPoolService>

Description

Returns pool launched for energyweb org


create

Static create(signerService, domainsService): Promise<StakingFactoryService>

Parameters

Name Type
signerService SignerService
domainsService DomainsService

Returns

Promise<StakingFactoryService>