Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

v1.8.1 copy limit order config per collection - #191

Merged
aviggiano merged 15 commits into
mainfrom
v1.8.1-CopyLimitOrderConfig-per-collection
Oct 27, 2025
Merged

aviggiano merged 15 commits into
mainfrom
v1.8.1-CopyLimitOrderConfig-per-collection

Conversation

@aviggiano

@aviggiano aviggiano commented Oct 21, 2025

Copy link
Copy Markdown
Contributor

Specs

  • Add new collection maxTenor/etc (might as well add all 4 params)
  • Remove ‘default to curator’ code

End result: market-specific controls AND collection-specific controls

Downsides

  • Curator cannot set minAPY against the rate providers they choose

Requirements

R1

User can configure all CopyLimitOrderConfig parameters per collection

R2

There is no per-chain global CopyLimitOrderConfig. Per-collection is the maximum granularity

R3

Per-market has precedence over per-collection. Ie, if the user has both configurations, we choose the per-market configuration

@aviggiano
aviggiano requested a review from Skitzzy October 22, 2025 18:25
@aviggiano aviggiano mentioned this pull request Oct 23, 2025
Comment thread src/collections/actions/CollectionsManagerUserActions.sol

@MotokoKusanagi-aka-Major MotokoKusanagi-aka-Major left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aviggiano
aviggiano merged commit c79b7a2 into main Oct 27, 2025
14 checks passed
@aviggiano
aviggiano deleted the v1.8.1-CopyLimitOrderConfig-per-collection branch October 27, 2025 16:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants