ILeoEvents
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
Name | Type | Description |
---|---|---|
identifier | bytes8 | that was computed to represent this campaign |
newMaximum | uint256 | from 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
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 |
PositionVested
a specific position was vested
event PositionVested(uint256 indexed positionId);
Parameters
Name | Type | Description |
---|---|---|
positionId | uint256 | that was just vested |
PositionDivested
a specific position was just divested from Leo
event PositionDivested(uint256 indexed positionId);
Parameters
Name | Type | Description |
---|---|---|
positionId | uint256 | that was divested |