Skip to content

Explicit bounds for 'approveTokens' and 'showAllowance'#4

Open
ilya-bobyr wants to merge 1 commit intomasterfrom
showAllowance
Open

Explicit bounds for 'approveTokens' and 'showAllowance'#4
ilya-bobyr wants to merge 1 commit intomasterfrom
showAllowance

Conversation

@ilya-bobyr
Copy link
Copy Markdown
Contributor

@ilya-bobyr ilya-bobyr commented Sep 24, 2021

I figured, it would be nice to be able to see the approved values, via the CLI.
Also changed the approveTokens to accept the amounts of asset and stable.

There was a slight bug in the previous implementation, as it was using the same amount of digits for both asset and stable tokens, effectively approving 10^12 times more stable than asset.
It was just for testing, so it is not that big of a deal :)


This change is Reviewable

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.

1 participant