KaskoazulNet Bonding Flow
Updated 2023-03-27
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 bond_paid as (
select block_timestamp::date as fecha,
sum (asset_amount) as paid_RUNE,
sum (asset_usd) as paid_USD
from thorchain.bond_actions
where bond_type = 'bond_paid'
group by 1
),
bond_returned as (
select block_timestamp::date as fecha,
sum (asset_amount) as returned_RUNE,
sum (asset_usd) as returned_USD
from thorchain.bond_actions
where bond_type = 'bond_returned'
group by 1
),
bond_reward as (
select block_timestamp::date as fecha,
sum (asset_amount) as reward_RUNE,
sum (asset_usd) as reward_USD
from thorchain.bond_actions
where bond_type = 'bond_reward'
group by 1
),
bond_cost as (
select block_timestamp::date as fecha,
sum (asset_amount) as cost_RUNE,
sum (asset_usd) as cost_USD
from thorchain.bond_actions
where bond_type = 'bond_cost'
group by 1
),
Run a query to Download Data