SetProtocol / set.js

Javascript library for the Set Protocol V2
Apache License 2.0
33 stars 14 forks source link

Add SlippageIssuanceAPI class for clients to consume #93

Closed williamsfu99 closed 2 years ago

williamsfu99 commented 2 years ago

This class uses the Wrapper class in the earlier PR to interface with the new SlippageIssuanceModule contract.

The API can be used by clients such as the UI.

Add validation & tests to ensure that the issuance/redemption components are unique and equal length with the slippage amounts list.