A DelegateFactory deploys Delegate contracts. View the code on GitHub.
Create a new
constructor(ISwap factorySwapContract,IIndexer factoryIndexerContract) public
Instance of the swap contract used to settle trades.
Instance of the indexer contract the delegate will deploy with.
Create a new Delegate contract. Implements
function createDelegate(address delegateContractOwner,address delegateTradeWallet) external returns (address delegateContractAddress)
Address of the owner of the new delegate contract.
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.