FlexibleLeverageStrategyExtension

Verified contract

Active on Ethereum with 260 txns
Deployed by via 0x8c864812 at 12743478
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 $2,440.43
0x11070d5caf84d6638582e9509e4c17d2febdedd2e302136d529f1f3adc5d6f85
0x985dee58022ce1d447f78df9cace5276805fd02a99a0949205084d1537ab0769
0xe5c4575ec4c81dbed96b672316a297516be3e4729cfe4776b1ccc4ebd5d67e96
0x9892b947734cccf064d461da26e7301fe6643e61406fd33ab5ba121da2f255a2
0xafdc0e066e5590bd042414e75b001f7796a7fdf7d0193225d70ba3a37598ec16
0xb9ee4350ead4046ebc27bd4a0cff27625e5e3efef3945f8546742e1e7e686779
0x65cc7deab22525f33c95ef11b4d950daee8fb84e14d20122ce913fca03502562
0x70feb9caee349c834a5572a0b87f84bb5019e3a348824ec99a5625f74d58df48
0x4291565e27e842b44051a3bbfb95acb5780cf6e36f857032dd0670c7009d5826
0x75c8ec357931ad8d18de8ad85a90c2574fdec284fddea7764a2b8d8d9c0242f5

Functions
Getter at block 20923187
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, 20000000000000000, 30)
getIncentive(view returns (struct FlexibleLeverageStrategyExtensionIncentiveSettings)
(1500000000000000000, 2400000000000000000, 50000000000000000, 1)
getMethodology(view returns (struct FlexibleLeverageStrategyExtensionMethodologySettings)
(2000000000000000000, 1800000000000000000, 2200000000000000000, 100000000000000000, 86400)
getStrategy(view returns (struct FlexibleLeverageStrategyExtensionContractSettings)
(0x0b498ff89709d3838a063f1dfa463091f9801c2b, 0x8d5174ed1dd217e240fdeaa52eb7f4540b04f419, 0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b, 0xf4030086522a5beea4988f8ca5b36dbc97bee88c, 0x8fffffd4afb6115b954bd326cbe7b4ba576818f6, 0xccf4429db6322d5c611ee964527d42e5d685dd6a, 0x39aa39c021dfbae8fac545936693ac917d5e7563, 0x2260fac5e5542a773aa44fbcfedf7c193bc2c599, 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48, 20, 22)
globalLastTradeTimestamp(view returns (uint256)
1643028750
manager(view returns (address)
0xc7aede3b12daad3ffa48fc96ccb65659ff8d261a
 
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.