Skip to content

ARM pricing changes - #328

Open
naddison36 wants to merge 1 commit into
mainfrom
nicka/talos-pricing
Open

ARM pricing changes#328
naddison36 wants to merge 1 commit into
mainfrom
nicka/talos-pricing

Conversation

@naddison36

@naddison36 naddison36 commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Automatically size DEX quotes using the smaller of available ARM/market reserves and configured price liquidity limits.
  • Allow an explicit --amount to override automatic sizing unchanged.
  • Apply the shared sizing logic across all setPrices* actions and DEX sources.
  • Remove hardcoded quote-size defaults and the Ethena/USDC-specific sizing paths.
  • Handle differing base and liquidity asset decimals.
  • Require --amount when pricing legacy ARMs that do not expose reserve and liquidity-limit data.
  • Update action documentation and unit coverage.

Testing

  • node test/js/armPrices.test.js
  • ESLint
  • Prettier
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant