Skip to content

StaticCenterPrice ​

Git Source

Inherits:FluidCenterPrice

ATTENTION: DO NOT USE THIS ON A LIVE DEX POOL. It can be used to set a center price but then this needs to be removed immediately again.

State Variables ​

STATIC_PRICE ​

solidity
uint256 internal immutable STATIC_PRICE;

Functions ​

constructor ​

solidity
constructor(string memory infoName_, uint256 staticPrice_) FluidCenterPrice(infoName_);

centerPrice ​

solidity
function centerPrice() external view override returns (uint256 price_);