connector-ethereum-reward-logs-amqp

command
v0.0.0-...-07d62d3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2024 License: GPL-3.0 Imports: 21 Imported by: 0

README

connector-ethereum-reward-logs-amqp

Watches for the following events over the Geth websocket:

  • Reward

  • BlockedReward

  • UnblockReward

  • Transfer

  • MintFluid

  • BurnFluid

  • Staked (from the staking contract)

Environment variables

Name Description
FLU_ETHEREUM_WS_URL Geth websocket address to use to receive Ethereum logs from.
FLU_ETHEREUM_TOKENS_LIST List of tokens in address:shortname:decimals form to watch for events, including the staking contract
FLU_ETHEREUM_AMM_ADDRESS Optional address of the seawater AMM to track events from.
FLU_ETHEREUM_START_BLOCK

If set to "", then Redis will be used to determine the height to read from at the appropriate key. If set to latest, then the latest block will be used. If set to a number, that block height will be read from initially.

Building

make build

Testing

make test

Docker

make docker

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL