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!

Screenshots

Transactions Dashboard

image

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.16.tar.gz (37.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.16-cp312-cp312-win_amd64.whl (296.9 kB view details)

Uploaded CPython 3.12Windows x86-64

yearn_treasury-0.0.16-cp312-cp312-win32.whl (270.8 kB view details)

Uploaded CPython 3.12Windows x86

yearn_treasury-0.0.16-cp312-cp312-musllinux_1_2_x86_64.whl (435.2 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

yearn_treasury-0.0.16-cp312-cp312-musllinux_1_2_i686.whl (453.5 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ i686

yearn_treasury-0.0.16-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (434.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

yearn_treasury-0.0.16-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (450.6 kB view details)

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

yearn_treasury-0.0.16-cp312-cp312-macosx_11_0_arm64.whl (240.6 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

yearn_treasury-0.0.16-cp311-cp311-win_amd64.whl (295.6 kB view details)

Uploaded CPython 3.11Windows x86-64

yearn_treasury-0.0.16-cp311-cp311-win32.whl (269.4 kB view details)

Uploaded CPython 3.11Windows x86

yearn_treasury-0.0.16-cp311-cp311-musllinux_1_2_x86_64.whl (427.4 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

yearn_treasury-0.0.16-cp311-cp311-musllinux_1_2_i686.whl (436.2 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ i686

yearn_treasury-0.0.16-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (421.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

yearn_treasury-0.0.16-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (424.5 kB view details)

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

yearn_treasury-0.0.16-cp311-cp311-macosx_11_0_arm64.whl (239.9 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

yearn_treasury-0.0.16-cp310-cp310-win_amd64.whl (296.0 kB view details)

Uploaded CPython 3.10Windows x86-64

yearn_treasury-0.0.16-cp310-cp310-win32.whl (269.7 kB view details)

Uploaded CPython 3.10Windows x86

yearn_treasury-0.0.16-cp310-cp310-musllinux_1_2_x86_64.whl (436.6 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

yearn_treasury-0.0.16-cp310-cp310-musllinux_1_2_i686.whl (447.6 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ i686

yearn_treasury-0.0.16-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (430.9 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

yearn_treasury-0.0.16-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (436.5 kB view details)

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

yearn_treasury-0.0.16-cp310-cp310-macosx_11_0_arm64.whl (244.2 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: yearn_treasury-0.0.16.tar.gz
  • Upload date:
  • Size: 37.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.16.tar.gz
Algorithm Hash digest
SHA256 46e93b5795115f0a08d5ee0b8fa557d0a7e5ade0c0be8b471b3c69807e52c94e
MD5 a0568aa482246fa84b7c9020b7ee2299
BLAKE2b-256 70b0a5fc9ae3db2bb6d802e2a31f20937b7e1f2a65e16be25a9b177f5d714725

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.16-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 241564fb28f6d4ec630ca196c656eefd61ab21dacafab3183e77680ac316a6fb
MD5 91a2fa8804b80716bac6b0b8d9a3411a
BLAKE2b-256 3ffae05722c9c352e12d7db1d03da662f94affae9c20c287178f6a7aa59efc64

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.16-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 0c7a7677878da6e8e33140deea115c648e1637de46c6d22a945a612763c74edf
MD5 9263484c963648bd110cdb5e652b4bea
BLAKE2b-256 3e0d5f860e4c27ea8e290e90d82534477196c36110bccad13494f77742bcdd96

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.16-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0fa6046db12ccb8345cf182ef8124d216296a11c82e900f5085de3d4227336bb
MD5 15c560ce2fcee11292ed7e6f805f9b0c
BLAKE2b-256 c5a5bdaed06ed144bf39f864fb6ed35823b77f0ac4b309ded3a40691d92797a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.16-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 4862f975bc9332fea9e25934f6ebef42863031d3011d0e1f3f77b24115df2a16
MD5 5c2aa0713f8505707d7ef364afebe3a3
BLAKE2b-256 7e405d8e7ca26c5bbb3cf15343c16760b348367a04dd718765d180808c5abec8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.16-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 08362ecbcd970d31ce04f04c654302ba243f2abd2c8b29777a2a9243aad1ae43
MD5 b1ddd92c2dff59105f43fcae0fbe7cf2
BLAKE2b-256 97f911a266ab5bff580d4712c36ecf8da77ef2ab255a57b69f5b05560eb6af4f

See more details on using hashes here.

File details

Details for the file yearn_treasury-0.0.16-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.16-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 559ee26d480c78c771e3e39a1d204ad63004e844f0c018e52fa181a1215d026c
MD5 0ae6259541cac59ff0422bd1b3e37c6e
BLAKE2b-256 e9f93d036a40a368be4c96763f965b21fb714a0501b27d67b0dc751f51b7b66f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.16-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 295faffd3081d1967109be96a48e53ab816337b36b8edc125fe0dc81716dd592
MD5 01c5f64df8fe214a565aa8fc8f73cc12
BLAKE2b-256 fa2c64dea8cfcf4d450cd8a4ab6d2865f27ff73796af2aca631050855ccaad8a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.16-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a80c638a44729a35b9596795ff6e19e3a5a95f3d0858b13835f0731aa9173483
MD5 4cf2a94ae327cb8ae03d7279e70d9c6e
BLAKE2b-256 9ffa5da43698c2310da9ed66eca99021bdaf8fc72df2fa2d5be2c3a1ab0a16b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.16-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 2af7023a915c95d179903bc70d214ce3a4facb4428270f1f040327af3e0a4aa0
MD5 c4d073051cd7c6a762860577e35a2bf8
BLAKE2b-256 7185fab3478e3989e1d878166a6ae2626fe7fe52f33d0a123e164c011266dbb6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.16-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 88bc731bb11e1e11e2cd33e958474db153d1a45a7c3dc37e2f4c83f3145b0b4a
MD5 101a91bbf9549d9ea36c56e8dd71c925
BLAKE2b-256 e8b682c6cb99de633923186871e5d82d9c3f5eaa4eb4a3590ba753eb5565624c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.16-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 b8cda585479212af8f2a8dcaf71db5d8b31118f45941efcf4ae88c62730d187a
MD5 c636d44daccfe2b7d306c30cfb6d98ac
BLAKE2b-256 b093ba012ffd257c96675afd81b4fa8bcc9c9c1b80b9b3546d41bd30636d680b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.16-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cd1a89236ed2022bb5b446d453a554e36f15331611d9b5225ed4fb68467fe952
MD5 713f5726c1eed1989ad2f0eda206e3bc
BLAKE2b-256 b057642d89ebdcce17857e53ee3b808288e5f9efa243533e49cf5ca9bd723c41

See more details on using hashes here.

File details

Details for the file yearn_treasury-0.0.16-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.16-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 cddd077e4b538e6c2ce8006ecebde1e0b6ac5df1eaa73035ce8ffdcdbe57e9d1
MD5 a0c031a9f52e22f9ebb51fe163818ace
BLAKE2b-256 2e71e25eb03d36bf2c9dda0dabee1938b93b23d3baede873a0027af3b2a79fcb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.16-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3fad96c6d91649779f3463d2da37cfef37fd0d03188a97204d8e6f321b1d014d
MD5 547d083ded125a5d5e1d85ec3d14915d
BLAKE2b-256 f414dbd5bf7a214f6b7ff5bf1dc223f1684ab4b9b5a9a2472ada279a87e475e6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.16-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 0d02c24ccdcd999a2c2cb79a924657947614d67229c53b1d6195760a07d02741
MD5 2f0aa27858c77a274f71acfc9081d461
BLAKE2b-256 fca793fc8a8b8812488daa67b71e5ca866a6af3eee6c00e9e6b025f7869bf2ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.16-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 077d52c7c5b1b4f5584aeb5bd6a292ded20d426e72417346e1c3e2cce55de110
MD5 fe1a9d80464086b8a461f9e9cc8b8009
BLAKE2b-256 c022b6678271dd4387365abd74853093d0cf50c5ce38cf05199315c692062fe4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.16-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b9133afb10709c51b5b6d3b88ced77623d701681dd4b7bcd4a164a0021871229
MD5 16bb86dcce44f18e0fd5f13cc07d7382
BLAKE2b-256 8b6c651df4f929f67a70412a8b4495f99389b1a60ffd8d3ac065cc71243b473f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.16-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 10c7e9d4ff094bd20eaec312f8879b58ed7963814d82363f0d6b06f64ae420e7
MD5 dff2dcf550836473ff9981cfce344453
BLAKE2b-256 b843c94e68c828e0fa05af71648997f58b5193d360d5aa4d2d4a3075387d8aca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.16-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 64d75036b777df77534f2a10ff194436cc1cd1878e3189fc0576465da3c2e32f
MD5 0c182e7c7515ec09d0ec17cfdcbdff21
BLAKE2b-256 7415cd8a4cd09fbc51c72827c75128a868d965dc31984e1dd50fc5f83a14dcfb

See more details on using hashes here.

File details

Details for the file yearn_treasury-0.0.16-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.16-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 2cc5d7fbf4ebfbd8691ce36a26c8299f67b4fc14e3394a7ed4b5642fb930a327
MD5 93b7dbb356e4c9a69b22c4643a2814f6
BLAKE2b-256 b79b869dd3e9c327933349c4ecdd69b70008730ad131ecec1542e6284f51db1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yearn_treasury-0.0.16-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9f45d4cad58c7039daa75244509439960c708258c2dcf2f0058e897f233ea233
MD5 66b03d6faf81a7f85a89c742b41ef0ee
BLAKE2b-256 04766eaba2dd6a802e66e5a7424ba867b7c91e6aae4fc894bde288b5d4668adb

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