Switcheo / zilswap-sdk

Zilswap Typescript SDK
https://docs.zilswap.org
MIT License
18 stars 14 forks source link

Convert all interface amounts unitless representation #3

Closed stevenkhong closed 4 years ago

stevenkhong commented 4 years ago

Some interfacing amounts are in unitless representation (removeLiquidity:contributionAmount) and some are in human form (addLiquidity:zilsToAddHuman). They should be standardised in either form. Proposing unitless form here since personally I think SDKs should not worry about converting user input.

RavenXce commented 4 years ago

Standardized in 289254e9.