Skip to content

🐛 Fix syntax and parsing errors #92

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Conversation

r0zar
Copy link
Contributor

@r0zar r0zar commented Dec 26, 2024

This pull request includes significant updates to the tools/dao.py file and related changes in tools/tools_factory.py. The primary focus is on adding new schema definitions and tools for managing DAO executor and treasury contracts. Additionally, the initialization of these tools has been updated in the factory.

New Schema Definitions and Tools:

  • tools/dao.py: Added new schema definitions for executor and treasury tools, including ExecutorListToolSchema, ExecutorDeployToolSchema, ExecutorSetExtensionToolSchema, TreasuryListToolSchema, TreasuryDeployToolSchema, TreasuryDepositToolSchema, and TreasuryWithdrawToolSchema.
  • tools/dao.py: Implemented new DAO tools for listing, deploying, and managing executors and treasuries, such as ExecutorListTool, ExecutorDeployTool, ExecutorSetExtensionTool, TreasuryListTool, TreasuryDeployTool, TreasuryDepositTool, and TreasuryWithdrawTool.

Updates to Tools Factory:

  • tools/tools_factory.py: Added the new executor and treasury tools to the import list. [1] [2]
  • tools/tools_factory.py: Updated the initialize_tools function to include the new DAO executor and treasury tools, ensuring they are initialized with the provided account index.

@r0zar
Copy link
Contributor Author

r0zar commented Dec 26, 2024

Fixing some bugs left from before with parsing args, and added set-extension tool support.

@r0zar r0zar requested a review from whoabuddy December 26, 2024 07:09
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