# Proposal 63: Grant to Partitura for the implementation of Automated Safe module for PowerAgent

- Space: [PowerPool](https://snapshot.box/s:cvp.eth.md)
- Author: 0x8c081a7e2b018aBBa53d968E773e455DDc5cA808
- State: Passed
- Voting type: Basic
- Start: 2023-10-26 14:23 UTC
- End: 2023-11-02 19:00 UTC
- Votes: 23
- Discussion: https://gov.powerpool.finance/t/grant-to-partitura-for-the-implementation-of-automated-safe-module-for-poweragent/1978
- Open in Snapshot: https://snapshot.box/#/s:cvp.eth/proposal/0xdbdfddf443d34a38a044cfc44ef4bca8364945cb6102a752ef4480ddb765c51d

## Results

- For: 766,203.52 voting power, 100.0%
- Against: 0 voting power, 0.0%
- Abstain: 0 voting power, 0.0%

## Proposal

Abstract

Account Abstraction (AA) in the form of Smart Contract Accounts (SCA) is one of the new big things in cryptocurrency, which can make user onboarding easier and bring mass adoption. Moreover, SCA opens up new features for users, such as batching and modularity, which allows for extending possibilities and enabling new features on the user's smart wallets.
Partitura is an infrastructure for composable smart transactions, which allows users to leverage the benefits of SCA and execute any desired flows. One of the core functionalities that we offer to our users is automation of their flow, which makes it possible to set up your own DCA strategy, recurrent payments, and other on-chain routines.

At the moment, Partitura is integrated with one of the best solutions for SCA: Safe, which has over 2 million created wallets and 30 billion dollars TVL. Our vision is to provide as many options as possible for our users and integrate most of the best solutions in the area. Integrating Powerpool as a solution for automation for Safe SCA requires a specific module, which mitigates risks and allows for automated execution of transactions on an SCA without adding a keeper as an owner.

Module description

PowerPoolModule is a unique smart contract module for Safe that can be enabled on a user's Safe. It allows for the execution of whitelisted transactions without the need to add a keeper as an owner of the Safe. The module includes methods for whitelisting and delisting transactions that can be executed on a dedicated safe wallet, as well as for executing transactions.

Workflow

The setup requires a series of transactions. These transactions can be executed as a single batch transaction and include:
The registerJob transaction registers a new job on PowerAgent.
The addModule transaction adds a PowerPoolModule to SCA.
The whitelistJob transaction adds the created job to the whitelist.
When the job can be executed, the transaction will be executed on the SCA through the PowerPoolModule.

Roadmap

- Development of PoC
    - Specification of the primary module features.
- Development of the smart contract, conducting tests, and creating auxiliary scripts.
    - Design and code the smart contract.
    - Write and run thorough tests.
    - Writing documentation.
- Deployment of SC on all supported networks.
    - deployment module on all supported networks
- Implementation of a block in Partitura with PowerPool automation.
    - integration module and PowerPoolAgent into Partitura

For all steps we estimate a total duration of five to seven weeks.
The result module will be fully open-sourced and added to the PowerPool GitHub repository.

Motivation

By completing the proposal, the PowerPool community will be able to take advantage of significant benefits that come with the automation of Account Abstraction through the implementation of SCA of Safe. This will not only open up new markets for automation but also create opportunities for more advanced and efficient ways of working. The proposed solution will be designed to deliver greater convenience and flexibility to the Powerpool community, enabling them to streamline their processes and maximize their returns.

Team

1 x Sr. Smart contract engineer
1 x Sr. frontend engineer
1 x Project Manager

Grant/Compensation

For the implementation, testing, writing of the tutorial & blog post, and scaling of PowerAgent in our system according to the development plan, we would like to request 20.000USD paid in CVP tokens. The payment will be split into four stages, linked to the successful achievement of each of the four milestones described in the “Roadmap”. We will receive $5,000 worth of CVP tokens upon the completion of each milestone.

---

To vote or create proposals from an AI assistant, connect the Snapshot MCP at https://mcp.snapshot.box

