TokenizedDerivativeCreator

onlyIfTest() modifier

Reverts if not running in test mode.

constructor(address _finderAddress, address _returnCalculatorWhitelist, address _marginCurrencyWhitelist, bool _isTest) public

createTokenizedDerivative(struct TokenizedDerivativeCreator.Params params) → address derivativeAddress public

Creates a new instance of TokenizedDerivative with the provided params.

constructor(bool _isTest) internal

setCurrentTime(uint256 _time) external

Sets the current time.

Will revert if not running in test mode.

getCurrentTime() → uint256 public

Gets the current time. Will return the last time set in setCurrentTime if running in test mode. Otherwise, it will return the block timestamp.

constructor(address _finderAddress) public

_registerContract(address[] parties, address contractToRegister) internal

CreatedTokenizedDerivative(address contractAddress) event

© UMA Project 2018-2019