ImmutableArrayGetter
Facilitates storing the BP binIds and ratios as immutables which avoids storage operations when minting/burning BP positions.
State Variables
_binCount
uint8 private immutable _binCount;binIds12345678
bytes32 private immutable binIds12345678;binIds910111213141516
bytes32 private immutable binIds910111213141516;binIds1718192021222324
bytes32 private immutable binIds1718192021222324;ratios12
bytes32 private immutable ratios12;ratios34
bytes32 private immutable ratios34;ratios56
ratios78
ratios910
ratios1112
ratios1314
ratios1516
ratios1718
ratios1920
ratios2122
ratios2324
Functions
constructor
_getBinIds
_getRatios
_getRatio
_getRatioBytes
_getBinId
_getBinIdBytes
Last updated