ratio1 3.4.52__tar.gz → 3.4.54__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.
- {ratio1-3.4.52 → ratio1-3.4.54}/PKG-INFO +1 -1
- {ratio1-3.4.52 → ratio1-3.4.54}/pyproject.toml +1 -1
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/_ver.py +1 -1
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/bc/evm.py +14 -13
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/const/evm_net.py +9 -4
- ratio1-3.4.54/xperimental/eth/allocate_rewards.py +22 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/eth/send.py +17 -5
- {ratio1-3.4.52 → ratio1-3.4.54}/.devcontainer/Dockerfile +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/.devcontainer/devcontainer.json +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/.gitattributes +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/.github/workflows/python-publish.yml +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/.gitignore +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/.vscode/launch.json +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/LICENSE +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/README.md +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/TODOs.md +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/__init__.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/r1ctl.MD +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/__init__.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/base/__init__.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/base/distributed_custom_code_presets.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/base/generic_session.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/base/instance.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/base/payload/__init__.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/base/payload/payload.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/base/pipeline.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/base/plugin_template.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/base/responses.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/base/transaction.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/base/webapp_pipeline.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/base_decentra_object.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/bc/__init__.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/bc/base.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/bc/chain.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/bc/ec.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/certs/51.15.142.167.crt +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/certs/__init__.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/certs/a0d9818f.ala.eu-central-1.emqxsl.com.crt +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/certs/r9092118.ala.eu-central-1.emqxsl.com.crt +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/certs/s624dbd4.ala.us-east-1.emqxsl.com.crt +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/cli/README.md +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/cli/cli.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/cli/cli_commands.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/cli/nodes.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/cli/oracles.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/cli/package_update.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/code_cheker/__init__.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/code_cheker/base.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/code_cheker/checker.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/comm/__init__.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/comm/amqp_wrapper.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/comm/base_comm_wrapper.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/comm/mqtt_wrapper.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/const/README.md +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/const/__init__.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/const/apps.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/const/base.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/const/comms.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/const/environment.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/const/formatter.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/const/heartbeat.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/const/misc.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/const/payload.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/const/plugins/deeploy_const.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/default/__init__.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/default/instance/__init__.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/default/instance/chain_dist_custom_job_01_plugin.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/default/instance/custom_webapi_01_plugin.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/default/instance/generic_http_01_plugin.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/default/instance/net_mon_01_plugin.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/default/instance/telegram_basic_bot_01_plugin.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/default/instance/telegram_conversational_bot_01_plugin.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/default/instance/view_scene_01_plugin.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/default/session/mqtt_session.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/io_formatter/__init__.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/io_formatter/base/__init__.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/io_formatter/base/base_formatter.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/io_formatter/default/__init__.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/io_formatter/default/a_dummy.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/io_formatter/default/aixp1.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/io_formatter/default/default.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/io_formatter/io_formatter_manager.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/ipfs/__init__.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/ipfs/ifps_keygen +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/ipfs/ipfs_setup/ipfs.service +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/ipfs/ipfs_setup/launch_service.sh +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/ipfs/ipfs_setup/restart.sh +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/ipfs/ipfs_setup/run.sh +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/ipfs/ipfs_setup/setup.sh +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/ipfs/ipfs_setup/show.sh +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/ipfs/ipfs_setup/write_key.sh +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/ipfs/r1fs.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/logging/__init__.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/logging/base_logger.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/logging/logger_mixins/__init__.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/logging/logger_mixins/class_instance_mixin.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/logging/logger_mixins/computer_vision_mixin.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/logging/logger_mixins/datetime_mixin.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/logging/logger_mixins/download_mixin.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/logging/logger_mixins/general_serialization_mixin.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/logging/logger_mixins/json_serialization_mixin.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/logging/logger_mixins/machine_mixin.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/logging/logger_mixins/pickle_serialization_mixin.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/logging/logger_mixins/process_mixin.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/logging/logger_mixins/resource_size_mixin.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/logging/logger_mixins/timers_mixin.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/logging/logger_mixins/upload_mixin.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/logging/logger_mixins/utils_mixin.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/logging/small_logger.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/logging/tzlocal/__init__.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/logging/tzlocal/unix.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/logging/tzlocal/utils.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/logging/tzlocal/win32.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/logging/tzlocal/windows_tz.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/plugins_manager_mixin.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/utils/__init__.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/utils/comm_utils.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/utils/config.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/utils/dotenv.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/ratio1/utils/oracle_sync/oracle_tester.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/requirements.txt +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/template.env +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/tutorials/.example_env +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/tutorials/8. custom_code_fastapi_assets/index.html +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/tutorials/9. code_sandbox_from_scratch_assets/index.html +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/tutorials/_example_pk_sdk.pem +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/tutorials/eth2025/deploy_home_safety.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/tutorials/eth2025/deploy_maintenance_monitoring.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/tutorials/ex01_part1_connect.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/tutorials/ex01_part2_filter.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/tutorials/ex01_part3_adv_filter.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/tutorials/ex02_part1_deploy_webapi.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/tutorials/ex02_part2_deploy_plugin.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/tutorials/ex02_part3_deploy_r1fs_test.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/tutorials/ex03_custom_code_on_one_remote__example_1.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/tutorials/ex04_custom_code_on_one_remote__example_2.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/tutorials/ex05_custom_code_on_one_remote__example_3.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/tutorials/ex06_custom_code_on_multiple_remotes__example_1.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/tutorials/ex07_custom_code_on_multiple_remotes__example_2.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/tutorials/ex08_custom_webapi.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/tutorials/ex09_code_sandbox_from_scratch.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/tutorials/ex10_telegram_echo_bot.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/tutorials/ex11_telegram_blackjack_bot.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/tutorials/ex12_telegram_smart_bot.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/tutorials/ex13_launch_repo_based_webapp.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/tutorials/ex14_wallets.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/tutorials/ex15_telegram_rogue_style_game.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/tutorials/ex16_launch_repo_based_http_server.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/tutorials/ex17_launch_repo_based_balanced_webapp.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/tutorials/ex18_deploy_container_webapi.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/tutorials/ex19_deeploy_container_example.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/tutorials/ex20_deeploy_telegram_bot.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/tutorials/ex21_telegram_community_bot.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/tutorials/ex22_deeploy_custom_code.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/tutorials/video_presentation/1. hello_world.ipynb +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/winrun.bat +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/README.md +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/_checks/_show_config_check.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/_checks/cstore_check.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/_checks/dauth_check.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/_checks/keys_check.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/_checks/node_info_check.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/_checks/ora_check.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/_checks/ora_intervals.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/_checks/ora_sign_check.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/_checks/owner_check.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/_checks/payload_check.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/_checks/session_check.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/_checks/w3_auth_check.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/_checks/w3_nodes_licenses.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/_checks/w3_oracles_check.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/_checks/w3_poai_check.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/_checks/whitelist_check.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/_checks/workload_check.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/dates/check_date.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/debug/close_pipeline.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/decentralized/chain_dist_example.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/decentralized/chain_dist_example_initiator.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/decentralized/chain_dist_example_worker.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/deeploy/checker.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/deeploy/checker2.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/deeploy/create_request.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/enc_dec/enc_dec_test.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/eth/balance.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/eth/eth_sign.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/eth/info.md +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/eth/send_many.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/eth/sign.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/log.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/logger/run.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/lp/lp_checker.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/multi-enc-dec/multi_test1.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/multi-enc-dec/multi_test2.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/pipelines/start.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/pipelines/stop.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/scripts/monitoring/collect_messages.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/scripts/monitoring/get_hb_distribution.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/scripts/monitoring/multithreaded_network_sniffer.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/sign/simple_payload_checker.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/sign/test_sign1.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/sign/test_sign2.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/test.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/tokens/get_check.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/utils/get_documentation.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/various/attach_example.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/various/ex1.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/various/hello.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/various/remote_exec.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/various/save_images.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/wl/wl_add.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/xarchive/_tutorials/3. simple_real_time_custom_code.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/xarchive/_tutorials/4. real_time_custom_code_2.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/xarchive/_tutorials/8. chatbot.py +0 -0
- {ratio1-3.4.52 → ratio1-3.4.54}/xperimental/xarchive/test.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ratio1
|
|
3
|
-
Version: 3.4.
|
|
3
|
+
Version: 3.4.54
|
|
4
4
|
Summary: `ratio1` or Ration1 SDK is the Python SDK required for client app development for the Ratio1 ecosystem
|
|
5
5
|
Project-URL: Homepage, https://github.com/Ratio1/ratio1_sdk
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/Ratio1/ratio1_sdk/issues
|
|
@@ -237,7 +237,7 @@ class _EVMMixin:
|
|
|
237
237
|
proxy_contract_address = network_data[dAuth.EvmNetData.DAUTH_PROXYAPI_ADDR_KEY]
|
|
238
238
|
str_genesis_date = network_data[dAuth.EvmNetData.EE_GENESIS_EPOCH_DATE_KEY]
|
|
239
239
|
controller_contract_address = network_data[dAuth.EvmNetData.DAUTH_CONTROLLER_ADDR_KEY]
|
|
240
|
-
poai_manager_address = network_data[dAuth.EvmNetData.
|
|
240
|
+
poai_manager_address = network_data[dAuth.EvmNetData.DAUTH_POAI_MANAGER_ADDR_KEY]
|
|
241
241
|
get_oracles_abi = network_data[dAuth.EvmNetData.DAUTH_GET_ORACLES_ABI]
|
|
242
242
|
genesis_date = self.log.str_to_date(str_genesis_date).replace(tzinfo=timezone.utc)
|
|
243
243
|
ep_sec = (
|
|
@@ -1339,18 +1339,19 @@ class _EVMMixin:
|
|
|
1339
1339
|
details = {
|
|
1340
1340
|
"network": network,
|
|
1341
1341
|
"jobId": result_tuple[0],
|
|
1342
|
-
"
|
|
1343
|
-
"
|
|
1344
|
-
"
|
|
1345
|
-
"
|
|
1346
|
-
"
|
|
1347
|
-
"
|
|
1348
|
-
"
|
|
1349
|
-
"
|
|
1350
|
-
"
|
|
1351
|
-
"
|
|
1352
|
-
"
|
|
1353
|
-
"
|
|
1342
|
+
"projectHash": "0x" + result_tuple[1].hex(),
|
|
1343
|
+
"requestTimestamp": result_tuple[2],
|
|
1344
|
+
"startTimestamp": result_tuple[3],
|
|
1345
|
+
"lastNodesChangeTimestamp": result_tuple[4],
|
|
1346
|
+
"jobType": result_tuple[5],
|
|
1347
|
+
"pricePerEpoch": result_tuple[6],
|
|
1348
|
+
"lastExecutionEpoch": result_tuple[7],
|
|
1349
|
+
"numberOfNodesRequested": result_tuple[8],
|
|
1350
|
+
"balance": result_tuple[9],
|
|
1351
|
+
"lastAllocatedEpoch": result_tuple[10],
|
|
1352
|
+
"activeNodes": result_tuple[11],
|
|
1353
|
+
"escrowAddress": result_tuple[12],
|
|
1354
|
+
"escrowOwner": result_tuple[13],
|
|
1354
1355
|
}
|
|
1355
1356
|
self.P(f"Job Details:\n{json.dumps(details, indent=2)}", verbosity=2)
|
|
1356
1357
|
|
|
@@ -9,7 +9,7 @@ class EvmNetData:
|
|
|
9
9
|
DAUTH_R1_ADDR_KEY = 'EE_DAUTH_R1_ADDR'
|
|
10
10
|
DAUTH_MND_ADDR_KEY = 'EE_DAUTH_MND_ADDR'
|
|
11
11
|
DAUTH_PROXYAPI_ADDR_KEY = 'EE_DAUTH_PROXYAPI_ADDR'
|
|
12
|
-
|
|
12
|
+
DAUTH_POAI_MANAGER_ADDR_KEY = 'EE_DAUTH_POAI_MANAGER_ADDR'
|
|
13
13
|
|
|
14
14
|
DAUTH_CONTROLLER_ADDR_KEY = 'EE_DAUTH_CONTROLLER_ADDR'
|
|
15
15
|
DAUTH_GET_ORACLES_ABI = 'EE_DAUTH_GET_ORACLES_ABI'
|
|
@@ -272,6 +272,11 @@ _POAI_MANAGER_ABI = [
|
|
|
272
272
|
"name": "id",
|
|
273
273
|
"type": "uint256"
|
|
274
274
|
},
|
|
275
|
+
{
|
|
276
|
+
"internalType": "bytes32",
|
|
277
|
+
"name": "projectHash",
|
|
278
|
+
"type": "bytes32"
|
|
279
|
+
},
|
|
275
280
|
{
|
|
276
281
|
"internalType": "uint256",
|
|
277
282
|
"name": "requestTimestamp",
|
|
@@ -403,7 +408,7 @@ EVM_NET_DATA = {
|
|
|
403
408
|
EvmNetData.DAUTH_R1_ADDR_KEY : "0x6444C6c2D527D85EA97032da9A7504d6d1448ecF",
|
|
404
409
|
EvmNetData.DAUTH_MND_ADDR_KEY : "0x0C431e546371C87354714Fcc1a13365391A549E2",
|
|
405
410
|
EvmNetData.DAUTH_PROXYAPI_ADDR_KEY : "0xa2fDD4c7E93790Ff68a01f01AA789D619F12c6AC",
|
|
406
|
-
EvmNetData.
|
|
411
|
+
EvmNetData.DAUTH_POAI_MANAGER_ADDR_KEY : "0xa8d7FFCE91a888872A9f5431B4Dd6c0c135055c1",
|
|
407
412
|
EvmNetData.DAUTH_RPC_KEY : "https://base-mainnet.public.blastapi.io",
|
|
408
413
|
EvmNetData.EE_GENESIS_EPOCH_DATE_KEY : "2025-05-23 16:00:00",
|
|
409
414
|
EvmNetData.EE_EPOCH_INTERVALS_KEY : 24,
|
|
@@ -421,7 +426,7 @@ EVM_NET_DATA = {
|
|
|
421
426
|
EvmNetData.DAUTH_R1_ADDR_KEY : "0xCC96f389F45Fc08b4fa8e2bC4C7DA9920292ec64",
|
|
422
427
|
EvmNetData.DAUTH_MND_ADDR_KEY : "0xa8d7FFCE91a888872A9f5431B4Dd6c0c135055c1",
|
|
423
428
|
EvmNetData.DAUTH_PROXYAPI_ADDR_KEY : "0xd1c7Dca934B37FAA402EB2EC64F6644d6957bE3b",
|
|
424
|
-
EvmNetData.
|
|
429
|
+
EvmNetData.DAUTH_POAI_MANAGER_ADDR_KEY : "0xTODO",
|
|
425
430
|
EvmNetData.DAUTH_RPC_KEY : "https://base-sepolia.public.blastapi.io",
|
|
426
431
|
EvmNetData.EE_GENESIS_EPOCH_DATE_KEY : "2025-05-23 16:00:00",
|
|
427
432
|
EvmNetData.EE_EPOCH_INTERVALS_KEY : 24,
|
|
@@ -440,7 +445,7 @@ EVM_NET_DATA = {
|
|
|
440
445
|
EvmNetData.DAUTH_R1_ADDR_KEY : "0x277CbD0Cf25F4789Bc04035eCd03d811FAf73691",
|
|
441
446
|
EvmNetData.DAUTH_MND_ADDR_KEY : "0x17B8934dc5833CdBa1eF42D13D65D677C4727748",
|
|
442
447
|
EvmNetData.DAUTH_PROXYAPI_ADDR_KEY : "0xFcF04c9A67330431Af75a546615E4881BD8bdC78",
|
|
443
|
-
EvmNetData.
|
|
448
|
+
EvmNetData.DAUTH_POAI_MANAGER_ADDR_KEY : "0xCc7C4e0f4f25b57807F34227Fb446E68c8c36ce5",
|
|
444
449
|
EvmNetData.DAUTH_RPC_KEY : "https://base-sepolia.public.blastapi.io",
|
|
445
450
|
EvmNetData.EE_GENESIS_EPOCH_DATE_KEY : "2025-06-30 07:00:00",
|
|
446
451
|
EvmNetData.EE_EPOCH_INTERVALS_KEY : 1,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import os
|
|
2
|
+
from copy import deepcopy
|
|
3
|
+
|
|
4
|
+
from ratio1 import Logger, const
|
|
5
|
+
from ratio1.bc import DefaultBlockEngine
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
if __name__ == '__main__' :
|
|
10
|
+
l = Logger("ENC", base_folder=".", app_folder="_local_cache")
|
|
11
|
+
eng = DefaultBlockEngine(
|
|
12
|
+
log=l, name="default",
|
|
13
|
+
verbosity=2,
|
|
14
|
+
)
|
|
15
|
+
|
|
16
|
+
eng.reset_network("devnet")
|
|
17
|
+
|
|
18
|
+
l.P(f"Allocate rewards across all escrows on Ratio1:{eng.evm_network}")
|
|
19
|
+
|
|
20
|
+
l.P(f"Src {eng.eth_address} has {eng.web3_get_balance_eth():.4f} ETH")
|
|
21
|
+
tx_hash = eng.web3_allocate_rewards_across_all_escrows(wait_for_tx=True, return_receipt=True)
|
|
22
|
+
l.P(f"Executed tx: {tx_hash}", color='g')
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import time
|
|
1
2
|
import os
|
|
2
3
|
from copy import deepcopy
|
|
3
4
|
|
|
@@ -12,6 +13,10 @@ if __name__ == '__main__' :
|
|
|
12
13
|
log=l, name="default",
|
|
13
14
|
verbosity=2,
|
|
14
15
|
)
|
|
16
|
+
eng.reset_network("testnet")
|
|
17
|
+
|
|
18
|
+
assert eng.evm_network in ['testnet', 'devnet']
|
|
19
|
+
|
|
15
20
|
with open("xperimental/eth/addrs.txt", "rt") as fd:
|
|
16
21
|
lines = fd.readlines()
|
|
17
22
|
addresses = [line.strip() for line in lines]
|
|
@@ -19,13 +24,15 @@ if __name__ == '__main__' :
|
|
|
19
24
|
dest = addresses[0]
|
|
20
25
|
|
|
21
26
|
l.P(f"ETH and $R1 transfer test on Ratio1:{eng.evm_network}")
|
|
22
|
-
|
|
27
|
+
amount = 0.01
|
|
23
28
|
l.P("ETH Test")
|
|
24
29
|
l.P(f"Src {eng.eth_address} has {eng.web3_get_balance_eth():.4f} ETH")
|
|
25
30
|
l.P(f"Dest {dest} has {eng.web3_get_balance_eth(dest):.4f} ETH")
|
|
26
|
-
l.P(f"Sending
|
|
27
|
-
tx_hash = eng.web3_send_eth(dest,
|
|
31
|
+
l.P(f"Sending {amount} ETH to {dest}", color='b')
|
|
32
|
+
tx_hash = eng.web3_send_eth(dest, amount, wait_for_tx=True, return_receipt=False)
|
|
28
33
|
l.P(f"Executed tx: {tx_hash}", color='g')
|
|
34
|
+
l.P("Sleeping 5 seconds to let the tx propagate")
|
|
35
|
+
time.sleep(5)
|
|
29
36
|
l.P(f"Src {eng.eth_address} has {eng.web3_get_balance_eth():.4f} ETH")
|
|
30
37
|
l.P(f"Dest {dest} has {eng.web3_get_balance_eth(dest):.4f} ETH")
|
|
31
38
|
|
|
@@ -35,6 +42,11 @@ if __name__ == '__main__' :
|
|
|
35
42
|
l.P(f"Sending 100 $R1 to {dest}", color='b')
|
|
36
43
|
tx_hash = eng.web3_send_r1(dest, 100, wait_for_tx=True, return_receipt=False)
|
|
37
44
|
l.P(f"Executed tx: {tx_hash}", color='g')
|
|
38
|
-
|
|
39
|
-
|
|
45
|
+
if tx_hash is not None:
|
|
46
|
+
l.P("Sleeping 5 seconds to let the tx propagate")
|
|
47
|
+
time.sleep(5)
|
|
48
|
+
l.P(f"Src {eng.eth_address} has {eng.web3_get_balance_r1():.4f} $R1")
|
|
49
|
+
l.P(f"Dest {dest} has {eng.web3_get_balance_r1(dest):.4f} $R1")
|
|
50
|
+
else:
|
|
51
|
+
l.P("No $R1 transfer executed, check the logs for details", color='r')
|
|
40
52
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ratio1-3.4.52 → ratio1-3.4.54}/ratio1/default/instance/telegram_conversational_bot_01_plugin.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ratio1-3.4.52 → ratio1-3.4.54}/tutorials/ex06_custom_code_on_multiple_remotes__example_1.py
RENAMED
|
File without changes
|
{ratio1-3.4.52 → ratio1-3.4.54}/tutorials/ex07_custom_code_on_multiple_remotes__example_2.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ratio1-3.4.52 → ratio1-3.4.54}/xperimental/scripts/monitoring/multithreaded_network_sniffer.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ratio1-3.4.52 → ratio1-3.4.54}/xperimental/xarchive/_tutorials/3. simple_real_time_custom_code.py
RENAMED
|
File without changes
|
{ratio1-3.4.52 → ratio1-3.4.54}/xperimental/xarchive/_tutorials/4. real_time_custom_code_2.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|