deposit() should be payable to work the native functionality
In GMXDeposit.sol
, deposit()
is used for despositing the tokens. The functin has argument isNative
which if true then this can be used to send the native tokens i.e eth however the function is not payable therefore the function wont work properly.
Without payable modifier on GMXDeposit.deposit()
would break the native functionality.
MR
Make GMXDeposit.deposit()
payable
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.