Skip to main content

Produce comprehensive financial reports for your on-chain org

Project description

This library extends eth_portfolio with additional functionality centered around producing financial reports for DAOs and other on-chain orgs.

Installation

pip install dao-treasury

Prerequisites

You must have a brownie network configured to use your RPC. You will also need Docker installed on your system.

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 access the dashboard, open your browser and navigate to http://localhost:3003 for the eth-portfolio dashboard and http://localhost:3004 for the dao-treasury dashboard. Soon I will combine them into one interface but for now you can check both.

Enjoy!

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.21.tar.gz (36.5 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.21-cp312-cp312-win_amd64.whl (162.6 kB view details)

Uploaded CPython 3.12Windows x86-64

dao_treasury-0.0.21-cp312-cp312-win32.whl (148.0 kB view details)

Uploaded CPython 3.12Windows x86

dao_treasury-0.0.21-cp312-cp312-musllinux_1_2_x86_64.whl (327.3 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

dao_treasury-0.0.21-cp312-cp312-musllinux_1_2_i686.whl (338.5 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ i686

dao_treasury-0.0.21-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (328.1 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

dao_treasury-0.0.21-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (336.3 kB view details)

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

dao_treasury-0.0.21-cp312-cp312-macosx_11_0_arm64.whl (175.8 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

dao_treasury-0.0.21-cp311-cp311-win_amd64.whl (161.2 kB view details)

Uploaded CPython 3.11Windows x86-64

dao_treasury-0.0.21-cp311-cp311-win32.whl (145.9 kB view details)

Uploaded CPython 3.11Windows x86

dao_treasury-0.0.21-cp311-cp311-musllinux_1_2_x86_64.whl (322.1 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

dao_treasury-0.0.21-cp311-cp311-musllinux_1_2_i686.whl (326.7 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ i686

dao_treasury-0.0.21-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (318.0 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

dao_treasury-0.0.21-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (318.5 kB view details)

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

dao_treasury-0.0.21-cp311-cp311-macosx_11_0_arm64.whl (175.1 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

dao_treasury-0.0.21-cp310-cp310-win_amd64.whl (161.5 kB view details)

Uploaded CPython 3.10Windows x86-64

dao_treasury-0.0.21-cp310-cp310-win32.whl (146.3 kB view details)

Uploaded CPython 3.10Windows x86

dao_treasury-0.0.21-cp310-cp310-musllinux_1_2_x86_64.whl (325.9 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

dao_treasury-0.0.21-cp310-cp310-musllinux_1_2_i686.whl (332.3 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ i686

dao_treasury-0.0.21-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (322.8 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

dao_treasury-0.0.21-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (324.0 kB view details)

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

dao_treasury-0.0.21-cp310-cp310-macosx_11_0_arm64.whl (177.6 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: dao_treasury-0.0.21.tar.gz
  • Upload date:
  • Size: 36.5 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.21.tar.gz
Algorithm Hash digest
SHA256 70da2dc23e08ee95068122458f5685827d457323cdabd99c51f04fde7e4fbedd
MD5 f4b5b88646ccfbf3edaf9b51c4ec1f85
BLAKE2b-256 dfd0e312839be69693c73ac7068329b0e99dba082e088198aac91dd7cac157e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.21-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 f25ad963a3ec414a35bd328d9654c699785b7240fe7ce067b47c6573dc8520dd
MD5 1fcfd9a2ec2b9a45b65f90ebe50bc9eb
BLAKE2b-256 b225636717db94fb8116396ca091a78185ad373bc23289170971c7e1255187dd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dao_treasury-0.0.21-cp312-cp312-win32.whl
  • Upload date:
  • Size: 148.0 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.21-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 b84a67da2eb9f68054fa9e2320871739547e9f020c8e377d1a25fa72abe97154
MD5 fb04817b1a95456cc52d65619eeadbf2
BLAKE2b-256 02430287bab9e5927a8e6bc473cfd25660e06fd25de40b8a5925c6a4d1b66f17

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.21-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 5e498e39268e4ce08d0590035f20a64296e7a7aad70b85a4c024fb4e1b5c8dd2
MD5 56c952326803f6fc13164c0152df8855
BLAKE2b-256 3e23fb2cf2b7c7ddba8c831817e01269b2bdbbdbe95fe9c0fd3097c7cf09e217

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.21-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 3ba24dd6e6dfa6eaa0298d2d610a6ca5e82af47d7dafd9596830b98815437239
MD5 33468b8aae12031b96372a2b47935c7f
BLAKE2b-256 43f2d49fb001d7771052107b82a9465eab7815f08f7bdaac4352615f6602140d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.21-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7759cfa56086e9521d0c3d245963f59128172e0719e66c03f37cc9f4ad159f1c
MD5 2684f2f3a894222d998dc92cd3ba8f69
BLAKE2b-256 050935dc81044cd77c8aaac1d86941b334cdd00b4dc0736a480c5fc55a1b8611

See more details on using hashes here.

File details

Details for the file dao_treasury-0.0.21-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.21-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 c8f7a2e3b69ccd82f47bc6847e37e11757630a6ee67fc9ded961b76e99eab12b
MD5 81a946814374ad46ac7b4c9d415dfc4d
BLAKE2b-256 e1cdc662573e2c9ffa852bac319474d4c331872bb9d6533d749582b89da69adf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.21-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 55d2cdede2dff0f9ffe60cec2fddf4c07a0b8d3bb5f54b137b36475b8138ff2c
MD5 3ee670d78ef6f25ee2763beb4b333638
BLAKE2b-256 24f5529ed53b2aca774c4ea3d2c5ca2a2f17a00d67a1600c7d78aee7c77bc038

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.21-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f176e71d43c4486bca221479f8b4215389c47c4d65b99f2c488016c326afe8aa
MD5 6b661f5e491e354fb7ec4e18756b57a4
BLAKE2b-256 386f1cbde805799180b9743e1f796c8bf840aa4f92345a35c4a8a8766fab8adb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dao_treasury-0.0.21-cp311-cp311-win32.whl
  • Upload date:
  • Size: 145.9 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.21-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 968fceb0b3ab2484618723293f526ef32ff9b5ba811eba3741f0a2a8129bdc91
MD5 65323e12fc2f75f8a53da0155e2c0251
BLAKE2b-256 f886c8588b8f507c7a9a724009991d9a246c6e00c146ade8b940bb5fe40006a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.21-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b3d12be740a62248d8a0e83baa1b6d0571720e9f8469ca4d823d51110ffc4a13
MD5 db2043859cc90edd8a71086a441f45ce
BLAKE2b-256 e1caefa960ef92b4ee8475858f5bce412f06984272a71d96ae2ff31806efcc06

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.21-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 211b1936232d054a2bbf6fd49639ea4f6ad42957f28aa20e60cc353d96a6c769
MD5 60451eeeee660169005698ac6acb6d99
BLAKE2b-256 143b0787f9f12a507081b06bf7dd4168709980b3da71e35f17856ea284060743

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.21-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3aba806b24df4a1c65f700eb1a3323e6eaf6240919c61401920fcbff2f33b68b
MD5 9a9f7c4bff3d1c944dc978fcee7c6cff
BLAKE2b-256 cd9b992efa859f0b952f5b39808c3a063b6be95e900d847ee33ba64f5a01a68f

See more details on using hashes here.

File details

Details for the file dao_treasury-0.0.21-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.21-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 307ff60e73d61827b26995032e9ac6427a504e6c8777c2b8cd851c902f2f9af4
MD5 922ce2ff21e7d24efdb913b2869e998f
BLAKE2b-256 5baeec5dc64a6b149378b541d52534869f09d57542615f4b7b4ab6227a861371

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.21-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b481c0644caf8c6d088404620ce5cb166af356d3fbe3ac7785c35207982eee00
MD5 d3ca057a60cf7b7f72a62a42abea3717
BLAKE2b-256 fecec72b61c5225483362497a5a6d6d8f13e7d548bc21dec5878e4b71298109b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.21-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 41e6da860109db761987a671855acb867fcf37beddcd127523da03f3bf424a9e
MD5 cb14d586c45a71cfaa0c59018e47f481
BLAKE2b-256 cdcaa5e708a8317e87776ad5fb92a1be1cc13c47f61a5bfc9fc9b46fd19193b7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dao_treasury-0.0.21-cp310-cp310-win32.whl
  • Upload date:
  • Size: 146.3 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.21-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 77f0f26f20e21cdb42b6ac3b45d61667514b4657394e9baf56ff1d621a40b041
MD5 77ce3874ca31818cc787364b38244acd
BLAKE2b-256 cb255178950d7fa6fa71380bb1ba15aee391bf66a4f3173e7d9541cf346cf9a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.21-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 eb2e0c5c882e480a585dc7e722a40866b77327f5070c43bf3e198213235f240d
MD5 72ad6b8c2dc1374faf54e463960eec92
BLAKE2b-256 3e5b08706d6df3e443f4aa24a52f25d9b531b8dd496232c8e4675ac22797e4a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.21-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 21d9274bb44a9d5235977e4b2e5745e981aa56db34a8871227261a58beaef04e
MD5 8ecf2b54fe2d752fc4c155e94cd19c88
BLAKE2b-256 40ffe144f73c0c8b7a0b36b685bae53082313997ecc4a1ad8d2e31d11966b140

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.21-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0c59b01cb788e92e0841e01ccac281b865ddeca5ffeaa7d81f412bb20231518c
MD5 44b516d60cc2d71a20c46f33b7a14d78
BLAKE2b-256 e57517c8e7faab16ba2c02868cdc3458d0ad83b9edf9abc47d8ff5582c87176c

See more details on using hashes here.

File details

Details for the file dao_treasury-0.0.21-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.21-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 581e8d38b0edd311b78d357862479a2c3b1307fcb0d66c948ce664174b2bc833
MD5 8c8b3935b82dfea3274541eeb4b8f235
BLAKE2b-256 067d807e5a249f279f5eb100576f10c02542ad8015c339f4aaeca740988a023e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.21-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 307171e26acf81ff51e79fd6575adc4422cca2a737489ad0910ef6fbd9ce6c4c
MD5 d6efaaea8125f04957d14c42df480125
BLAKE2b-256 2c754568d293ec17c7ef74974704d068c7fb6655f2f01e05836ea80b23f0d2cf

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