Skip to main content

PositionLibrary

@pegasys-fi/v3-sdk / Exports / PositionLibrary

Class: PositionLibrary

Table of contents

Constructors

Methods

Constructors

constructor

Private new PositionLibrary()

Cannot be constructed.

Defined in

utils/position.ts:10

Methods

getTokensOwed

Static getTokensOwed(feeGrowthInside0LastX128, feeGrowthInside1LastX128, liquidity, feeGrowthInside0X128, feeGrowthInside1X128): default[]

Parameters

NameType
feeGrowthInside0LastX128default
feeGrowthInside1LastX128default
liquiditydefault
feeGrowthInside0X128default
feeGrowthInside1X128default

Returns

default[]

Defined in

utils/position.ts:13