Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release #63

Merged
merged 37 commits into from
Feb 25, 2023
Merged

Release #63

merged 37 commits into from
Feb 25, 2023

Conversation

SirTLB
Copy link
Collaborator

@SirTLB SirTLB commented Feb 22, 2023

Releasing developments into main. see commit log for info.
fixes #61, fixes #51, fixes #48, fixes #44
Other features:
-- discord logger
-- updated example files
-- docker compose
-- sign of life to environment variables

SirTLB and others added 30 commits February 15, 2023 14:55
BREAKING: this commit requires an extra field on the pool environment
variables: LPratio
We use a cooldown feature on paths to prevent the bot for overtrading a
path whiles the arb is already gone. if it did one attempt cooldown is
set to true, on next block arrival the bot sets all paths cooldowns back
to false.
Also, this commit changes the way fees are attached to TXs, because fees
do not only scale with amount of pools, but also amount of messages used
for a pooltrade, therefore the amount of msgs is used as an indexer for
the amount of txfees to attach to a tx
feat: Minor updates and docker-compose compatibility
Sign of Life in Minutes to be more consistent when running on Juno or Injective
…e-processing

Bug/send message processing
Remove unnecessary console.log from testing
Add Telegram Logger and remove "clear"
nick134-bit
nick134-bit previously approved these changes Feb 22, 2023
.env.juno.example Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
carlthelooper
carlthelooper previously approved these changes Feb 23, 2023
Dockerfile Show resolved Hide resolved
zJuuu
zJuuu previously approved these changes Feb 23, 2023
package.json Outdated Show resolved Hide resolved
Copy link
Collaborator Author

@SirTLB SirTLB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed dockerfile and package

@SirTLB SirTLB requested a review from carlthelooper February 24, 2023 13:18
Copy link
Contributor

@carlthelooper carlthelooper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

@Sen-Com Sen-Com merged commit e615ac1 into main Feb 25, 2023
@Sen-Com Sen-Com deleted the release branch February 25, 2023 12:54
@Sen-Com Sen-Com restored the release branch February 25, 2023 12:55
nick134-bit added a commit to nick134-bit/white-whale-bots that referenced this pull request Mar 3, 2023
* feat: protocol fee handling, outgivenin/stateupdate calc change

BREAKING: this commit requires an extra field on the pool environment
variables: LPratio

* feat: add cooldown feature to paths, calculate fees based on msgs

We use a cooldown feature on paths to prevent the bot for overtrading a
path whiles the arb is already gone. if it did one attempt cooldown is
set to true, on next block arrival the bot sets all paths cooldowns back
to false.
Also, this commit changes the way fees are attached to TXs, because fees
do not only scale with amount of pools, but also amount of messages used
for a pooltrade, therefore the amount of msgs is used as an indexer for
the amount of txfees to attach to a tx

* bug: fix profit calculation based on tradesize and skipbid

* bug: added consoles to check applyTradeOnPool update

* fix: removed extra file slacklogger.ts

* chore: Added clean step to package.json

* feat: Added docker-compose.yml

* fix: Updated dockerfile for optimization and docker-compose compatibility

* chore: Updated dev dependencies

* fix: Updated allow for .env file to be read from docker-compose

* Sign of Life in Minutes

Sign of Life in Minutes to be more consistent when running on Juno or Injective

* var names

* Output String

* chore: update packages align with release

* chore: delete comments and newlines

* chore: extra cooldown=true removed

* bug: fix send message processing

* chore: use isSwapMessage in mempool and isDefaultSwapMessage fn

* Add Telegram Logger and remove "clear"

* Remove unnecessary console.log

Remove unnecessary console.log from testing

* eslint telegram logger

* Add externalExemptCodes to env & external config

* Add EXTERNAL_EXEMPT_CODES to example .env

* chore: update examples and add skip settings to modules

* cicd: enable linting in package.json's scripts

* chore: change flashloan fee to 0.15% in examples

* chore: add eslinter to prebuild script

* chore: change flashloan fee in terra example

* Update Dockerfile: add eslint copy

* Update package.json

---------

Co-authored-by: CarlTheLooper <carlthelooper@gmail.com>
Co-authored-by: nick134 <nick134-bit@proton.me>
Co-authored-by: zJ <zzju@protonmail.com>
Co-authored-by: zJ <github@julius.haus>
nick134-bit added a commit to nick134-bit/white-whale-bots that referenced this pull request Mar 4, 2023
* feat: protocol fee handling, outgivenin/stateupdate calc change

BREAKING: this commit requires an extra field on the pool environment
variables: LPratio

* feat: add cooldown feature to paths, calculate fees based on msgs

We use a cooldown feature on paths to prevent the bot for overtrading a
path whiles the arb is already gone. if it did one attempt cooldown is
set to true, on next block arrival the bot sets all paths cooldowns back
to false.
Also, this commit changes the way fees are attached to TXs, because fees
do not only scale with amount of pools, but also amount of messages used
for a pooltrade, therefore the amount of msgs is used as an indexer for
the amount of txfees to attach to a tx

* bug: fix profit calculation based on tradesize and skipbid

* bug: added consoles to check applyTradeOnPool update

* fix: removed extra file slacklogger.ts

* chore: Added clean step to package.json

* feat: Added docker-compose.yml

* fix: Updated dockerfile for optimization and docker-compose compatibility

* chore: Updated dev dependencies

* fix: Updated allow for .env file to be read from docker-compose

* Sign of Life in Minutes

Sign of Life in Minutes to be more consistent when running on Juno or Injective

* var names

* Output String

* chore: update packages align with release

* chore: delete comments and newlines

* chore: extra cooldown=true removed

* bug: fix send message processing

* chore: use isSwapMessage in mempool and isDefaultSwapMessage fn

* Add Telegram Logger and remove "clear"

* Remove unnecessary console.log

Remove unnecessary console.log from testing

* eslint telegram logger

* Add externalExemptCodes to env & external config

* Add EXTERNAL_EXEMPT_CODES to example .env

* chore: update examples and add skip settings to modules

* cicd: enable linting in package.json's scripts

* chore: change flashloan fee to 0.15% in examples

* chore: add eslinter to prebuild script

* chore: change flashloan fee in terra example

* Update Dockerfile: add eslint copy

* Update package.json

---------

Co-authored-by: CarlTheLooper <carlthelooper@gmail.com>
Co-authored-by: nick134 <nick134-bit@proton.me>
Co-authored-by: zJ <zzju@protonmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants