Skip to content

InitializeParams ​

Git Source

solidity
struct InitializeParams {
DexKey dexKey;
uint256 fee;
uint256 revenueCut;
bool rebalancingStatus;
uint256 centerPrice;
uint256 centerPriceContract; // nonce
uint256 upperPercent;
uint256 lowerPercent;
uint256 upperShiftThreshold;
uint256 lowerShiftThreshold;
uint256 shiftTime; // in seconds // for rebalancing
uint256 minCenterPrice;
uint256 maxCenterPrice;
uint256 token0Amount;
uint256 token1Amount;
}