Skip to content

DexFactoryEvents ​

Git Source

Events ​

LogDexDeployed ​

Emitted when a new dex is deployed.

solidity
event LogDexDeployed(address indexed dex, uint256 indexed dexId);

Parameters

NameTypeDescription
dexaddressThe address of the newly deployed dex.
dexIduint256The 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

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.

solidity
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.

LogSetDexAuth ​

Emitted when the dexAuth is modified by owner.

solidity
event LogSetDexAuth(address indexed dexAuth, bool indexed allowed, address indexed dex);

Parameters

NameTypeDescription
dexAuthaddressAddress whose dexAuth status is updated.
allowedboolIndicates whether the address is authorized as a deployer or not.
dexaddressAddress 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

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