Skip to content

Budget modules base#75

Merged
izqui merged 13 commits intomasterfrom
budget-modules
Oct 21, 2022
Merged

Budget modules base#75
izqui merged 13 commits intomasterfrom
budget-modules

Conversation

@izqui
Copy link
Contributor

@izqui izqui commented Sep 29, 2022

Even though originally in this branch, RecurringPayments has been moved into a separate PR #86 as this one already has several big things and should be merged ASAP

TODO:

  • Unstructured storage in module base

@izqui izqui changed the title [POC] Budget modules [POC] Budget modules: RecurringPayments Oct 1, 2022
error AlreadyExecutedForPeriod(uint256 allowanceId, uint256 paymentId, uint40 nextExecutionTime);

// Protected so only spenders from the parent allowance to the one recurring payments can spend can add payments
function addPayment(uint256 allowanceId, address to, uint256 amount)
Copy link
Contributor

Choose a reason for hiding this comment

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

I think a function to batch-create payments (like executeMultiPayments for executing multiple payments) would be useful as well.

@izqui izqui mentioned this pull request Oct 17, 2022
20 tasks
* UpgradeableModuleProxyFactory: register

* FirmBase, UpgradeableModuleProxyFactory: events to enable indexing

* UpgradeableModuleProxyFactory: test upgrades and tighten types everywhere

* UpgradeableModuleProxyFactory: test registry

* UpgradeableModuleProxyFactory: more tests
@izqui izqui changed the title [POC] Budget modules: RecurringPayments [POCBudget modules: RecurringPayments Oct 17, 2022
@izqui izqui changed the title [POCBudget modules: RecurringPayments Budget modules: RecurringPayments Oct 17, 2022
Copy link
Contributor

@Evalir Evalir left a comment

Choose a reason for hiding this comment

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

Noticed this event—unsure if this inconsistency is anywhere else in our contracts, but it's probably something to look at soon :)

* fix(events): make event naming consistent

* chore: revert zodiac-related changes
@izqui izqui changed the title Budget modules: RecurringPayments Budget modules + RecurringPayments Oct 21, 2022
@izqui izqui changed the title Budget modules + RecurringPayments Module registry in proxy factory + Budget modules base Oct 21, 2022
@izqui izqui merged commit 75bb302 into master Oct 21, 2022
@izqui izqui deleted the budget-modules branch October 21, 2022 10:51
@izqui izqui changed the title Module registry in proxy factory + Budget modules base Budget modules base Oct 21, 2022
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