Skip to content

Commit

Permalink
Merge pull request #29 from valory-xyz/chore/update-agent-id
Browse files Browse the repository at this point in the history
Update agent id ,service image URL and nft
  • Loading branch information
gauravlochab authored Oct 24, 2024
2 parents f5aaf15 + 32a8147 commit 134cc4d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .gitleaksignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,6 @@ d8149e9b5b7bd6a7ed7bc1039900702f1d4f287b:operate/services/manage.py:generic-api-
64128d4c3415f669a9c656ad9421be2f839f5159:run_service.py:generic-api-key:391
64128d4c3415f669a9c656ad9421be2f839f5159:run_service.py:generic-api-key:392
fcdfd32ce4e7a716fe6ee3d5f15fa152abec28d3:staking_report.py:generic-api-key:153
4637db8956d3ffa836ab0ca8fe1ce87d0141ab64:staking_report.py:generic-api-key:154
4637db8956d3ffa836ab0ca8fe1ce87d0141ab64:staking_report.py:generic-api-key:154d70796577da75bbc564039071e8e61f0d684a6e2:run_service.py:generic-api-key:494
d70796577da75bbc564039071e8e61f0d684a6e2:run_service.py:generic-api-key:495
d70796577da75bbc564039071e8e61f0d684a6e2:run_service.py:generic-api-key:494
10 changes: 5 additions & 5 deletions run_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,15 +385,15 @@ def get_service_template(config: OptimusConfig) -> ServiceTemplate:
"hash": "bafybeibiiuhqronhgkxjo7x5xve24lkbqom5rqcjxg7vrl6jwavfyypmhu",

"description": "Optimus",
"image": "https://operate.olas.network/_next/image?url=%2Fimages%2Fprediction-agent.png&w=3840&q=75",
"image": "https://gateway.autonolas.tech/ipfs/bafybeiaakdeconw7j5z76fgghfdjmsr6tzejotxcwnvmp3nroaw3glgyve",
"service_version": 'v0.18.1',
"home_chain_id": "10",
"configurations": {
"1": ConfigurationTemplate(
{
"staking_program_id": "optimus_alpha",
"rpc": config.ethereum_rpc,
"nft": "bafybeig64atqaladigoc3ds4arltdu63wkdrk3gesjfvnfdmz35amv7faq",
"nft": "bafybeiaakdeconw7j5z76fgghfdjmsr6tzejotxcwnvmp3nroaw3glgyve",
"cost_of_bond": COST_OF_BOND,
"threshold": 1,
"use_staking": False,
Expand All @@ -409,7 +409,7 @@ def get_service_template(config: OptimusConfig) -> ServiceTemplate:
{
"staking_program_id": "optimus_alpha",
"rpc": config.optimism_rpc,
"nft": "bafybeig64atqaladigoc3ds4arltdu63wkdrk3gesjfvnfdmz35amv7faq",
"nft": "bafybeiaakdeconw7j5z76fgghfdjmsr6tzejotxcwnvmp3nroaw3glgyve",
"cost_of_bond": COST_OF_BOND_STAKING,
"threshold": 1,
"use_staking": config.use_staking,
Expand All @@ -425,7 +425,7 @@ def get_service_template(config: OptimusConfig) -> ServiceTemplate:
{
"staking_program_id": "optimus_alpha",
"rpc": config.base_rpc,
"nft": "bafybeig64atqaladigoc3ds4arltdu63wkdrk3gesjfvnfdmz35amv7faq",
"nft": "bafybeiaakdeconw7j5z76fgghfdjmsr6tzejotxcwnvmp3nroaw3glgyve",
"cost_of_bond": COST_OF_BOND,
"threshold": 1,
"use_staking": False,
Expand Down Expand Up @@ -465,7 +465,7 @@ def get_erc20_balance(ledger_api: LedgerApi, token: str, account: str) -> int:
return balance

FALLBACK_STAKING_PARAMS = dict(
agent_ids=[25],
agent_ids=[40],
service_registry="0x9338b5153AE39BB89f50468E608eD9d764B755fD", # nosec
staking_token="0xcE11e14225575945b8E6Dc0D4F2dD4C570f79d9f", # nosec
service_registry_token_utility="0xa45E64d13A30a51b91ae0eb182e88a40e9b18eD8", # nosec
Expand Down

0 comments on commit 134cc4d

Please sign in to comment.