Skip to content

Conversation

williamsfu99
Copy link
Contributor

Set.js version 0.4.9:

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.

Copy link
Contributor

@cgewecke cgewecke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@williamsfu99 williamsfu99 merged commit bdaf44a into master Jan 14, 2022
@justinkchen justinkchen deleted the add-perpmodule-api branch January 14, 2022 02:57
Copy link

@Scheusal13 Scheusal13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx

*
* @param callerAddress Address of the method caller
* @return The address of the ERC20 collateral token
* @param callerAddress Address of the method caller

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0xEa5C920973eBfff95270dd52c8045c4e6eBFc847

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants