DexFactoryVariables ​
Inherits: Owned, StorageRead, Error
State Variables ​
_deployers ​
deployer can deploy new Dex Pool contract owner can add/remove deployer. Owner is deployer by default.
solidity
mapping(address => bool) internal _deployers_globalAuths ​
global auths can update any dex pool config. owner can add/remove global auths. Owner is global auth by default.
solidity
mapping(address => bool) internal _globalAuths_dexAuths ​
dex auths can update specific dex config. owner can add/remove dex auths. Owner is dex auth by default. dex => auth => add/remove
solidity
mapping(address => mapping(address => bool)) internal _dexAuths_totalDexes ​
total no of dexes deployed by the factory only addresses that have deployer role or owner can deploy new dex pool.
solidity
uint256 internal _totalDexes_dexDeploymentLogics ​
dex deployment logics for deploying dex pool These logic contracts hold the deployment logics of specific dexes and are called via .delegatecall inside deployDex(). only addresses that have owner can add/remove new dex deployment logic.
solidity
mapping(address => bool) internal _dexDeploymentLogicsFunctions ​
constructor ​
solidity
constructor(address owner_) Owned(owner_);
