Skip to content

A contract bug #2708

Description

@chenlaoyao0523

protocols/packages/loopring_v3/contracts/core/impl/libexchange/ExchangeDeposits.sol
// Add the amount to the deposit request and reset the time the operator has to process it ExchangeData.Deposit memory _deposit = S.pendingDeposits[to][tokenID]; _deposit.timestamp = uint64(block.timestamp); _deposit.amount = _deposit.amount.add(_amount); S.pendingDeposits[to][tokenID] = _deposit;
If Loopring acts evil, does not recharge the user, and recharges the user with a small amount every once in a while, the user's recharge will not be redeemable.
This is a serious trust issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions