VaultFactoryEvents

Git Source

Events

VaultDeployed

Emitted when a new vault is deployed.

event VaultDeployed(address indexed vault, uint256 indexed vaultId);

Parameters

NameTypeDescription
vaultaddressThe address of the newly deployed vault.
vaultIduint256The id of the newly deployed vault.

NewPositionMinted

Emitted when a new token/position is minted by a vault.

event NewPositionMinted(address indexed vault, address indexed user, uint256 indexed tokenId);

Parameters

NameTypeDescription
vaultaddressThe address of the vault that minted the token.
useraddressThe address of the user who received the minted token.
tokenIduint256The ID of the newly minted token.

LogSetDeployer

Emitted when the deployer is modified by owner.

event LogSetDeployer(address indexed deployer, bool indexed allowed);

Parameters

NameTypeDescription
deployeraddressAddress whose deployer status is updated.
allowedboolIndicates whether the address is authorized as a deployer or not.

LogSetGlobalAuth

Emitted when the globalAuth is modified by owner.

event LogSetGlobalAuth(address indexed globalAuth, bool indexed allowed);

Parameters

NameTypeDescription
globalAuthaddressAddress whose globalAuth status is updated.
allowedboolIndicates whether the address is authorized as a deployer or not.

LogSetVaultAuth

Emitted when the vaultAuth is modified by owner.

event LogSetVaultAuth(address indexed vaultAuth, bool indexed allowed, address indexed vault);

Parameters

NameTypeDescription
vaultAuthaddressAddress whose vaultAuth status is updated.
allowedboolIndicates whether the address is authorized as a deployer or not.
vaultaddressAddress of the specific vault related to the authorization change.

LogSetVaultDeploymentLogic

Emitted when the vault deployment logic is modified by owner.

event LogSetVaultDeploymentLogic(address indexed vaultDeploymentLogic, bool indexed allowed);

Parameters

NameTypeDescription
vaultDeploymentLogicaddressThe address of the vault deployment logic contract.
allowedboolIndicates whether the address is authorized as a deployer or not.