PerpetualLib
PerpetualLib
#
Using this library to deploy Perpetuals allows calling contracts to avoid importing the full bytecode.
#
Functionsdeploy(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
.
#
Parameters:- params: is a
ConstructorParams
object from Perpetual.