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 eth-portfolio and dao-treasury exporters 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: 3003)
  • --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


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.14.tar.gz (34.7 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.14-cp312-cp312-win_amd64.whl (265.5 kB view details)

Uploaded CPython 3.12Windows x86-64

yearn_treasury-0.0.14-cp312-cp312-win32.whl (242.1 kB view details)

Uploaded CPython 3.12Windows x86

yearn_treasury-0.0.14-cp312-cp312-musllinux_1_2_x86_64.whl (399.7 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

yearn_treasury-0.0.14-cp312-cp312-musllinux_1_2_i686.whl (416.2 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ i686

yearn_treasury-0.0.14-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (398.5 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

yearn_treasury-0.0.14-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.14-cp312-cp312-macosx_11_0_arm64.whl (219.8 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

yearn_treasury-0.0.14-cp311-cp311-win32.whl (240.9 kB view details)

Uploaded CPython 3.11Windows x86

yearn_treasury-0.0.14-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.14-cp311-cp311-musllinux_1_2_i686.whl (399.5 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ i686

yearn_treasury-0.0.14-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (388.5 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

yearn_treasury-0.0.14-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.14-cp311-cp311-macosx_11_0_arm64.whl (219.8 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

yearn_treasury-0.0.14-cp310-cp310-win_amd64.whl (264.7 kB view details)

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10Windows x86

yearn_treasury-0.0.14-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.14-cp310-cp310-musllinux_1_2_i686.whl (411.2 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ i686

yearn_treasury-0.0.14-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.14-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (399.5 kB view details)

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

yearn_treasury-0.0.14-cp310-cp310-macosx_11_0_arm64.whl (223.3 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: yearn_treasury-0.0.14.tar.gz
  • Upload date:
  • Size: 34.7 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.14.tar.gz
Algorithm Hash digest
SHA256 f6af1ba0c2a3a40add831b0dc59ed30a8356457404a2eba4337307899a486def
MD5 ebd539669f719b29207c7c72f9b82cb3
BLAKE2b-256 10f2ea5c9dc52f0d42aed061987710d33d5d819c0053f4abdeaa653f6e861c9e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.14-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 cfc4ce576f1f2f0d45d3fc8ff54069abb9989f79ea2fb81fad54533377ffd1b8
MD5 7db2284d02a9f8c4a8e1fc027948a422
BLAKE2b-256 3e8c240626745a9f284680c99f8ffa6ceccf20d245a18c04a4ba88859fc65aef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.14-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 178fbca424f835962fce87586a574da4508f2ac33564ed3c570bf7d754ab1157
MD5 730e52fc579479fb05189b6c1d45c23a
BLAKE2b-256 f07a9a1f12fb49b6eab0765cbf9511d4838bf3194391e0acea7c76466f1a915e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.14-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f1b7096c19e2a53c2f9a469051f73809018bddfdc57a76a83d29d00ed938ef51
MD5 3556641389dcc3cfbfcc40033e010a0f
BLAKE2b-256 65ba3ae6212d522de7b22444dd12459d933afb6baebfb2d19a2ab3a800f2b5a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.14-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 e8e20747753b973dc5652f8e66fccd9069922fde8178bb45066065e9f3420e30
MD5 d5c298c49117b636d7254a374a63a167
BLAKE2b-256 67852ca731d3ad87f666ef3b2e6e7895b7633f94516aa80dfe8444bf4f04667c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.14-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4dc3d43ea42185da1bf5d0655da45bc2b6a4f1b60506af771a7112f1d900c4ae
MD5 c85dd95d174e1e7d421c2f958d030632
BLAKE2b-256 737084e53b30798c982791039eb592e9a8e322b5ee6002cdc19f4be76ee08860

See more details on using hashes here.

File details

Details for the file yearn_treasury-0.0.14-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.14-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 bd106166b22c27b828f570598d0bc652a66eb040f9c216c1fc4488e6a646cf96
MD5 7af3e8f4391cb58e39952ab40df87388
BLAKE2b-256 b4e28d7f10e179f0eb2c1e48902cba3710de3aac7d95328b8df41551b72383e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.14-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 74fe7433de51c29460394dafd0f559d9d391112fed65f351ee95931e790251d5
MD5 6842d6d4a69874d275881d8e450d47c6
BLAKE2b-256 ac2d9a39224cee97a5ede5ebb22d07109233109046761a867598b18dfafb171e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.14-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1a0ece443e815eea9406dd517c7ffee5b6459d1054c99398f58c8f846273053e
MD5 6785416b7de0e621f892165949e125a7
BLAKE2b-256 84ffde0cb79ea9cd082ed953ddb2ea7112a2ed26e540347198cfe43ab28e276b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.14-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 3c5dbe5271d0e2aeaccb1829185a09e9b8812c6cde2684ae296fdd39010f8be6
MD5 f900d4819c4529b378eaa41941421341
BLAKE2b-256 17aa07abcd201123e3d148bf3fd6020ea9ac2153a14fb3a74fed1a0c3f6adff3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.14-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 74d6a51b0fe86d20fadbe38776551122fa304f463491cd868a2210f930e0cc73
MD5 ffb65fbcb4291412f871609e68ae57ab
BLAKE2b-256 8ea3426dc06e34f3025fa5242dd4f7984da9fa217fe2dc066e9c3a2d752edcfc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.14-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 70dbc0295e3f377973012f8bdfc9e058857d3938ce1d6d08c7e6e839dedf6eaa
MD5 a507b1b22d125bcac035ee5aa43cf131
BLAKE2b-256 22ee0a7cbba2b922e9c4e5e5aa35c309a118db316bd5121492f93c90e294a85c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.14-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3ecbfcac1d35ce8ca0497b1802d886307b3ca1198cc681d73b7477cf2eb9cf44
MD5 37b6da9bf0aff5e6993d2bb76c99da6c
BLAKE2b-256 a6fbc9bd5b4746de022666d61868fac27fbd971c6215ec14ddeed85113c83966

See more details on using hashes here.

File details

Details for the file yearn_treasury-0.0.14-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.14-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 5bb9e52c52557033d81516f549adc5f9ca1c8055fbc01d9730998439205a5beb
MD5 7e683ddfe323361e74389f7ed7972198
BLAKE2b-256 906b88c984b067d70e78dedab4b39841a7f4ad9f34e13be1cee52e7262f7e5a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.14-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 918e6c3c3993c127cfcc12ed233d2cae9508a049db7df0ff3c74cedf3c3d0cb7
MD5 44606a5ae6796c0bbf252e65f4ff93f4
BLAKE2b-256 14c8731478f22436f96a3efdfbbc3b5c81d0bdf979129e142f084ae1639b37c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.14-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 72fced615e3246ec8b9bb0d72f5cbcf982bac6c464c3ca5bedb49a5f1e0c503c
MD5 6f481830668211534cab71a276dfce5b
BLAKE2b-256 0ca875399891c39a6e1f5e3be4fa4bfe61f93d580dc59bda83e067dba962d085

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.14-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 a89017025efb0aaf1e988ba87a25f22c7493a0364cdb52794aa9bb64f47453f1
MD5 6bfe0c9241cd9090c689802fa22af6a7
BLAKE2b-256 89b7eb27974b8bf4fb18bb71a6e73990ad73e4bd59e5b4a03bad84d5c85c4c55

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.14-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c2a0cf36a7b85d39b4d805c458eb5f0b828a8b40eb8411a3c5fe4ce75ce56000
MD5 d053f028fc0a6ac8ab04cb8122f41498
BLAKE2b-256 0f5ecf4489ce051b9f2b9f864ba156c7e771145c157ada0c86a2780d76f1835a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.14-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 8c710d959c04a93d2b92d4e90fd578e921df96014bc6c620a6a260318592df47
MD5 562e5d5fd4aff194eccdba63e2819591
BLAKE2b-256 d85dce96a26ad63301cc330ce23d98b99fe1811807c7dc5a0b04351c9f5ba671

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.14-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bcab276856ce526dee152136fd9eefe2d7952f1a441cf93a261a8a939f65d764
MD5 c46461a414ec1189ba813c42adbacc15
BLAKE2b-256 a5b0cb5921c3bdf6ebef19fff2b77377d08425bedf6971a11f5b423eadf62971

See more details on using hashes here.

File details

Details for the file yearn_treasury-0.0.14-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.14-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 a2e7e611909dda16fc1d1e0f3f7f4fda799a0efcd793d4cd8717d1af7a6632f5
MD5 fef21fc565ab47be4e6caeffc79fada3
BLAKE2b-256 b7bd50104383941b9c478d762cda7294dad4734e13e5127860d5f3ed20e9dd2c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.14-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8c2a211e4d6cb883392c760e1d1cf71df505f219ce5f93e7e78808f3594d002b
MD5 121461cd1a132e82ac00240bcb631a73
BLAKE2b-256 df353499f7547c33fc074b8663203514980076402fa73c4884c9576e1e494da2

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