freemartianBolide BNB v2 Table
Updated 2023-09-11
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 BNB_table as (
select
tx_hash,
block_timestamp,
decoded_log:depositor as actor,
decoded_log:amount/pow(10,18) as amount,
'Deposit' as action
from bsc.core.ez_decoded_event_logs
where event_name in ('Deposit')
and contract_address in ('0xac4a30d5343fd28afea2ea70b1dea93f35183b18')
and origin_function_signature = '0x6e553f65'
and decoded_log:token = '0x0000000000000000000000000000000000000000'
and tx_status = 'SUCCESS'
and block_timestamp > '2022-08-01'
UNION
select
tx_hash,
block_timestamp,
decoded_log:depositor as actor,
decoded_log:amount/pow(10,18) as amount,
'Withdraw' as action
from bsc.core.ez_decoded_event_logs
where event_name = 'Withdraw'
and contract_address = '0xac4a30d5343fd28afea2ea70b1dea93f35183b18')
and origin_function_signature = '0x00f714ce'
and decoded_log:token = '0x0000000000000000000000000000000000000000'
and tx_status = 'SUCCESS'
and block_timestamp > '2022-08-01'
)
select
date_trunc('day', block_timestamp::date) as time,
count(tx_hash) as number_of_transaction,
Run a query to Download Data