Skip to content

Economics: simulate_payout matches live settlement #409

Description

@josephchimebuka

Summary

If simulate_payout (or equivalent) exists, force parity with live settle for UpDown/Precision/fee models. Treat drift as a bug.

Acceptance criteria

  • Shared math path or differential tests
  • Property tests over random pots
  • Documented for frontends

Where

  • contracts/src/queries.rs / settlement helpers
  • contracts/src/tests/

Activity

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

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programapiPublic contract query/API surfaceeconomicsPayouts, fees, conservation, market mathpriority: highHigh prioritytestingTests, fuzzing, golden vectors, CI coverage

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions