name: mech author: valory version: 0.1.0 description: A decentralised task execution engine. aea_version: '>=1.0.0, <2.0.0' license: Apache-2.0 fingerprint: README.md: bafybeif7ia4jdlazy6745ke2k2x5yoqlwsgwr6sbztbgqtwvs3ndm2p7ba fingerprint_ignore_patterns: [] agent: valory/mech:0.1.0:bafybeih6jyscm6hkfod3jbprtmosn5tgb77eeo25eak276wgc2wnvr3s4q number_of_agents: 1 deployment: agent: ports: 0: 8000: 8000 1: 8001: 8000 2: 8002: 8000 3: 8003: 8000 --- public_id: valory/mech_abci:0.1.0 type: skill 0: models: params: args: gas_params: ${GAS_PARAMS:dict:{"gas_price":null, "max_fee_per_gas":null, "max_priority_fee_per_gas":null}} multisend_address: ${MULTISEND_ADDRESS:str:0xA238CBeb142c10Ef7Ad8442C6D1f9E89e07e7761} on_chain_service_id: ${ON_CHAIN_SERVICE_ID:int:null} reset_pause_duration: ${RESET_PAUSE_DURATION:int:10} round_timeout_seconds: ${ROUND_TIMEOUT:float:150.0} use_polling: ${USE_POLLING:bool:false} service_registry_address: ${SERVICE_REGISTRY_ADDRESS:str:0x0000000000000000000000000000000000000000} setup: &id001 all_participants: ${ALL_PARTICIPANTS:list:[]} safe_contract_address: ${SAFE_CONTRACT_ADDRESS:str:0x0000000000000000000000000000000000000000} consensus_threshold: ${CONSENSUS_THRESHOLD:int:null} share_tm_config_on_startup: ${USE_ACN:bool:false} tendermint_com_url: ${TENDERMINT_COM_URL:str:http://localhost:8080} tendermint_url: ${TENDERMINT_URL:str:http://localhost:26657} tendermint_p2p_url: ${TM_P2P_ENDPOINT_NODE_0:str:node0:26656} termination_sleep: ${TERMINATION_SLEEP:int:900} use_termination: ${USE_TERMINATION:bool:false} manual_gas_limit: ${MANUAL_GAS_LIMIT:int:1000000} reset_period_count: ${RESET_PERIOD_COUNT:int:1000} service_endpoint_base: ${SERVICE_ENDPOINT_BASE:str:https://dummy_service.autonolas.tech/} use_slashing: ${USE_SLASHING:bool:false} termination_from_block: ${TERMINATION_FROM_BLOCK:int:0} slash_cooldown_hours: ${SLASH_COOLDOWN_HOURS:int:3} mech_marketplace_address: ${MECH_MARKETPLACE_ADDRESS:str:0x0000000000000000000000000000000000000000} slash_threshold_amount: ${SLASH_THRESHOLD_AMOUNT:int:10000000000000000} light_slash_unit_amount: ${LIGHT_SLASH_UNIT_AMOUNT:int:5000000000000000} serious_slash_unit_amount: ${SERIOUS_SLASH_UNIT_AMOUNT:int:8000000000000000} complementary_service_metadata_address: ${COMPLEMENTARY_SERVICE_METADATA_ADDRESS:str:0x0598081D48FB80B0A7E52FAD2905AE9beCd6fC69} metadata_hash: ${METADATA_HASH:str:f01701220caa53607238e340da63b296acab232c18a48e954f0af6ff2b835b2d93f1962f0} profit_split_balance: ${PROFIT_SPLIT_BALANCE:int:100} hash_checkpoint_address: ${CHECKPOINT_ADDRESS:str:0x0000000000000000000000000000000000000000} mech_to_max_delivery_rate: ${MECH_TO_MAX_DELIVERY_RATE:dict:{}} mech_to_config: ${MECH_TO_CONFIG:dict:{}} agent_funding_amount: ${AGENT_FUNDING_AMOUNT:int:200000000000000000} minimum_agent_balance: ${MINIMUM_AGENT_BALANCE:int:100000000000000000} mech_staking_instance_address: ${MECH_STAKING_INSTANCE_ADDRESS:str:0x0000000000000000000000000000000000000000} service_owner_share: ${SERVICE_SHARE:int:0} default_chain_id: ${DEFAULT_CHAIN_ID:str:gnosis} 1: models: params: args: gas_params: ${GAS_PARAMS:dict:{"gas_price":null, "max_fee_per_gas":null, "max_priority_fee_per_gas":null}} multisend_address: ${MULTISEND_ADDRESS:str:0xA238CBeb142c10Ef7Ad8442C6D1f9E89e07e7761} on_chain_service_id: ${ON_CHAIN_SERVICE_ID:int:null} reset_pause_duration: ${RESET_PAUSE_DURATION:int:10} manual_gas_limit: ${MANUAL_GAS_LIMIT:int:1000000} round_timeout_seconds: ${ROUND_TIMEOUT:float:150.0} use_polling: ${USE_POLLING:bool:false} service_registry_address: ${SERVICE_REGISTRY_ADDRESS:str:0x0000000000000000000000000000000000000000} setup: *id001 share_tm_config_on_startup: ${USE_ACN:bool:false} tendermint_com_url: ${TENDERMINT_COM_URL:str:http://localhost:8080} tendermint_url: ${TENDERMINT_URL:str:http://localhost:26657} tendermint_p2p_url: ${TM_P2P_ENDPOINT_NODE_1:str:node0:26656} termination_sleep: ${TERMINATION_SLEEP:int:900} use_termination: ${USE_TERMINATION:bool:false} reset_period_count: ${RESET_PERIOD_COUNT:int:1000} use_slashing: ${USE_SLASHING:bool:false} slash_cooldown_hours: ${SLASH_COOLDOWN_HOURS:int:3} slash_threshold_amount: ${SLASH_THRESHOLD_AMOUNT:int:10000000000000000} termination_from_block: ${TERMINATION_FROM_BLOCK:int:0} light_slash_unit_amount: ${LIGHT_SLASH_UNIT_AMOUNT:int:5000000000000000} serious_slash_unit_amount: ${SERIOUS_SLASH_UNIT_AMOUNT:int:8000000000000000} complementary_service_metadata_address: ${COMPLEMENTARY_SERVICE_METADATA_ADDRESS:str:0x0598081D48FB80B0A7E52FAD2905AE9beCd6fC69} metadata_hash: ${METADATA_HASH:str:f01701220caa53607238e340da63b296acab232c18a48e954f0af6ff2b835b2d93f1962f0} profit_split_balance: ${PROFIT_SPLIT_BALANCE:int:100} hash_checkpoint_address: ${CHECKPOINT_ADDRESS:str:0x0000000000000000000000000000000000000000} service_endpoint_base: ${SERVICE_ENDPOINT_BASE:str:https://dummy_service.autonolas.tech/} mech_to_max_delivery_rate: ${MECH_TO_MAX_DELIVERY_RATE:dict:{}} mech_to_config: ${MECH_TO_CONFIG:dict:{}} agent_funding_amount: ${AGENT_FUNDING_AMOUNT:int:200000000000000000} mech_marketplace_address: ${MECH_MARKETPLACE_ADDRESS:str:0x0000000000000000000000000000000000000000} minimum_agent_balance: ${MINIMUM_AGENT_BALANCE:int:100000000000000000} mech_staking_instance_address: ${MECH_STAKING_INSTANCE_ADDRESS:str:0x0000000000000000000000000000000000000000} service_owner_share: ${SERVICE_SHARE:int:0} default_chain_id: ${DEFAULT_CHAIN_ID:str:gnosis} 2: models: params: args: gas_params: ${GAS_PARAMS:dict:{"gas_price":null, "max_fee_per_gas":null, "max_priority_fee_per_gas":null}} multisend_address: ${MULTISEND_ADDRESS:str:0xA238CBeb142c10Ef7Ad8442C6D1f9E89e07e7761} on_chain_service_id: ${ON_CHAIN_SERVICE_ID:int:null} reset_pause_duration: ${RESET_PAUSE_DURATION:int:10} round_timeout_seconds: ${ROUND_TIMEOUT:float:150.0} use_polling: ${USE_POLLING:bool:false} manual_gas_limit: ${MANUAL_GAS_LIMIT:int:1000000} service_registry_address: ${SERVICE_REGISTRY_ADDRESS:str:0x0000000000000000000000000000000000000000} setup: *id001 share_tm_config_on_startup: ${USE_ACN:bool:false} tendermint_com_url: ${TENDERMINT_COM_URL:str:http://localhost:8080} termination_from_block: ${TERMINATION_FROM_BLOCK:int:0} tendermint_url: ${TENDERMINT_URL:str:http://localhost:26657} tendermint_p2p_url: ${TM_P2P_ENDPOINT_NODE_2:str:node0:26656} termination_sleep: ${TERMINATION_SLEEP:int:900} use_termination: ${USE_TERMINATION:bool:false} reset_period_count: ${RESET_PERIOD_COUNT:int:1000} use_slashing: ${USE_SLASHING:bool:false} slash_cooldown_hours: ${SLASH_COOLDOWN_HOURS:int:3} slash_threshold_amount: ${SLASH_THRESHOLD_AMOUNT:int:10000000000000000} mech_marketplace_address: ${MECH_MARKETPLACE_ADDRESS:str:0x0000000000000000000000000000000000000000} light_slash_unit_amount: ${LIGHT_SLASH_UNIT_AMOUNT:int:5000000000000000} serious_slash_unit_amount: ${SERIOUS_SLASH_UNIT_AMOUNT:int:8000000000000000} service_endpoint_base: ${SERVICE_ENDPOINT_BASE:str:https://dummy_service.autonolas.tech/} complementary_service_metadata_address: ${COMPLEMENTARY_SERVICE_METADATA_ADDRESS:str:0x0598081D48FB80B0A7E52FAD2905AE9beCd6fC69} metadata_hash: ${METADATA_HASH:str:f01701220caa53607238e340da63b296acab232c18a48e954f0af6ff2b835b2d93f1962f0} profit_split_balance: ${PROFIT_SPLIT_BALANCE:int:100} hash_checkpoint_address: ${CHECKPOINT_ADDRESS:str:0x0000000000000000000000000000000000000000} mech_to_max_delivery_rate: ${MECH_TO_MAX_DELIVERY_RATE:dict:{}} mech_to_config: ${MECH_TO_CONFIG:dict:{}} agent_funding_amount: ${AGENT_FUNDING_AMOUNT:int:200000000000000000} minimum_agent_balance: ${MINIMUM_AGENT_BALANCE:int:100000000000000000} mech_staking_instance_address: ${MECH_STAKING_INSTANCE_ADDRESS:str:0x0000000000000000000000000000000000000000} service_owner_share: ${SERVICE_SHARE:int:0} default_chain_id: ${DEFAULT_CHAIN_ID:str:gnosis} 3: models: params: args: gas_params: ${GAS_PARAMS:dict:{"gas_price":null, "max_fee_per_gas":null, "max_priority_fee_per_gas":null}} multisend_address: ${MULTISEND_ADDRESS:str:0xA238CBeb142c10Ef7Ad8442C6D1f9E89e07e7761} on_chain_service_id: ${ON_CHAIN_SERVICE_ID:int:null} reset_pause_duration: ${RESET_PAUSE_DURATION:int:10} round_timeout_seconds: ${ROUND_TIMEOUT:float:150.0} use_polling: ${USE_POLLING:bool:false} service_registry_address: ${SERVICE_REGISTRY_ADDRESS:str:0x0000000000000000000000000000000000000000} setup: *id001 share_tm_config_on_startup: ${USE_ACN:bool:false} manual_gas_limit: ${MANUAL_GAS_LIMIT:int:1000000} tendermint_com_url: ${TENDERMINT_COM_URL:str:http://localhost:8080} tendermint_url: ${TENDERMINT_URL:str:http://localhost:26657} termination_from_block: ${TERMINATION_FROM_BLOCK:int:0} tendermint_p2p_url: ${TM_P2P_ENDPOINT_NODE_3:str:node0:26656} termination_sleep: ${TERMINATION_SLEEP:int:900} use_termination: ${USE_TERMINATION:bool:false} reset_period_count: ${RESET_PERIOD_COUNT:int:1000} use_slashing: ${USE_SLASHING:bool:false} slash_cooldown_hours: ${SLASH_COOLDOWN_HOURS:int:3} slash_threshold_amount: ${SLASH_THRESHOLD_AMOUNT:int:10000000000000000} light_slash_unit_amount: ${LIGHT_SLASH_UNIT_AMOUNT:int:5000000000000000} serious_slash_unit_amount: ${SERIOUS_SLASH_UNIT_AMOUNT:int:8000000000000000} complementary_service_metadata_address: ${COMPLEMENTARY_SERVICE_METADATA_ADDRESS:str:0x0598081D48FB80B0A7E52FAD2905AE9beCd6fC69} mech_marketplace_address: ${MECH_MARKETPLACE_ADDRESS:str:0x0000000000000000000000000000000000000000} metadata_hash: ${METADATA_HASH:str:f01701220caa53607238e340da63b296acab232c18a48e954f0af6ff2b835b2d93f1962f0} profit_split_balance: ${PROFIT_SPLIT_BALANCE:int:100} hash_checkpoint_address: ${CHECKPOINT_ADDRESS:str:0x0000000000000000000000000000000000000000} service_endpoint_base: ${SERVICE_ENDPOINT_BASE:str:https://dummy_service.autonolas.tech/} mech_to_max_delivery_rate: ${MECH_TO_MAX_DELIVERY_RATE:dict:{}} mech_to_config: ${MECH_TO_CONFIG:dict:{}} agent_funding_amount: ${AGENT_FUNDING_AMOUNT:int:200000000000000000} minimum_agent_balance: ${MINIMUM_AGENT_BALANCE:int:100000000000000000} mech_staking_instance_address: ${MECH_STAKING_INSTANCE_ADDRESS:str:0x0000000000000000000000000000000000000000} service_owner_share: ${SERVICE_SHARE:int:0} default_chain_id: ${DEFAULT_CHAIN_ID:str:gnosis} --- public_id: valory/task_execution:0.1.0 type: skill 0: models: params: args: task_deadline: ${TASK_DEADLINE:float:240.0} tools_to_package_hash: ${TOOLS_TO_PACKAGE_HASH:dict:{}} api_keys: ${API_KEYS:dict:{}} polling_interval: ${POLLING_INTERVAL:float:30.0} agent_index: ${AGENT_INDEX_0:int:0} num_agents: ${NUM_AGENTS:int:4} mech_marketplace_address: ${MECH_MARKETPLACE_ADDRESS:str:0x0000000000000000000000000000000000000000} timeout_limit: ${TIMEOUT_LIMIT:int:3} mech_to_config: ${MECH_TO_CONFIG:dict:{}} tools_to_pricing: ${TOOLS_TO_PRICING:dict:{}} max_block_window: ${MAX_BLOCK_WINDOW:int:500} mech_to_max_delivery_rate: ${MECH_TO_MAX_DELIVERY_RATE:dict:{}} default_chain_id: ${DEFAULT_CHAIN_ID:str:gnosis} 1: models: params: args: task_deadline: ${TASK_DEADLINE:float:240.0} tools_to_package_hash: ${TOOLS_TO_PACKAGE_HASH:dict:{}} api_keys: ${API_KEYS:dict:{}} polling_interval: ${POLLING_INTERVAL:float:30.0} mech_marketplace_address: ${MECH_MARKETPLACE_ADDRESS:str:0x0000000000000000000000000000000000000000} agent_index: ${AGENT_INDEX_1:int:1} num_agents: ${NUM_AGENTS:int:4} mech_to_config: ${MECH_TO_CONFIG:dict:{}} tools_to_pricing: ${TOOLS_TO_PRICING:dict:{}} timeout_limit: ${TIMEOUT_LIMIT:int:3} max_block_window: ${MAX_BLOCK_WINDOW:int:500} mech_to_max_delivery_rate: ${MECH_TO_MAX_DELIVERY_RATE:dict:{}} default_chain_id: ${DEFAULT_CHAIN_ID:str:gnosis} 2: models: params: args: task_deadline: ${TASK_DEADLINE:float:240.0} tools_to_package_hash: ${TOOLS_TO_PACKAGE_HASH:dict:{}} api_keys: ${API_KEYS:dict:{}} polling_interval: ${POLLING_INTERVAL:float:30.0} mech_marketplace_address: ${MECH_MARKETPLACE_ADDRESS:str:0x0000000000000000000000000000000000000000} agent_index: ${AGENT_INDEX_2:int:2} num_agents: ${NUM_AGENTS:int:4} mech_to_config: ${MECH_TO_CONFIG:dict:{}} tools_to_pricing: ${TOOLS_TO_PRICING:dict:{}} timeout_limit: ${TIMEOUT_LIMIT:int:3} max_block_window: ${MAX_BLOCK_WINDOW:int:500} mech_to_max_delivery_rate: ${MECH_TO_MAX_DELIVERY_RATE:dict:{}} default_chain_id: ${DEFAULT_CHAIN_ID:str:gnosis} 3: models: params: args: task_deadline: ${TASK_DEADLINE:float:240.0} tools_to_package_hash: ${TOOLS_TO_PACKAGE_HASH:dict:{}} api_keys: ${API_KEYS:dict:{}} mech_marketplace_address: ${MECH_MARKETPLACE_ADDRESS:str:0x0000000000000000000000000000000000000000} polling_interval: ${POLLING_INTERVAL:float:30.0} agent_index: ${AGENT_INDEX_3:int:3} num_agents: ${NUM_AGENTS:int:4} timeout_limit: ${TIMEOUT_LIMIT:int:3} mech_to_config: ${MECH_TO_CONFIG:dict:{}} tools_to_pricing: ${TOOLS_TO_PRICING:dict:{}} max_block_window: ${MAX_BLOCK_WINDOW:int:500} mech_to_max_delivery_rate: ${MECH_TO_MAX_DELIVERY_RATE:dict:{}} default_chain_id: ${DEFAULT_CHAIN_ID:str:gnosis} --- public_id: valory/ledger:0.19.0 type: connection 0: config: ledger_apis: base: address: ${BASE_LEDGER_RPC_0:str:http://host.docker.internal:8545} chain_id: ${BASE_LEDGER_CHAIN_ID:int:8453} poa_chain: ${BASE_LEDGER_IS_POA_CHAIN:bool:false} default_gas_price_strategy: ${BASE_LEDGER_PRICING:str:eip1559} gnosis: address: ${GNOSIS_LEDGER_RPC_0:str:http://host.docker.internal:8545} chain_id: ${GNOSIS_LEDGER_CHAIN_ID:int:100} poa_chain: ${GNOSIS_LEDGER_IS_POA_CHAIN:bool:false} default_gas_price_strategy: ${GNOSIS_LEDGER_PRICING:str:eip1559} 1: config: ledger_apis: base: address: ${BASE_LEDGER_RPC_1:str:http://host.docker.internal:8545} chain_id: ${BASE_LEDGER_CHAIN_ID:int:8453} poa_chain: ${BASE_LEDGER_IS_POA_CHAIN:bool:false} default_gas_price_strategy: ${BASE_LEDGER_PRICING:str:eip1559} gnosis: address: ${GNOSIS_LEDGER_RPC_1:str:http://host.docker.internal:8545} chain_id: ${GNOSIS_LEDGER_CHAIN_ID:int:100} poa_chain: ${GNOSIS_LEDGER_IS_POA_CHAIN:bool:false} default_gas_price_strategy: ${GNOSIS_LEDGER_PRICING:str:eip1559} 2: config: ledger_apis: base: address: ${BASE_LEDGER_RPC_2:str:http://host.docker.internal:8545} chain_id: ${BASE_LEDGER_CHAIN_ID:int:8453} poa_chain: ${BASE_LEDGER_IS_POA_CHAIN:bool:false} default_gas_price_strategy: ${BASE_LEDGER_PRICING:str:eip1559} gnosis: address: ${GNOSIS_LEDGER_RPC_2:str:http://host.docker.internal:8545} chain_id: ${GNOSIS_LEDGER_CHAIN_ID:int:100} poa_chain: ${GNOSIS_LEDGER_IS_POA_CHAIN:bool:false} default_gas_price_strategy: ${GNOSIS_LEDGER_PRICING:str:eip1559} 3: config: ledger_apis: base: address: ${BASE_LEDGER_RPC_3:str:http://host.docker.internal:8545} chain_id: ${BASE_LEDGER_CHAIN_ID:int:8453} poa_chain: ${BASE_LEDGER_IS_POA_CHAIN:bool:false} default_gas_price_strategy: ${BASE_LEDGER_PRICING:str:eip1559} gnosis: address: ${GNOSIS_LEDGER_RPC_3:str:http://host.docker.internal:8545} chain_id: ${GNOSIS_LEDGER_CHAIN_ID:int:100} poa_chain: ${GNOSIS_LEDGER_IS_POA_CHAIN:bool:false} default_gas_price_strategy: ${GNOSIS_LEDGER_PRICING:str:eip1559} --- public_id: valory/p2p_libp2p_client:0.1.0 type: connection config: nodes: - uri: ${ACN_URI:str:acn.staging.autonolas.tech:9005} public_key: ${ACN_NODE_PUBLIC_KEY:str:02d3a830c9d6ea1ae91936951430dee11f4662f33118b02190693be835359a9d77} cert_requests: - identifier: acn ledger_id: ethereum message_format: '{public_key}' not_after: '2023-01-01' not_before: '2022-01-01' public_key: ${ACN_NODE_PUBLIC_KEY:str:02d3a830c9d6ea1ae91936951430dee11f4662f33118b02190693be835359a9d77} save_path: .certs/acn_cosmos_11000.txt is_abstract: false --- public_id: valory/websocket_client:0.1.0:bafybeiexove4oqyhoae5xmk2hilskthosov5imdp65olpgj3cfrepbouyy type: connection 0: config: endpoint: ${ETHEREUM_WEBSOCKET_RPC_0:str:wss://rpc.gnosischain.com/wss} 1: config: endpoint: ${ETHEREUM_WEBSOCKET_RPC_1:str:wss://rpc.gnosischain.com/wss} 2: config: endpoint: ${ETHEREUM_WEBSOCKET_RPC_2:str:wss://rpc.gnosischain.com/wss} 3: config: endpoint: ${ETHEREUM_WEBSOCKET_RPC_3:str:wss://rpc.gnosischain.com/wss} --- public_id: valory/contract_subscription:0.1.0:bafybeiby5ajjc7a3m2uq73d2pprx6enqt4ghfcq2gkmrtsr75e4d4napi4 type: skill 0: behaviours: subscriptions: args: contracts: ${SUBSCRIPTIONS_CONTRACTS:list:["0xFf82123dFB52ab75C417195c5fDB87630145ae81"]} handlers: new_event: args: contract_to_monitor: ${CONTRACT_TO_MONITOR:str:0xFf82123dFB52ab75C417195c5fDB87630145ae81} websocket_provider: ${ETHEREUM_LEDGER_RPC_0:str:https://rpc.gnosischain.com} models: params: args: use_polling: ${USE_POLLING:str:false} 1: behaviours: subscriptions: args: contracts: ${SUBSCRIPTIONS_CONTRACTS:list:["0xFf82123dFB52ab75C417195c5fDB87630145ae81"]} handlers: new_event: args: contract_to_monitor: ${CONTRACT_TO_MONITOR:str:0xFf82123dFB52ab75C417195c5fDB87630145ae81} websocket_provider: ${ETHEREUM_LEDGER_RPC_1:str:https://rpc.gnosischain.com} models: params: args: use_polling: ${USE_POLLING:str:false} 2: behaviours: subscriptions: args: contracts: ${SUBSCRIPTIONS_CONTRACTS:list:["0xFf82123dFB52ab75C417195c5fDB87630145ae81"]} handlers: new_event: args: contract_to_monitor: ${CONTRACT_TO_MONITOR:str:0xFf82123dFB52ab75C417195c5fDB87630145ae81} websocket_provider: ${ETHEREUM_LEDGER_RPC_2:str:https://rpc.gnosischain.com} models: params: args: use_polling: ${USE_POLLING:str:false} 3: behaviours: subscriptions: args: contracts: ${SUBSCRIPTIONS_CONTRACTS:list:["0xFf82123dFB52ab75C417195c5fDB87630145ae81"]} handlers: new_event: args: contract_to_monitor: ${CONTRACT_TO_MONITOR:str:0xFf82123dFB52ab75C417195c5fDB87630145ae81} websocket_provider: ${ETHEREUM_LEDGER_RPC_3:str:https://rpc.gnosischain.com} models: params: args: use_polling: ${USE_POLLING:str:false}