Skip to content
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

Adding Stable and Variable DebtToken events for Aave V3 #107

Merged

Conversation

cheungringo
Copy link
Contributor

@cheungringo cheungringo commented Jan 6, 2023

Changes

Adds StableDebtToken and VariableDebtToken events for Aave V3's Polygon deployment

Used the contract parser ABI: https://nansen-contract-parser-prod.web.app/ to generate these with example stable and variable debt tokens

See this PR in evmchain-etl-table-definitions for reference

cc @medvedev1088 @TimNooren

"name": "Approval",
"type": "event"
},
"contract_address": "SELECT stableDebtToken FROM ref(`PoolConfigurator_v3_event_ReserveInitialized`) GROUP BY stableDebtToken",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

refs should use a quote instead of a backtick, i.e. ref('PoolConfigurator_v3_event_ReserveInitialized') instead of ref(``PoolConfigurator_v3_event_ReserveInitialized``)

@cheungringo
Copy link
Contributor Author

@medvedev1088 updated the backticks to single quotes and also changed the dataset name to match the other schemas in the folder

@medvedev1088 medvedev1088 merged commit c652ff3 into blockchain-etl:main Jan 10, 2023
@medvedev1088
Copy link
Member

@cheungringo it's deployed now to BigQuery:

SELECT * 
FROM `blockchain-etl.polygon_aave.StableDebtToken_event_Mint` 
LIMIT 1000

@cheungringo cheungringo mentioned this pull request Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants