Expiring Multi Party Contract creator.
Prevents a contract from calling itself, directly or indirectly.
nonReentrant function from another
function is not supported. It is possible to prevent this from happening
by making the
nonReentrant function external, and make it call a
private function that does the actual work.
Designed to prevent a view-only method from being re-entered during a call to a
nonReentrant() state-changing method.
constructor(address _finderAddress, address _collateralTokenWhitelist, address _tokenFactoryAddress, address _timerAddress) public
Constructs the ExpiringMultiPartyCreator contract.
_finderAddress: UMA protocol Finder used to discover other protocol contracts.
_collateralTokenWhitelist: UMA protocol contract to track whitelisted collateral.
_tokenFactoryAddress: ERC20 token factory used to deploy synthetic token instances.
_timerAddress: Contract that stores the current time in a testing environment.
Creates an instance of expiring multi party and registers it within the registry.
params: is a
ConstructorParamsobject from ExpiringMultiParty.
Sets the current time.
Will revert if not running in test mode.
time: timestamp to set current Testable time to.
Gets the current time. Will return the last time set in
setCurrentTime if running in test mode.
Otherwise, it will return the block timestamp.