olas-operate-middleware 0.10.3__tar.gz → 0.10.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/PKG-INFO +2 -2
  2. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/quickstart/reset_staking.py +2 -1
  3. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/quickstart/stop_service.py +1 -1
  4. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/services/manage.py +6 -2
  5. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/services/protocol.py +3 -3
  6. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/pyproject.toml +2 -2
  7. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/LICENSE +0 -0
  8. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/README.md +0 -0
  9. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/__init__.py +0 -0
  10. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/account/__init__.py +0 -0
  11. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/account/user.py +0 -0
  12. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/bridge/bridge_manager.py +0 -0
  13. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/bridge/providers/lifi_provider.py +0 -0
  14. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/bridge/providers/native_bridge_provider.py +0 -0
  15. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/bridge/providers/provider.py +0 -0
  16. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/bridge/providers/relay_provider.py +0 -0
  17. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/cli.py +0 -0
  18. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/constants.py +0 -0
  19. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/README.md +0 -0
  20. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/__init__.py +0 -0
  21. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/__init__.py +0 -0
  22. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/dual_staking_token/__init__.py +0 -0
  23. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/dual_staking_token/build/DualStakingToken.json +0 -0
  24. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/dual_staking_token/contract.py +0 -0
  25. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/dual_staking_token/contract.yaml +0 -0
  26. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/foreign_omnibridge/__init__.py +0 -0
  27. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/foreign_omnibridge/build/ForeignOmnibridge.json +0 -0
  28. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/foreign_omnibridge/contract.py +0 -0
  29. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/foreign_omnibridge/contract.yaml +0 -0
  30. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/home_omnibridge/__init__.py +0 -0
  31. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/home_omnibridge/build/HomeOmnibridge.json +0 -0
  32. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/home_omnibridge/contract.py +0 -0
  33. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/home_omnibridge/contract.yaml +0 -0
  34. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/l1_standard_bridge/__init__.py +0 -0
  35. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/l1_standard_bridge/build/L1StandardBridge.json +0 -0
  36. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/l1_standard_bridge/contract.py +0 -0
  37. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/l1_standard_bridge/contract.yaml +0 -0
  38. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/l2_standard_bridge/__init__.py +0 -0
  39. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/l2_standard_bridge/build/L2StandardBridge.json +0 -0
  40. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/l2_standard_bridge/contract.py +0 -0
  41. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/l2_standard_bridge/contract.yaml +0 -0
  42. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/mech_activity/__init__.py +0 -0
  43. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/mech_activity/build/MechActivity.json +0 -0
  44. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/mech_activity/contract.py +0 -0
  45. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/mech_activity/contract.yaml +0 -0
  46. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/optimism_mintable_erc20/__init__.py +0 -0
  47. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/optimism_mintable_erc20/build/OptimismMintableERC20.json +0 -0
  48. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/optimism_mintable_erc20/contract.py +0 -0
  49. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/optimism_mintable_erc20/contract.yaml +0 -0
  50. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/requester_activity_checker/__init__.py +0 -0
  51. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/requester_activity_checker/build/RequesterActivityChecker.json +0 -0
  52. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/requester_activity_checker/contract.py +0 -0
  53. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/requester_activity_checker/contract.yaml +0 -0
  54. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/staking_token/__init__.py +0 -0
  55. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/staking_token/build/StakingToken.json +0 -0
  56. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/staking_token/contract.py +0 -0
  57. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/staking_token/contract.yaml +0 -0
  58. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/uniswap_v2_erc20/__init__.py +0 -0
  59. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/uniswap_v2_erc20/build/IUniswapV2ERC20.json +0 -0
  60. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/uniswap_v2_erc20/contract.py +0 -0
  61. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/uniswap_v2_erc20/contract.yaml +0 -0
  62. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/uniswap_v2_erc20/tests/__init__.py +0 -0
  63. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/data/contracts/uniswap_v2_erc20/tests/test_contract.py +0 -0
  64. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/keys.py +0 -0
  65. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/ledger/__init__.py +0 -0
  66. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/ledger/profiles.py +0 -0
  67. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/migration.py +0 -0
  68. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/operate_http/__init__.py +0 -0
  69. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/operate_http/exceptions.py +0 -0
  70. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/operate_types.py +0 -0
  71. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/pearl.py +0 -0
  72. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/quickstart/analyse_logs.py +0 -0
  73. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/quickstart/claim_staking_rewards.py +0 -0
  74. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/quickstart/reset_configs.py +0 -0
  75. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/quickstart/reset_password.py +0 -0
  76. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/quickstart/run_service.py +0 -0
  77. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/quickstart/terminate_on_chain_service.py +0 -0
  78. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/quickstart/utils.py +0 -0
  79. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/resource.py +0 -0
  80. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/services/__init__.py +0 -0
  81. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/services/agent_runner.py +0 -0
  82. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/services/deployment_runner.py +0 -0
  83. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/services/health_checker.py +0 -0
  84. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/services/service.py +0 -0
  85. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/services/utils/__init__.py +0 -0
  86. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/services/utils/mech.py +0 -0
  87. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/services/utils/tendermint.py +0 -0
  88. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/utils/__init__.py +0 -0
  89. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/utils/gnosis.py +0 -0
  90. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/utils/ssl.py +0 -0
  91. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/wallet/__init__.py +0 -0
  92. {olas_operate_middleware-0.10.3 → olas_operate_middleware-0.10.4}/operate/wallet/master.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: olas-operate-middleware
3
- Version: 0.10.3
3
+ Version: 0.10.4
4
4
  Summary:
5
5
  Author: David Vilela
6
6
  Author-email: dvilelaf@gmail.com
@@ -34,7 +34,7 @@ Requires-Dist: open-aea-cli-ipfs (==1.65.0)
34
34
  Requires-Dist: open-aea-ledger-cosmos (==1.65.0)
35
35
  Requires-Dist: open-aea-ledger-ethereum (==1.65.0)
36
36
  Requires-Dist: open-aea-ledger-ethereum-flashbots (==1.65.0)
37
- Requires-Dist: open-autonomy (>=0.20.0,<0.21.0)
37
+ Requires-Dist: open-autonomy (>=0.20.2,<0.21.0)
38
38
  Requires-Dist: psutil (>=5.9.8,<6.0.0)
39
39
  Requires-Dist: pyinstaller (>=6.8.0,<7.0.0)
40
40
  Requires-Dist: requests-toolbelt (==1.0.0)
@@ -137,8 +137,9 @@ def reset_staking(operate: "OperateApp", config_path: str) -> None:
137
137
  config.staking_program_id = None
138
138
  config.store()
139
139
  config = configure_local_config(template, operate)
140
+ service = get_service(manager, template)
140
141
  manager.update(
141
- service_config_id=manager.json[0]["service_config_id"],
142
+ service_config_id=service.service_config_id,
142
143
  service_template=template,
143
144
  )
144
145
  print("\nStaking preference has been reset successfully.")
@@ -58,7 +58,7 @@ def stop_service(operate: "OperateApp", config_path: str) -> None:
58
58
  manager = operate.service_manager()
59
59
  service = get_service(manager, template)
60
60
  manager.stop_service_locally(
61
- service_config_id=service.service_config_id, use_docker=True
61
+ service_config_id=service.service_config_id, use_docker=True, force=True
62
62
  )
63
63
 
64
64
  print()
@@ -2133,7 +2133,11 @@ class ServiceManager:
2133
2133
  return deployment
2134
2134
 
2135
2135
  def stop_service_locally(
2136
- self, service_config_id: str, delete: bool = False, use_docker: bool = False
2136
+ self,
2137
+ service_config_id: str,
2138
+ delete: bool = False,
2139
+ use_docker: bool = False,
2140
+ force: bool = False,
2137
2141
  ) -> Deployment:
2138
2142
  """
2139
2143
  Stop service locally
@@ -2145,7 +2149,7 @@ class ServiceManager:
2145
2149
  service = self.load(service_config_id=service_config_id)
2146
2150
  service.remove_latest_healthcheck()
2147
2151
  deployment = service.deployment
2148
- deployment.stop(use_docker)
2152
+ deployment.stop(use_docker=use_docker, force=force)
2149
2153
  if delete:
2150
2154
  deployment.delete()
2151
2155
  return deployment
@@ -45,7 +45,7 @@ from autonomy.chain.constants import (
45
45
  from autonomy.chain.metadata import publish_metadata
46
46
  from autonomy.chain.service import (
47
47
  get_agent_instances,
48
- get_delployment_payload,
48
+ get_deployment_payload,
49
49
  get_reuse_multisig_payload,
50
50
  get_service_info,
51
51
  get_token_deposit_amount,
@@ -1331,7 +1331,7 @@ class EthSafeTxBuilder(_ChainUtil):
1331
1331
  GNOSIS_SAFE_SAME_ADDRESS_MULTISIG_CONTRACT.name
1332
1332
  ).contracts[self.chain_type]
1333
1333
  else:
1334
- deployment_payload = get_delployment_payload()
1334
+ deployment_payload = get_deployment_payload()
1335
1335
  gnosis_safe_multisig = ContractConfigs.get(
1336
1336
  GNOSIS_SAFE_PROXY_FACTORY_CONTRACT.name
1337
1337
  ).contracts[self.chain_type]
@@ -1381,7 +1381,7 @@ class EthSafeTxBuilder(_ChainUtil):
1381
1381
  GNOSIS_SAFE_SAME_ADDRESS_MULTISIG_CONTRACT.name
1382
1382
  ).contracts[self.chain_type]
1383
1383
  else:
1384
- deployment_payload = get_delployment_payload()
1384
+ deployment_payload = get_deployment_payload()
1385
1385
  gnosis_safe_multisig = ContractConfigs.get(
1386
1386
  GNOSIS_SAFE_PROXY_FACTORY_CONTRACT.name
1387
1387
  ).contracts[self.chain_type]
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "olas-operate-middleware"
3
- version = "0.10.3"
3
+ version = "0.10.4"
4
4
  description = ""
5
5
  authors = ["David Vilela <dvilelaf@gmail.com>", "Viraj Patel <vptl185@gmail.com>"]
6
6
  readme = "README.md"
@@ -19,7 +19,7 @@ operate = "operate.cli:main"
19
19
 
20
20
  [tool.poetry.dependencies]
21
21
  python = "<3.12,>=3.9"
22
- open-autonomy = "^0.20.0"
22
+ open-autonomy = "^0.20.2"
23
23
  open-aea-ledger-cosmos = "==1.65.0"
24
24
  open-aea-ledger-ethereum = "==1.65.0"
25
25
  open-aea-ledger-ethereum-flashbots = "==1.65.0"