Events ​
Events ​
LogRebalance ​
Emitted when the share to tokens ratio is rebalanced
solidity
event LogRebalance(uint256 shares_, uint256 token0Amt_, uint256 token1Amt_, bool isWithdraw_);Parameters
| Name | Type | Description | 
|---|---|---|
shares_ | uint256 | The number of shares rebalanced | 
token0Amt_ | uint256 | The amount of token0 rebalanced | 
token1Amt_ | uint256 | The amount of token1 rebalanced | 
isWithdraw_ | bool | Whether the rebalance is a withdrawal or deposit | 
LogRebalancerSet ​
Emitted when the rebalancer is set
solidity
event LogRebalancerSet(address rebalancer);Parameters
| Name | Type | Description | 
|---|---|---|
rebalancer | address | The new rebalancer | 
LogFeeOrRewardSet ​
Emitted when the fee or reward is set
solidity
event LogFeeOrRewardSet(int256 feeOrReward);Parameters
| Name | Type | Description | 
|---|---|---|
feeOrReward | int256 | The new fee or reward | 

