Skip to main content

This WIP library runs the eth-portfolio and dao-treasury exporters for the Yearn Finance treasury.

Project description

This WIP library runs the dao-treasury exporter for the Yearn Finance treasury.

Installation

  • pip:

     pip install yearn-treasury
    
  • From Source:

    git clone https://github.com/BobTheBuidler/yearn-treasury
    cd yearn-treasury
    poetry install
    

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:
yearn-treasury run --network mainnet --interval 12h

For local development (from source installation), use:

poetry run yearn-treasury run --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:3004 for the dao-treasury dashboard.

Enjoy!

Project details


Download files

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

Source Distribution

yearn_treasury-0.0.15.tar.gz (34.5 kB view details)

Uploaded Source

Built Distributions

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

yearn_treasury-0.0.15-cp312-cp312-win_amd64.whl (265.4 kB view details)

Uploaded CPython 3.12Windows x86-64

yearn_treasury-0.0.15-cp312-cp312-win32.whl (242.0 kB view details)

Uploaded CPython 3.12Windows x86

yearn_treasury-0.0.15-cp312-cp312-musllinux_1_2_x86_64.whl (399.6 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

yearn_treasury-0.0.15-cp312-cp312-musllinux_1_2_i686.whl (416.1 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ i686

yearn_treasury-0.0.15-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (398.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

yearn_treasury-0.0.15-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (414.2 kB view details)

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

yearn_treasury-0.0.15-cp312-cp312-macosx_11_0_arm64.whl (219.7 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

yearn_treasury-0.0.15-cp311-cp311-win_amd64.whl (264.4 kB view details)

Uploaded CPython 3.11Windows x86-64

yearn_treasury-0.0.15-cp311-cp311-win32.whl (240.8 kB view details)

Uploaded CPython 3.11Windows x86

yearn_treasury-0.0.15-cp311-cp311-musllinux_1_2_x86_64.whl (392.9 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

yearn_treasury-0.0.15-cp311-cp311-musllinux_1_2_i686.whl (399.4 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ i686

yearn_treasury-0.0.15-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (388.4 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

yearn_treasury-0.0.15-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (390.7 kB view details)

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

yearn_treasury-0.0.15-cp311-cp311-macosx_11_0_arm64.whl (219.7 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

yearn_treasury-0.0.15-cp310-cp310-win_amd64.whl (264.6 kB view details)

Uploaded CPython 3.10Windows x86-64

yearn_treasury-0.0.15-cp310-cp310-win32.whl (240.9 kB view details)

Uploaded CPython 3.10Windows x86

yearn_treasury-0.0.15-cp310-cp310-musllinux_1_2_x86_64.whl (400.6 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

yearn_treasury-0.0.15-cp310-cp310-musllinux_1_2_i686.whl (411.1 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ i686

yearn_treasury-0.0.15-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (395.3 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

yearn_treasury-0.0.15-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (399.4 kB view details)

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

yearn_treasury-0.0.15-cp310-cp310-macosx_11_0_arm64.whl (223.2 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file yearn_treasury-0.0.15.tar.gz.

File metadata

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

File hashes

Hashes for yearn_treasury-0.0.15.tar.gz
Algorithm Hash digest
SHA256 fe23d568a89b0104a8fe8f11a87a095e83cd73df77ecc4a706646af9298a0251
MD5 21733de89fd9a45aa616486c06cb5e9d
BLAKE2b-256 4a4bdbfa6ee025db34e2b319f147e9e4cba2798c7e1655e77d920b85cb43a3da

See more details on using hashes here.

File details

Details for the file yearn_treasury-0.0.15-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for yearn_treasury-0.0.15-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 235a7ac2ecc2a4043baf4aca24bb0ca2af1a83f55a63adef7771858f826be140
MD5 881e25d6d69b2e2c6f7235f3d4c1fad0
BLAKE2b-256 271d9722cd181a2ed0a8d4374f466c2d1b57690d898a3174e7c87bd35c06621f

See more details on using hashes here.

File details

Details for the file yearn_treasury-0.0.15-cp312-cp312-win32.whl.

File metadata

File hashes

Hashes for yearn_treasury-0.0.15-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 6773547b7cd6b7412386862ea2777cfbd83816493f0f9d387a8f36a609b298a3
MD5 0e14e5ac99e93e767ea91d1f21faf2e7
BLAKE2b-256 bac2d285c16865563f100fe9f16d195a7187a5d17fdfb4808f7625ab7eea2dcc

See more details on using hashes here.

File details

Details for the file yearn_treasury-0.0.15-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for yearn_treasury-0.0.15-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 5025b7a75aa2f9aeb3f4a7376202407a3c5df544a83b94f175c39b7474ae8503
MD5 087542891a9e6c2646fd123c31371410
BLAKE2b-256 85480b956954cd5cac71d925e32357936aee82b4ca04caeba9441de323cab90f

See more details on using hashes here.

File details

Details for the file yearn_treasury-0.0.15-cp312-cp312-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for yearn_treasury-0.0.15-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 f987500cc4c49807c2fe6ecb688032c53a1a0ce5fbadf26bd22e3acebabc85e7
MD5 d304ec4e2c9c5de28fee2e9a5c7ac3ef
BLAKE2b-256 f67bc58697eb69c6e3805995e65d8188434de00924192462ba6961643445b7e0

See more details on using hashes here.

File details

Details for the file yearn_treasury-0.0.15-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for yearn_treasury-0.0.15-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e566e6791f785566932f850be92542af8129c3a7b3c89c7b1571849ce0732332
MD5 f65d0c0f2b076af1ab295538951e4559
BLAKE2b-256 062c40c676db01da75e460a5afa843d20f9fb69a76ecabd2150a167f6bdcc582

See more details on using hashes here.

File details

Details for the file yearn_treasury-0.0.15-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for yearn_treasury-0.0.15-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 1911ddd59949bc9f71a9327b1c3a6651910e455718e4b7204aa12f0f650d9274
MD5 99a9edc1959330a76ab3c99bdea3a51c
BLAKE2b-256 0a32871ac7ccabcca9d1b40130404670a4a062291899ea0f17ae577ea24ecb0b

See more details on using hashes here.

File details

Details for the file yearn_treasury-0.0.15-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for yearn_treasury-0.0.15-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b1053233a861f850c36dfbf5a5cefc0c2bb7cfd35800d030d3034a2b59cffa90
MD5 d8f615743fd72891fe8314108694f8f8
BLAKE2b-256 a8a7c39bd043c1c2ef34ec24a74bb705d7c3e6ee837e016eb6a5a7ea6e5035a0

See more details on using hashes here.

File details

Details for the file yearn_treasury-0.0.15-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for yearn_treasury-0.0.15-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7d3bcaae784edf8c2d58a3f41e74b9d249823878b7fa6cb199b31006ef781928
MD5 cf0f39e2804596685b36f3b0d1b723cd
BLAKE2b-256 0cf93da4904de816c245246ce3d80bc3c1752e23d62383c89db9f7799f68027f

See more details on using hashes here.

File details

Details for the file yearn_treasury-0.0.15-cp311-cp311-win32.whl.

File metadata

File hashes

Hashes for yearn_treasury-0.0.15-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 570421566422e92911ef6d023a3848903495753ca4ef4bc48822bc08d641c562
MD5 2c356a30dc4480c0d5fd8f3c6edeb7a5
BLAKE2b-256 f34500589043d6ca3cd9a9f3a6a906c54665b020ef96a2b21b716132096d173f

See more details on using hashes here.

File details

Details for the file yearn_treasury-0.0.15-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for yearn_treasury-0.0.15-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1f0574e165a65d2e057461f6ae4d47f4401b53de20182292b803c152ab2888ea
MD5 2cdf750ea0ea2e6aa2965400d48dd43c
BLAKE2b-256 b3eeeed956f3eb60483be595a866765477eeca02160a9f8a1a69db32bf57e538

See more details on using hashes here.

File details

Details for the file yearn_treasury-0.0.15-cp311-cp311-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for yearn_treasury-0.0.15-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 5abe7315bb5a1aee022dc13b546f6396390650713d84dd53b5a221f842fcd12f
MD5 c803e596812e7933a56ca91fe4074108
BLAKE2b-256 3bdbe78428248ce04391057e4a99e40001cb9c1419dda209b218d4d7ff37561c

See more details on using hashes here.

File details

Details for the file yearn_treasury-0.0.15-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for yearn_treasury-0.0.15-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 25f1f6d3d32740eb1ee08af330878d759a94a1a64e9cb16aae194f75d39860c9
MD5 df80eabfd5bfff59208eb7bef952762d
BLAKE2b-256 a7f452b4f04db70540a030eeb49f419785a9d721935de14578843560593d8aab

See more details on using hashes here.

File details

Details for the file yearn_treasury-0.0.15-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for yearn_treasury-0.0.15-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 ca8607c0bd62f95bb28bffd7f4a5d8f39e6d437f123a483bf0ce5424652a2968
MD5 885fecb7666adadc1a83402f20409374
BLAKE2b-256 f02424e6584a2c72af9003746faa2d156e6d5b18c179ef1b9a1acefb2f38b648

See more details on using hashes here.

File details

Details for the file yearn_treasury-0.0.15-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for yearn_treasury-0.0.15-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 269e5623d6936bb7911367de4c4828f338bd346db8595d9e5265ee3b2318cde5
MD5 25652aff68a5ba5776ef5bc30b2f5f4b
BLAKE2b-256 bea4418ef884f3178dd9a041ae6af914920811468524326168f72b4044d30bad

See more details on using hashes here.

File details

Details for the file yearn_treasury-0.0.15-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for yearn_treasury-0.0.15-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 0d22dd1939e37bebd71eef17f47a317c32a4ac44bfbfb69f6860ac8f88b69eb6
MD5 15f5a64a1dd738b30c28d327d0c067dc
BLAKE2b-256 e5484ed13c07f32a2df31f88ccd52c7b9837639fd6b51550c1b2f49d952875a4

See more details on using hashes here.

File details

Details for the file yearn_treasury-0.0.15-cp310-cp310-win32.whl.

File metadata

File hashes

Hashes for yearn_treasury-0.0.15-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 35e5067416a92bcd6194287ba0792f7c6f3f1ec61e63695eff58b8433352d7bf
MD5 332cbc94b8b2db04dfb837565f4045c3
BLAKE2b-256 3cdd55a921b1887b5b62d2f22d4c8eefdccc5dc90c8a368407c9c0e680d93178

See more details on using hashes here.

File details

Details for the file yearn_treasury-0.0.15-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for yearn_treasury-0.0.15-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 56b6fba9b2288b583fb41699c332d5af0a6930fe1e18318c7b1f7cb8a24ec48c
MD5 64bb6d0d8bfebdee507f880ce6bf590f
BLAKE2b-256 e4a92ec8e3242232217c6765e1d2c5bcbc169d49583362d0a2e8207d57793a40

See more details on using hashes here.

File details

Details for the file yearn_treasury-0.0.15-cp310-cp310-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for yearn_treasury-0.0.15-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 9bb8a21b6d025aa85d1d6133c9372d12752439672be4a2014d33e297fa482636
MD5 859e6bad64c07a6c5686c3036c0ef5ee
BLAKE2b-256 3460b1a59c2a2b2713d8fc6b9945b635191340afc6d5640fe41a29bcad9f907b

See more details on using hashes here.

File details

Details for the file yearn_treasury-0.0.15-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for yearn_treasury-0.0.15-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 553fe2d94185e4980cc1b402533575725c4b79a45cd576859f6cba510c4f5701
MD5 172cc5746690d11b0b4b5635e0cb3d5a
BLAKE2b-256 b8b5b5bcfd0d4b65ee017191d32cc246a36c24762cc3c40074ec643dc231d4a4

See more details on using hashes here.

File details

Details for the file yearn_treasury-0.0.15-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for yearn_treasury-0.0.15-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 724701de858a13ab6658098ab536f7877a688dbb172b1421548f87de7c0210ea
MD5 4ff97faea11ad5c8363d2fe7ec7aa9a6
BLAKE2b-256 560b49d4e8df14bcc8c1182497c5c8cdc47fd04f756be184fea995187da7b34c

See more details on using hashes here.

File details

Details for the file yearn_treasury-0.0.15-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for yearn_treasury-0.0.15-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e1ca128230468d84e17b0921c1446772b93968bdb41bfcc299591fdfd778eb6a
MD5 e41d4f0ca4049e9e8bf9bdc90e7f2881
BLAKE2b-256 e8a50cc53981b5386a6dae37fc9f1bd981ff48989214e98856cfb4ad13c0b596

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