Skip to content

Move betting market example to finance/#72

Merged
mikemaccana merged 1 commit into
mainfrom
claude/move-betting-market-to-finance
Jun 18, 2026
Merged

Move betting market example to finance/#72
mikemaccana merged 1 commit into
mainfrom
claude/move-betting-market-to-finance

Conversation

@mikemaccana

Copy link
Copy Markdown
Collaborator

What

Relocates the betting-market example from tokens/betting-market/ to a new finance/betting-market/, placing it alongside the other financial examples on main (escrow, order-book, token-swap, token-fundraiser, vault-strategy).

Why

The betting market is a financial program (a parimutuel/pooled prediction market), so it belongs under finance/ with its peers rather than under tokens/.

Changes

  • git mv tokens/betting-market → finance/betting-market (category README + the anchor/ example, preserved as renames — no content changes).
  • Update the root README.md link from ./tokens/betting-market/anchor to ./finance/betting-market/anchor.

Notes

  • The diff is purely renames plus one README line (28 files changed, 1 insertion(+), 1 deletion(-)).
  • CI auto-discovers any directory named anchor (find -type d -name anchor), so the example continues to build and test in place; it is not listed in .github/.ghaignore.
  • Verified cargo test passes from the new location (full lifecycle, payout/fee math, authorization guards, and the cancel/refund path).

🤖 Generated with Claude Code


Generated by Claude Code

Relocate the betting-market example from tokens/ to the finance/ category,
alongside the other financial examples (escrow, order-book, token-swap,
token-fundraiser, vault-strategy), and update its link in the root README.
CI auto-discovers any directory named anchor, so it is still built and tested.
@mikemaccana mikemaccana merged commit a38f46a into main Jun 18, 2026
14 checks passed
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.

2 participants