Skip to content

feat!: rename getTradeableOrder to generateOrder#21

Open
mfw78 wants to merge 1 commit into
refactor/utils-muldivfrom
feat/generate-order-verify
Open

feat!: rename getTradeableOrder to generateOrder#21
mfw78 wants to merge 1 commit into
refactor/utils-muldivfrom
feat/generate-order-verify

Conversation

@mfw78

@mfw78 mfw78 commented Jul 10, 2026

Copy link
Copy Markdown

Rename the order-generation entry point to reflect its role as the single source of truth shared by verification and polling:

  • getTradeableOrder -> generateOrder (interface, base, all order types, registry call site)
  • PollTryAtEpoch -> PollTryAtTimestamp
  • drop the unused PollNever error

BREAKING: handler ABI renames generateOrder; the IConditionalOrderGenerator ERC-165 interface id changes.

Part of #1.

Rename the order-generation entry point to reflect its role as the
single source of truth for discrete order derivation, shared by
signature verification and polling:

- getTradeableOrder -> generateOrder (interface, base, all order
  types, registry call site)
- PollTryAtEpoch -> PollTryAtTimestamp for consistent naming
- drop the unused PollNever error

BREAKING CHANGE: handler ABI renames generateOrder; the
IConditionalOrderGenerator ERC-165 interface id changes.
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