lanoDragonswap Add & Remove Liquidity Record
Updated 2024-10-16
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
›
⌄
with rraw as (
SELECT
block_Timestamp,
tx_hash,
decoded_log:amount0::int / 1e18 as first_token_amount,
decoded_log:amount1::int / 1e6 as second_token_amount,
decoded_log:tokenId::string as nft_id
from kaia.core.ez_decoded_event_logs
where contract_address = '0x68f762d28cebad501c090949e4680697e56848fc'
and event_name = 'IncreaseLiquidity'
and block_timestamp > timestamp '2024-09-25'
),
ralmost as (
select
tx_hash,
block_timestamp,
first_token_amount,
second_token_amount,
nft_id
from rraw
qualify row_number() over(partition by nft_id order by block_timestamp asc) = 1
),
rbase as (
SELECT
block_timestamp,
tx_hash,
from_address,
to_address,
value_precise,
left(input, 10) as function_signature,
input,
output
QueryRunArchived: QueryRun has been archived