VaultFactoryEvents ​
Events ​
VaultDeployed ​
Emitted when a new vault is deployed.
solidity
event VaultDeployed(address indexed vault, uint256 indexed vaultId);
Parameters
Name | Type | Description |
---|---|---|
vault | address | The address of the newly deployed vault. |
vaultId | uint256 | The id of the newly deployed vault. |
NewPositionMinted ​
Emitted when a new token/position is minted by a vault.
solidity
event NewPositionMinted(address indexed vault, address indexed user, uint256 indexed tokenId);
Parameters
Name | Type | Description |
---|---|---|
vault | address | The address of the vault that minted the token. |
user | address | The address of the user who received the minted token. |
tokenId | uint256 | The ID of the newly minted token. |
LogSetDeployer ​
Emitted when the deployer is modified by owner.
solidity
event LogSetDeployer(address indexed deployer, bool indexed allowed);
Parameters
Name | Type | Description |
---|---|---|
deployer | address | Address whose deployer status is updated. |
allowed | bool | Indicates whether the address is authorized as a deployer or not. |
LogSetGlobalAuth ​
Emitted when the globalAuth is modified by owner.
solidity
event LogSetGlobalAuth(address indexed globalAuth, bool indexed allowed);
Parameters
Name | Type | Description |
---|---|---|
globalAuth | address | Address whose globalAuth status is updated. |
allowed | bool | Indicates whether the address is authorized as a deployer or not. |
LogSetVaultAuth ​
Emitted when the vaultAuth is modified by owner.
solidity
event LogSetVaultAuth(address indexed vaultAuth, bool indexed allowed, address indexed vault);
Parameters
Name | Type | Description |
---|---|---|
vaultAuth | address | Address whose vaultAuth status is updated. |
allowed | bool | Indicates whether the address is authorized as a deployer or not. |
vault | address | Address of the specific vault related to the authorization change. |
LogSetVaultDeploymentLogic ​
Emitted when the vault deployment logic is modified by owner.
solidity
event LogSetVaultDeploymentLogic(address indexed vaultDeploymentLogic, bool indexed allowed);
Parameters
Name | Type | Description |
---|---|---|
vaultDeploymentLogic | address | The address of the vault deployment logic contract. |
allowed | bool | Indicates whether the address is authorized as a deployer or not. |