A bot to monitor and persistently track compounding and rebalance events on Aastra ETH-PUT vault.
go mod vendor
go run main.go
(or)
docker build -t <name>:1.0 .
docker run -e AASTRA_VAULT_ADDRESS='<vault address>' \
-e ROUTER_ADDRESS='<router address>' \
-e INFURA_ENDPOINT='<infura endpoint>' \
-e MIGRATE='<migrate>' \
-e DB_USERNAME='<username>' \
-e DB_PASSWORD='<password>' \
-e DB_ENDPOINT='<endpoint>' \
-e DB_PORT='<port>' \
-e DB_NAME='<db name> -i <image>'
- Set
MIGRATION
totrue
to create DBs before running script.