Skip to content

[H02] Users can exercise small amounts without sending collateral#12

Merged
thiagomva merged 1 commit into
masterfrom
audit-H02
Jul 28, 2020
Merged

[H02] Users can exercise small amounts without sending collateral#12
thiagomva merged 1 commit into
masterfrom
audit-H02

Conversation

@arinyguedes
Copy link
Copy Markdown
Contributor

All minter payment on exercise was added 1 to guarantee that the minter will be paid at least by 1 minimum value. So the exerciser needs to send a little more to exercise: maxExercisedAccounts (new storage value per token) when using standard function OR accounts.length when using exerciseAccounts or exerciseAccountsFrom functions

@thiagomva thiagomva merged commit 50ca7a6 into master Jul 28, 2020
@thiagomva thiagomva deleted the audit-H02 branch July 28, 2020 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants