-
-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Aave #94
Add Aave #94
Conversation
@askeluv Please review |
Nice work @sebastiantf ! Just to double-check: you handled the proxy addresses as described here, correct? Also I wonder if we should leave the ATokens out and instead see if there's some kind of factory event we could use to automatically detect them (similar to how we handle Uniswap pools, etc). Will let @medvedev1088 do the final review before deployment. |
Yes @askeluv. I found that post from your original post on adding smart contracts to BigQuery and followed it. |
I agree we should look deeper into it and find some factory method. Or combine multiple tables if they have the same interface. Having 13 version of the table will be difficult to maintain. |
I've asked for a factory in the Aave Discord: https://discordapp.com/channels/602826299974877205/636902500041228309/712685702285885502 One pragmatic alternative would be to keep 1 table, but list multiple contract addresses, similar to this: Line 15 in 0ef4cb0
|
@sebastiantf would you mind doing the following:
I will add another $20 as tip for your trouble! Hope you don't mind. |
I can do that @askeluv. I shall look into it now. |
@askeluv Just to make sure, there are 9 events that have 16 duplicates. I have to modify the |
@askeluv I have made the changes. Please review. |
Great stuff, LGTM. Will let @medvedev1088 make the final review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Paid out the bounty plus $20 tip as promised @sebastiantf - great work! Thanks |
Thanks @askeluv! Looking forward for more opportunities to work with you. |
Added Aave
Used the Contract Parser: https://contract-parser.d5.ai
Found two proxy addresses:
0x398eC7346DcD622eDc5ae82352F02bE94C62d119 --> 0x6d252baea75459ed0077410613c5f6e51cab4750
0x3dfd23A6c5E8BbcFc9581d2E864a68feb6a076d3 --> 0x5766067108e534419ce13f05899bc3e3f4344948
Also found 16 smart contracts with the same contract name
AToken
and the same events. Named them with suffixes_v2.json
to_v16.json
Fixes #93