yajsapi - JavaScript high-level API
Yagna Contributor Guide

Class: DecreaseScoreForUnconfirmedAgreement

yajsapi / Exports / executor/strategy / DecreaseScoreForUnconfirmedAgreement

Class: DecreaseScoreForUnconfirmedAgreement

executor/strategy.DecreaseScoreForUnconfirmedAgreement

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new DecreaseScoreForUnconfirmedAgreement(base_strategy, factor)

Parameters

Name

Type

base_strategy

any

factor

any

Defined in

yajsapi/executor/strategy.ts:144

Properties

_base_strategy

Private _base_strategy: any

Defined in

yajsapi/executor/strategy.ts:143

_factor

Private _factor: any

Defined in

yajsapi/executor/strategy.ts:144

Methods

decorate_demand

decorate_demand(demand): Promise

Parameters

Name

Type

demand

DemandBuilder

Returns

Promise

Defined in

yajsapi/executor/strategy.ts:151

score_offer

score_offer(offer, history?): Promise

Parameters

Name

Type

offer

OfferProposal

history?

ComputationHistory

Returns

Promise

Defined in

yajsapi/executor/strategy.ts:156