Skip to main content

Events

Git Source

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

NameTypeDescription
addressPrefixbytes19The address prefix for which the owner is registered.
owneraddressThe 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

NameTypeDescription
addressPrefixbytes19The address prefix for which the lockdown mode status is changed.
enabledboolTrue 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

NameTypeDescription
addressPrefixbytes19The address prefix for which the permit disabled mode status is changed.
enabledboolTrue 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

NameTypeDescription
addressPrefixbytes19The prefix of the address for which the nonce status is updated.
nonceNamespaceuint256The namespace of the nonce being updated.
oldNonceuint256The previous nonce value before the update.
newNonceuint256The 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

NameTypeDescription
addressPrefixbytes19The address prefix for which the nonce is used.
nonceNamespaceuint256The namespace of the nonce used.
nonceuint256The 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

NameTypeDescription
addressPrefixbytes19The address prefix for which the operator status is changed.
operatoraddressThe address of the operator.
accountOperatorAuthorizeduint256The 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

NameTypeDescription
accountaddressThe account for which the collateral status is changed.
collateraladdressThe address of the collateral.
enabledboolTrue 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

NameTypeDescription
accountaddressThe account for which the controller status is changed.
controlleraddressThe address of the controller.
enabledboolTrue 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

NameTypeDescription
calleraddressThe address of the caller.
onBehalfOfAddressPrefixbytes19The address prefix of the account on behalf of which the call is made.
onBehalfOfAccountaddressThe account on behalf of which the call is made.
targetContractaddressThe target contract of the call.
selectorbytes4The 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

NameTypeDescription
accountaddressThe account for which the status check is performed.
controlleraddressThe controller performing the status check.

VaultStatusCheck

Emitted when a vault status check is performed.

event VaultStatusCheck(address indexed vault);

Parameters

NameTypeDescription
vaultaddressThe vault for which the status check is performed.