FlexibleLeverageStrategyExtension
Verified contract
Active on
Ethereum with 260 txns
Slot
XX
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
Balances ($2,440.43)
Native
Value
$2,440.43
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 1 | $2,440.43 |
$2,440.43 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 14068442 | 3 years ago | | | 0 | 0.15023930 | |
| 14067786 | 3 years ago | | | 0 | 0.20392502 | |
| 14067742 | 3 years ago | | | 0 | 0.14304935 | |
| 14061256 | 3 years ago | | | 0 | 0.088665930 | |
| 14054803 | 3 years ago | | | 0 | 0.38184702 | |
| 14054752 | 3 years ago | | | 0 | 0.21241142 | |
| 14054670 | 3 years ago | | | 0 | 0.14288283 | |
| 14054091 | 3 years ago | | | 0 | 0.27314926 | |
| 14051729 | 3 years ago | | | 0 | 0.39141039 | |
| 14051690 | 3 years ago | | | 0 | 0.41187981 |
ABI
ABI objects
Getter at block 20923187 getCurrentEtherIncentive() view returns (uint256) getCurrentLeverageRatio() view returns (uint256) shouldRebalance() view returns (string[], uint8[])
anyoneCallable() view returns (bool)
false
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
twapLeverageRatio() view returns (uint256)
0
Read-only
callAllowList(address) view returns (bool)
enabledExchanges(uint256) view returns (string)
getChunkRebalanceNotional(string[] _exchangeNames) view returns (uint256[] sizes, address sellAsset, address buyAsset)
getExchangeSettings(string _exchangeName) view returns (struct FlexibleLeverageStrategyExtensionExchangeSettings)
shouldRebalanceWithBounds(uint256 _customMinLeverageRatio, uint256 _customMaxLeverageRatio) view returns (string[], uint8[])
State-modifying
Events addEnabledExchange(string _exchangeName, struct 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[] _callers, bool[] _statuses)
updateEnabledExchange(string _exchangeName, struct FlexibleLeverageStrategyExtensionExchangeSettings _exchangeSettings)
withdrawEtherBalance()
AnyoneCallableUpdated(bool indexed _status)
CallerStatusUpdated(address indexed _caller, bool _status)
Disengaged(uint256 _currentLeverageRatio, uint256 _newLeverageRatio, uint256 _chunkRebalanceNotional, uint256 _totalRebalanceNotional)
Engaged(uint256 _currentLeverageRatio, uint256 _newLeverageRatio, uint256 _chunkRebalanceNotional, uint256 _totalRebalanceNotional)
ExchangeAdded(string _exchangeName, uint256 twapMaxTradeSize, uint256 exchangeLastTradeTimestamp, uint256 incentivizedTwapMaxTradeSize, bytes leverExchangeData, bytes deleverExchangeData)
ExchangeRemoved(string _exchangeName)
ExchangeUpdated(string _exchangeName, uint256 twapMaxTradeSize, uint256 exchangeLastTradeTimestamp, uint256 incentivizedTwapMaxTradeSize, bytes leverExchangeData, bytes deleverExchangeData)
ExecutionSettingsUpdated(uint256 _unutilizedLeveragePercentage, uint256 _twapCooldownPeriod, uint256 _slippageTolerance)
IncentiveSettingsUpdated(uint256 _etherReward, uint256 _incentivizedLeverageRatio, uint256 _incentivizedSlippageTolerance, uint256 _incentivizedTwapCooldownPeriod)
MethodologySettingsUpdated(uint256 _targetLeverageRatio, uint256 _minLeverageRatio, uint256 _maxLeverageRatio, uint256 _recenteringSpeed, uint256 _rebalanceInterval)
RebalanceIterated(uint256 _currentLeverageRatio, uint256 _newLeverageRatio, uint256 _chunkRebalanceNotional, uint256 _totalRebalanceNotional)
Rebalanced(uint256 _currentLeverageRatio, uint256 _newLeverageRatio, uint256 _chunkRebalanceNotional, uint256 _totalRebalanceNotional)
RipcordCalled(uint256 _currentLeverageRatio, uint256 _newLeverageRatio, uint256 _rebalanceNotional, uint256 _etherIncentive)
constructor(address _manager, struct FlexibleLeverageStrategyExtensionContractSettings _strategy, struct FlexibleLeverageStrategyExtensionMethodologySettings _methodology, struct FlexibleLeverageStrategyExtensionExecutionSettings _execution, struct FlexibleLeverageStrategyExtensionIncentiveSettings _incentive, string[] _exchangeNames, struct FlexibleLeverageStrategyExtensionExchangeSettings[] _exchangeSettings)
receive()
This contract contains no error objects.