-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat: agents.fun in celo (UI configs) #647
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
5b7a716
fix: add new agent type 'agents-fun-celo' to Agent enum
mohandast52 154a673
feat: add support for CELO chain in configuration and enums
mohandast52 5f0d593
feat: add Agents.fun Celo template and update StakingProgramId enum
mohandast52 36267dc
feat: add support for Agents.fun Celo in agent selection and fund req…
mohandast52 38989ca
feat: add CELO activity checkers to support new chain integration
mohandast52 8299474
feat: add CELO staking program configuration and support in middleware
mohandast52 fd8894f
feat: implement Agents.fun Celo agent configuration and service integ…
mohandast52 2bb41c5
feat: add feature flags for Agents.fun Celo agent configuration
mohandast52 0a0aa34
feat: refactor EVM chain handling and remove Optimism support
mohandast52 b59f48d
feat: add CELO RPC configuration to release workflows
mohandast52 0fa7452
feat: enhance useService hook to support nullable service chain addre…
mohandast52 673f90a
feat: add CELO RPC support to release workflows and configuration
mohandast52 89724cc
feat: update type definitions to use EvmChainId and improve code reus…
mohandast52 d247cac
feat: enhance useNeedsFunds hook to utilize EvmChainId for improved t…
mohandast52 159b758
feat: disable Celo agent in configuration
mohandast52 876ae52
feat: update Celo configurations and templates for improved clarity a…
mohandast52 03d8ed1
fix: correct grammatical errors in agent descriptions for clarity
mohandast52 c5eeede
feat: refactor agent services and consolidate StakedAgentService imports
mohandast52 55eb0ae
chore: conflict fixes
mohandast52 7b19748
feat: add support for BASE staking programs in AgentsFunService
mohandast52 92553d2
chore: images
mohandast52 68c02b1
feat: update service templates and refactor agent service imports to …
mohandast52 eefa8a6
chore: images
mohandast52 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,5 @@ GNOSIS_RPC= | |
ETHEREUM_RPC= | ||
OPTIMISM_RPC= | ||
BASE_RPC= | ||
MODE_RPC= | ||
MODE_RPC= | ||
CELO_RPC= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do you think we need two separate sets of evmChainIds? wouldn't that be confusing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is due to the “EvmChainId” type. In several places, we were using
EvmChainId | number
, which isn’t ideal as it allows any valid number. To make it stricter, we need to limit it to the specific chain IDs we support.AllEvmChainId
(possibly a better name could be chosen) could simply act as an enum holding these chain IDs. Personally, I’d prefer to stick to EvmChainId, but forsafeChainPrefix
, we might require a more generic type. Let me know your thoughts.