A DelegateFactory deploys Delegate contracts. View the code on GitHub.
Create a new
constructor(ISwap factorySwapContract,IIndexer factoryIndexerContract,bytes2 factoryProtocol) public
Instance of the swap contract used to settle trades.
Instance of the indexer contract the delegate will deploy with.
Protocol type of the delegates the factory deploys.
Create a new Delegate contract. Implements
function createDelegate(address delegateTradeWallet) external returns (address delegateContractAddress)
Address of the wallet that holds funds to be traded.
Check to see whether the factory has deployed a delegate by locator. Implements
function has(bytes32 locator) external view returns (bool)
The locator in question. Expects a contract address in the first 20 bytes.