Skip to content

Comments

Refactor RecurringConfig from struct to struct interface#179

Merged
jordanschalm merged 2 commits intomainfrom
jord/refactor-recurring-config
Feb 23, 2026
Merged

Refactor RecurringConfig from struct to struct interface#179
jordanschalm merged 2 commits intomainfrom
jord/refactor-recurring-config

Conversation

@jordanschalm
Copy link
Member

Convert RecurringConfig to a struct interface with getter functions and introduce RecurringConfigImplv1 as the concrete implementation. This enables future alternative implementations of the config interface, using the pattern here.

jordanschalm and others added 2 commits February 20, 2026 17:52
Convert RecurringConfig to a struct interface with getter functions and
introduce RecurringConfigImplv1 as the concrete implementation. This
enables future alternative implementations of the config interface.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jordanschalm jordanschalm marked this pull request as ready for review February 21, 2026 02:20
@jordanschalm jordanschalm requested a review from a team as a code owner February 21, 2026 02:20
Copy link
Contributor

@holyfuchs holyfuchs left a comment

Choose a reason for hiding this comment

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

The Config was mostly copied from FlowActions:
https://github.com/onflow/FlowActions/blob/2357ae770e6c5cccae65e2965f75b4fba0a64ed9/cadence/contracts/interfaces/DeFiActions.cdc#L634
We might want to change it there as well.

@jordanschalm
Copy link
Member Author

The Config was mostly copied from FlowActions:
https://github.com/onflow/FlowActions/blob/2357ae770e6c5cccae65e2965f75b4fba0a64ed9/cadence/contracts/interfaces/DeFiActions.cdc#L634
We might want to change it there as well.

Do you know what that version of the Autobalancer is used for?

@jordanschalm jordanschalm merged commit 30b253f into main Feb 23, 2026
1 check passed
@jordanschalm jordanschalm deleted the jord/refactor-recurring-config branch February 23, 2026 23:13
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.

3 participants