diff --git a/configs/config_modius.json b/configs/config_modius.json new file mode 100644 index 0000000..cbc2830 --- /dev/null +++ b/configs/config_modius.json @@ -0,0 +1,110 @@ +{ + "name": "Modius", + "agent_id": 40, + "hash": "bafybeihqho73he6mirkodg4ubom6ngf2nkgebhmxr435yxpsxgsthu5nvy", + "description": "Modius", + "image": "https://gateway.autonolas.tech/ipfs/bafybeiaakdeconw7j5z76fgghfdjmsr6tzejotxcwnvmp3nroaw3glgyve", + "service_version": "v0.18.1", + "home_chain": "mode", + "configurations": { + "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": "0x5fc25f50E96857373C64dC0eDb1AbCBEd4587e91" + }, + "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": "0x07bc3C23DbebEfBF866Ca7dD9fAA3b7356116164", + "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": "[\"mode\"]", + "provision_type": "fixed" + }, + "TARGET_INVESTMENT_CHAINS": { + "name": "", + "description": "", + "value": "[\"mode\"]", + "provision_type": "fixed" + }, + "INITIAL_ASSETS": { + "name": "", + "description": "", + "value": "{\"mode\":{\"0x0000000000000000000000000000000000000000\":\"ETH\",\"0xd988097fb8612cc24eeC14542bC03424c656005f\":\"USDC\"}}", + "provision_type": "fixed" + }, + "SELECTED_STRATEGIES": { + "name": "", + "description": "", + "value": "[\"merkl_pools_search\",\"balancer_pools_search\",\"asset_lending\"]", + "provision_type": "fixed" + } + } +} \ No newline at end of file diff --git a/configs/config_predict_trader.json b/configs/config_predict_trader.json index 3fe3898..64ff04f 100644 --- a/configs/config_predict_trader.json +++ b/configs/config_predict_trader.json @@ -1,5 +1,6 @@ { "name": "Trader Agent", + "agent_id": 14, "hash": "bafybeifzqsbzidvhhiruhk7jf4v7tpxarvbatl72adq2omhxqgosul3uli", "description": "Trader agent for omen prediction markets", "image": "https://operate.olas.network/_next/image?url=%2Fimages%2Fprediction-agent.png&w=3840&q=75", @@ -11,11 +12,25 @@ "threshold": 1, "use_mech_marketplace": true, "fund_requirements": { - "agent": 100000000000000000, - "safe": 5000000000000000000 + "0x0000000000000000000000000000000000000000": { + "agent": 100000000000000000, + "safe": 5000000000000000000 + } } } }, + "staking_programs": { + "no_staking": "0x0000000000000000000000000000000000000000", + "quickstart_beta_hobbyist": "0x389B46c259631Acd6a69Bde8B6cEe218230bAE8C", + "quickstart_beta_hobbyist_2": "0x238EB6993b90a978ec6AAD7530d6429c949C08DA", + "quickstart_beta_expert": "0x5344B7DD311e5d3DdDd46A4f71481bD7b05AAA3e", + "quickstart_beta_expert_2": "0xb964e44c126410df341ae04B13aB10A985fE3513", + "quickstart_beta_expert_3": "0x80faD33Cadb5F53f9D29F02Db97D682E8b101618", + "quickstart_beta_expert_4": "0xaD9d891134443B443D7F30013c7e14Fe27F2E029", + "quickstart_beta_expert_5": "0xE56dF1E563De1B10715cB313D514af350D207212", + "quickstart_beta_expert_6": "0x2546214aEE7eEa4bEE7689C81231017CA231Dc93", + "quickstart_beta_expert_7": "0xD7A3C8b975f71030135f1a66e9e23164d54fF455" + }, "env_variables": { "GNOSIS_LEDGER_RPC": { "name": "Gnosis ledger RPC", diff --git a/poetry.lock b/poetry.lock index 1f7a3d3..b0dd117 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.8.4 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. [[package]] name = "aiohttp" @@ -2226,7 +2226,7 @@ nicer-shell = ["ipython"] [[package]] name = "olas-operate-middleware" -version = "0.2.0-rc39" +version = "0.2.0-rc63" description = "" optional = false python-versions = "<3.12,>=3.9" @@ -2270,8 +2270,8 @@ web3 = "==6.1.0" [package.source] type = "git" url = "https://github.com/valory-xyz/olas-operate-app.git" -reference = "caed60d6757f9fa477d9723fd2ec017413ce5d6f" -resolved_reference = "caed60d6757f9fa477d9723fd2ec017413ce5d6f" +reference = "ee3b200cf6c847778b6f2af5b72456c156040967" +resolved_reference = "ee3b200cf6c847778b6f2af5b72456c156040967" [[package]] name = "open-aea" @@ -3964,4 +3964,4 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.0" python-versions = ">=3.9,<3.12" -content-hash = "4bb264f9685da70493e50590402aebbccc38b96344b143b83026c2f35eaa9f63" +content-hash = "959811aa46547c98151a57a8ad33e0fd1ba816ea7583d29c1de5e73905e4a5df" diff --git a/pyproject.toml b/pyproject.toml index d7c42f9..cce4d35 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ include = [] [tool.poetry.dependencies] python = ">=3.9,<3.12" -olas-operate-middleware = { git = "https://github.com/valory-xyz/olas-operate-app.git", rev = "caed60d6757f9fa477d9723fd2ec017413ce5d6f" } +olas-operate-middleware = { git = "https://github.com/valory-xyz/olas-operate-app.git", rev = "ee3b200cf6c847778b6f2af5b72456c156040967"} tqdm = "^4.67.1" [tool.poetry.group.dev.dependencies]