ILeoEvents

Git Source

Events

CampaignBalanceUpdated

a campaign's balance was updated to reflect a new amount to give out max

event CampaignBalanceUpdated(bytes8 indexed identifier, uint256 indexed newMaximum);

Parameters

NameTypeDescription
identifierbytes8that was computed to represent this campaign
newMaximumuint256from the previous to give out

CampaignCreated

a campaign was created. Includes the details.

event CampaignCreated(
    bytes8 indexed identifier, address indexed pool, address indexed token, uint256 details, uint256 times
);

Parameters

NameTypeDescription
identifierbytes8that was computed to represent this campaign
pooladdressthat this is eligible for
tokenaddressthat is being given out for this campaign
detailsuint256that are packed including the lower tick, upper, and the owner
timesuint256that contains the starting, ending timestamp, and per second distribution

CampaignUpdated

a campaign was updated. Includes the new settings.

event CampaignUpdated(bytes8 indexed identifier, address indexed pool, uint256 indexed perSecond, uint256 extras);

Parameters

NameTypeDescription
identifierbytes8that was computed to represent this campaign
pooladdressthat this campaign is for that was just updated
perSeconduint256distribution to give out
extrasuint256including the tick lower, the tick upper, the starting and ending timestamp

PositionVested

a specific position was vested

event PositionVested(uint256 indexed positionId);

Parameters

NameTypeDescription
positionIduint256that was just vested

PositionDivested

a specific position was just divested from Leo

event PositionDivested(uint256 indexed positionId);

Parameters

NameTypeDescription
positionIduint256that was divested