Includes the PerpV2LeverageAPI class to Set, and allows for library users to pass in a perpV2LeverageModuleAddress contract address into the config object.
With this, we can have access to getters such as collateralToken and getAccountInfo to monitor positional state with Perpetual Protocol.
Set.js version 0.4.9:
Includes the
PerpV2LeverageAPI
class toSet
, and allows for library users to pass in aperpV2LeverageModuleAddress
contract address into the config object.With this, we can have access to getters such as
collateralToken
andgetAccountInfo
to monitor positional state with Perpetual Protocol.