GeneralIndexModule
Verified contract
Active on
Ethereum with 149 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "GeneralIndexModule"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 15323948 | 2 years ago | | | 0 | 0.0057468828 | |
| 15323855 | 2 years ago | | | 0 | 0.0088323266 | |
| 15323824 | 2 years ago | | | 0 | 0.0065172596 | |
| 15323736 | 2 years ago | | | 0 | 0.0032049404 | |
| 15323670 | 2 years ago | | | 0 | 0.0071018732 | |
| 15323630 | 2 years ago | | | 0 | 0.0055908648 | |
| 15323581 | 2 years ago | | | 0 | 0.0049020167 | |
| 15323318 | 2 years ago | | | 0 | 0.0066101481 | |
| 15323283 | 2 years ago | | | 0 | 0.0058294790 | |
| 15323215 | 2 years ago | | | 0 | 0.0087715501 |
ABI
ABI objects
Getter at block 21257063
controller() view returns (address)
0xf1b12a7b1f0af744ed21eec7d3e891c48fd3c329
weth() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
executionInfo(address, address) view returns (uint256 targetUnit, uint256 maxSize, uint256 coolOffPeriod, uint256 lastTradeTimestamp, string exchangeName, bytes exchangeData)
getAllowedTraders(address _setToken) view returns (address[])
getComponentTradeQuantityAndDirection(address _setToken, address _component) view returns (bool, uint256)
getIsAllowedTrader(address _setToken, address _trader) view returns (bool)
getRebalanceComponents(address _setToken) view returns (address[])
permissionInfo(address) view returns (bool anyoneTrade)
rebalanceInfo(address) view returns (uint256 positionMultiplier, uint256 raiseTargetPercentage)
State-modifying
Events initialize(address _setToken)
raiseAssetTargets(address _setToken)
removeModule()
setAnyoneTrade(address _setToken, bool _status)
setCoolOffPeriods(address _setToken, address[] _components, uint256[] _coolOffPeriods)
setExchangeData(address _setToken, address[] _components, bytes[] _exchangeData)
setExchanges(address _setToken, address[] _components, string[] _exchangeNames)
setRaiseTargetPercentage(address _setToken, uint256 _raiseTargetPercentage)
setTradeMaximums(address _setToken, address[] _components, uint256[] _tradeMaximums)
setTraderStatus(address _setToken, address[] _traders, bool[] _statuses)
startRebalance(address _setToken, address[] _newComponents, uint256[] _newComponentsTargetUnits, uint256[] _oldComponentsTargetUnits, uint256 _positionMultiplier)
trade(address _setToken, address _component, uint256 _ethQuantityLimit)
tradeRemainingWETH(address _setToken, address _component, uint256 _minComponentReceived)
AnyoneTradeUpdated(address indexed _setToken, bool indexed _status)
AssetExchangeUpdated(address indexed _setToken, address indexed _component, string _newExchangeName)
AssetTargetsRaised(address indexed _setToken, uint256 indexed positionMultiplier)
CoolOffPeriodUpdated(address indexed _setToken, address indexed _component, uint256 _newCoolOffPeriod)
ExchangeDataUpdated(address indexed _setToken, address indexed _component, bytes _newExchangeData)
RaiseTargetPercentageUpdated(address indexed _setToken, uint256 indexed _raiseTargetPercentage)
RebalanceStarted(address indexed _setToken, address[] aggregateComponents, uint256[] aggregateTargetUnits, uint256 indexed positionMultiplier)
TradeExecuted(address indexed _setToken, address indexed _sellComponent, address indexed _buyComponent, address _exchangeAdapter, address _executor, uint256 _netAmountSold, uint256 _netAmountReceived, uint256 _protocolFee)
TradeMaximumUpdated(address indexed _setToken, address indexed _component, uint256 _newMaximum)
TraderStatusUpdated(address indexed _setToken, address indexed _trader, bool _status)
constructor(address _controller, address _weth)
This contract contains no fallback and receive objects.
This contract contains no error objects.