Code Monkey home page Code Monkey logo

tap-escrow-manager's Introduction

tap-escrow-manager

This service maintains TAP escrow balances on behalf of a gateway sender.

The following data sources are monitored to guide the allocation of GRT into the TAP Escrow contract:

  • Graph Network Subgraph
  • TAP Subgraph
  • The gateway's Kafka topic for indexer query reports, to account for outstanding debts from receipts sent to indexers
    • Note: Kafka messages are processed for the past 28 days (Escrow withdrawEscrowThawingPeriod). Daily aggregations are stored to a file to avoid reprocessing on restart.

Configuration

Configuration options are set via a single JSON file. The structure of the file is defined in src/config.rs.

Logs

Log levels are controlled by the RUST_LOG environment variable (details).

example: RUST_LOG=info,tap_escrow_manager=debug cargo run -- config.json

Useful Commands

  • rpk group seek tap-escrow-manager-mainnet --to $unix_timestamp

tap-escrow-manager's People

Contributors

theodus avatar renovate[bot] avatar lnsd avatar

Watchers

Jannis Pohlmann avatar Ariel Barmat avatar Vlad Sirenko avatar AK avatar Daniel N. Werner avatar Ford avatar Brandon Ramirez avatar John Graber avatar DaMandal0rian avatar Craig Tutterow avatar  avatar Ruslan Rotaru avatar Kevin J avatar  avatar Andras Szucs avatar  avatar Adam Fuller avatar Florin Georgescu avatar Yash Jagtap avatar  avatar

tap-escrow-manager's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Awaiting Schedule

These updates are awaiting their schedule. Click on a checkbox to get an update now.

  • chore(deps): update rust crate anyhow to v1.0.89
  • chore(deps): update serde crates (serde, serde_json)
  • chore(deps): lock file maintenance

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

cargo
Cargo.toml
  • anyhow 1.0.75
  • chrono 0.4.34
  • ethers 2.0.14
  • flate2 1.0.31
  • rdkafka 0.36.0
  • reqwest 0.12.5
  • reqwest_old 0.11.27
  • serde 1.0.190
  • serde_json 1.0.108
  • serde_with 3.4.0
  • snmalloc-rs 0.3.4
  • thegraph-core 0.5.6
  • tokio 1.32.0
  • tracing 0.1.40
  • tracing-subscriber 0.3.17
dockerfile
Dockerfile
  • rust 1-slim-bookworm
github-actions
.github/workflows/ci.yml
  • actions/checkout v4@692973e3d937129bcbf40652eb9f2f61becf3332
  • dtolnay/rust-toolchain stable
  • Leafwing-Studios/cargo-cache v2@6c2a159aab4b3ba20f083d241bb1f26b35262b99
  • actions/checkout v4@692973e3d937129bcbf40652eb9f2f61becf3332
  • dtolnay/rust-toolchain nightly
.github/workflows/docker-image.yml
  • actions/checkout v4@692973e3d937129bcbf40652eb9f2f61becf3332
  • docker/metadata-action v5@8e5442c4ef9f78752691e2d8f8d19755c6f78e81
  • docker/login-action v3@0d4c9c5ea7693da7b068278f7b52bda2a190a446
  • docker/build-push-action v6@31159d49c0d4756269a0940a750801a1ea5d7003

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.