gnosis / gnosis/token-lock

Transfer Event To and From are Backwards.

Open
#29 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
30
Forks
28
PR merge metrics
No merged PRs in 30d

Description

When a user deposits GNO, the Transfer event of the LGNO token has recipient as "from" and contract as "to":

https://github.com/gnosis/token-lock/blob/544a97d8320d323ebaf7c93ef1946d7f3f5e5ec6/packages/contracts/contracts/TokenLock.sol#L61

Contributor guide

No contributing guide indexed for this repository

Research direction

Open packages/contracts/contracts/TokenLock.sol at line 61 and compare the emitted Transfer event arguments with the ERC-20 event order. Verify the deposit path, then confirm that the event records the depositing user as the sender and the contract as the recipient.

Written by the indexing model from the issue text.

Assessment

Tech stack
solidity
Domain
blockchain
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.