DexFactoryEvents ​
Events ​
LogDexDeployed ​
Emitted when a new dex is deployed.
solidity
event LogDexDeployed(address indexed dex, uint256 indexed dexId);
Parameters
Name | Type | Description |
---|---|---|
dex | address | The address of the newly deployed dex. |
dexId | uint256 | The id of the newly deployed dex. |
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. |
LogSetDexAuth ​
Emitted when the dexAuth is modified by owner.
solidity
event LogSetDexAuth(address indexed dexAuth, bool indexed allowed, address indexed dex);
Parameters
Name | Type | Description |
---|---|---|
dexAuth | address | Address whose dexAuth status is updated. |
allowed | bool | Indicates whether the address is authorized as a deployer or not. |
dex | address | Address of the specific dex related to the authorization change. |
LogSetDexDeploymentLogic ​
Emitted when the dex deployment logic is modified by owner.
solidity
event LogSetDexDeploymentLogic(address indexed dexDeploymentLogic, bool indexed allowed);
Parameters
Name | Type | Description |
---|---|---|
dexDeploymentLogic | address | The address of the dex deployment logic contract. |
allowed | bool | Indicates whether the address is authorized as a deployer or not. |