0x000eth-sW-WATLand - Members copy
Updated 2024-11-21
999
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
›
⌄
-- forked from sssstatistic / Land - Members @ https://flipsidecrypto.xyz/sssstatistic/q/unuNX5Mi8oBv/land---members
WITH land1 AS (
select
decoded_log ['account'] AS address,
decoded_log ['landId'] AS landId,
block_number,
block_timestamp
-- select *
from
blast.core.ez_decoded_event_logs
where
contract_address = '0xc48f6213a1a4d3ead79db812c2b91817980532c3'
and event_name = 'NewAccount'
),
block_info AS (
SELECT
decoded_log ['account'] AS address,
max(block_number) AS block
-- select *
from
blast.core.ez_decoded_event_logs
where
contract_address = '0xc48f6213a1a4d3ead79db812c2b91817980532c3'
and event_name in (
'TeleportToLand',
'KickPlayerOutOfLand'
)
GROUP BY decoded_log ['account']
),
reset_account AS (
SELECT origin_from_address AS address,
max(block_timestamp) AS block_timestamp
from
blast.core.ez_decoded_event_logs
where
QueryRunArchived: QueryRun has been archived