UNPKG

lisk-framework

Version:

Lisk blockchain application platform

12 lines (11 loc) 625 B
import { ModuleEndpointContext } from '../../types'; import { RewardEndpoint } from '../reward/endpoint'; import { GetExpectedValidatorRewardsResponse, ModuleConfig, PoSMethod, ValidatorsMethod } from './types'; export declare class DynamicRewardEndpoint extends RewardEndpoint { private _validatorMethod; private _posMethod; protected _config: ModuleConfig; init(config: ModuleConfig, blockTime: number): void; addDependencies(validatorMethod: ValidatorsMethod, posMethod: PoSMethod): void; getExpectedValidatorRewards(context: ModuleEndpointContext): Promise<GetExpectedValidatorRewardsResponse>; }