Query editor
/* Migration success :)There are some cases such as unnest/sequence and array/json functions the migrator won't take care of for you(but we have examples of in the docs linked below!)If you're still running into issues, check out the doc examples https://dune.com/docs/reference/dune-v2/query-engine/or reach out to us in the Dune discord in the #dune-sql channel.*//* !Bytea warning: We now have new bytearray functions such as to cover conversions and stuff like length, concat, substring, etc. Check out the docs here: https://dune.com/docs/reference/dune-v2/query-engine/#byte-array-to-numeric-functions */SELECT1e18 / BYTEA2NUMERIC_V2 (SUBSTRING(data, 3)) AS cratio,block_time,tx_hashFROMoptimism.logsWHERECONTAINS (TRANSFORM (ARRAY('0x1a094457F83dA71bF223BFA49E7fa67839285905' /* '0x05E1b1Dff853B1D67828Aa5E8CB37cC25aA050eE', */ /* '0x8454190C164e52664Af2c9C24ab58c4e14D6bbE4', */ /* '0x46D4504ed0f751309e3c6b1f544ad2E8458537Dc', */ /* '0x8f571a7bD9924e25a3d2aC0B7F721C5Ed675c3c8', */,'0x3fDccCf40eefe389a8Ba73Ff2AEDA10888ff8F3E','0x28224ef515d01709916F5ac4D8a72664A7b56e98','0xd056351FC32b5Ec443305198FB9093057f8e988C','0x1c7A2E680849bC9C6ab8b437A28885C028739B82','0xdE48d4b3B8737446193720ce23ef24f922341155','0x05E1b1Dff853B1D67828Aa5E8CB37cC25aA050eE'),x -> LOWER(x)),contract_address)AND topic1 = '0x63b22e09cc3a33e847c063e35f887bd4ea96bc8c0f93f1f8c311e4fa6d885452' /* IssuanceRatioUpdated()uint256 */