Version: 0.13.0

negotiation/taker/order

Index

References

Classes

Interfaces

Functions

References

TakerOrder

TakerOrder:

Functions

assetMatches

assetMatches(criteriaAsset: MatchingCriteriaAsset, orderAsset: OrderAsset): boolean

Defined in negotiation/taker/order.ts:108

Parameters:

NameType
criteriaAssetMatchingCriteriaAsset
orderAssetOrderAsset

Returns: boolean


assetOrderToSwap

assetOrderToSwap(orderAsset: OrderAsset): Asset | undefined

Defined in negotiation/taker/order.ts:132

Parameters:

NameType
orderAssetOrderAsset

Returns: Asset | undefined


matchingCriteriaToTradingPair

matchingCriteriaToTradingPair(matchingCriteria: MatchingCriteria): string

Defined in negotiation/taker/order.ts:163

Parameters:

NameType
matchingCriteriaMatchingCriteria

Returns: string


orderRate

orderRate(rawOrder: RawOrder): BigNumber

Defined in negotiation/taker/order.ts:101

Parameters:

NameType
rawOrderRawOrder

Returns: BigNumber


rateMatches

rateMatches(criteria: MatchingCriteria, rawOrder: RawOrder): boolean

Defined in negotiation/taker/order.ts:89

This is only exported for test purposes

Parameters:

NameTypeDescription
criteriaMatchingCriteria-
rawOrderRawOrder

Returns: boolean