Skip to main content

LockupPriceGated

Git Source

Namespace for the structs used only in LPG streams.

Structs

UnlockParams

Struct encapsulating the unlock parameters for LPG streams.

struct UnlockParams {
AggregatorV3Interface oracle;
uint128 targetPrice;
}

Properties

NameTypeDescription
oracleAggregatorV3InterfaceThe price feed oracle address used to retrieve the latest price.
targetPriceuint128The price that must be reached to unlock the tokens, denominated in Chainlink's 8-decimal, where 1e8 = $1.