Skip to main content

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

NameTypeDescription
assetaddressThe address of the whitelisted asset.

WhitelistedAssetRemoved

event WhitelistedAssetRemoved(address asset)

An asset has been removed from the whitelist.

Parameters

NameTypeDescription
assetaddressThe address of the removed asset.

OrionVaultAdded

event OrionVaultAdded(address vault)

A new Orion Vault has been registered in the protocol.

Parameters

NameTypeDescription
vaultaddressThe address of the added vault.

RiskFreeRateUpdated

event RiskFreeRateUpdated(uint16 riskFreeRate)

The risk-free rate has been updated.

Parameters

NameTypeDescription
riskFreeRateuint16The new risk-free rate in basis points.

MinDepositAmountUpdated

event MinDepositAmountUpdated(uint256 minDepositAmount)

The minimum deposit amount has been updated.

Parameters

NameTypeDescription
minDepositAmountuint256The new minimum deposit amount.

MinRedeemAmountUpdated

event MinRedeemAmountUpdated(uint256 minRedeemAmount)

The minimum redeem amount has been updated.

Parameters

NameTypeDescription
minRedeemAmountuint256The new minimum redeem amount.

FeeChangeCooldownDurationUpdated

event FeeChangeCooldownDurationUpdated(uint256 newCooldownDuration)

The fee change cooldown duration has been updated.

Parameters

NameTypeDescription
newCooldownDurationuint256The new cooldown duration in seconds.

MaxFulfillBatchSizeUpdated

event MaxFulfillBatchSizeUpdated(uint256 maxFulfillBatchSize)

The maximum fulfill batch size has been updated.

Parameters

NameTypeDescription
maxFulfillBatchSizeuint256The 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

NameTypeDescription
feeTypeuint8The new fee type.
performanceFeeuint16The new performance fee.
managementFeeuint16The new management fee.
newFeeRatesTimestampuint256The 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

NameTypeDescription
vFeeCoefficientuint16The new volume fee coefficient.
rsFeeCoefficientuint16The new revenue share fee coefficient.
newProtocolFeeRatesTimestampuint256The timestamp when the new protocol fee rates become effective.

GuardianUpdated

event GuardianUpdated(address guardian)

The guardian address has been updated.

Parameters

NameTypeDescription
guardianaddressThe new guardian address.

ProtocolPaused

event ProtocolPaused(address pauser)

The protocol has been paused.

Parameters

NameTypeDescription
pauseraddressThe address that triggered the pause.

ProtocolUnpaused

event ProtocolUnpaused(address unpauser)

The protocol has been unpaused.

Parameters

NameTypeDescription
unpauseraddressThe address that triggered the unpause.

ManagerRemoved

event ManagerRemoved(address manager)

A manager has been removed from the whitelist.

Parameters

NameTypeDescription
manageraddressThe address of the manager that was removed.

OrderSubmitted

event OrderSubmitted(address strategist, address[] assets, uint256[] weights)

A new order has been submitted.

Parameters

NameTypeDescription
strategistaddressThe address of the strategist who submitted the order.
assetsaddress[]Array of token addresses in the order.
weightsuint256[]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

NameTypeDescription
newTotalAssetsuint256The new total assets value for the vault.
totalSupplyuint256The total supply of the vault.
currentSharePriceuint256The current share price of the vault.
highWaterMarkuint256The new high watermark value for the vault.
tokensaddress[]Array of token addresses in the portfolio.
sharesuint256[]Array of shares per asset (parallel to tokens array).

AutomationRegistryUpdated

event AutomationRegistryUpdated(address newAutomationRegistry)

The automation registry address has been updated.

Parameters

NameTypeDescription
newAutomationRegistryaddressThe address of the new automation registry.

EpochStart

event EpochStart(uint256 epochCounter)

A new epoch has started.

Parameters

NameTypeDescription
epochCounteruint256The current epoch counter.

EpochEnd

event EpochEnd(uint256 epochCounter)

The portfolio has been rebalanced.

Parameters

NameTypeDescription
epochCounteruint256The current epoch counter.

PriceAdapterSet

event PriceAdapterSet(address asset, address adapter)

A price adapter has been set for an asset.

Parameters

NameTypeDescription
assetaddressThe address of the asset.
adapteraddressThe address of the price adapter.

ExecutionAdapterSet

event ExecutionAdapterSet(address asset, address adapter)

An execution adapter has been set for an asset.

Parameters

NameTypeDescription
assetaddressThe address of the asset.
adapteraddressThe address of the execution adapter.

ProtocolFeesClaimed

event ProtocolFeesClaimed(uint256 amount)

Protocol fees have been claimed.

Parameters

NameTypeDescription
amountuint256The 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

NameTypeDescription
vaultaddressThe address of the newly created vault.
manageraddressThe address of the vault's manager.
strategistaddressThe address of the vault's strategist.
namestringThe name of the vault.
symbolstringThe symbol of the vault.
feeTypeuint8The fee type of the vault.
performanceFeeuint16The performance fee of the vault.
managementFeeuint16The management fee of the vault.
depositAccessControladdressThe address of the deposit access control contract (address(0) = permissionless).
vaultTypeenum EventsLib.VaultTypeThe type of vault that was created (Transparent or Encrypted).

OrionVaultDecommissioned

event OrionVaultDecommissioned(address vault)

An Orion Vault has been decommissioned.

Parameters

NameTypeDescription
vaultaddressThe address of the decommissioned vault.

VaultBeaconUpdated

event VaultBeaconUpdated(address newBeacon)

The vault beacon has been updated.

Parameters

NameTypeDescription
newBeaconaddressThe address of the new vault beacon.