LStrategy

Verified contract

Active on Ethereum with 53 txns
Deployed by via 0xca70edf2 at 15645282
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 3 additional slots
-
variable spans 2 additional slots
-
variable spans 3 additional slots
ERC-20
Value $4.4
ERC-20
Value $3.71
 (#0)
ERC-1555
--
0xcdd704ccd205767a31a8361e8ecb8464f5d0ee024c26c766d5f635c45e206ecc
0x4e0c4480aac290a61e10a9471ddd6a9a3c3254bddf03f38a28a75c7efce9373a
0x50476f65238db6fbbc0f5d59169029b1e1e7aa74b2270fca67971b4e0fb64554
0x87420e556d80d930671ccc0253b477392a400c04ffb15870cf80a7b6555d6bb8
0x9da232e82c8d2e58c0941092f99d8cb9f00e68a0b01d6e924ce11b6df1005528
0xec17bdcdba87e5e4c135b6752917324c16bdbfda93a85a21e181ee3c5f9d8c85
0x4aaa5747fac178afddb02ff28790a8c176203b4fcdd05ec05510a904874aaa5c
0xce20c5539fc74b6b389c2736bb344505f05ac68595921b7e887b08e9d5db9890
0x17d9b9bd2a01b20bff0290e931e899c227a00f28ffba98ec380b181e23e3ba35
0x0e3214f6ed196cfb94a5419317bbb0420f1607c6d034ab2c211df7ae6b70793d

Functions
Getter at block 21379074
ADMIN_DELEGATE_ROLE(view returns (bytes32)
0xc171260023d22a25a00a2789664c9334017843b831138c8ef03cc8897e5873d7
ADMIN_ROLE(view returns (bytes32)
0xf23ec0bb4210edd5cba85afd05127efcd2fc6a781bfed49188da1081670b22d8
APPROVE_SELECTOR(view returns (bytes4)
0x095ea7b3
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DENOMINATOR(view returns (uint256)
1000000000
OPERATOR(view returns (bytes32)
0x46a52cf33029de9f84853745a87af28464c80bf0346df1b32e205fc73319f622
SET_PRESIGNATURE_SELECTOR(view returns (bytes4)
0xec6cb13f
cowswapSettlement(view returns (address)
0x9008d19f58aabd9ed0d60971565aa8510560ab41
cowswapVaultRelayer(view returns (address)
0xc92e8bdf79f0507f65a392b0ab4667716bfe0110
erc20Vault(view returns (address)
0xfa373e936c6d2b9bf15e987880d45a605b2f063f
intervalWidthInTicks(view returns (uint16)
60
lastRebalanceERC20UniV3VaultsTimestamp(view returns (uint256)
1665989855
lastRebalanceUniV3VaultsTimestamp(view returns (uint256)
1666607759
lowerVault(view returns (address)
0x86815850f4b409341a51b1d9ec299517b449f41e
orderDeadline(view returns (uint256)
1666607723
orderHelper(view returns (address)
0x8cce96f395a6754d6edfd33ec54cc60f6526c19d
otherParams(view returns (uint256 minToken0ForOpeninguint256 minToken1ForOpeninguint256 secondsBetweenRebalances)
(minToken0ForOpening=1000000, minToken1ForOpening=1000000, secondsBetweenRebalances=0)
poolFee(view returns (uint24)
500
positionManager(view returns (address)
0xc36442b4a4522e871399cd717abdd847ab11fe88
preOrder(view returns (address tokenInaddress tokenOutuint64 deadlineuint256 amountInuint256 minAmountOut)
(tokenIn=0x0000000000000000000000000000000000000000, tokenOut=0x0000000000000000000000000000000000000000, deadline=0, amountIn=0, minAmountOut=0)
ratioParams(view returns (uint32 erc20UniV3CapitalRatioDuint32 erc20TokenRatioDuint32 minErc20UniV3CapitalRatioDeviationDuint32 minErc20TokenRatioDeviationDuint32 minUniV3LiquidityRatioDeviationD)
(erc20UniV3CapitalRatioD=50000000, erc20TokenRatioD=500000000, minErc20UniV3CapitalRatioDeviationD=100000000, minErc20TokenRatioDeviationD=50000000, minUniV3LiquidityRatioDeviationD=50000000)
tradingParams(view returns (address oracleuint32 maxSlippageDuint32 orderDeadlineuint256 oracleSafetyMaskuint256 maxFee0uint256 maxFee1)
(oracle=0x9d992650b30c6fb7a83e7e7a430b4e015433b838, maxSlippageD=10000000, orderDeadline=2592000, oracleSafetyMask=32, maxFee0=2000000000000000, maxFee1=2000000000000000)
upperVault(view returns (address)
0xf904366ba44df5957a82e8f1b7b990cc15f764b3
Read-only
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
getTargetPriceX96(address token0address token1struct LStrategyTradingParams tradingParams_view returns (uint256 priceX96)
hasRole(bytes32 roleaddress accountview returns (bool)
isAdmin(address senderview returns (bool)
isOperator(address senderview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
targetUniV3LiquidityRatio(int24 targetTick_view returns (uint128 liquidityRatioDbool isNegative)
tokens(uint256view returns (address)
State-modifying
collectUniFees(returns (uint256[] totalCollectedEarnings)
grantRole(bytes32 roleaddress account
manualPull(address fromVaultaddress toVaultuint256[] tokenAmountsuint256[] minTokensAmountsuint256 deadlinereturns (uint256[] actualTokenAmounts)
postPreOrder(uint256 minAmountOutreturns (struct LStrategyPreOrder preOrder_)
rebalanceERC20UniV3Vaults(uint256[] minLowerVaultTokensuint256[] minUpperVaultTokensuint256 deadlinereturns (uint256[] totalPulledAmountsbool isNegativeCapitalDeltauint256 percentageIncreaseD)
rebalanceUniV3Vaults(uint256[] minWithdrawTokensuint256[] minDepositTokensuint256 deadlinereturns (uint256[] pulledAmountsuint256[] pushedAmountsuint128 depositLiquidityuint128 withdrawLiquiditybool lowerToUpper)
renounceRole(bytes32 roleaddress account
resetCowswapAllowance(uint8 tokenNumber
revokeRole(bytes32 roleaddress account
signOrder(struct GPv2OrderData orderbytes uuidbool signed
updateOtherParams(struct LStrategyOtherParams newOtherParams
updateRatioParams(struct LStrategyRatioParams newRatioParams
updateTradingParams(struct LStrategyTradingParams newTradingParams
Events
CowswapAllowanceReset(address indexed originaddress indexed sender
FeesCollected(address indexed originaddress indexed senderuint256[] collectedEarnings
ManualPull(address indexed originaddress indexed senderuint256[] tokenAmountsuint256[] actualTokenAmounts
OrderSigned(address indexed originaddress indexed senderbytes uuidstruct GPv2OrderData orderstruct LStrategyPreOrder preOrderbool signed
OtherParamsUpdated(address indexed originaddress indexed senderstruct LStrategyOtherParams otherParams
PreOrderPosted(address indexed originaddress indexed senderstruct LStrategyPreOrder preOrder
RatioParamsUpdated(address indexed originaddress indexed senderstruct LStrategyRatioParams ratioParams
RebalancedErc20UniV3(address indexed originaddress indexed senderbool fromErc20uint256[] pulledAmounts
RebalancedUniV3(address indexed originaddress indexed senderaddress fromVaultaddress toVaultuint256[] pulledAmountsuint256[] pushedAmountsuint128 desiredLiquidityuint128 liquidity
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SwapVault(uint256 oldNftuint256 newNftint24 newTickLowerint24 newTickUpper
TradingParamsUpdated(address indexed originaddress indexed senderstruct LStrategyTradingParams tradingParams
Constructor
constructor(address positionManager_address cowswapSettlement_address cowswapVaultRelayer_address erc20vault_address vault1_address vault2_address orderHelper_address admin_uint16 intervalWidthInTicks_
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.