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
pragma solidity ^0.8.13; | |
import "forge-std/Test.sol"; | |
import "forge-std/console2.sol"; | |
interface IComet { | |
function supply(address asset, uint amount) virtual external; | |
function balanceOf(address owner) virtual external view returns (uint256); | |
} |
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
-- Original query can be found here: | |
-- https://console.cloud.google.com/bigquery?sq=226172199733:c6cfab4e7c6b49e791513d3229f9ddf4 | |
-- CAVEATS: | |
-- * This query is quite expensive to run on the full public dataset, ~$13. If | |
-- you are just interested in trying it out, I recommend commenting out the | |
-- first subquery and replacing with the version below, which uses a much | |
-- smaller sample table. | |
-- * This includes indentation on code comments, which should be fine as comments | |
-- usually inherit the indentation of the code context |