GeneralIndexModule

Verified contract

Active on Ethereum with 2 txns
Deployed by via 0xc7fc44ff at 12597978
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "GeneralIndexModule"

0xb62209d212142482f0ceb3954cb251e59b4d127d33f984bafa02968071cff9b2
0xa01c08cf9a343a1f1a01323ef6ad4b69c1f9ad82a90dbfe75202205739fb5728

Functions
Getter at block 21045292
controller(view returns (address)
0xe565711e7a59800e110c959e156121988e6f4704
weth(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
executionInfo(addressaddressview returns (uint256 targetUnituint256 maxSizeuint256 coolOffPerioduint256 lastTradeTimestampstring exchangeNamebytes exchangeData)
getAllowedTraders(address _ckTokenview returns (address[])
getComponentTradeQuantityAndDirection(address _ckTokenaddress _componentview returns (booluint256)
getIsAllowedTrader(address _ckTokenaddress _traderview returns (bool)
getRebalanceComponents(address _ckTokenview returns (address[])
permissionInfo(addressview returns (bool anyoneTrade)
rebalanceInfo(addressview returns (uint256 positionMultiplieruint256 raiseTargetPercentage)
State-modifying
initialize(address _ckToken
raiseAssetTargets(address _ckToken
removeModule(
setAnyoneTrade(address _ckTokenbool _status
setCoolOffPeriods(address _ckTokenaddress[] _componentsuint256[] _coolOffPeriods
setExchangeData(address _ckTokenaddress[] _componentsbytes[] _exchangeData
setExchanges(address _ckTokenaddress[] _componentsstring[] _exchangeNames
setRaiseTargetPercentage(address _ckTokenuint256 _raiseTargetPercentage
setTradeMaximums(address _ckTokenaddress[] _componentsuint256[] _tradeMaximums
setTraderStatus(address _ckTokenaddress[] _tradersbool[] _statuses
startRebalance(address _ckTokenaddress[] _newComponentsuint256[] _newComponentsTargetUnitsuint256[] _oldComponentsTargetUnitsuint256 _positionMultiplier
trade(address _ckTokenaddress _componentuint256 _ethQuantityLimit
tradeRemainingWETH(address _ckTokenaddress _componentuint256 _minComponentReceived
Events
AnyoneTradeUpdated(address indexed _ckTokenbool indexed _status
AssetExchangeUpdated(address indexed _ckTokenaddress indexed _componentstring _newExchangeName
AssetTargetsRaised(address indexed _ckTokenuint256 indexed positionMultiplier
CoolOffPeriodUpdated(address indexed _ckTokenaddress indexed _componentuint256 _newCoolOffPeriod
ExchangeDataUpdated(address indexed _ckTokenaddress indexed _componentbytes _newExchangeData
RaiseTargetPercentageUpdated(address indexed _ckTokenuint256 indexed _raiseTargetPercentage
RebalanceStarted(address indexed _ckTokenaddress[] aggregateComponentsuint256[] aggregateTargetUnitsuint256 indexed positionMultiplier
TradeExecuted(address indexed _ckTokenaddress indexed _sellComponentaddress indexed _buyComponentaddress _exchangeAdapteraddress _executoruint256 _netAmountSolduint256 _netAmountReceiveduint256 _protocolFee
TradeMaximumUpdated(address indexed _ckTokenaddress indexed _componentuint256 _newMaximum
TraderStatusUpdated(address indexed _ckTokenaddress indexed _traderbool _status
Constructor
constructor(address _controlleraddress _weth
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.