Skip to content
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/health endpoint from v20 #364

Merged
merged 17 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions packages/packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
"contract/valory/staking_token/0.1.0": "bafybeiep4r6qyilbfgzdvx6t7zvpgaioxqktmxm7puwtnbpb2ftlib43gy",
"contract/valory/relayer/0.1.0": "bafybeicawmds6czx7db2lcktvexwrp245jpekgulndtos5s5zdid3ilvq4",
"skill/valory/market_manager_abci/0.1.0": "bafybeicztk62pslofv6ui3aw3giw2tnvlfwfmatqbyvvzv4ampneu6isqa",
"skill/valory/decision_maker_abci/0.1.0": "bafybeiffnd7vlryxtfenwcbbvx7qzszkko4oop2n2e6jg2ahdm3zholxsq",
"skill/valory/trader_abci/0.1.0": "bafybeigygq76epkhl67uuvrjlrall65r4ilcwna2jokgjunrzg45gf2ihy",
"skill/valory/tx_settlement_multiplexer_abci/0.1.0": "bafybeie4rfme364fp2m3oo447622mc75tfk4hqftiebau2tpycftd5iffe",
"skill/valory/decision_maker_abci/0.1.0": "bafybeie5mnfvqj3aim33gh55sjh6k3n5wwcxn6e7qszmzie3rg4uuxoq3e",
"skill/valory/trader_abci/0.1.0": "bafybeidenttu34mxf73ueng7wvqrtc73ro265i4vwso65ieusp7ei3r4nu",
"skill/valory/tx_settlement_multiplexer_abci/0.1.0": "bafybeic6jixxyxa46rrhq75z6yunv265vruqeaban6tix2xsugwi2ttnh4",
"skill/valory/staking_abci/0.1.0": "bafybeictd5pxhscuhqntvctb7l5lfjausxt2m22rg5mkaiuj4cwwcxpvne",
"skill/valory/check_stop_trading_abci/0.1.0": "bafybeifmi64g4ki6zwbcncb35ovhd4sllw4xrszrkturpeqdhgf5bkiini",
"agent/valory/trader/0.1.0": "bafybeibhv5pummw2ngrag6sk6a7phnffp2dfsswhvtxayzizqthea52kru",
"service/valory/trader/0.1.0": "bafybeiey356lnc35rxky3gvikcpcwerdjycyb6nmrw4qlpucar3ykd2jmm",
"service/valory/trader_pearl/0.1.0": "bafybeiezfz7h5g26qimscimnawyeeo3qwgm6smszc7jgwrxest7bgqoq5q"
"skill/valory/check_stop_trading_abci/0.1.0": "bafybeib75qrimmvensqmskdp5kzki5ijjwolqk2ojekeommakaf64mzn54",
"agent/valory/trader/0.1.0": "bafybeihzj2misk5stgbayf6ohc7ajpziha3fviryhj3ldwuhrcs77a52re",
"service/valory/trader/0.1.0": "bafybeia763ce4ln2hr4d6jqnmiqvpvpmtmna57xtstwsjit4s3kmcwugdy",
"service/valory/trader_pearl/0.1.0": "bafybeig7pxsh7ncvlqn53detpd74wat6ytqbrxjj227ufzx3higwdls2ny"
},
"third_party": {
"protocol/open_aea/signing/1.0.0": "bafybeihv62fim3wl2bayavfcg3u5e5cxu3b7brtu4cn5xoxd6lqwachasi",
Expand Down
9 changes: 5 additions & 4 deletions packages/valory/agents/trader/aea-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ skills:
- valory/reset_pause_abci:0.1.0:bafybeigrdlxed3xlsnxtjhnsbl3cojruihxcqx4jxhgivkd5i2fkjncgba
- valory/termination_abci:0.1.0:bafybeib5l7jhew5ic6iq24dd23nidcoimzqkrk556gqywhoziatj33zvwm
- valory/transaction_settlement_abci:0.1.0:bafybeic7q7recyka272udwcupblwbkc3jkodgp74fvcdxb7urametg5dae
- valory/tx_settlement_multiplexer_abci:0.1.0:bafybeie4rfme364fp2m3oo447622mc75tfk4hqftiebau2tpycftd5iffe
- valory/tx_settlement_multiplexer_abci:0.1.0:bafybeic6jixxyxa46rrhq75z6yunv265vruqeaban6tix2xsugwi2ttnh4
- valory/market_manager_abci:0.1.0:bafybeicztk62pslofv6ui3aw3giw2tnvlfwfmatqbyvvzv4ampneu6isqa
- valory/decision_maker_abci:0.1.0:bafybeiffnd7vlryxtfenwcbbvx7qzszkko4oop2n2e6jg2ahdm3zholxsq
- valory/trader_abci:0.1.0:bafybeigygq76epkhl67uuvrjlrall65r4ilcwna2jokgjunrzg45gf2ihy
- valory/decision_maker_abci:0.1.0:bafybeie5mnfvqj3aim33gh55sjh6k3n5wwcxn6e7qszmzie3rg4uuxoq3e
- valory/trader_abci:0.1.0:bafybeidenttu34mxf73ueng7wvqrtc73ro265i4vwso65ieusp7ei3r4nu
- valory/staking_abci:0.1.0:bafybeictd5pxhscuhqntvctb7l5lfjausxt2m22rg5mkaiuj4cwwcxpvne
- valory/check_stop_trading_abci:0.1.0:bafybeifmi64g4ki6zwbcncb35ovhd4sllw4xrszrkturpeqdhgf5bkiini
- valory/check_stop_trading_abci:0.1.0:bafybeib75qrimmvensqmskdp5kzki5ijjwolqk2ojekeommakaf64mzn54
- valory/mech_interact_abci:0.1.0:bafybeid6m3i5ofq7vuogqapdnoshhq7mswmudhvfcr2craw25fdwtoe3lm
customs:
- valory/mike_strat:0.1.0:bafybeihjiol7f4ch4piwfikurdtfwzsh6qydkbsztpbwbwb2yrqdqf726m
Expand Down Expand Up @@ -245,6 +245,7 @@ models:
priority_mech_service_id: ${int:0}
requester_staking_instance_address: ${str:0x0000000000000000000000000000000000000000}
response_timeout: ${int:300}
expected_mech_response_time: 300
benchmarking_mode:
args:
enabled: ${bool:false}
Expand Down
6 changes: 5 additions & 1 deletion packages/valory/services/trader/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license: Apache-2.0
fingerprint:
README.md: bafybeigtuothskwyvrhfosps2bu6suauycolj67dpuxqvnicdrdu7yhtvq
fingerprint_ignore_patterns: []
agent: valory/trader:0.1.0:bafybeibhv5pummw2ngrag6sk6a7phnffp2dfsswhvtxayzizqthea52kru
agent: valory/trader:0.1.0:bafybeihzj2misk5stgbayf6ohc7ajpziha3fviryhj3ldwuhrcs77a52re
number_of_agents: 4
deployment:
agent:
Expand Down Expand Up @@ -145,6 +145,7 @@ type: skill
rebet_chance: ${REBET_CHANCE:float:0.6}
mech_interaction_sleep_time: ${MECH_INTERACTION_SLEEP_TIME:int:10}
policy_store_update_offset: ${POLICY_STORE_UPDATE_OFFSET:int:259200}
expected_mech_response_time: ${EXPECTED_MECH_RESPONSE_TIME:int:300}
Adamantios marked this conversation as resolved.
Show resolved Hide resolved
benchmark_tool: &id004
args:
log_dir: ${LOG_DIR:str:/benchmarks}
Expand Down Expand Up @@ -368,6 +369,7 @@ type: skill
rebet_chance: ${REBET_CHANCE:float:0.6}
mech_interaction_sleep_time: ${MECH_INTERACTION_SLEEP_TIME:int:10}
policy_store_update_offset: ${POLICY_STORE_UPDATE_OFFSET:int:259200}
expected_mech_response_time: ${EXPECTED_MECH_RESPONSE_TIME:int:300}
benchmark_tool: *id004
acc_info_fields: *id005
network_subgraph: *id006
Expand Down Expand Up @@ -485,6 +487,7 @@ type: skill
rebet_chance: ${REBET_CHANCE:float:0.6}
mech_interaction_sleep_time: ${MECH_INTERACTION_SLEEP_TIME:int:10}
policy_store_update_offset: ${POLICY_STORE_UPDATE_OFFSET:int:259200}
expected_mech_response_time: ${EXPECTED_MECH_RESPONSE_TIME:int:300}
benchmark_tool: *id004
acc_info_fields: *id005
network_subgraph: *id006
Expand Down Expand Up @@ -602,6 +605,7 @@ type: skill
rebet_chance: ${REBET_CHANCE:float:0.6}
mech_interaction_sleep_time: ${MECH_INTERACTION_SLEEP_TIME:int:10}
policy_store_update_offset: ${POLICY_STORE_UPDATE_OFFSET:int:259200}
expected_mech_response_time: ${EXPECTED_MECH_RESPONSE_TIME:int:300}
benchmark_tool: *id004
acc_info_fields: *id005
network_subgraph: *id006
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/services/trader_pearl/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license: Apache-2.0
fingerprint:
README.md: bafybeibg7bdqpioh4lmvknw3ygnllfku32oca4eq5pqtvdrdsgw6buko7e
fingerprint_ignore_patterns: []
agent: valory/trader:0.1.0:bafybeibhv5pummw2ngrag6sk6a7phnffp2dfsswhvtxayzizqthea52kru
agent: valory/trader:0.1.0:bafybeihzj2misk5stgbayf6ohc7ajpziha3fviryhj3ldwuhrcs77a52re
number_of_agents: 1
deployment:
agent:
Expand Down
18 changes: 17 additions & 1 deletion packages/valory/skills/check_stop_trading_abci/rounds.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

from abc import ABC
from enum import Enum
from typing import Dict, Set, Type
from typing import Dict, Optional, Set, Tuple, Type

from packages.valory.skills.abstract_round_abci.base import (
AbciApp,
Expand Down Expand Up @@ -61,6 +61,10 @@ def _get_deserialized(self, key: str) -> DeserializedCollection:
serialized = self.db.get_strict(key)
return CollectionRound.deserialize_collection(serialized)

def is_staking_kpi_met(self) -> bool:
"""Get the status of the staking kpi."""
return bool(self.db.get("is_staking_kpi_met", False))


class CheckStopTradingRound(VotingRound):
"""A round for checking stop trading conditions."""
Expand All @@ -73,6 +77,18 @@ class CheckStopTradingRound(VotingRound):
no_majority_event = Event.NO_MAJORITY
collection_key = get_name(SynchronizedData.participant_to_votes)

def end_block(self) -> Optional[Tuple[BaseSynchronizedData, Enum]]:
"""Process the end of the block."""
res = super().end_block()

if res is None:
return None

is_staking_kpi_met = self.positive_vote_threshold_reached
self.synchronized_data.update(is_staking_kpi_met=is_staking_kpi_met)

return res


class FinishedCheckStopTradingRound(DegenerateRound, ABC):
"""A round that represents check stop trading has finished."""
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/skills/check_stop_trading_abci/skill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fingerprint:
handlers.py: bafybeiard64fwxib3rtyp67ymhf222uongcyqhfhdyttpsyqkmyh5ajipu
models.py: bafybeigwdhgianx5rizlb7ebmm6pdtkixh4uehbvu5c24ysvyvojs74dfq
payloads.py: bafybeidh5bqywun4chrbsci2xbcrnnzuys5sswxwbxq3yl2ksawi3xsi5q
rounds.py: bafybeigqkzikghmzjj2ceqrnvmiiagtris3livgvn6r5z5ossk73xcfqfy
rounds.py: bafybeift7b2afck4e5so2cpgyoywa76t6el6d4qwfoitvfdjw6kgf4fwie
tests/__init__.py: bafybeihv2cjk4va5bc5ncqtppqg2xmmxcro34bma36trtvk32gtmhdycxu
tests/test_dialogues.py: bafybeia5ac27w7ijx2nyx5dqyrnv4troo4572gjq7nrcxdncexoxucnqti
tests/test_handlers.py: bafybeigpmtx2hyunzn6nxk2x4bvvybek7jvuhbk34fqlj7fgfsszcoqhxy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@
remove_fraction_wei,
)
from packages.valory.skills.decision_maker_abci.models import MultisendBatch
from packages.valory.skills.decision_maker_abci.payloads import MultisigTxPayload
from packages.valory.skills.decision_maker_abci.payloads import (
BetPlacementPayload,
MultisigTxPayload,
)
from packages.valory.skills.decision_maker_abci.states.bet_placement import (
BetPlacementRound,
)
Expand Down Expand Up @@ -209,12 +212,12 @@ def async_act(self) -> Generator:
if self.benchmarking_mode.enabled:
# simulate the bet placement
with self.context.benchmark_tool.measure(self.behaviour_id).local():
payload = MultisigTxPayload(agent, None, None, True)
payload = BetPlacementPayload(agent, None, None, True, self.wallet_balance)
yield from self.finish_behaviour(payload)

with self.context.benchmark_tool.measure(self.behaviour_id).local():
yield from self.wait_for_condition_with_sleep(self.check_balance)
tx_submitter = betting_tx_hex = mocking_mode = None
tx_submitter = betting_tx_hex = mocking_mode = wallet_balance = None

can_exchange = (
self.is_wxdai
Expand All @@ -227,9 +230,14 @@ def async_act(self) -> Generator:
if self.token_balance >= self.investment_amount or can_exchange:
tx_submitter = self.matching_round.auto_round_id()
betting_tx_hex = yield from self._prepare_safe_tx()

payload = MultisigTxPayload(
agent, tx_submitter, betting_tx_hex, mocking_mode
wallet_balance = self.wallet_balance

payload = BetPlacementPayload(
agent,
tx_submitter,
betting_tx_hex,
mocking_mode,
wallet_balance,
)

yield from self.finish_behaviour(payload)
Original file line number Diff line number Diff line change
Expand Up @@ -485,10 +485,12 @@ def async_act(self) -> Generator:
bet_amount = None
next_mock_data_row = None
bets_hash = None
decision_received_timestamp = None
if prediction_response is not None and prediction_response.vote is not None:
is_profitable, bet_amount = yield from self._is_profitable(
prediction_response
)
decision_received_timestamp = self.synced_timestamp
if is_profitable:
self.store_bets()
bets_hash = self.hash_stored_bets()
Expand Down Expand Up @@ -516,6 +518,7 @@ def async_act(self) -> Generator:
prediction_response.confidence if prediction_response else None,
bet_amount,
next_mock_data_row,
decision_received_timestamp,
)

yield from self.finish_behaviour(payload)
Original file line number Diff line number Diff line change
Expand Up @@ -376,5 +376,6 @@ def async_act(self) -> Generator:
tx_submitter=SubscriptionRound.auto_round_id(),
tx_hash=payload_data,
agreement_id=self.agreement_id,
wallet_balance=self.wallet_balance,
)
yield from self.finish_behaviour(payload)
26 changes: 26 additions & 0 deletions packages/valory/skills/decision_maker_abci/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,10 @@ def _handle_get_health(
is_transitioning_fast = None
current_round = None
rounds = None
has_required_funds = self._check_required_funds()
is_receiving_mech_responses = self._check_is_receiving_mech_responses()
is_staking_kpi_met = self.synchronized_data.is_staking_kpi_met
staking_status = self.synchronized_data.service_staking_state.name.lower()

round_sequence = cast(SharedState, self.context.state).round_sequence

Expand Down Expand Up @@ -299,6 +303,12 @@ def _handle_get_health(
"reset_pause_duration": self.context.params.reset_pause_duration,
"rounds": rounds,
"is_transitioning_fast": is_transitioning_fast,
"agent_health": {
"is_making_on_chain_transactions": is_receiving_mech_responses,
"is_staking_kpi_met": is_staking_kpi_met,
"has_required_funds": has_required_funds,
"staking_status": staking_status,
},
}

self._send_ok_response(http_msg, http_dialogue, data)
Expand Down Expand Up @@ -337,3 +347,19 @@ def _send_not_found_response(
# Send response
self.context.logger.info("Responding with: {}".format(http_response))
self.context.outbox.put_message(message=http_response)

def _check_required_funds(self) -> bool:
"""Check the agent has enough funds."""
return (
self.synchronized_data.wallet_balance
> self.context.params.agent_balance_threshold
)

def _check_is_receiving_mech_responses(self) -> bool:
"""Check the agent is making on chain transactions."""
# Checks the most recent decision receive timestamp, which can only be returned after making a mech call
# (an on chain transaction)
return (
self.synchronized_data.decision_receive_timestamp
< int(datetime.utcnow().timestamp()) - self.context.params.expected_mech_response_time
)
3 changes: 3 additions & 0 deletions packages/valory/skills/decision_maker_abci/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,9 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
self.policy_store_update_offset = self._ensure(
"policy_store_update_offset", kwargs, int
)
self.expected_mech_response_time = self._ensure(
"expected_mech_response_time", kwargs, int
)
super().__init__(*args, **kwargs)

@property
Expand Down
9 changes: 9 additions & 0 deletions packages/valory/skills/decision_maker_abci/payloads.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ class DecisionReceivePayload(UpdateBetsPayload):
confidence: Optional[float]
bet_amount: Optional[int]
next_mock_data_row: Optional[int]
decision_received_timestamp: Optional[int]


@dataclass(frozen=True)
Expand Down Expand Up @@ -77,6 +78,7 @@ class SubscriptionPayload(MultisigTxPayload):
"""Represents a transaction payload for subscribing."""

agreement_id: str = ""
wallet_balance: Optional[int] = None


@dataclass(frozen=True)
Expand Down Expand Up @@ -108,3 +110,10 @@ class ToolSelectionPayload(BaseTxPayload):
policy: Optional[str]
utilized_tools: Optional[str]
selected_tool: Optional[str]


@dataclass(frozen=True)
class BetPlacementPayload(MultisigTxPayload):
"""Represents a transaction payload for placing a bet."""

wallet_balance: Optional[int] = None
23 changes: 13 additions & 10 deletions packages/valory/skills/decision_maker_abci/skill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ fingerprint:
__init__.py: bafybeih563ujnigeci2ldzh7hakbau6a222vsed7leg3b7lq32vcn3nm4a
behaviours/__init__.py: bafybeih6ddz2ocvm6x6ytvlbcz6oi4snb5ee5xh5h65nq4w2qf7fd7zfky
behaviours/base.py: bafybeidjmsljdaw7y5chzzkub63mzf5ydpauch5ugojds5jwpeyvovkq3y
behaviours/bet_placement.py: bafybeihmia64t2payxfqcnfdqg675ui2yp3hnyfwb2xhj2hn7wl237b4re
behaviours/bet_placement.py: bafybeif3blpj45w4y2ppw5lxkxndsc5crhghevagifuh4fcoofej36bq34
behaviours/blacklisting.py: bafybeicqwj7o4l7qcym5xjqwq45jngqkhyf44mn6qise2ysyfnlnwz7pdy
behaviours/check_benchmarking.py: bafybeiao2lyj7apezkqrpgsyzb3dwvrdgsrgtprf6iuhsmlsufvxfl5bci
behaviours/claim_subscription.py: bafybeigbqkhc6mb73rbwaks32tfiqx6u2xza43uiy6rvbtrnqd6m4fru3e
behaviours/decision_receive.py: bafybeifb7aeu6g4xzmiyfc5ltipigsikfot3foux55gw5oaz2o5u5a4ume
behaviours/decision_receive.py: bafybeigodaemp7zzcnhbeyozagy4refbrj4k5vd4x4cp7p7ekvufwu4byq
behaviours/decision_request.py: bafybeiabjzzcwcfbfmtoftjhewmkgbhxfnigbc5cwmmxl6cob5gv64jwwa
behaviours/handle_failed_tx.py: bafybeidxpc6u575ymct5tdwutvzov6zqfdoio5irgldn3fw7q3lg36mmxm
behaviours/order_subscription.py: bafybeicrmdvhci5prfldvuf3bclbbqi6j7lpv6hmphw3qwgmkmwat3od44
behaviours/order_subscription.py: bafybeib3maqohhx35wzryy4otdcjp5thkr4sbp27ksvwidy3pwm444itra
behaviours/randomness.py: bafybeiaoj3awyyg2onhpsdsn3dyczs23gr4smuzqcbw3e5ocljwxswjkce
behaviours/reedem.py: bafybeiaxwp4lx62owcaqfp6xcqh6567f5yvwnl4rage2f5hmq4nltkzjjy
behaviours/round_behaviour.py: bafybeih63hpia2bwwzu563hxs5yd3t5ycvxvkfnhvxbzghbyy3mw3xjl3i
Expand All @@ -29,25 +29,25 @@ fingerprint:
behaviours/tool_selection.py: bafybeienlxcgjs3ogyofli3d7q3p5rst3mcxxcnwqf7qolqjeefjtixeke
dialogues.py: bafybeigpwuzku3we7axmxeamg7vn656maww6emuztau5pg3ebsoquyfdqm
fsm_specification.yaml: bafybeiabt2fonv63hozgr7bt4d5auom76iufzh6etpnmbwekktckz7644a
handlers.py: bafybeigod6gbjrxy4mbmulbzsbokeaoycoqys64vqtxnumishfukzf73za
handlers.py: bafybeiafuc7vtyhrv2phep56maadpd4lubipdzw2sszv62r2tz7hzjmsdi
io_/__init__.py: bafybeifxgmmwjqzezzn3e6keh2bfo4cyo7y5dq2ept3stfmgglbrzfl5rq
io_/loader.py: bafybeih3sdsx5dhe4kzhtoafexjgkutsujwqy3zcdrlrkhtdks45bc7exa
models.py: bafybeifhmwxoix5fqka4phtmv6324osei52zwirg3ogziondvlq33brnby
payloads.py: bafybeicloiy4ax7dlipwp4czlueflgjgtlev4a6vhn2m7ztoehnemiiko4
models.py: bafybeibxobygshi3pjfodt526qzmlgfefk4hs4vkytngv2bbcedt2mwduq
payloads.py: bafybeiflpde45x6zbthxv7c6p6kasju6j2ueqinr66gappc52gwz54vh5e
policy.py: bafybeihlzs4o5e7yfmfzcvvrzkf4bhxfsg5gxnzsrpepwgfugh45gafye4
redeem_info.py: bafybeifiiix4gihfo4avraxt34sfw35v6dqq45do2drrssei2shbps63mm
rounds.py: bafybeihczrvkid4lqoai7myqqs4f3g5diqsnjotxtqhxhm5c7oowzifbqy
states/__init__.py: bafybeid23llnyp6j257dluxmrnztugo5llsrog7kua53hllyktz4dqhqoy
states/base.py: bafybeicrzw6p4dq52adkdjlduplt3expzajqmd3nkcpsw5yalfc3dwv75q
states/bet_placement.py: bafybeibalhxhp2c4oljmiwqi6ds3g36fgtabmf42mb5sgq6z22znrcbhda
states/base.py: bafybeihjq3t43od4sf64rtsuwkrzrjqpngf3ekbefwyeoax5g6eg5sal2m
states/bet_placement.py: bafybeih5eopyxubczys5u5t3bdxbxpc7mmfdyqrpqsbm2uha5jc2phza4i
states/blacklisting.py: bafybeiapelgjhbjjn4uq4z5gspyirqzwzgccg5anktrp5kxdwamfnfw5mi
states/check_benchmarking.py: bafybeiabv6pq7q45jd3nkor5afmlycqgec5ctuwcfbdukkjjm4imesv4ni
states/claim_subscription.py: bafybeiampifhdoztggwj6gthl2hfzecmjcwnm6nic2o47q4je7j4x3ujne
states/decision_receive.py: bafybeicr7bxjbgzo4thqlsczsyebabhplfztkd3c3og3wm6cxhv56pad5q
states/decision_receive.py: bafybeifit7auc4onoxjwh2xo4rjcxsbjgthbllnhnlymm2sikf6rspej24
states/decision_request.py: bafybeiarv3r5j7cfvxmudki2llbdl2pvf24p5mvsva6bdgrylnwdyag5xy
states/final_states.py: bafybeicjrrojo3gmfaxzicwloyorlnqgzl6a2avevo4nvhoh424zwzmbti
states/handle_failed_tx.py: bafybeihewm2vernvhktuorljdupjqcg2p5vs6wvsira2d62wkoyo5xlzjm
states/order_subscription.py: bafybeidrcef2op3nhq4tjgri3ct5hfhmc22xw2ep6dk4ro6tg7ob6cmioa
states/order_subscription.py: bafybeihl3pwrbccaitiukbigygd5u3weyih34pvzql3c6n5k7gjj47f2be
states/randomness.py: bafybeiceoo4nx3t4dofpwczw3v5mclramwmzpwjs6hv7l56arodrjx4l5u
states/redeem.py: bafybeica6cn4xg7shea2wjhbqnddgxe5zao2hkmceltze7qknxdhtsoaxe
states/sampling.py: bafybeihriyyskmlupjiwytx2pdpftms7plkjku5bip64c3ztx7oi3n43ci
Expand Down Expand Up @@ -104,6 +104,7 @@ skills:
- valory/market_manager_abci:0.1.0:bafybeicztk62pslofv6ui3aw3giw2tnvlfwfmatqbyvvzv4ampneu6isqa
- valory/transaction_settlement_abci:0.1.0:bafybeic7q7recyka272udwcupblwbkc3jkodgp74fvcdxb7urametg5dae
- valory/mech_interact_abci:0.1.0:bafybeid6m3i5ofq7vuogqapdnoshhq7mswmudhvfcr2craw25fdwtoe3lm
- valory/staking_abci:0.1.0:bafybeictd5pxhscuhqntvctb7l5lfjausxt2m22rg5mkaiuj4cwwcxpvne
behaviours:
main:
args: {}
Expand Down Expand Up @@ -314,6 +315,8 @@ models:
priority_mech_service_id: 0
requester_staking_instance_address: '0x0000000000000000000000000000000000000000'
response_timeout: 300
agent_balance_threshold: 10000000000000000
expected_mech_response_time: 300
class_name: DecisionMakerParams
benchmarking_mode:
args:
Expand Down
Loading