EventsLib
EventsLib
Centralized library of events emitted throughout the Orion protocol.
WhitelistedAssetAdded
event WhitelistedAssetAdded(address asset)
A new asset has been whitelisted for protocol usage.
Parameters
| Name | Type | Description |
|---|---|---|
| asset | address | The address of the whitelisted asset. |
WhitelistedAssetRemoved
event WhitelistedAssetRemoved(address asset)
An asset has been removed from the whitelist.
Parameters
| Name | Type | Description |
|---|---|---|
| asset | address | The address of the removed asset. |
OrionVaultAdded
event OrionVaultAdded(address vault)
A new Orion Vault has been registered in the protocol.
Parameters
| Name | Type | Description |
|---|---|---|
| vault | address | The address of the added vault. |
RiskFreeRateUpdated
event RiskFreeRateUpdated(uint16 riskFreeRate)
The risk-free rate has been updated.
Parameters
| Name | Type | Description |
|---|---|---|
| riskFreeRate | uint16 | The new risk-free rate in basis points. |
MinDepositAmountUpdated
event MinDepositAmountUpdated(uint256 minDepositAmount)
The minimum deposit amount has been updated.
Parameters
| Name | Type | Description |
|---|---|---|
| minDepositAmount | uint256 | The new minimum deposit amount. |
MinRedeemAmountUpdated
event MinRedeemAmountUpdated(uint256 minRedeemAmount)
The minimum redeem amount has been updated.
Parameters
| Name | Type | Description |
|---|---|---|
| minRedeemAmount | uint256 | The new minimum redeem amount. |
FeeChangeCooldownDurationUpdated
event FeeChangeCooldownDurationUpdated(uint256 newCooldownDuration)
The fee change cooldown duration has been updated.
Parameters
| Name | Type | Description |
|---|---|---|
| newCooldownDuration | uint256 | The new cooldown duration in seconds. |
MaxFulfillBatchSizeUpdated
event MaxFulfillBatchSizeUpdated(uint256 maxFulfillBatchSize)
The maximum fulfill batch size has been updated.
Parameters
| Name | Type | Description |
|---|---|---|
| maxFulfillBatchSize | uint256 | The new maximum fulfill batch size. |
VaultFeeChangeScheduled
event VaultFeeChangeScheduled(uint8 feeType, uint16 performanceFee, uint16 managementFee, uint256 newFeeRatesTimestamp)
A vault fee model change has been scheduled.
Parameters
| Name | Type | Description |
|---|---|---|
| feeType | uint8 | The new fee type. |
| performanceFee | uint16 | The new performance fee. |
| managementFee | uint16 | The new management fee. |
| newFeeRatesTimestamp | uint256 | The timestamp when the new fee rates become effective. |
ProtocolFeeChangeScheduled
event ProtocolFeeChangeScheduled(uint16 vFeeCoefficient, uint16 rsFeeCoefficient, uint256 newProtocolFeeRatesTimestamp)
A protocol fee change has been scheduled.
Parameters
| Name | Type | Description |
|---|---|---|
| vFeeCoefficient | uint16 | The new volume fee coefficient. |
| rsFeeCoefficient | uint16 | The new revenue share fee coefficient. |
| newProtocolFeeRatesTimestamp | uint256 | The timestamp when the new protocol fee rates become effective. |
GuardianUpdated
event GuardianUpdated(address guardian)
The guardian address has been updated.
Parameters
| Name | Type | Description |
|---|---|---|
| guardian | address | The new guardian address. |
ProtocolPaused
event ProtocolPaused(address pauser)
The protocol has been paused.
Parameters
| Name | Type | Description |
|---|---|---|
| pauser | address | The address that triggered the pause. |
ProtocolUnpaused
event ProtocolUnpaused(address unpauser)
The protocol has been unpaused.
Parameters
| Name | Type | Description |
|---|---|---|
| unpauser | address | The address that triggered the unpause. |
ManagerRemoved
event ManagerRemoved(address manager)
A manager has been removed from the whitelist.
Parameters
| Name | Type | Description |
|---|---|---|
| manager | address | The address of the manager that was removed. |
OrderSubmitted
event OrderSubmitted(address strategist, address[] assets, uint256[] weights)
A new order has been submitted.
Parameters
| Name | Type | Description |
|---|---|---|
| strategist | address | The address of the strategist who submitted the order. |
| assets | address[] | Array of token addresses in the order. |
| weights | uint256[] | Array of weights in the order (parallel to assets array). |
VaultStateUpdated
event VaultStateUpdated(uint256 newTotalAssets, uint256 totalSupply, uint256 currentSharePrice, uint256 highWaterMark, address[] tokens, uint256[] shares)
The vault's state has been updated with complete portfolio information.
Parameters
| Name | Type | Description |
|---|---|---|
| newTotalAssets | uint256 | The new total assets value for the vault. |
| totalSupply | uint256 | The total supply of the vault. |
| currentSharePrice | uint256 | The current share price of the vault. |
| highWaterMark | uint256 | The new high watermark value for the vault. |
| tokens | address[] | Array of token addresses in the portfolio. |
| shares | uint256[] | Array of shares per asset (parallel to tokens array). |
AutomationRegistryUpdated
event AutomationRegistryUpdated(address newAutomationRegistry)
The automation registry address has been updated.
Parameters
| Name | Type | Description |
|---|---|---|
| newAutomationRegistry | address | The address of the new automation registry. |
EpochStart
event EpochStart(uint256 epochCounter)
A new epoch has started.
Parameters
| Name | Type | Description |
|---|---|---|
| epochCounter | uint256 | The current epoch counter. |
EpochEnd
event EpochEnd(uint256 epochCounter)
The portfolio has been rebalanced.
Parameters
| Name | Type | Description |
|---|---|---|
| epochCounter | uint256 | The current epoch counter. |
PriceAdapterSet
event PriceAdapterSet(address asset, address adapter)
A price adapter has been set for an asset.
Parameters
| Name | Type | Description |
|---|---|---|
| asset | address | The address of the asset. |
| adapter | address | The address of the price adapter. |
ExecutionAdapterSet
event ExecutionAdapterSet(address asset, address adapter)
An execution adapter has been set for an asset.
Parameters
| Name | Type | Description |
|---|---|---|
| asset | address | The address of the asset. |
| adapter | address | The address of the execution adapter. |
ProtocolFeesClaimed
event ProtocolFeesClaimed(uint256 amount)
Protocol fees have been claimed.
Parameters
| Name | Type | Description |
|---|---|---|
| amount | uint256 | The amount of protocol fees claimed. |
VaultType
Enumeration of available vault types.
enum VaultType {
Transparent,
Encrypted
}
OrionVaultCreated
event OrionVaultCreated(address vault, address manager, address strategist, string name, string symbol, uint8 feeType, uint16 performanceFee, uint16 managementFee, address depositAccessControl, enum EventsLib.VaultType vaultType)
A new Orion Vault has been created.
Parameters
| Name | Type | Description |
|---|---|---|
| vault | address | The address of the newly created vault. |
| manager | address | The address of the vault's manager. |
| strategist | address | The address of the vault's strategist. |
| name | string | The name of the vault. |
| symbol | string | The symbol of the vault. |
| feeType | uint8 | The fee type of the vault. |
| performanceFee | uint16 | The performance fee of the vault. |
| managementFee | uint16 | The management fee of the vault. |
| depositAccessControl | address | The address of the deposit access control contract (address(0) = permissionless). |
| vaultType | enum EventsLib.VaultType | The type of vault that was created (Transparent or Encrypted). |
OrionVaultDecommissioned
event OrionVaultDecommissioned(address vault)
An Orion Vault has been decommissioned.
Parameters
| Name | Type | Description |
|---|---|---|
| vault | address | The address of the decommissioned vault. |
VaultBeaconUpdated
event VaultBeaconUpdated(address newBeacon)
The vault beacon has been updated.
Parameters
| Name | Type | Description |
|---|---|---|
| newBeacon | address | The address of the new vault beacon. |