RayyykCosmos to Osmosis Bridge Analysis 3
Updated 2022-12-13
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 table_1 as (select block_timestamp as bridge_date,
receiver as bridger
from cosmos.core.fact_transfers
where tx_succeeded = 'TRUE'
and transfer_type = 'IBC_TRANSFER_OUT'
and receiver like 'osmo%'
and currency = 'uatom'),
gov_deposit as (select 'Governance Deposit' as Action_Type,
block_timestamp,
tx_id,
depositor as wallets
from osmosis.core.fact_governance_proposal_deposits a
join table_1 b on a.depositor = b.bridger and a.block_timestamp > b.bridge_date
where tx_status = 'SUCCEEDED'),
gov_propose as (select 'Governance Propose' as Action_Type,
block_timestamp,
tx_id,
proposer as wallets
from osmosis.core.fact_governance_submit_proposal a
join table_1 b on a.proposer = b.bridger and a.block_timestamp > b.bridge_date
where tx_status = 'SUCCEEDED'),
gov_vote as (select 'Governance Vote' as Action_Type,
block_timestamp,
tx_id,
voter as wallets
from osmosis.core.fact_governance_votes a
join table_1 b on a.voter = b.bridger and a.block_timestamp > b.bridge_date
where tx_status = 'SUCCEEDED'),
lped as (select 'Liquidity Providing' as Action_Type,
block_timestamp,
tx_id,
liquidity_provider_address as wallets
Run a query to Download Data