-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feat]: Implement underwrite evaluation (#25)
* feat: Update resolvers (match relayer) * feat: Query underwrite reward fiat price from relayer * feat: Implement `maxGasLimit` calculation logic * fix: types * feat: Implement 'gasEstimate' via the resolvers * feat: Take into account fixed transaction costs * chore: Remove unused code block * feat: Consider swap relay costs on underwrite evaluation * fix: relay delivery costs config loading * chore: Improve underwrite evaluation logs * chore: Improve swap profit query error logging * fix: 'profitabilityFactor' incorrectly set on worker init * feat: Effectively disable evaluation when profitabilityFactor is 0 * chore: Improve evaluation logging * feat: make 'maxUnderwriteAllowed' be fiat based * chore: Remove duplicated 'blockDelay' configuration * chore: Add missing configuration to config.example.yaml
- Loading branch information
1 parent
ecf7b47
commit 5395d37
Showing
19 changed files
with
915 additions
and
238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.