Created
September 30, 2020 05:55
-
-
Save Vergan-star/faeed2df4a858e7957d6e4b7dd088f31 to your computer and use it in GitHub Desktop.
TokenGrant
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT date_trunc('hour', evt_block_time) AS Date, | |
SUM(amount / 1e18) OVER (ORDER BY date_trunc('hour', evt_block_time)) as "Cumulative KEEP Grants Withdrawn" | |
FROM keep."TokenGrant_evt_TokenGrantWithdrawn"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment