forked from valory-xyz/trader-quickstart
-
Notifications
You must be signed in to change notification settings - Fork 1
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: Support Optimus #11
Merged
Merged
Changes from all commits
Commits
Show all changes
80 commits
Select commit
Hold shift + click to select a range
8d222ce
Feat: Support Optimus
OjusWiZard 0645102
added optimus test support
Mohsinsiddi 27e827b
updated github ci file
Mohsinsiddi e2fcfb8
updated github ci file to include latest env secrets
Mohsinsiddi f85bca1
updated cls.child.logfile = None
Mohsinsiddi 544d78a
updated TS fie to make RPC HIDDEN
Mohsinsiddi 34aa0cd
added a ensure_service_stopped handler
Mohsinsiddi c0b9d88
add handle to delete temp folder for ubuntu
Mohsinsiddi 0e8623f
updated
Mohsinsiddi b131cc3
updated
Mohsinsiddi ff178b5
test 1
Mohsinsiddi d9d093a
test 1
Mohsinsiddi 4a9463a
test 1
Mohsinsiddi a956b4b
test wip
Mohsinsiddi 492ca66
added 20 sec delay (optimus only) for CI test
Mohsinsiddi 153ac25
added 20 sec delay (optimus only) for CI test
Mohsinsiddi dadb998
added 20 sec delay (optimus only) for CI test
Mohsinsiddi f4b08ce
increased funding amount to 100 ETH from 44 ETH for optimus
Mohsinsiddi f9f583c
increased funding amount to 100 ETH from 44 ETH for optimus
Mohsinsiddi b5d0223
increased funding amount to 100 ETH from 44 ETH for optimus
Mohsinsiddi 3683950
added backup owner
Mohsinsiddi 1b6e785
added backup owner
Mohsinsiddi c0ab997
updated cleanup_directory
Mohsinsiddi 55821f5
updated cleanup_directory
Mohsinsiddi 9c4836c
updated the code with PR review
Mohsinsiddi 0ad545a
updated ci yaml file
Mohsinsiddi 92bd763
just optimus test
Mohsinsiddi 349e805
just optimus test
Mohsinsiddi c6612fe
updated check_docker_status handler
Mohsinsiddi 322dd72
added config files to further tests
Mohsinsiddi 000802d
Feat: Support Optimus
OjusWiZard 36bdfd8
added optimus test support
Mohsinsiddi 1af177e
updated github ci file
Mohsinsiddi 25909eb
updated github ci file to include latest env secrets
Mohsinsiddi 74aac78
updated cls.child.logfile = None
Mohsinsiddi 9b3a375
updated TS fie to make RPC HIDDEN
Mohsinsiddi ce1e1ac
added a ensure_service_stopped handler
Mohsinsiddi e4b32ec
add handle to delete temp folder for ubuntu
Mohsinsiddi 2640633
updated
Mohsinsiddi 54e2a25
updated
Mohsinsiddi 61b2b3b
test 1
Mohsinsiddi 7465176
test 1
Mohsinsiddi 1e4dc2a
test 1
Mohsinsiddi b2a7eb3
test wip
Mohsinsiddi ef3466c
added 20 sec delay (optimus only) for CI test
Mohsinsiddi 6554ef7
added 20 sec delay (optimus only) for CI test
Mohsinsiddi 6cd4dd4
added 20 sec delay (optimus only) for CI test
Mohsinsiddi 02572a1
increased funding amount to 100 ETH from 44 ETH for optimus
Mohsinsiddi 3b6b3ab
increased funding amount to 100 ETH from 44 ETH for optimus
Mohsinsiddi a661b18
increased funding amount to 100 ETH from 44 ETH for optimus
Mohsinsiddi 129e134
added backup owner
Mohsinsiddi 4c834d5
added backup owner
Mohsinsiddi 676beba
updated cleanup_directory
Mohsinsiddi b9f8fb2
updated cleanup_directory
Mohsinsiddi 9c872b7
updated the code with PR review
Mohsinsiddi 7a3dd9e
updated ci yaml file
Mohsinsiddi 476ff4b
just optimus test
Mohsinsiddi 3ac8741
just optimus test
Mohsinsiddi 84b7eee
updated check_docker_status handler
Mohsinsiddi cb3ea6b
added config files to further tests
Mohsinsiddi e1bd2ae
updated check_docker_status handler to check new release based contai…
Mohsinsiddi 7c56c48
updated base config to resolve ens issue
Mohsinsiddi 432a1ed
Merge pull request #16 from valory-xyz/fix/new_container_names
Mohsinsiddi 0ae84c1
WIP for memeooorr tests
Mohsinsiddi 4a46d63
updated container names handler
Mohsinsiddi 3be85ea
updated container names handler
Mohsinsiddi 9ceb5a6
updated prompts to be precise
Mohsinsiddi d2f6bc4
latest script
Mohsinsiddi a1173b6
latest script
Mohsinsiddi 4ed7ebb
latest script
Mohsinsiddi 43f8acb
updated for delay in sendLine
Mohsinsiddi fa9dd3b
added \n for all OS compatiblity in prompts
Mohsinsiddi 5ac6b47
updated get_base_config
Mohsinsiddi 3fe0bfc
updated ci file
Mohsinsiddi 82860a8
updated test file
Mohsinsiddi 816427c
fixed TypeError: unsupported operand type(s) for +: 'function' and '…
Mohsinsiddi e12e1d4
updated test script
Mohsinsiddi 25d4539
updated test script
Mohsinsiddi 14f6d62
Merge pull request #17 from Mohsinsiddi/fix/ens_invalid
Mohsinsiddi 230480d
Merge pull request #13 from valory-xyz/feat/testing_optimus
OjusWiZard 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
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 |
---|---|---|
@@ -0,0 +1,140 @@ | ||
{ | ||
"name": "Optimus", | ||
"agent_id": 40, | ||
"hash": "bafybeihqho73he6mirkodg4ubom6ngf2nkgebhmxr435yxpsxgsthu5nvy", | ||
"description": "Optimus", | ||
"image": "https://gateway.autonolas.tech/ipfs/bafybeiaakdeconw7j5z76fgghfdjmsr6tzejotxcwnvmp3nroaw3glgyve", | ||
"service_version": "v0.18.1", | ||
"home_chain": "optimistic", | ||
"configurations": { | ||
"optimistic": { | ||
"nft": "bafybeiaakdeconw7j5z76fgghfdjmsr6tzejotxcwnvmp3nroaw3glgyve", | ||
"threshold": 1, | ||
"use_mech_marketplace": false, | ||
"fund_requirements": { | ||
"0x0000000000000000000000000000000000000000": { | ||
"agent": 5000000000000000, | ||
"safe": 15000000000000000 | ||
}, | ||
"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85": { | ||
"agent": 0, | ||
"safe": 40000000 | ||
} | ||
} | ||
}, | ||
"base": { | ||
"nft": "bafybeiaakdeconw7j5z76fgghfdjmsr6tzejotxcwnvmp3nroaw3glgyve", | ||
"threshold": 1, | ||
"use_mech_marketplace": false, | ||
"fund_requirements": { | ||
"0x0000000000000000000000000000000000000000": { | ||
"agent": 5000000000000000, | ||
"safe": 15000000000000000 | ||
}, | ||
"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913": { | ||
"agent": 0, | ||
"safe": 40000000 | ||
} | ||
} | ||
}, | ||
"mode": { | ||
"nft": "bafybeiaakdeconw7j5z76fgghfdjmsr6tzejotxcwnvmp3nroaw3glgyve", | ||
"threshold": 1, | ||
"use_mech_marketplace": false, | ||
"fund_requirements": { | ||
"0x0000000000000000000000000000000000000000": { | ||
"agent": 5000000000000000, | ||
"safe": 15000000000000000 | ||
}, | ||
"0xd988097fb8612cc24eeC14542bC03424c656005f": { | ||
"agent": 0, | ||
"safe": 40000000 | ||
} | ||
} | ||
} | ||
}, | ||
"staking_programs": { | ||
"no_staking": "0x0000000000000000000000000000000000000000", | ||
"optimus_alpha": "0x88996bbdE7f982D93214881756840cE2c77C4992" | ||
}, | ||
"env_variables": { | ||
"SAFE_CONTRACT_ADDRESSES": { | ||
"name": "Safe contract addresses", | ||
"description": "", | ||
"value": "", | ||
"provision_type": "computed" | ||
}, | ||
"TENDERLY_ACCESS_KEY": { | ||
"name": "Tenderly API Key", | ||
"description": "Tenderly API Key can be obtained at https://dashboard.tenderly.co/", | ||
"value": "", | ||
"provision_type": "user" | ||
}, | ||
"TENDERLY_ACCOUNT_SLUG": { | ||
"name": "Tenderly Account Slug", | ||
"description": "Tenderly Account Slug can be obtained at https://dashboard.tenderly.co/", | ||
"value": "", | ||
"provision_type": "user" | ||
}, | ||
"TENDERLY_PROJECT_SLUG": { | ||
"name": "Tenderly Project Slug", | ||
"description": "Tenderly Project Slug can be obtained at https://dashboard.tenderly.co/", | ||
"value": "", | ||
"provision_type": "user" | ||
}, | ||
"STAKING_TOKEN_CONTRACT_ADDRESS": { | ||
"name": "Staking Token Contract Address", | ||
"description": "", | ||
"value": "", | ||
"provision_type": "computed" | ||
}, | ||
"COINGECKO_API_KEY": { | ||
"name": "Coingecko API Key", | ||
"description": "Coingecko API Key will be used to fetch the prices of the tokens. Get your key at https://www.coingecko.com/en/api", | ||
"value": "", | ||
"provision_type": "user" | ||
}, | ||
"STAKING_CHAIN": { | ||
"name": "", | ||
"description": "", | ||
"value": "", | ||
"provision_type": "computed" | ||
}, | ||
"STAKING_ACTIVITY_CHECKER_CONTRACT_ADDRESS": { | ||
"name": "", | ||
"description": "", | ||
"value": "0x7Fd1F4b764fA41d19fe3f63C85d12bf64d2bbf68", | ||
"provision_type": "fixed" | ||
}, | ||
"MIN_SWAP_AMOUNT_THRESHOLD": { | ||
"name": "Minimum Investment", | ||
"description": "Minimum Investment amount is the minimum amount of USD on both USDC and ETH tokens that the agent will invest. Enter at least 15.", | ||
"value": "15", | ||
"provision_type": "fixed" | ||
}, | ||
"ALLOWED_CHAINS": { | ||
"name": "", | ||
"description": "", | ||
"value": "[\"optimism\",\"mode\",\"base\"]", | ||
"provision_type": "fixed" | ||
}, | ||
"TARGET_INVESTMENT_CHAINS": { | ||
"name": "", | ||
"description": "", | ||
"value": "[\"optimism\",\"mode\",\"base\"]", | ||
"provision_type": "fixed" | ||
}, | ||
"INITIAL_ASSETS": { | ||
"name": "", | ||
"description": "", | ||
"value": "{\"optimism\":{\"0x0000000000000000000000000000000000000000\":\"ETH\",\"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85\":\"USDC\"}}", | ||
"provision_type": "fixed" | ||
}, | ||
"SELECTED_STRATEGIES": { | ||
"name": "", | ||
"description": "", | ||
"value": "[\"merkl_pools_search\",\"balancer_pools_search\",\"asset_lending\"]", | ||
"provision_type": "fixed" | ||
} | ||
} | ||
} |
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.
the chain is called Mode
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.
@Mohsinsiddi pls consider this in the PR for Memeooorr's test