This PR adds an attack that can add extra tokens to the Mints constraints of a transaction. This is different from the dupTokenAttack, because that attack only increases the amount, but does not introduce new asset classes.
As a bonus, there's now a function withTweak that says "apply this Tweak on this endpoint". It enables idioms like this.
This PR adds an attack that can add extra tokens to the
Mints
constraints of a transaction. This is different from thedupTokenAttack
, because that attack only increases the amount, but does not introduce new asset classes.As a bonus, there's now a function
withTweak
that says "apply this Tweak on this endpoint". It enables idioms like this.