Skip to main content

PositionRenderer.sol

Read code on GitHub

Manages the visual representation of the Primitive protocol position tokens

Methods

render

Returns a SVG representation of a position token

Solidity
function render(address, uint256) external pure returns (string)

Parameters

NameTypeDescription
_0addressundefined
_1uint256undefined

Returns

NameTypeDescription
_0stringSVG image as a base64 encoded string