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 view the dashboards, just open your browser and navigate to http://localhost:3004!

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.23.tar.gz (40.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.23-cp312-cp312-win_amd64.whl (167.1 kB view details)

Uploaded CPython 3.12Windows x86-64

dao_treasury-0.0.23-cp312-cp312-win32.whl (152.5 kB view details)

Uploaded CPython 3.12Windows x86

dao_treasury-0.0.23-cp312-cp312-musllinux_1_2_x86_64.whl (331.9 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

dao_treasury-0.0.23-cp312-cp312-musllinux_1_2_i686.whl (343.1 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ i686

dao_treasury-0.0.23-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (332.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

dao_treasury-0.0.23-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (340.9 kB view details)

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

dao_treasury-0.0.23-cp312-cp312-macosx_11_0_arm64.whl (180.5 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

dao_treasury-0.0.23-cp311-cp311-win_amd64.whl (165.6 kB view details)

Uploaded CPython 3.11Windows x86-64

dao_treasury-0.0.23-cp311-cp311-win32.whl (150.3 kB view details)

Uploaded CPython 3.11Windows x86

dao_treasury-0.0.23-cp311-cp311-musllinux_1_2_x86_64.whl (326.7 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

dao_treasury-0.0.23-cp311-cp311-musllinux_1_2_i686.whl (331.3 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ i686

dao_treasury-0.0.23-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (322.6 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

dao_treasury-0.0.23-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (323.1 kB view details)

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

dao_treasury-0.0.23-cp311-cp311-macosx_11_0_arm64.whl (179.7 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

dao_treasury-0.0.23-cp310-cp310-win_amd64.whl (165.9 kB view details)

Uploaded CPython 3.10Windows x86-64

dao_treasury-0.0.23-cp310-cp310-win32.whl (150.7 kB view details)

Uploaded CPython 3.10Windows x86

dao_treasury-0.0.23-cp310-cp310-musllinux_1_2_x86_64.whl (330.6 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

dao_treasury-0.0.23-cp310-cp310-musllinux_1_2_i686.whl (336.9 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ i686

dao_treasury-0.0.23-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (327.4 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

dao_treasury-0.0.23-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (328.6 kB view details)

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

dao_treasury-0.0.23-cp310-cp310-macosx_11_0_arm64.whl (182.2 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: dao_treasury-0.0.23.tar.gz
  • Upload date:
  • Size: 40.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.23.tar.gz
Algorithm Hash digest
SHA256 94289de6aa3691d582c87bea42e9df673830fd0769813236c50c43846dbc7596
MD5 2ea753e94757e3683ad80e30d3947a2a
BLAKE2b-256 a49b4f4191caa0bf16a9818853552e117e8e88f52390769cbc8e95ab21f0bfd0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.23-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5920fd5f3121ab0c39a1b7b6ae71dba920488e520122deb8dc5252fc66c13d4e
MD5 b7569877eded821ec2ec6da1e6a79eff
BLAKE2b-256 6f520a7e08ce5b3b1156b62805108768ed2c404ee53333fc8eace0e86ecd1bae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dao_treasury-0.0.23-cp312-cp312-win32.whl
  • Upload date:
  • Size: 152.5 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.23-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 9dc83b0d321e61900405c9ffe07ae3e427b7f8fb4a1b303156dfc50158d5378e
MD5 7c3acb5d0c55c323f91c54c4ced3b9cd
BLAKE2b-256 41e9b4d74861c621fc1dd04b363c9f84615cd73bc6a9934b15017e3546c89fa3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.23-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f8faeb41af7a645bbaf045c026e52293f17c61b38465cc08faad683f3f9a5025
MD5 cab73f35e5dc66038a9abfbe093c55e9
BLAKE2b-256 366289e3cbc755f284d0a7440095108344808935a911ee2466d56e107013dfe3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.23-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 871287a3ae902bef6612002d2ae036f03cf950761bb59d7a622f40ce00f7ba55
MD5 d830a5cdf48035edd4731235a145f7c9
BLAKE2b-256 73734eab6aa1f55ff3a36169df788c2d8f6e7c0e8a8d765b267c8e47e9644576

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.23-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e311a297fe3587e3a320fe665e9c54512df4af37755617fd9f7306dd32180d55
MD5 07b7182e923012f33f368c750e3b2729
BLAKE2b-256 094adb5de097b258fdaf0b1926d812c3cebc0a4ae9421f7db754ee2d82560eac

See more details on using hashes here.

File details

Details for the file dao_treasury-0.0.23-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.23-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 fbd5b7eaced5202f03dee71fb1695df9dfa9cf0f8bcef8ad2061df02793548ac
MD5 8f6d1579e826322c9b123fc215b7d544
BLAKE2b-256 60d3fa81e309aa1b71e3d63d9201b0a93c31fafc86d0c963ebc88276a80ac0f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.23-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f2d6d45c0f9ae6a358c372cec19d78e8d7adf7b640658674879ef76ff644bb32
MD5 665cd044add0939137058a50947ec010
BLAKE2b-256 2e7ebd53abcf984df47748c8cb74f08a6d22bb350183c17440c5b68d20d3ee2a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.23-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 741065a0039a609debb90da58da2d337db9b536fca7edaa2a3f74867570439c9
MD5 7e0e6e22dc57c2b7dca9b3afd8ff7df3
BLAKE2b-256 68a2f35396a085da8915178c5e119dcad7cbe7da20a2de83b94f18c4c7edc31d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dao_treasury-0.0.23-cp311-cp311-win32.whl
  • Upload date:
  • Size: 150.3 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.23-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 68ffb055fde8ba169d744d8ba31710ad22dfe2e506d89e21cc59555d00ad5d42
MD5 9d01ea3fd80d356d9a66767e0365a584
BLAKE2b-256 e71c4c1b44a312c0c9ee185d04773ab83a0e5b61c6695242b803bb4c2485c1ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.23-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 235901a9d0a129e908d5c6375ee6e5a950f19a3602a00037d6f5e51188792ee8
MD5 68044fb16ebc6c501ea789d77d9f0db3
BLAKE2b-256 ac91d7df60bf13837ae1b65d81932cfb74edfe5d750e2ab955003c3c91194d02

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.23-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 231a48faf2e511dce411987b4d506e772f7463ba3530ea96cfb8aae05f213942
MD5 44b291b48aa53df4c1793f237b8bb50c
BLAKE2b-256 249cd79c089ab30d8600f4fbb6884aa899d88e1a4777e68f5906444992a13d6a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.23-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c6de0c6a2ae57640f8d423abd7bbfe8f2cbda8e459b5af07cbeaa4f1b23c3965
MD5 537503b8c100a01340b535ab9857660e
BLAKE2b-256 e96ebdee9ed406b5a029ebab0ce7844f3db0778af4fd9a577034d84b4d76f4e7

See more details on using hashes here.

File details

Details for the file dao_treasury-0.0.23-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.23-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 b5d4cebbefc583ebc6c01529a8ef085166bb08a4300dbed7b5ddd43741739aa6
MD5 ad98b3bc5a554f33c20cad713bb89d89
BLAKE2b-256 dc6d270a80178da1a44ad85d37240b8d4c931d0777c597503258e47cf7c12b5a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.23-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3e42470261023c70a85d22a80f1df05d5bcda5d37e9d267c466927d1dd7e3216
MD5 d8b198ccbfe7bed0a059d5ac408bc398
BLAKE2b-256 fe28879da8486b55dd086984394f226f4b925e08402420779eeadb6bde3f29a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.23-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 d70c56deecf6521bcf52288d8c85473cd2a4856b9383c4abc67e648070850aea
MD5 4fbda3a8a68a264d1a6807c0d9ece4f5
BLAKE2b-256 93fbf990e1cfdbec641a7b98ecca7462cd52ef91cb3a59b81192faf99d50bb7c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dao_treasury-0.0.23-cp310-cp310-win32.whl
  • Upload date:
  • Size: 150.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.23-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 39f75e764f6b16739085da8770ac1463e80c77b7db871a436aa1a5424d110f4b
MD5 730bc89d1180f41003b489ac2eea31d3
BLAKE2b-256 8d2e2f11a35a223f95e477036b74fb11780596329fe444e5e3acfa1cb934e19f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.23-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d49aa1f22241c24298f90d9bec86be0dd9163d7f3b289b91c177ec96a387ef09
MD5 46e973eb5c4aaa9f53c193cebac33f9a
BLAKE2b-256 721ccf15c19e6255a80961745af4e34a5584f09a67975c806af5eeb0b1e10cbc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.23-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 de22529b25457badce48232ae1f178ca09c9ef9d54be609c92b8877e41159bd6
MD5 4cf89a013b440b9582f528f3586131df
BLAKE2b-256 934c63005cf5219b6d774faf80c2d761d9ae3893591b53e3afb0fef8706133f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.23-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9276718a61b2c88c89374a9fe74616f3b6e56cf0bdcdb519b8eb6c9ebb96fdeb
MD5 4126ca4a3ee989dea03308ba5023c4e5
BLAKE2b-256 af9b7d01eb0f8e3fbee2e70d26a884f031c9e7b1585cb7a353b060ce8e9352e3

See more details on using hashes here.

File details

Details for the file dao_treasury-0.0.23-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.23-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 18f3f12cac260d01652d67311850d7d545b91009eeb6acaa014a674de080bb1c
MD5 2f97a8664230c4a8c59d42f8393221b4
BLAKE2b-256 4e8949cb768a9c1d3e3b1afc9d625cabe6eab8becd03245f2eba5c1ad32d5d06

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dao_treasury-0.0.23-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 97226c8b99cbd504b4d20abcd9a3e69fa3f8c1e4d2aef5bbb5c2d99b2caa340e
MD5 213235d9e10c4bea4508f3943a4d2f7c
BLAKE2b-256 c573297057a9ca48712c69856ee6dac80a5fb56d01e0a9725048b43ec517430f

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