GeneralIndexModule
Verified contract
Active on
Ethereum with 491 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) |
---|---|---|---|---|---|---|---|
| 12820641 | 3 years ago | | | 0 | 0.010315431 | |
| 12752737 | 3 years ago | | | 0 | 0.0065617552 | |
| 12752646 | 3 years ago | | | 0 | 0.0051385312 | |
| 12752564 | 3 years ago | | | 0 | 0.0052553160 | |
| 12752497 | 3 years ago | | | 0 | 0.0043341139 | |
| 12752494 | 3 years ago | | | 0 | 0.0049728065 | |
| 12752484 | 3 years ago | | | 0 | 0.0049633540 | |
| 12752400 | 3 years ago | | | 0 | 0.0055575950 | |
| 12752387 | 3 years ago | | | 0 | 0.0055472780 | |
| 12752318 | 3 years ago | | | 0 | 0.0046800800 |
ABI
ABI objects
Getter at block 21262795
controller() view returns (address)
0xa4c8d221d8bb851f83aadd0223a8900a6921a349
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.