v2: Change logic for max button
For V2 we'll need to change the logic for max button. Since now we can open several contracts for one position we need to calculate the maximum based on existing proposals and user balance.
Don't forget to remove dashboardPage.maximums redux store which is used in max calculations.
Edited by Anton Panteleev