Provides convenient Perpetual Multi Party contract utilities.

Using this library to deploy Perpetuals allows calling contracts to avoid importing the full bytecode.


deploy(struct PerpetualLiquidatable.ConstructorParams params) → address public

Returns address of new Perpetual deployed with given params configuration.

Caller will need to register new Perpetual with the Registry to begin requesting prices. Caller is also responsible for enforcing constraints on params.


  • params: is a ConstructorParams object from Perpetual.

© UMA Project 2018-2019