Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate AMM / CLOB into core code #14

Closed
Tracked by #12
metaproph3t opened this issue Apr 11, 2023 · 0 comments
Closed
Tracked by #12

Integrate AMM / CLOB into core code #14

metaproph3t opened this issue Apr 11, 2023 · 0 comments
Assignees

Comments

@metaproph3t
Copy link
Member

Once the AMM / CLOB is found / completed, we need to integrate it into the code.

Specifically, the code should display the following behavior:

  • For each member, member_expected_value := (conditional-on-pass price - conditional-on-fail price) / total supply
  • net_expected_value := member_1_expected_value + member_2_expected_value + ... member_n_expected_value
  • When net_expected_value > 0, allow users to pass proposals
  • When net_expected_value < 0, allow users to fail proposals
  • When a proposal is passed, allow users to redeem conditional-on-pass tokens and conditional-on-fail deposit slips for real tokens
  • When a proposal is failed, allow users to redeem conditional-on-fail tokens and conditional-on-pass deposit slips for real tokens
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

1 participant