ILeoEvents
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
Name | Type | Description |
---|---|---|
identifier | bytes8 | that was computed to represent this campaign |
pool | address | that this is eligible for |
token | address | that is being given out for this campaign |
details | uint256 | that are packed including the lower tick, upper, and the owner |
times | uint256 | that 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
Name | Type | Description |
---|---|---|
identifier | bytes8 | that was computed to represent this campaign |
pool | address | that this campaign is for that was just updated |
perSecond | uint256 | distribution to give out |
extras | uint256 | including 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
Name | Type | Description |
---|---|---|
positionId | uint256 | that was just vested |
owner | address |
PositionDivested
a specific position was just divested from Leo
event PositionDivested(uint256 indexed positionId);
Parameters
Name | Type | Description |
---|---|---|
positionId | uint256 | that was divested |