FlexibleLeverageStrategyExtension

Verified contract

Active on Ethereum with 309 txns
Deployed by via 0xc4ff3edf at 12743477
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 10 additional slots
-
variable spans 4 additional slots
-
variable spans 2 additional slots
-
variable spans 3 additional slots
Native
Value $3,553.02
0x87a53b21af1be55a1ef3b01045e77a699fce1c2885eba942ef8f3f48417318ac
0xf0279db639dbda1b4ba09ab527eb64a94d57fef280dfeee9810886ffa6e7a790
0xa7d866f8ba2f403287488f371ec5cb1a3abff81bc7e9be361a03e0068e087643
0x19d97c8647517b606ef02e090ca5e9ead06cbfef20fe96cb16db027cacd53105
0x2ccc89406c6de33d529437f4b01d5e180d00a880053a2c329e3d18cd1933fdd4
0x272e1a0ac559e2754c3bdcc6c9a8d144ea59e9fdda712c6b6b13ce821bd62840
0x02b46c74ecd3dab186e8a508cc6ec4f0975b2f744cec62784326c14696966c19
0x2c2ef37af0929354486e1fad3d5e4d1151172aff0e12d535976def8aee6069c5
0x50c2189a2a58fe1c51f8987e05a7c0058e5299df1e51cd630711e684c5a6984c
0x1d7cfbaf01590b6af89c8d70d6848eba21f407cd63e157e0fea7f9c191c6e182

Functions
Getter at block 21287668
anyoneCallable(view returns (bool)
false
 
getCurrentEtherIncentive(view returns (uint256)
 
getCurrentLeverageRatio(view returns (uint256)
getEnabledExchanges(view returns (string[])
[SushiswapExchangeAdapter, UniswapV3ExchangeAdapter, AMMSplitterExchangeAdapter]
getExecution(view returns (struct FlexibleLeverageStrategyExtensionExecutionSettings)
(10000000000000000, 35000000000000000, 30)
getIncentive(view returns (struct FlexibleLeverageStrategyExtensionIncentiveSettings)
(1500000000000000000, 2700000000000000000, 50000000000000000, 1)
getMethodology(view returns (struct FlexibleLeverageStrategyExtensionMethodologySettings)
(2000000000000000000, 1700000000000000000, 2300000000000000000, 50000000000000000, 86400)
getStrategy(view returns (struct FlexibleLeverageStrategyExtensionContractSettings)
(0xaa6e8127831c9de45ae56bb1b0d4d4da6e5665bd, 0x8d5174ed1dd217e240fdeaa52eb7f4540b04f419, 0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b, 0x5f4ec3df9cbd43714fe2740f5e3616155c5b8419, 0x8fffffd4afb6115b954bd326cbe7b4ba576818f6, 0x4ddc2d193948926d02f9b1fe9e1daa0718270ed5, 0x39aa39c021dfbae8fac545936693ac917d5e7563, 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2, 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48, 10, 22)
globalLastTradeTimestamp(view returns (uint256)
1643033502
manager(view returns (address)
0x445307de5279cd4b1bcbf38853f81b190a806075
 
shouldRebalance(view returns (string[]uint8[])
twapLeverageRatio(view returns (uint256)
0
Read-only
callAllowList(addressview returns (bool)
enabledExchanges(uint256view returns (string)
getChunkRebalanceNotional(string[] _exchangeNamesview returns (uint256[] sizesaddress sellAssetaddress buyAsset)
getExchangeSettings(string _exchangeNameview returns (struct FlexibleLeverageStrategyExtensionExchangeSettings)
shouldRebalanceWithBounds(uint256 _customMinLeverageRatiouint256 _customMaxLeverageRatioview returns (string[]uint8[])
State-modifying
addEnabledExchange(string _exchangeNamestruct FlexibleLeverageStrategyExtensionExchangeSettings _exchangeSettings
disengage(string _exchangeName
engage(string _exchangeName
iterateRebalance(string _exchangeName
rebalance(string _exchangeName
removeEnabledExchange(string _exchangeName
ripcord(string _exchangeName
setExecutionSettings(struct FlexibleLeverageStrategyExtensionExecutionSettings _newExecutionSettings
setIncentiveSettings(struct FlexibleLeverageStrategyExtensionIncentiveSettings _newIncentiveSettings
setMethodologySettings(struct FlexibleLeverageStrategyExtensionMethodologySettings _newMethodologySettings
updateAnyoneCallable(bool _status
updateCallerStatus(address[] _callersbool[] _statuses
updateEnabledExchange(string _exchangeNamestruct FlexibleLeverageStrategyExtensionExchangeSettings _exchangeSettings
withdrawEtherBalance(
Events
AnyoneCallableUpdated(bool indexed _status
CallerStatusUpdated(address indexed _callerbool _status
Disengaged(uint256 _currentLeverageRatiouint256 _newLeverageRatiouint256 _chunkRebalanceNotionaluint256 _totalRebalanceNotional
Engaged(uint256 _currentLeverageRatiouint256 _newLeverageRatiouint256 _chunkRebalanceNotionaluint256 _totalRebalanceNotional
ExchangeAdded(string _exchangeNameuint256 twapMaxTradeSizeuint256 exchangeLastTradeTimestampuint256 incentivizedTwapMaxTradeSizebytes leverExchangeDatabytes deleverExchangeData
ExchangeRemoved(string _exchangeName
ExchangeUpdated(string _exchangeNameuint256 twapMaxTradeSizeuint256 exchangeLastTradeTimestampuint256 incentivizedTwapMaxTradeSizebytes leverExchangeDatabytes deleverExchangeData
ExecutionSettingsUpdated(uint256 _unutilizedLeveragePercentageuint256 _twapCooldownPerioduint256 _slippageTolerance
IncentiveSettingsUpdated(uint256 _etherRewarduint256 _incentivizedLeverageRatiouint256 _incentivizedSlippageToleranceuint256 _incentivizedTwapCooldownPeriod
MethodologySettingsUpdated(uint256 _targetLeverageRatiouint256 _minLeverageRatiouint256 _maxLeverageRatiouint256 _recenteringSpeeduint256 _rebalanceInterval
RebalanceIterated(uint256 _currentLeverageRatiouint256 _newLeverageRatiouint256 _chunkRebalanceNotionaluint256 _totalRebalanceNotional
Rebalanced(uint256 _currentLeverageRatiouint256 _newLeverageRatiouint256 _chunkRebalanceNotionaluint256 _totalRebalanceNotional
RipcordCalled(uint256 _currentLeverageRatiouint256 _newLeverageRatiouint256 _rebalanceNotionaluint256 _etherIncentive
Constructor
constructor(address _managerstruct FlexibleLeverageStrategyExtensionContractSettings _strategystruct FlexibleLeverageStrategyExtensionMethodologySettings _methodologystruct FlexibleLeverageStrategyExtensionExecutionSettings _executionstruct FlexibleLeverageStrategyExtensionIncentiveSettings _incentivestring[] _exchangeNamesstruct FlexibleLeverageStrategyExtensionExchangeSettings[] _exchangeSettings
Fallback and receive
receive(
Errors

This contract contains no error objects.