Skip to content

Expose authenticated settlement reserve identities - #48

Merged
ameya-deshmukh merged 1 commit into
seismicfrom
codex/treasury-settlement
Sep 8, 2026
Merged

ameya-deshmukh merged 1 commit into
seismicfrom
codex/treasury-settlement

Conversation

@ameya-deshmukh

@ameya-deshmukh ameya-deshmukh commented Sep 8, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Add two authenticated, read-only endpoints exposing the configured chain, token, and address holding payout liquidity.

  • GET /api/internal/base/settlement: Base chain ID, token address, and reserve wallet.
  • GET /api/internal/erc20-usdc/settlement: Seismic chain ID, token address, and ERC20 faucet contract (not the admin/reserve EOA).
  • Both require the existing machine bearer token and retain existing disabled/unavailable handling.
  • No changes to contracts, keys, transfers, budgets, public faucet endpoints, or frontend behavior.

Verification

  • cargo fmt --all -- --check
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo test --workspace --locked: 49 tests passed, including Redis-backed route/authentication and reserve identity coverage.

Compatibility

Additive server update only. No contract redeployment or configuration migration required.

Tracking: SEI-483.

@ameya-deshmukh
ameya-deshmukh merged commit 805c99d into seismic Sep 8, 2026
4 checks passed
@linear-code

linear-code Bot commented Sep 8, 2026

Copy link
Copy Markdown

SEI-483

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