Open bh2smith opened 2 years ago
Same applies to the event in the withdraw method
The really unfortunate thing about this issue is that even with contract upgrade, all the historical events emitted by the contract prior to upgrade will forever have these fields reversed. Might even be more of an accounting headache to fix it and also messing up all the tax accounting software.
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