-
jennifer37
Medium
# Lack of oracle setting in autoReducePositions
## Summary
Function `autoReducePositions` will be always reverted because the price is not set.
## Vulnerability Detail
Function `…
-
jennifer37
High
# Traders may decrease the loss via decrease the position's margin
## Summary
When traders decrease the position's margin, `_executeReduceMargin` did not consider current Pnl.
## V…
-
KingNFT
Medium
# Call of ````revokeAllRole()```` would fail silently
## Summary
````RoleAccessControl.revokeAllRole()```` is wrongly implemented, the call of it would fail silently, and it would al…
-
jennifer37
High
# Users can use weth to replace any margin token in createUpdatePositionMarginRequest()
## Summary
Function `createUpdatePositionMarginRequest` lack enough input validation. This wi…
-
eeshenggoh
High
# Submitting mint request using user's trading balance and cancelling it will not refund tokens back to trading account
## Summary
The Elfi protocol provides a feature that allows u…
-
mstpr-brainbot
High
# Pool value calculation skips accounting for stable token losses and short uPnL
## Summary
When isolated short positions are closed, the pool's value will not account for the l…
-
jennifer37
High
# redeem stake token may be Dos because there is not enough balance in stake pool.
## Summary
Funds will be transferred to portfolio vault if the staker stake via `MINT_COLLATERAL`,…
-
mstpr-brainbot
High
# Increasing leverage can make the position have "0" `initialMargin`
## Summary
Increasing the leverage of a cross position can make the position have "0" initialMargin.
## Vuln…
-
mstpr-brainbot
High
# Long orders always pays lesser in fees while short orders always pays higher due to oracle pricing
## Summary
Long orders pay lower fees due to the inconsistent margin token p…
-
mstpr-brainbot
High
# Closing partial positions miscounts the settled fees
## Summary
When positions are partially closed calculating settleMargin recordPnlToken will be wrong because of the additi…