ILeoEvents

Git Source

Events

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

PositionVested2

a specific position was vested

event PositionVested2(uint256 indexed positionId, address indexed owner);

Parameters

NameTypeDescription
positionIduint256that was just vested
owneraddress

PositionDivested2

a specific position was just divested from Leo

event PositionDivested2(uint256 indexed positionId, address indexed recipient);

Parameters

NameTypeDescription
positionIduint256that was divested
recipientaddressof the divested position