Skip to content

Commit

Permalink
Update hnt-tax-duck.md
Browse files Browse the repository at this point in the history
  • Loading branch information
davetapley authored Apr 16, 2024
1 parent d47bc3b commit 837bc58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hnt-tax-duck.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ CREATE TABLE hnt_usd AS SELECT "Date" AS date, ("High" + "Low") / 2 AS price FRO
Join prices with your rewards:

```sql
CREATE VIEW iot_usd_rewards AS SELECT time, amount, price, amount * price AS usd FROM iot_rewards ASOF JOIN iot_usd ON time > date;
CREATE VIEW hnt_usd_rewards AS SELECT time, amount, price, amount * price AS usd FROM hnt_rewards ASOF JOIN hnt_usd ON time > date;
CREATE VIEW iot_usd_rewards AS SELECT time, amount, price, amount * price AS usd FROM iot_rewards ASOF JOIN iot_usd ON time >= date;
CREATE VIEW hnt_usd_rewards AS SELECT time, amount, price, amount * price AS usd FROM hnt_rewards ASOF JOIN hnt_usd ON time >= date;
```

Summarize your rewards in USD:
Expand Down

0 comments on commit 837bc58

Please sign in to comment.