feat(core): add configurable cu limits

This commit is contained in:
smypmsa
2025-09-03 15:05:12 +00:00
parent e1e15dd539
commit 9731b179cc
12 changed files with 185 additions and 17 deletions
+7
View File
@@ -48,6 +48,13 @@ priority_fees:
extra_percentage: 0.0 # Percentage increase on riority fee regardless of the calculation method (0.1 = 10%)
hard_cap: 200_000 # Maximum allowable fee in microlamports to prevent excessive spending
# Compute unit limits for transaction processing
# Operation-specific defaults are used if not specified: buy=100K, sell=60K
compute_units:
# Override default CU limits for this platform
# buy: 100_000 # Buy operations (ATA creation + trading)
# sell: 60_000 # Sell operations (just trading)
# Filters for token selection
filters:
match_string: null # Only process tokens with this string in name/symbol