From 15cd1e0fb27d48c4f3412405171a2d952720326d Mon Sep 17 00:00:00 2001 From: mfw78 Date: Fri, 19 Jan 2024 07:11:00 +0000 Subject: [PATCH 1/2] chore: pr 131 comments --- .gitignore | 5 ++++- README.md | 4 ++-- src/utils/filterPolicy.ts | 4 ---- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 78ffa32..9b3267c 100644 --- a/.gitignore +++ b/.gitignore @@ -17,4 +17,7 @@ node_modules/ yalc.lock # Databases -database* \ No newline at end of file +database* + +# Default config +config.json \ No newline at end of file diff --git a/README.md b/README.md index 1528a10..defad9c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Watch-Tower for Programmatic Orders 🐮🎶 +# Watch-Tower for Programmatic Orders 🐄🤖 ## Overview @@ -56,7 +56,7 @@ For [DAppNode](https://dappnode.com), the watch-tower is available as a package. # Install dependencies yarn # Run watch-tower -yarn cli run --chain-config , --page-size 5000 +yarn cli run --config-path ./config.json ``` ## Architecture diff --git a/src/utils/filterPolicy.ts b/src/utils/filterPolicy.ts index db620ba..b4be38a 100644 --- a/src/utils/filterPolicy.ts +++ b/src/utils/filterPolicy.ts @@ -18,10 +18,6 @@ export interface FilterParams { conditionalOrderParams: ConditionalOrderParams; } -export interface FilterPolicyParams { - configBaseUrl: string; - // configAuthToken: string; // TODO: Implement authToken -} export class FilterPolicy { protected config: PolicyConfig | undefined; From ea4901995531695c4d9d89080b90f453306c596f Mon Sep 17 00:00:00 2001 From: mfw78 Date: Sun, 21 Jan 2024 18:03:58 +0000 Subject: [PATCH 2/2] chore: ignore other configs --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 9b3267c..b8c7124 100644 --- a/.gitignore +++ b/.gitignore @@ -20,4 +20,4 @@ yalc.lock database* # Default config -config.json \ No newline at end of file +/config*.json \ No newline at end of file