Events
Author: Euler Labs (https://www.eulerlabs.com/)
This contract implements the events for the Ethereum Vault Connector.
Events
OwnerRegistered
Emitted when an owner is registered for an address prefix.
event OwnerRegistered(bytes19 indexed addressPrefix, address indexed owner);
Parameters
Name | Type | Description |
---|---|---|
addressPrefix | bytes19 | The address prefix for which the owner is registered. |
owner | address | The address of the owner registered. |
LockdownModeStatus
Emitted when the lockdown mode status is changed for an address prefix.
event LockdownModeStatus(bytes19 indexed addressPrefix, bool enabled);
Parameters
Name | Type | Description |
---|---|---|
addressPrefix | bytes19 | The address prefix for which the lockdown mode status is changed. |
enabled | bool | True if the lockdown mode is enabled, false otherwise. |
PermitDisabledModeStatus
Emitted when the permit disabled mode status is changed for an address prefix.
event PermitDisabledModeStatus(bytes19 indexed addressPrefix, bool enabled);
Parameters
Name | Type | Description |
---|---|---|
addressPrefix | bytes19 | The address prefix for which the permit disabled mode status is changed. |
enabled | bool | True if the permit disabled mode is enabled, false otherwise. |
NonceStatus
Emitted when the nonce status is updated for a given address prefix and nonce namespace.
event NonceStatus(bytes19 indexed addressPrefix, uint256 indexed nonceNamespace, uint256 oldNonce, uint256 newNonce);
Parameters
Name | Type | Description |
---|---|---|
addressPrefix | bytes19 | The prefix of the address for which the nonce status is updated. |
nonceNamespace | uint256 | The namespace of the nonce being updated. |
oldNonce | uint256 | The previous nonce value before the update. |
newNonce | uint256 | The new nonce value after the update. |
NonceUsed
Emitted when a nonce is used for an address prefix and nonce namespace as part of permit execution.
event NonceUsed(bytes19 indexed addressPrefix, uint256 indexed nonceNamespace, uint256 nonce);
Parameters
Name | Type | Description |
---|---|---|
addressPrefix | bytes19 | The address prefix for which the nonce is used. |
nonceNamespace | uint256 | The namespace of the nonce used. |
nonce | uint256 | The nonce that was used. |
OperatorStatus
Emitted when the operator status is changed for an address prefix.
event OperatorStatus(bytes19 indexed addressPrefix, address indexed operator, uint256 accountOperatorAuthorized);
Parameters
Name | Type | Description |
---|---|---|
addressPrefix | bytes19 | The address prefix for which the operator status is changed. |
operator | address | The address of the operator. |
accountOperatorAuthorized | uint256 | The new authorization bitfield of the operator. |
CollateralStatus
Emitted when the collateral status is changed for an account.
event CollateralStatus(address indexed account, address indexed collateral, bool enabled);
Parameters
Name | Type | Description |
---|---|---|
account | address | The account for which the collateral status is changed. |
collateral | address | The address of the collateral. |
enabled | bool | True if the collateral is enabled, false otherwise. |
ControllerStatus
Emitted when the controller status is changed for an account.
event ControllerStatus(address indexed account, address indexed controller, bool enabled);
Parameters
Name | Type | Description |
---|---|---|
account | address | The account for which the controller status is changed. |
controller | address | The address of the controller. |
enabled | bool | True if the controller is enabled, false otherwise. |
CallWithContext
Emitted when an external call is made through the EVC.
event CallWithContext(
address indexed caller,
bytes19 indexed onBehalfOfAddressPrefix,
address onBehalfOfAccount,
address indexed targetContract,
bytes4 selector
);
Parameters
Name | Type | Description |
---|---|---|
caller | address | The address of the caller. |
onBehalfOfAddressPrefix | bytes19 | The address prefix of the account on behalf of which the call is made. |
onBehalfOfAccount | address | The account on behalf of which the call is made. |
targetContract | address | The target contract of the call. |
selector | bytes4 | The selector of the function called on the target contract. |
AccountStatusCheck
Emitted when an account status check is performed.
event AccountStatusCheck(address indexed account, address indexed controller);
Parameters
Name | Type | Description |
---|---|---|
account | address | The account for which the status check is performed. |
controller | address | The controller performing the status check. |
VaultStatusCheck
Emitted when a vault status check is performed.
event VaultStatusCheck(address indexed vault);
Parameters
Name | Type | Description |
---|---|---|
vault | address | The vault for which the status check is performed. |