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.22.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.22-cp312-cp312-win_amd64.whl (162.6 kB view details)

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12Windows x86

dao_treasury-0.0.22-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.22-cp312-cp312-musllinux_1_2_i686.whl (338.5 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ i686

dao_treasury-0.0.22-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.22-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.22-cp312-cp312-macosx_11_0_arm64.whl (175.8 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11Windows x86

dao_treasury-0.0.22-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.22-cp311-cp311-musllinux_1_2_i686.whl (326.7 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ i686

dao_treasury-0.0.22-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.22-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.22-cp311-cp311-macosx_11_0_arm64.whl (175.0 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10Windows x86

dao_treasury-0.0.22-cp310-cp310-musllinux_1_2_x86_64.whl (326.0 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

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

Uploaded CPython 3.10musllinux: musl 1.2+ i686

dao_treasury-0.0.22-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.22-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.22-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.22.tar.gz.

File metadata

  • Download URL: dao_treasury-0.0.22.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.22.tar.gz
Algorithm Hash digest
SHA256 78bf248e83d72be33e8dec59716a94ce322424ffba4aae1f2f6a9a1358102371
MD5 499aaf47cf6a4a5a6142f5a3d5cd8f21
BLAKE2b-256 3b7b4212b0c07cdcc94cec4d729c47a743a97f9ef373adf001993dc46c8424e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.22-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 3780a34eb33c8392ec735183f66a5f5001fb35c379628f0a6a0994a8e3bf79d1
MD5 6f6c32606d868af8ef1ee9c4317dd0d0
BLAKE2b-256 962eb130c096c256d3d85f538674358bc01a47bad37b1e02f1fbe961e4c33e75

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dao_treasury-0.0.22-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.22-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 8fa89562ba522b2147d733d7bf5c09feb44afc940de34c9ea316cbee512b8a7c
MD5 7ce5750c84ca2e92fdd35e146b5a5d57
BLAKE2b-256 76c5cbe0923e8d5daa3e802f5f2a1fdfda521d43e9c6f4d94c2604a994fd1c0e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.22-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f54747833617d007eb81b3e17ca1d00f781164522757c1476dca987449eb50c2
MD5 fe2dd2079ba55957f9736eda8339bfcc
BLAKE2b-256 e603ad2e9c8e8f13df95f5d7d58149183458d8924b4968a0ecc18bd65f4a69b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.22-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 dfdb1d3000caf6f6dad703b18b9cf1caf915533b2500158db6e057575cc61466
MD5 9079fd8bca0b483007cfeeca3ccb400a
BLAKE2b-256 24caf041fe99237e426b19007ca82c3e553e6e27c1323d94737f619407256f1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.22-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 826c0ccc49b791f3727a481cbd469caf7565bbe9ed31d9761092856d63c0583c
MD5 37460161a2ef959d3495956b0caf8eca
BLAKE2b-256 cfa4872e82f11ed99bfbde9fd0627c77de414fccda3e63e743ed41429d29bf20

See more details on using hashes here.

File details

Details for the file dao_treasury-0.0.22-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.22-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 f9ae759d04ffcdbb428ffb4ab2f4ee7c1ce6a193ec3200f804f1cbfe3cfac2c1
MD5 a2f26fe31cc77b0bc5e01763ef601ff0
BLAKE2b-256 4dc2ddf18bcbc98e262603df8ea5fffd1de7d4bcf831897f8662d03da4468bb4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.22-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e642df388d9b6af7b3ba40fcde809dc2d442ec53995eb024fd4d9d3de5879c97
MD5 18f0ed53222e200b0126eda0bd641e0b
BLAKE2b-256 4f23d8d13d69fa47117465b8fb092f52aa206e0314a188a2db1c6afbb6594ab9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.22-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ed08411180d2240e8c18d65a4679612dc0123ef9ed4827e80358a4c360d0536d
MD5 8a5b9f99f6e4ed8a33a0d382c6f39480
BLAKE2b-256 fb0f0931809c93d35a920b966f26ed65c6466c8e3aa75390da2f17878b085181

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dao_treasury-0.0.22-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.22-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 7c23f3ea533ca0f5626257b243aff60909021c9d512e92cb3a5a586367d343f3
MD5 9c61d60808c6d290dad9c3f3d77907a8
BLAKE2b-256 b8a08efd8551f26902426e4f0fd41947672bf3769079abe208f41a3e3d5e3eb6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.22-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1d2ff239716d7746dcd0246bf72901d36a528fe4973664b549c640e6a8a1dfb8
MD5 5b5abd35ab6fd2301d04338345d9408c
BLAKE2b-256 6d3560d601c312ebab6d16f2af4dfbfb00ba86677e28a46dc4d206b6d9087c83

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.22-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 6051e246f179df8a9ced16d8a79b9f6f8769bc26ea37499f7f5a53e78bfe9fc6
MD5 bcab88cea4235bd66646b62948fd4d78
BLAKE2b-256 0be2bb3b25e54bc793ebf4f06295d6e2cd3e91c6ce14c33e52d4ac167c2c5574

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.22-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a437bf4361b4a34985d89649e6197fa731ddab33f197e98f344df39c5e321909
MD5 3c20433136f823128e4e5809cd0361f6
BLAKE2b-256 3f12da6c2190fdabf25b5d85e98848b92d0fab25b60501520f2f94f2bde89cf5

See more details on using hashes here.

File details

Details for the file dao_treasury-0.0.22-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.22-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 1ca37599d1e261594c97a53f5424afd39104ffc7f0c3940ba8abebfd8093c9fa
MD5 5d021e3238a435d7196d1896b29b318b
BLAKE2b-256 6d6dd5f0ed421940ec385ec3607dc3a930d22ef43f5f7e5734b015035434ba5d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.22-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8fcc7fca3d9e4ea6a75f09f28fb0a1ac6a678edb519628495bab2e98c6d2b342
MD5 883f3f484132e3134fa55c447d40c48b
BLAKE2b-256 e5fda8c2459ac33b9f164fe8381a5ee861860353e70c85c07a151610b36a1831

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.22-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 446165233c3bc08a054bb5ed73903bfbed1b6034b42d3fd0cb93e3e485ba3116
MD5 306dc422da3b5a3a4487af2533f7f74b
BLAKE2b-256 7677eee6b2af911f0a432b380b6129268ed01045045e918ec994dc6151ce76fa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dao_treasury-0.0.22-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.22-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 2f0651c05c5c337e1a8f6c876879333787cb5c1d798de5a38dfd8ce58ffe0eae
MD5 2a0a24416b2df407a59fcdd23001c169
BLAKE2b-256 4353bb85b7bf4472c415799a9d84477ecf8853cfa4b1320a1e1c090bcb9f043b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.22-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0bed9c9c1c5050c8de5ad9a826f2e4f561d5da7da8e8918b247dbd6cd16cbae6
MD5 7070030ebb943bf2f6baa9c821a260d0
BLAKE2b-256 39b0aa18c4f1df9a1d44a1052c5b27747f1de06c6423bdbae618e7b5ed4a13ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.22-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 80b1fa3525652209eccbc34b862a77058dc5ddcd86ab02a4950623b3c069a302
MD5 54f1c208009643c964ab37ba3d555f04
BLAKE2b-256 21ddc659acf1a5f4363ce42653e7dc48c0e7eb19b7f774093c80e105f09880f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.22-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4108ac4d7bc1c5c3aa18a099dbb262669cbb88dabe60697fbe9fa82950ed5c69
MD5 2877b6631243d233beae87c5d03bdb87
BLAKE2b-256 7817cd52d3b6c016780df25a5673878e538f8ff64bae6ae54ceca2f77a2fe805

See more details on using hashes here.

File details

Details for the file dao_treasury-0.0.22-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.22-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 f091f8b1f2895812c91a5d8ded2d2d6f48a3fcbd33e1e6a4c0a21348cb063942
MD5 eb189a2eafcd75055ef05d967a9a0f53
BLAKE2b-256 b2a372d058edf4a7b831c5e1a13fb7ab66f41f3d90e90a81d51e29c03f6407b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.22-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b6e214c3cf3eda4e6386bdd02405d102331444363295ecf15e871b095f7043d8
MD5 739a6ba535a40c13640eff2b8c5bc0ca
BLAKE2b-256 47dc7dce8d04be2033514745f3d7e1056621fd4fa869691b7f0c759dc4e629ca

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