GeneralIndexModule
Verified contract
Active on
Ethereum with 4,861 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) |
---|---|---|---|---|---|---|---|
| 21134207 | 20 days ago | | | 0 | 0.0028873816 | |
| 21134130 | 20 days ago | | | 0 | 0.0025048667 | |
| 21134050 | 20 days ago | | | 0 | 0.0031336216 | |
| 21133970 | 20 days ago | | | 0 | 0.0025763120 | |
| 21133892 | 20 days ago | | | 0 | 0.0024113285 | |
| 21133809 | 20 days ago | | | 0 | 0.0029386708 | |
| 21133730 | 20 days ago | | | 0 | 0.0026984465 | |
| 21133654 | 20 days ago | | | 0 | 0.0026699727 | |
| 21133572 | 20 days ago | | | 0 | 0.0044469590 | |
| 21133492 | 20 days ago | | | 0 | 0.0032121057 |
ABI
ABI objects
Getter at block 21276210
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.