Contains events that can be generated by controller contract.
1. Events
1.1. ChangeVerifiedToken
event ChangeVerifiedToken(
address token,
bool isVerified
)
Triggered when a verified token is set
Parameters:
Name | Type | Description |
---|---|---|
token |
address | Target token |
isVerified |
bool | Verified or unverified |
1.2. Harvest
event Harvest(
address token,
uint256 amount,
uint256 burned
)
Triggered when Harvest is called
Parameters:
Name | Type | Description |
---|---|---|
token |
address | Types of tokens used to purchase HPT when burning |
amount |
uint256 | Amount of tokens |
burned |
uint256 | Quantity burned |
1.3. SetHarvestPath
event SetHarvestPath(
address token,
bytes path
)
Triggered when setHarvestPath is called
Parameters:
Name | Type | Description |
---|---|---|
token |
address | Target token |
path |
bytes | Harvest path for HPT token |
1.4. SetGovernance
event SetGovernance(
address account
)
Triggered when setGovernance is called
Parameters:
Name | Type | Description |
---|---|---|
account |
address | New governance address |
1.5. SetMaxSqrtSlippage
event SetMaxSqrtSlippage(
uint256 sqrtSlippage
)
Triggered when setMaxSqrtSlippage is called
Parameters:
Name | Type | Description |
---|---|---|
sqrtSlippage |
uint256 | Sqrt slippage value: 0-1e4 |
1.6. SetMaxPriceImpact
event SetMaxPriceImpact(
uint256 priceImpact
)
Triggered when setMaxPriceImpact is called
Parameters:
Name | Type | Description |
---|---|---|
priceImpact |
uint256 | Price impact value: 0-1e4 |