Feat: Dromos escrow#140
Conversation
|
No CRITICAL / HIGH / MEDIUM findings. The three escrow-critical invariants all hold:
NM-001 —
|
|
NM-001 is not relevant to security since borrowers can still withdraw. |
|
https://v12.sh/runs/4078/public The other finding is high but incorrect, and correctly flagged as likely incorrect. |
nourharidy
left a comment
There was a problem hiding this comment.
Small optimization. Otherwise LGTM
| if (address(_token) != address(stakingToken)) revert WrongCollateral(); | ||
|
|
||
| market = msg.sender; | ||
| token = _token; |
There was a problem hiding this comment.
Isn't this the same as stakingToken? If yes then why are we storing it in another storage slot?
Add a dromos ecrow capable of staking and withdrawing Dromos LP tokens, while letting the user or beneficiaries claim reward tokens.