nasdfajsklj2024-07-18 checking miggles
Updated 2024-07-18
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
›
⌄
with addresses as (
select lower(address) as address from (
values
('0xc8c0e780960f954c3426a32b6ab453248d632b59') --old fee address
,('0x77777d91c0b8ec9984a05302e4ef041dccf77fee') --new fee address
-- ,('0x0000000000002bdbf1bf3279983603ec279cc6df') --relay?
) as t(address)
)
,excluded as (
select lower(address) as address from (
values
('0xc8c0e780960f954c3426a32b6ab453248d632b59') --old fee address
,('0x77777d91c0b8ec9984a05302e4ef041dccf77fee') --new fee address
,('0xf70da97812cb96acdf810712aa562db8dfa3dbef') --relay
,('0x85c153aae1f101af08151863306d9e0b823ea1b5') --my address, from one time sending relay funds to fee address
) as t(address)
)
,data as (
select block_timestamp, amount_usd, origin_to_address, 'BASE' as chain
,contract_address, amount, origin_from_address
from base.core.ez_token_transfers
where to_address in (select address from addresses)
and origin_from_address not in (select address from excluded)
and block_timestamp::date > '2024-02-26'
)
select *
from data
where contract_address = lower('0xB1a03EdA10342529bBF8EB700a06C60441fEf25d')
-- and amount_usd > 0
QueryRunArchived: QueryRun has been archived