issues
search
balancer
/
balancer-core
Balancer on the EVM
GNU General Public License v3.0
333
stars
168
forks
source link
audit fixes
#213
Closed
mikemcdonald
closed
4 years ago
mikemcdonald
commented
4 years ago
Sets
EXIT_FEE
to 0 and updates relevant tests
Sets a constant
INIT_POOL_SUPPLY
to
BONE * 100
to limit join/exit swap rounding errors with really small or large pool token supply
Requires
MIN_BOUND_TOKENS
of 2 for finalize
Changes min max ratio so does not use
BONE
which causes issues on non 18 decimal tokens
updates order of parameters in joinexit swap for consistency
Adds require != 0 for any join/exit swap exact out calcs
EXIT_FEE
to 0 and updates relevant testsINIT_POOL_SUPPLY
toBONE * 100
to limit join/exit swap rounding errors with really small or large pool token supplyMIN_BOUND_TOKENS
of 2 for finalizeBONE
which causes issues on non 18 decimal tokens