Commit 9c6a1c3
committed
Force max unstake on Kiln ETH positions
This is a hack to prevent users from being able to enter a greater amount of LP tokens than they actually have. Since the currency plugins and GUI's stake plugins all still rely on currency code, the actual balance of LP tokens isn't readily available and would recover some hacking to override the balance used in the flip input modal. We're not passing the correct tokenId in anyway so introducing hack in the stake scenes and flip input could just cause more issues.1 parent a11d45e commit 9c6a1c3
File tree
2 files changed
+3
-0
lines changed- src/plugins/stake-plugins/generic/pluginInfo
2 files changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| 47 | + | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
| |||
0 commit comments