FlexibleLeverageStrategyExtension
Verified contract
Active on
Ethereum with 309 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 ($3,200.73)
Native
Value
$3,200.73
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 1 | $3,200.73 |
$3,200.73 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 14068774 | 3 years ago | | | 0 | 0.18888780 | |
| 14068413 | 3 years ago | | | 0 | 0.099992446 | |
| 14067969 | 3 years ago | | | 0 | 0.22294408 | |
| 14067842 | 3 years ago | | | 0 | 0.11645075 | |
| 14067747 | 3 years ago | | | 0 | 0.17477888 | |
| 14067725 | 3 years ago | | | 0 | 0.12423275 | |
| 14063687 | 3 years ago | | | 0 | 0.17299409 | |
| 14057181 | 3 years ago | | | 0 | 0.32082896 | |
| 14054784 | 3 years ago | | | 0 | 0.22149500 | |
| 14054742 | 3 years ago | | | 0 | 0.22031276 |
ABI
ABI objects
Getter at block 21161362 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, 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
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.