Home Reference Source
public class | source

PoolRewardsManagement

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
public
public
public
public
public
Private Members
private
private

Method Summary

Public Methods
public
public
public

async doPayout()

public
public
Private Methods
private

_addAddressTo(address: *): *

private

async _doPayout(): boolean

private

_findAddressTo(address: *, returnPos: boolean): *

private

_removeAddressTo(address: *)

Public Constructors

public constructor() source

Public Members

public blockchain: * source

public currentPoolBalance: number source

public poolData: * source

public poolFeePercent: * source

public poolManagement: * source

public totalRewardConfirmOther: number source

public totalRewardSent: number source

Private Members

private _payoutInProgress: boolean source

private _toAddresses: *[] source

Public Methods

public createRemainPayouts() source

public async createTransactions() source

public async doPayout() source

public prepareRewards(): boolean source

Return:

boolean

public updateMinersReward() source

Private Methods

private _addAddressTo(address: *): * source

Params:

NameTypeAttributeDescription
address *

Return:

*

private async _doPayout(): boolean source

Return:

boolean

private _findAddressTo(address: *, returnPos: boolean): * source

Params:

NameTypeAttributeDescription
address *
returnPos boolean
  • optional
  • default: false

Return:

*

private _removeAddressTo(address: *) source

Params:

NameTypeAttributeDescription
address *