cybernewApyShort
Updated 2021-08-26
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
AAVE as (SELECT
block_hour,
supply_apy,
borrow_apy,
supply_apy + comp_apy_supply as total_supply_apy,
borrow_apy - comp_apy_borrow as total_borrow_apy
FROM
compound.market_stats
WHERE
contract_name = 'cAAVE'),
BAT as (SELECT
block_hour,
supply_apy,
borrow_apy,
supply_apy + comp_apy_supply as total_supply_apy,
borrow_apy - comp_apy_borrow as total_borrow_apy
FROM
compound.market_stats
WHERE
contract_name = 'cBAT'),
COMP as (SELECT
block_hour,
supply_apy,
borrow_apy,
supply_apy + comp_apy_supply as total_supply_apy,
borrow_apy - comp_apy_borrow as total_borrow_apy
FROM
compound.market_stats
WHERE
contract_name = 'cCOMP'),
DAI as (SELECT
block_hour,
supply_apy,
borrow_apy,
supply_apy + comp_apy_supply as total_supply_apy,