PositionImage

Inherits: IPositionImage

Renders svg for Maverick V2 position.

State Variables

NOT_FOUND

uint256 private constant NOT_FOUND = type(uint256).max;

position

IMaverickV2Position public position;

poolLens

IMaverickV2PoolLens public immutable poolLens;

deployer

address private immutable deployer;

Functions

constructor

constructor(IMaverickV2PoolLens _poolLens);

setPosition

image

Generates a JSON image URI for a given NFT token.

description

_feeString

getPositionMetadata

getKind

getPoolLabels

getPositionLabels

getBackground

svg

Generates an SVG image for a given NFT token.

findTickIndex

renderTick

getLiquidityBars

truncateString

Structs

PositionMetadata

Last updated