Skip to main content

Produce comprehensive financial reports for your on-chain org

Project description

DAO Treasury is a comprehensive financial reporting and treasury management solution designed specifically for decentralized organizations. Built as an extension to eth-portfolio's Portfolio Exporter, DAO Treasury automates the collection and visualization of financial data, enabling organizations to monitor and report on treasury activities with clarity and transparency.

Key Features

  • Financial Reporting for DAOs: Extends core portfolio functionalities to generate detailed reports tailored for on-chain organizations.
  • Dashboard Provisioning: Utilizes Grafana dashboards—defined in JSON files within the .grafana/provisioning directories—to offer real-time, dynamic visualizations of treasury data.
  • Automated Data Export: Features a treasury export tool that, once configured (with a supported brownie network and Docker), continuously captures financial snapshots at set intervals.
  • Ease of Contribution: Non-technical users can easily update or create dashboard visuals using Grafana’s intuitive UI. The Contributing Guidelines document provides a step-by-step guide to defining new visuals and dashboards and integrating those changes into the repository, ensuring that anyone can contribute to the visual reporting aspect of the project.

Requirements

  • Python 3.10 or higher.
  • At least 16GB of RAM.
  • All dependencies installed as specified in the project’s pyproject.toml file.

Prerequisites

  • First, you will need to bring your own archive node. This can be one you run yourself, or one from one of the common providers (Tenderly, Alchemy, QuickNode, etc.)
  • You must configure a brownie network to use your RPC.
  • You will need an auth token for Etherscan's API. Follow their guide to get your key, and set env var ETHERSCAN_TOKEN with its value.
  • You'll also need Docker installed on your system. If on MacOS, you will need to leave Docker Desktop open while Yearn Treasury is running.

Installation

pip install dao-treasury

Usage

Run the treasury export tool:

# For pip installations:
dao-treasury run --wallet 0x123 --network mainnet --interval 12h

For local development (from source installation), use:

poetry run dao-treasury run --wallet 0x123 --network mainnet --interval 12h

CLI Options:

  • --network: The id of the brownie network the exporter will connect to (default: mainnet)
  • --interval: The time interval between each data snapshot (default: 12h)
  • --daemon: Run the export process in the background (default: False) (NOTE: currently unsupported)
  • --grafana-port: Set the port for the Grafana dashboard where you can view data (default: 3004)
  • --renderer-port: Set the port for the report rendering service (default: 8080)
  • --victoria-port: Set the port for the Victoria metrics reporting endpoint (default: 8430)

After running the command, the export script will run continuously until you close your terminal. To view the dashboards, just open your browser and navigate to http://localhost:3004!

Enjoy!

Screenshots

DAO Transactions Dashboard

image

Contributing

We welcome contributions to DAO Treasury! For detailed guidelines on how to contribute, please see the Contributing Guidelines.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dao_treasury-0.0.29.tar.gz (47.3 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

dao_treasury-0.0.29-cp312-cp312-win_amd64.whl (198.6 kB view details)

Uploaded CPython 3.12Windows x86-64

dao_treasury-0.0.29-cp312-cp312-win32.whl (181.1 kB view details)

Uploaded CPython 3.12Windows x86

dao_treasury-0.0.29-cp312-cp312-musllinux_1_2_x86_64.whl (382.2 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

dao_treasury-0.0.29-cp312-cp312-musllinux_1_2_i686.whl (395.6 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ i686

dao_treasury-0.0.29-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (382.9 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

dao_treasury-0.0.29-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (395.5 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ i686manylinux: glibc 2.5+ i686

dao_treasury-0.0.29-cp312-cp312-macosx_11_0_arm64.whl (206.5 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

dao_treasury-0.0.29-cp311-cp311-win_amd64.whl (196.9 kB view details)

Uploaded CPython 3.11Windows x86-64

dao_treasury-0.0.29-cp311-cp311-win32.whl (179.2 kB view details)

Uploaded CPython 3.11Windows x86

dao_treasury-0.0.29-cp311-cp311-musllinux_1_2_x86_64.whl (373.6 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

dao_treasury-0.0.29-cp311-cp311-musllinux_1_2_i686.whl (379.3 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ i686

dao_treasury-0.0.29-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (370.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

dao_treasury-0.0.29-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (371.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ i686manylinux: glibc 2.5+ i686

dao_treasury-0.0.29-cp311-cp311-macosx_11_0_arm64.whl (206.6 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

dao_treasury-0.0.29-cp310-cp310-win_amd64.whl (197.6 kB view details)

Uploaded CPython 3.10Windows x86-64

dao_treasury-0.0.29-cp310-cp310-win32.whl (179.7 kB view details)

Uploaded CPython 3.10Windows x86

dao_treasury-0.0.29-cp310-cp310-musllinux_1_2_x86_64.whl (380.0 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

dao_treasury-0.0.29-cp310-cp310-musllinux_1_2_i686.whl (387.4 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ i686

dao_treasury-0.0.29-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (375.9 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

dao_treasury-0.0.29-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (377.5 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ i686manylinux: glibc 2.5+ i686

dao_treasury-0.0.29-cp310-cp310-macosx_11_0_arm64.whl (210.2 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file dao_treasury-0.0.29.tar.gz.

File metadata

  • Download URL: dao_treasury-0.0.29.tar.gz
  • Upload date:
  • Size: 47.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for dao_treasury-0.0.29.tar.gz
Algorithm Hash digest
SHA256 5859e5c2fa2495478e210ea02da3037be17c427fdb27fef32046079e0480ce26
MD5 3c79146a1b4682327e5f02b04379086b
BLAKE2b-256 6cf724ef186ff322b39c8e4f7583bc13c891a3a929f53e67da0d46a9fe9fa378

See more details on using hashes here.

File details

Details for the file dao_treasury-0.0.29-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for dao_treasury-0.0.29-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 05d89b53241bb8677ab550e6513eb8bd39beccc046bae3910b007f20729f8706
MD5 e1d68233e744638b2453aff2f62829a9
BLAKE2b-256 eadc85141ab8dbca3c2f6acc2d7b884708ad0427293f3ad181ec164c68dbce8d

See more details on using hashes here.

File details

Details for the file dao_treasury-0.0.29-cp312-cp312-win32.whl.

File metadata

  • Download URL: dao_treasury-0.0.29-cp312-cp312-win32.whl
  • Upload date:
  • Size: 181.1 kB
  • Tags: CPython 3.12, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for dao_treasury-0.0.29-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 969f62eae893fe04107a085e2ca06341cf046106e3a0150d589e16fa4f92782f
MD5 a667c7cbd3c55802f27b7d98b810545d
BLAKE2b-256 3880bc52139faea09a91a18803f969100c68d3e3319f56f3c32e5484977fe13a

See more details on using hashes here.

File details

Details for the file dao_treasury-0.0.29-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for dao_treasury-0.0.29-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 aa0659f4c6f254a79b783c77cd0dccc41bb532ab8c6ed4c683b83aab514adff5
MD5 a9881c044f96c590ac8f4b91052e10c2
BLAKE2b-256 21496bbaf15be302b619827fdef1bdf97e7d4e50e037310e540f2c00278d7584

See more details on using hashes here.

File details

Details for the file dao_treasury-0.0.29-cp312-cp312-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for dao_treasury-0.0.29-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 719d7c1e2a06de95252c45532f74cc7b0c8b61837de393520a239473e9d2c383
MD5 0ae2ad0fcda170cb669031179a711c1d
BLAKE2b-256 7e464c184ec7c2bf5d0f3568d33b468ccf6e971b79195a62d6b5994e101d8af1

See more details on using hashes here.

File details

Details for the file dao_treasury-0.0.29-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dao_treasury-0.0.29-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 343113a9f0bbc4a64dcbb4c58964c86fd54b1ab19e408e3b1cbc487d2ecdbce8
MD5 fcb2e42b44a77b83ca783098932fea1e
BLAKE2b-256 ec8f35cda5b8fd33de00129b8e5db03fa2ffeeab4424959f2c1266e94ae567ff

See more details on using hashes here.

File details

Details for the file dao_treasury-0.0.29-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for dao_treasury-0.0.29-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 f13613ce3cfde0812dd6b96794e2f46d49c4f04293b136b1f28a549fb1c5ad96
MD5 71d7057503a8c2cd66bc535bd6e4d272
BLAKE2b-256 08e555538b12402cb0cf27668c8c1f641b167b94b37bc32bb429f10eb7ed0ece

See more details on using hashes here.

File details

Details for the file dao_treasury-0.0.29-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dao_treasury-0.0.29-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6b55e763ca0433e14e857157009ea38830f1444ba69d6f826471a1055c9769c6
MD5 2ea53205c417dc6e2c555d2a4929025a
BLAKE2b-256 d680d6c9597510018dded874fc5062728a71b10bd7f37450765b6c5e453e5ab3

See more details on using hashes here.

File details

Details for the file dao_treasury-0.0.29-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for dao_treasury-0.0.29-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a44315752d697569fbbb63727597aaaa4176510dc17a90297944cec09b660d5a
MD5 1649b79e6f28a08015befc32acca710b
BLAKE2b-256 6bb1eca510c2f53f132e3752e9f6e9903bc4a9448f0dd7589ea29009743e5321

See more details on using hashes here.

File details

Details for the file dao_treasury-0.0.29-cp311-cp311-win32.whl.

File metadata

  • Download URL: dao_treasury-0.0.29-cp311-cp311-win32.whl
  • Upload date:
  • Size: 179.2 kB
  • Tags: CPython 3.11, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for dao_treasury-0.0.29-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 f2119306495a5e511ae6699f38ebebeb9d968d831bb69e991898a54e85d5823d
MD5 85a7b64f37b4cadba90dffd66f100393
BLAKE2b-256 7ef25413743f5e3ae5c1c851277b335792b83de246abdc256b8f23ac40d4974c

See more details on using hashes here.

File details

Details for the file dao_treasury-0.0.29-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for dao_treasury-0.0.29-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8cfcb2a70bfa6c707c3a3dd22f07891d979d9a0ce3dba1f2343a27ea74db5aba
MD5 95e3b249eb8de61b6f3416b1b1e1dd74
BLAKE2b-256 20b2c47f60b0904d420ad3266641745c5a96625438b6d4d6df8bdd77d04c5fe1

See more details on using hashes here.

File details

Details for the file dao_treasury-0.0.29-cp311-cp311-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for dao_treasury-0.0.29-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 c552c30b2865ef8ca01b52a9674cad3a4eeb39a8d2498011f449f15b408ece08
MD5 45df4929704bc9237be49b34faab9ddf
BLAKE2b-256 f1940c8626c3475940f2dc89d6b31b5dcd18870a4b8b62cdee530a3bd3f1f48f

See more details on using hashes here.

File details

Details for the file dao_treasury-0.0.29-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dao_treasury-0.0.29-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 39552276622b203d964e39f4f3869dad9b0803e1d6ea29262f79f56103c2b520
MD5 368e364c5039f990ab6222e7ccf6647f
BLAKE2b-256 94ebe4b91bdb1f8a99ac172b636ce0a3efa59171225c28663e98ad94aad458a4

See more details on using hashes here.

File details

Details for the file dao_treasury-0.0.29-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for dao_treasury-0.0.29-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 4099e3a04d35bb5a160ababa0f0d5c9026958e19c1ea35595391df7b2532412e
MD5 b3344a0257ae901a05d842100d37d372
BLAKE2b-256 fc71209a3df1b954d372a8e6c682bf6d58908cefed506c0e7b66f8c501fb852e

See more details on using hashes here.

File details

Details for the file dao_treasury-0.0.29-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dao_treasury-0.0.29-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3742f65e4196d3c481065a5aa37eddf6697f68ad8ae59e4f09567f26a4523d91
MD5 28c803c0c2bf259382ab0c395ad96973
BLAKE2b-256 03ce693f95944aafe2d423adb31724939c992efaa3996399bd29027984dc838e

See more details on using hashes here.

File details

Details for the file dao_treasury-0.0.29-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for dao_treasury-0.0.29-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 d5125cf29f79f75333edd2f97bd52c3968afcf7df8fc6ec072fa0d409bf7e0bf
MD5 eaf7a511184df6a2269810dd8471866b
BLAKE2b-256 b733a720314a309f52344be2f79bfddb44529d833556e597bc1767a8f93843b3

See more details on using hashes here.

File details

Details for the file dao_treasury-0.0.29-cp310-cp310-win32.whl.

File metadata

  • Download URL: dao_treasury-0.0.29-cp310-cp310-win32.whl
  • Upload date:
  • Size: 179.7 kB
  • Tags: CPython 3.10, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for dao_treasury-0.0.29-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 fbc4560ab13cbe35674368de45b9071297ecf682315129e32c9cea678b7f1f88
MD5 072617eee007cbae2c29e98e62e79c7d
BLAKE2b-256 0328a1a5195aea19a44065e058658f175f3067c7c94362b0042ba95e12cf5573

See more details on using hashes here.

File details

Details for the file dao_treasury-0.0.29-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for dao_treasury-0.0.29-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0cc4309cb9c72b3f7121fb2084d2da14f7da501c04394a8b301946f251115977
MD5 8ef638cf683d8e6806b2d39cf107d69c
BLAKE2b-256 27b11b98e5a0ff7d6752dc9c57918ba4901cafbee96633b5be03765df56add39

See more details on using hashes here.

File details

Details for the file dao_treasury-0.0.29-cp310-cp310-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for dao_treasury-0.0.29-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 57ec9bb622f90353c3b7da162a753c1fb606ce223ab014496594a6e6dc0c7d14
MD5 725facf3f65cea3e0885422e09605ed6
BLAKE2b-256 45e13afa0eeadf79c6b45edcd818e2718e0289a4ccb08f0254b5dbe2d8562422

See more details on using hashes here.

File details

Details for the file dao_treasury-0.0.29-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dao_treasury-0.0.29-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 204340f566e4b55f5939031d02d71b9936c22f5757c3e7974e28c9d0ed957f05
MD5 c588fdab98b0251d264db51f343c5d6b
BLAKE2b-256 7b06e4b8f30895b569c7980bf4bac2f31e05c93280863c7da4a9538396fda337

See more details on using hashes here.

File details

Details for the file dao_treasury-0.0.29-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for dao_treasury-0.0.29-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 3b826b701f119f6347d96d1c87a026aba0372c8639c14b259fd42b1ddbc8131f
MD5 e8b52ba47d110e7fccadac7c04fcb642
BLAKE2b-256 5b5c37cbe1920ec92ae75790049b8c9f87777483bab69f0e28a52fbf3e1d7579

See more details on using hashes here.

File details

Details for the file dao_treasury-0.0.29-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dao_treasury-0.0.29-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e5284dd522b298848970c74d4051f0d81922406ff25d0b7c1ecd18222178659f
MD5 1d81680c75411ab2335c4749e5464428
BLAKE2b-256 03c4f8604415544982ca39133a01af48f0baa462b48928507863cab4165fb2ad

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page