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'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.28.tar.gz (47.0 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.28-cp312-cp312-win_amd64.whl (197.8 kB view details)

Uploaded CPython 3.12Windows x86-64

dao_treasury-0.0.28-cp312-cp312-win32.whl (180.6 kB view details)

Uploaded CPython 3.12Windows x86

dao_treasury-0.0.28-cp312-cp312-musllinux_1_2_x86_64.whl (380.7 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

dao_treasury-0.0.28-cp312-cp312-musllinux_1_2_i686.whl (394.2 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ i686

dao_treasury-0.0.28-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (381.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

dao_treasury-0.0.28-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (394.4 kB view details)

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

dao_treasury-0.0.28-cp312-cp312-macosx_11_0_arm64.whl (206.0 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

dao_treasury-0.0.28-cp311-cp311-win_amd64.whl (196.3 kB view details)

Uploaded CPython 3.11Windows x86-64

dao_treasury-0.0.28-cp311-cp311-win32.whl (178.6 kB view details)

Uploaded CPython 3.11Windows x86

dao_treasury-0.0.28-cp311-cp311-musllinux_1_2_x86_64.whl (372.4 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

dao_treasury-0.0.28-cp311-cp311-musllinux_1_2_i686.whl (377.9 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ i686

dao_treasury-0.0.28-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (369.0 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

dao_treasury-0.0.28-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (370.0 kB view details)

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

dao_treasury-0.0.28-cp311-cp311-macosx_11_0_arm64.whl (206.0 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

dao_treasury-0.0.28-cp310-cp310-win_amd64.whl (196.9 kB view details)

Uploaded CPython 3.10Windows x86-64

dao_treasury-0.0.28-cp310-cp310-win32.whl (179.2 kB view details)

Uploaded CPython 3.10Windows x86

dao_treasury-0.0.28-cp310-cp310-musllinux_1_2_x86_64.whl (378.7 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

dao_treasury-0.0.28-cp310-cp310-musllinux_1_2_i686.whl (386.1 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ i686

dao_treasury-0.0.28-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (374.8 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

dao_treasury-0.0.28-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (376.4 kB view details)

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

dao_treasury-0.0.28-cp310-cp310-macosx_11_0_arm64.whl (209.5 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: dao_treasury-0.0.28.tar.gz
  • Upload date:
  • Size: 47.0 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.28.tar.gz
Algorithm Hash digest
SHA256 68c6030d214d79bd10ec7b5eaab76ea4501c015f9c591145a8c1f15cfc4236b4
MD5 c94d5811254647d328358c7fbce86451
BLAKE2b-256 31103b81af5489e3a893851df29cbca0c007ecd71ca7bf619a8dd7b16e2b8c71

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.28-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 05919917c8854ba636b1abbc16dd59de89b77be47987724c9538723e70970f0e
MD5 68ab97ab276b561f14c6628135eb0d83
BLAKE2b-256 3b7c75723e5bcdbb9a759c046404bbb69c371d4c2c0e63541d231ed5264d9aff

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dao_treasury-0.0.28-cp312-cp312-win32.whl
  • Upload date:
  • Size: 180.6 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.28-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 bd389e3fbe558c2d2f1493e1472db2230af9da464a10cb23d07a8567d80ff4f4
MD5 ee99703d50a4b71da48347f54395bae2
BLAKE2b-256 53d2a78967900e0f93bbd3bd2bb3fc6648286989570a62bac6a36b94d3b7bedc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.28-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 101f6e39ecb6aa9449a2fcd69b084b31c7d23d731834083bb6126a74e799acec
MD5 a4a05d84471f2a1fa8de578dd9f7cc97
BLAKE2b-256 6ea77653c8e49afb05e98b8421d812571c848564c302ea96188b55234cb80fc5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.28-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 c9bdf4f564ba2210ed7d85bc01d286a886a95ab4224248b16cc2db8f855c2bdb
MD5 5ef6c93a993eaed0c63e522681ff64c5
BLAKE2b-256 7a52596c8b594c202b7143765632bb5d13853539f0deb29acbf58fb71c8f1c91

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.28-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5d7a5599bb07f5dde1e756018ba40fc108b6e404b19bc946763bc07b5f9c5487
MD5 aea49852ca274ab655af379cd08147d9
BLAKE2b-256 9255c8b695ad8748be35678427f94a6f7d4f081d529b5513303aa038dbebe798

See more details on using hashes here.

File details

Details for the file dao_treasury-0.0.28-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.28-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 e0d5c95764e998adcb5808f0b9715b075eb13a372fd6b19f844ade979872cfa6
MD5 5d8d4c64903bd6de157d60cfd20aebbf
BLAKE2b-256 a3f872d69587f8bb99fe5e681fb4888b7897c6c7013aa464c8a73bee1e3cd7fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.28-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 32bf9685f2ab8d80e2e21c76ceea65976170660c1e8568af97cc8ab003d6e841
MD5 350c006b55711eab99bf0ba136340bac
BLAKE2b-256 16be7ca1d099e43b88674a08369c8c7cdfc510704f04ef532525a5901357a079

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.28-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 dd4dd3d89a35e9a5b0329c458d719884e16da76f1820ae0298d5c42c22d41c16
MD5 f08730d75ad91c33803e800ead6b8b09
BLAKE2b-256 d6cfb0a94b414983d84f327c2eba420d71b2c33d1dbdf5c8ee55b7f5f16162f9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dao_treasury-0.0.28-cp311-cp311-win32.whl
  • Upload date:
  • Size: 178.6 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.28-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 6d530e07cedbb5b7fad9cfe715b991cef8da26486d10e912b9d147e4130027b8
MD5 3b9ff76c0a71aec262aa8e55f2f0444c
BLAKE2b-256 e3776816861aca2997407feec240de10f945627033bc01bacd0d82934834b05d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.28-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f4dad4c098e9e598e1c1b02c702b190e78d0d001acabd0aed22d468527a93ee9
MD5 4a439122c80a87a1000b4b9677e53143
BLAKE2b-256 999ff947b448be11e9b4121110e38351644484e1841df8c84243ec3b6f32ee48

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.28-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 8f6de3e0c84438376e3d713fa2318a01d2c4eaaef2b12ee3b72f705937b28fa1
MD5 6ab3144e8a46b3b6ab39254718708b27
BLAKE2b-256 fbca1006b4b617a7f8ebe6fd1e5d22834b9430e7ae70b1bdd19d1e62ec74fb6c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.28-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6c5573a91d4b89536f0533c976a0dd1ba5fc395f29a51dc18953c839c7d5d4a7
MD5 46412cb4271b54a9e7887a41a85b63a8
BLAKE2b-256 6666ea95fe43e36b676c45c319bf9ebea9d2bcce363bb6711abdd258ad3ca97a

See more details on using hashes here.

File details

Details for the file dao_treasury-0.0.28-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.28-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 ceacad6c27ae055fe7a1fddd32896a32f37234d8eac7f97164036df8cc628715
MD5 6671167b29aa83820ce8523f62207e77
BLAKE2b-256 64b3d3ae244734846d94619c13c4eb6d4451719c0986e4e9aa42b38f208d6384

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.28-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 70cf98cd84c838550efaaa1bf53079e6dd959244a6cd91effb4612617abdbe46
MD5 be8c1a723d97bffae00b74e0076b9ee9
BLAKE2b-256 efe8d2c170d7aed800b9a9a0906b9de6bddc5a0c92fea1adf527587f244eb723

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.28-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 ad275b4a237b0f163f4d1d2fbe9eb4ef80c547153b59d8ea752081736fd00dae
MD5 0e87cde2be2e4fd923a80f339eaeb81d
BLAKE2b-256 b6d39161d0cc550ecc5789b1aae70bd4a3dc810454b0ddba4e2a2cfa38db6d39

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dao_treasury-0.0.28-cp310-cp310-win32.whl
  • Upload date:
  • Size: 179.2 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.28-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 5ff8fd55843ed6a0756d0ad38a257ca924a86d7bbcda32a51a7a88dcc7583b18
MD5 e579ca98acc12d951fe917805ae6fc71
BLAKE2b-256 b537131c314299634e1ba72b2831e6bc03ec9b87548ed71b5ed310e053df5665

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.28-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 260275f02b64d38bb3389992101c3ad5636c321a9c1cfcb6907b8e16452be2f3
MD5 b569f187d2022bbff05d8e304a5113a0
BLAKE2b-256 759b409462a9c72d84862a61efe754d1b6622e15148b0c7aedc96cdcfe06fc91

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.28-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 d6014ed2baf9c5f301192e2ab279445e48c94b5a452f0290c67a2434436b2dea
MD5 8a0820789dbf29990623f6c63fd4b4fe
BLAKE2b-256 87a0b30fde3f4d89f1d642f4a1e5e6c7b6edbeb673aff5a6e2196d55306e718d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.28-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9c7e7f0843dbef3a7b01c77172b34c50e1e942abeea15e8a63be7ced76bd04fa
MD5 465e7f38d9871c58314c45210d3de3fc
BLAKE2b-256 502a51695341a2031829d8a3d2946e18511bcfb7671795716992f1b973c78bd2

See more details on using hashes here.

File details

Details for the file dao_treasury-0.0.28-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.28-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 ba25040a34be2f2896e3417d67e459944573450ea88bbe6a20debee0cddda57a
MD5 ba155476e17530195bece15a65c231ec
BLAKE2b-256 3ae0cb753cd52efaafb0caa1d858882480789b57f04bd98f1a3681bcba214a73

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.28-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d827365dd9dd7e5f73ab16e5ee415a31a65586c27ec6b8fd9770f42041ba0f7f
MD5 67f770658390abcdd29ac6458f48468f
BLAKE2b-256 e5d4d7125d7ce11b11dc2b4f495c0c6b01df12eb9253cd7fa9356c663c89412a

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