Skip to content

Events ​

Git Source

Events ​

LogRebalance ​

Emitted when the share to tokens ratio is rebalanced

solidity
event LogRebalance(uint256 shares_, uint256 token0Amt_, uint256 token1Amt_, bool isWithdraw_);

Parameters

NameTypeDescription
shares_uint256The number of shares rebalanced
token0Amt_uint256The amount of token0 rebalanced
token1Amt_uint256The amount of token1 rebalanced
isWithdraw_boolWhether the rebalance is a withdrawal or deposit

LogRebalancerSet ​

Emitted when the rebalancer is set

solidity
event LogRebalancerSet(address rebalancer);

Parameters

NameTypeDescription
rebalanceraddressThe new rebalancer

LogFeeOrRewardSet ​

Emitted when the fee or reward is set

solidity
event LogFeeOrRewardSet(int256 feeOrReward);

Parameters

NameTypeDescription
feeOrRewardint256The new fee or reward