olas-operate-middleware 0.6.2__py3-none-any.whl → 0.7.0__py3-none-any.whl
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.
- {olas_operate_middleware-0.6.2.dist-info → olas_operate_middleware-0.7.0.dist-info}/METADATA +3 -3
- {olas_operate_middleware-0.6.2.dist-info → olas_operate_middleware-0.7.0.dist-info}/RECORD +20 -19
- operate/bridge/{bridge.py → bridge_manager.py} +99 -62
- operate/bridge/providers/{lifi_bridge_provider.py → lifi_provider.py} +94 -81
- operate/bridge/providers/native_bridge_provider.py +124 -115
- operate/bridge/providers/{bridge_provider.py → provider.py} +132 -150
- operate/bridge/providers/relay_provider.py +442 -0
- operate/cli.py +72 -7
- operate/constants.py +1 -0
- operate/ledger/profiles.py +37 -1
- operate/quickstart/reset_configs.py +109 -0
- operate/quickstart/run_service.py +31 -5
- operate/quickstart/utils.py +6 -2
- operate/services/agent_runner.py +168 -91
- operate/services/manage.py +41 -11
- operate/services/service.py +10 -2
- operate/services/utils/mech.py +6 -4
- operate/data/contracts/service_staking_token/contract.yaml +0 -23
- {olas_operate_middleware-0.6.2.dist-info → olas_operate_middleware-0.7.0.dist-info}/LICENSE +0 -0
- {olas_operate_middleware-0.6.2.dist-info → olas_operate_middleware-0.7.0.dist-info}/WHEEL +0 -0
- {olas_operate_middleware-0.6.2.dist-info → olas_operate_middleware-0.7.0.dist-info}/entry_points.txt +0 -0
operate/services/utils/mech.py
CHANGED
|
@@ -26,7 +26,7 @@ from aea_ledger_ethereum import Web3
|
|
|
26
26
|
|
|
27
27
|
from operate.constants import MECH_MARKETPLACE_JSON_URL
|
|
28
28
|
from operate.operate_types import Chain
|
|
29
|
-
from operate.quickstart.utils import print_section
|
|
29
|
+
from operate.quickstart.utils import print_section
|
|
30
30
|
from operate.services.protocol import EthSafeTxBuilder
|
|
31
31
|
from operate.services.service import Service
|
|
32
32
|
from operate.utils.gnosis import SafeOperation
|
|
@@ -74,9 +74,11 @@ def deploy_mech(sftxb: EthSafeTxBuilder, service: Service) -> Tuple[str, str]:
|
|
|
74
74
|
mech_type
|
|
75
75
|
]
|
|
76
76
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
77
|
+
mech_request_price = int(
|
|
78
|
+
service.env_variables.get("MECH_REQUEST_PRICE", {}).get(
|
|
79
|
+
"value", 10000000000000000
|
|
80
|
+
)
|
|
81
|
+
)
|
|
80
82
|
contract = sftxb.ledger_api.api.eth.contract(
|
|
81
83
|
address=Web3.to_checksum_address(mech_marketplace_address), abi=abi
|
|
82
84
|
)
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
name: service_staking_token
|
|
2
|
-
author: valory
|
|
3
|
-
version: 0.1.0
|
|
4
|
-
type: contract
|
|
5
|
-
description: Service staking token contract
|
|
6
|
-
license: Apache-2.0
|
|
7
|
-
aea_version: '>=1.0.0, <2.0.0'
|
|
8
|
-
fingerprint:
|
|
9
|
-
__init__.py: bafybeid3wfzglolebuo6jrrsopswzu4lk77bm76mvw3euizlsjtnt3wmgu
|
|
10
|
-
build/ServiceStakingToken.json: bafybeiclsckyk2kkuwhrmifupugg7ixj2hpwhd3mjghwgcdlrjqbwafwym
|
|
11
|
-
contract.py: bafybeiff62bquzeisbd6iptqdjetrhlkt2ut5d7j6md2kqinrqgmbveceu
|
|
12
|
-
fingerprint_ignore_patterns: []
|
|
13
|
-
contracts: []
|
|
14
|
-
class_name: ServiceStakingTokenContract
|
|
15
|
-
contract_interface_paths:
|
|
16
|
-
ethereum: build/ServiceStakingToken.json
|
|
17
|
-
dependencies:
|
|
18
|
-
open-aea-ledger-ethereum:
|
|
19
|
-
version: ==1.42.0
|
|
20
|
-
open-aea-test-autonomy:
|
|
21
|
-
version: ==0.13.6
|
|
22
|
-
web3:
|
|
23
|
-
version: <7,>=6.0.0
|
|
File without changes
|
|
File without changes
|
{olas_operate_middleware-0.6.2.dist-info → olas_operate_middleware-0.7.0.dist-info}/entry_points.txt
RENAMED
|
File without changes
|