ratio1 3.4.72__tar.gz → 3.4.74__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.72 → ratio1-3.4.74}/PKG-INFO +1 -1
- {ratio1-3.4.72 → ratio1-3.4.74}/pyproject.toml +1 -1
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/_ver.py +1 -1
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/base/generic_session.py +2 -1
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/bc/evm.py +1 -3
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/const/evm_net.py +11 -1
- {ratio1-3.4.72 → ratio1-3.4.74}/tutorials/ex21_telegram_community_bot.py +21 -7
- {ratio1-3.4.72 → ratio1-3.4.74}/.devcontainer/Dockerfile +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/.devcontainer/devcontainer.json +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/.gitattributes +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/.github/workflows/python-publish.yml +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/.gitignore +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/.vscode/launch.json +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/LICENSE +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/README.md +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/TODOs.md +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/__init__.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/r1ctl.MD +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/__init__.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/base/__init__.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/base/distributed_custom_code_presets.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/base/instance.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/base/payload/__init__.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/base/payload/payload.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/base/pipeline.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/base/plugin_template.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/base/responses.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/base/transaction.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/base/webapp_pipeline.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/base_decentra_object.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/bc/__init__.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/bc/base.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/bc/chain.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/bc/ec.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/certs/51.15.142.167.crt +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/certs/__init__.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/certs/a0d9818f.ala.eu-central-1.emqxsl.com.crt +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/certs/r9092118.ala.eu-central-1.emqxsl.com.crt +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/certs/s624dbd4.ala.us-east-1.emqxsl.com.crt +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/cli/README.md +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/cli/cli.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/cli/cli_commands.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/cli/nodes.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/cli/oracles.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/cli/package_update.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/code_cheker/__init__.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/code_cheker/base.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/code_cheker/checker.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/comm/__init__.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/comm/amqp_wrapper.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/comm/base_comm_wrapper.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/comm/mqtt_wrapper.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/const/README.md +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/const/__init__.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/const/apps.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/const/base.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/const/comms.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/const/environment.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/const/formatter.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/const/heartbeat.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/const/misc.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/const/payload.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/const/plugins/deeploy_const.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/default/__init__.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/default/instance/__init__.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/default/instance/chain_dist_custom_job_01_plugin.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/default/instance/custom_webapi_01_plugin.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/default/instance/generic_http_01_plugin.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/default/instance/net_mon_01_plugin.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/default/instance/telegram_basic_bot_01_plugin.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/default/instance/telegram_conversational_bot_01_plugin.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/default/instance/view_scene_01_plugin.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/default/session/mqtt_session.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/io_formatter/__init__.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/io_formatter/base/__init__.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/io_formatter/base/base_formatter.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/io_formatter/default/__init__.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/io_formatter/default/a_dummy.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/io_formatter/default/aixp1.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/io_formatter/default/default.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/io_formatter/io_formatter_manager.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/ipfs/__init__.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/ipfs/ifps_keygen +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/ipfs/ipfs_setup/ipfs.service +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/ipfs/ipfs_setup/launch_service.sh +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/ipfs/ipfs_setup/restart.sh +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/ipfs/ipfs_setup/run.sh +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/ipfs/ipfs_setup/setup.sh +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/ipfs/ipfs_setup/show.sh +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/ipfs/ipfs_setup/write_key.sh +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/ipfs/r1fs.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/logging/__init__.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/logging/base_logger.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/logging/logger_mixins/__init__.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/logging/logger_mixins/class_instance_mixin.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/logging/logger_mixins/computer_vision_mixin.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/logging/logger_mixins/datetime_mixin.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/logging/logger_mixins/download_mixin.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/logging/logger_mixins/general_serialization_mixin.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/logging/logger_mixins/json_serialization_mixin.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/logging/logger_mixins/machine_mixin.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/logging/logger_mixins/pickle_serialization_mixin.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/logging/logger_mixins/process_mixin.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/logging/logger_mixins/resource_size_mixin.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/logging/logger_mixins/timers_mixin.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/logging/logger_mixins/upload_mixin.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/logging/logger_mixins/utils_mixin.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/logging/small_logger.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/logging/tzlocal/__init__.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/logging/tzlocal/unix.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/logging/tzlocal/utils.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/logging/tzlocal/win32.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/logging/tzlocal/windows_tz.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/plugins_manager_mixin.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/utils/__init__.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/utils/comm_utils.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/utils/config.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/utils/dotenv.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/ratio1/utils/oracle_sync/oracle_tester.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/requirements.txt +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/template.env +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/tutorials/.example_env +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/tutorials/8. custom_code_fastapi_assets/index.html +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/tutorials/9. code_sandbox_from_scratch_assets/index.html +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/tutorials/_example_pk_sdk.pem +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/tutorials/eth2025/deploy_home_safety.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/tutorials/eth2025/deploy_maintenance_monitoring.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/tutorials/ex01_part1_connect.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/tutorials/ex01_part2_filter.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/tutorials/ex01_part3_adv_filter.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/tutorials/ex02_part1_deploy_webapi.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/tutorials/ex02_part2_deploy_plugin.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/tutorials/ex02_part3_deploy_r1fs_test.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/tutorials/ex03_custom_code_on_one_remote__example_1.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/tutorials/ex04_custom_code_on_one_remote__example_2.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/tutorials/ex05_custom_code_on_one_remote__example_3.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/tutorials/ex06_custom_code_on_multiple_remotes__example_1.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/tutorials/ex07_custom_code_on_multiple_remotes__example_2.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/tutorials/ex08_custom_webapi.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/tutorials/ex09_code_sandbox_from_scratch.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/tutorials/ex10_telegram_echo_bot.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/tutorials/ex11_telegram_blackjack_bot.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/tutorials/ex12_telegram_smart_bot.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/tutorials/ex13_launch_repo_based_webapp.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/tutorials/ex14_wallets.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/tutorials/ex15_telegram_rogue_style_game.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/tutorials/ex16_launch_repo_based_http_server.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/tutorials/ex17_launch_repo_based_balanced_webapp.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/tutorials/ex18_deploy_container_webapi.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/tutorials/ex19_deeploy_container_example.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/tutorials/ex20_deeploy_telegram_bot.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/tutorials/ex22_deeploy_custom_code.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/tutorials/video_presentation/1. hello_world.ipynb +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/winrun.bat +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/README.md +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/_checks/_show_config_check.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/_checks/cstore_check.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/_checks/dauth_check.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/_checks/keys_check.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/_checks/node_info_check.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/_checks/ora_check.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/_checks/ora_intervals.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/_checks/ora_sign_check.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/_checks/owner_check.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/_checks/payload_check.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/_checks/session_check.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/_checks/w3_auth_check.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/_checks/w3_nodes_licenses.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/_checks/w3_oracles_check.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/_checks/w3_poai_check.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/_checks/whitelist_check.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/_checks/workload_check.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/ai4e/delete.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/ai4e/launcher.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/dates/check_date.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/debug/close_pipeline.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/decentralized/chain_dist_example.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/decentralized/chain_dist_example_initiator.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/decentralized/chain_dist_example_worker.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/deeploy/checker.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/deeploy/checker2.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/deeploy/create_request.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/enc_dec/enc_dec_test.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/eth/allocate_rewards.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/eth/balance.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/eth/eth_sign.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/eth/info.md +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/eth/send.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/eth/send_many.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/eth/sign.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/log.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/logger/run.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/lp/lp_checker.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/multi-enc-dec/multi_test1.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/multi-enc-dec/multi_test2.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/netmon/check_netmon.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/netmon/netmon_data.json +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/pipelines/start.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/pipelines/stop.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/scripts/monitoring/collect_messages.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/scripts/monitoring/get_hb_distribution.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/scripts/monitoring/multithreaded_network_sniffer.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/sign/simple_payload_checker.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/sign/test_sign1.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/sign/test_sign2.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/test.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/tokens/get_check.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/utils/get_documentation.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/various/attach_example.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/various/ex1.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/various/hello.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/various/remote_exec.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/various/save_images.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/wl/wl_add.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/xarchive/_tutorials/3. simple_real_time_custom_code.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/xarchive/_tutorials/4. real_time_custom_code_2.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/xperimental/xarchive/_tutorials/8. chatbot.py +0 -0
- {ratio1-3.4.72 → ratio1-3.4.74}/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.74
|
|
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
|
|
@@ -4931,8 +4931,9 @@ class GenericSession(BaseDecentrAIObject):
|
|
|
4931
4931
|
|
|
4932
4932
|
lst_plugin_instance_data.append({
|
|
4933
4933
|
'Node' : node,
|
|
4934
|
+
'Node Alias' : self.get_node_alias(node),
|
|
4934
4935
|
'Owner' : pipeline_owner,
|
|
4935
|
-
'Alias' : pipeline_alias,
|
|
4936
|
+
'Owner Alias' : pipeline_alias,
|
|
4936
4937
|
'App': pipeline_name,
|
|
4937
4938
|
'Plugin': instance.signature,
|
|
4938
4939
|
'Id': instance.instance_id,
|
|
@@ -1400,9 +1400,7 @@ class _EVMMixin:
|
|
|
1400
1400
|
|
|
1401
1401
|
# Estimate gas fees for the token transfer.
|
|
1402
1402
|
gas_price = w3vars.w3.eth.gas_price # This fetches the current suggested gas price from the network.
|
|
1403
|
-
estimated_gas =
|
|
1404
|
-
{'from': self.eth_address}
|
|
1405
|
-
)
|
|
1403
|
+
estimated_gas = 750_000 # Have enough gas to cover all the actions if consensus is reached
|
|
1406
1404
|
gas_cost = estimated_gas * gas_price
|
|
1407
1405
|
|
|
1408
1406
|
# Check that the sender's ETH balance can cover gas costs plus an extra buffer.
|
|
@@ -147,6 +147,16 @@ _GET_NODE_INFO_ABI = [
|
|
|
147
147
|
"internalType": "bool",
|
|
148
148
|
"name": "isBanned",
|
|
149
149
|
"type": "bool"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"internalType": "uint256",
|
|
153
|
+
"name": "usdcPoaiRewards",
|
|
154
|
+
"type": "uint256"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"internalType": "uint256",
|
|
158
|
+
"name": "r1PoaiRewards",
|
|
159
|
+
"type": "uint256"
|
|
150
160
|
}
|
|
151
161
|
],
|
|
152
162
|
"internalType": "struct LicenseDetails",
|
|
@@ -433,7 +443,7 @@ EVM_NET_DATA = {
|
|
|
433
443
|
EvmNetData.DAUTH_R1_ADDR_KEY : "0xCC96f389F45Fc08b4fa8e2bC4C7DA9920292ec64",
|
|
434
444
|
EvmNetData.DAUTH_MND_ADDR_KEY : "0xa8d7FFCE91a888872A9f5431B4Dd6c0c135055c1",
|
|
435
445
|
EvmNetData.DAUTH_PROXYAPI_ADDR_KEY : "0xd1c7Dca934B37FAA402EB2EC64F6644d6957bE3b",
|
|
436
|
-
EvmNetData.DAUTH_POAI_MANAGER_ADDR_KEY : "
|
|
446
|
+
EvmNetData.DAUTH_POAI_MANAGER_ADDR_KEY : "0x68f825aA8fD4Af498c2998F4b165F103080574d4",
|
|
437
447
|
EvmNetData.DAUTH_RPC_KEY : "https://base-sepolia.public.blastapi.io",
|
|
438
448
|
EvmNetData.EE_GENESIS_EPOCH_DATE_KEY : "2025-05-23 16:00:00",
|
|
439
449
|
EvmNetData.EE_EPOCH_INTERVALS_KEY : 24,
|
|
@@ -78,6 +78,13 @@ def loop_processing(plugin: CustomPluginTemplate):
|
|
|
78
78
|
if plugin.obj_cache.get(epoch_review_cache_key).get(last_epoch - 1) is None:
|
|
79
79
|
return current_burn
|
|
80
80
|
return current_burn - plugin.obj_cache.get(epoch_review_cache_key).get(last_epoch - 1).get("burned")
|
|
81
|
+
|
|
82
|
+
def get_poai_burned_last_epoch(current_burn: int) -> int:
|
|
83
|
+
if plugin.obj_cache.get(epoch_review_cache_key) is None:
|
|
84
|
+
return current_burn
|
|
85
|
+
if plugin.obj_cache.get(epoch_review_cache_key).get(last_epoch - 1) is None:
|
|
86
|
+
return current_burn
|
|
87
|
+
return current_burn - plugin.obj_cache.get(epoch_review_cache_key).get(last_epoch - 1).get("poai_burned", 0)
|
|
81
88
|
|
|
82
89
|
# If it is the first run, we need to initialize the cache from diskapi
|
|
83
90
|
if plugin.obj_cache.get(cache_already_read_key) is None:
|
|
@@ -132,12 +139,16 @@ def loop_processing(plugin: CustomPluginTemplate):
|
|
|
132
139
|
plugin.P(f"Found {nd_count} ND, {mnd_count} MND, {gnd_count} GND. Last epoch mining: {last_epoch_nd_mining}")
|
|
133
140
|
|
|
134
141
|
# We get token details from the Ratio1 API
|
|
135
|
-
tokenDetails = plugin.requests.get("https://dapp-api.ratio1.ai/token/supply").json()
|
|
136
|
-
current_burn = tokenDetails["burned"]
|
|
142
|
+
tokenDetails = plugin.requests.get("https://dapp-api.ratio1.ai/token/supply?withDecimals=true").json()
|
|
143
|
+
current_burn = float(tokenDetails["burned"])
|
|
144
|
+
nd_current_burn = float(tokenDetails["ndContractBurn"])
|
|
145
|
+
current_poai_burn = current_burn - nd_current_burn
|
|
137
146
|
circulating_supply = tokenDetails["circulatingSupply"]
|
|
138
147
|
total_supply = tokenDetails["totalSupply"]
|
|
139
148
|
burned_last_epoch = get_burned_last_epoch(current_burn)
|
|
140
|
-
|
|
149
|
+
burned_poai_last_epoch = get_poai_burned_last_epoch(current_poai_burn)
|
|
150
|
+
burned_nd_last_epoch = burned_last_epoch - burned_poai_last_epoch
|
|
151
|
+
plugin.P(f"Burned last epoch: {burned_last_epoch}, ND burned last epoch: {burned_nd_last_epoch}, PoAI burned last epoch: {burned_poai_last_epoch}, Current burn: {current_burn}, Circulating supply: {circulating_supply}, Total supply: {total_supply}")
|
|
141
152
|
|
|
142
153
|
nd_supply = get_erc721_total_supply("0xE658DF6dA3FB5d4FBa562F1D5934bd0F9c6bd423")
|
|
143
154
|
mnd_supply = get_erc721_total_supply("0x0C431e546371C87354714Fcc1a13365391A549E2")
|
|
@@ -151,14 +162,17 @@ def loop_processing(plugin: CustomPluginTemplate):
|
|
|
151
162
|
message += f"🔄 Circulating R1 Supply: {circulating_supply:,.0f} R1\n"
|
|
152
163
|
message += f"💎 Total R1 Supply: {total_supply:,.0f} R1\n"
|
|
153
164
|
message += f"🎁 Last Epoch PoA Mining: {(last_epoch_nd_mining):,.2f} R1\n"
|
|
154
|
-
if
|
|
155
|
-
message += f"🔥 Last Epoch Burn: {(
|
|
165
|
+
if burned_nd_last_epoch > 0:
|
|
166
|
+
message += f"🔥 Last Epoch License Sales Burn: {(burned_nd_last_epoch):,.2f} R1\n"
|
|
167
|
+
if burned_poai_last_epoch > 0:
|
|
168
|
+
message += f"🔥 Last Epoch PoAI Burn: {(burned_poai_last_epoch):,.2f} R1\n"
|
|
156
169
|
message += f"🔥 Total Burn: {(current_burn):,.2f} R1\n"
|
|
157
170
|
plugin.send_message_to_user(user_id=plugin.cfg_chat_id, text=message)
|
|
158
171
|
|
|
159
172
|
# Save the epoch review data to the cache and diskapi
|
|
160
173
|
plugin.obj_cache[epoch_review_cache_key][last_epoch] = {
|
|
161
|
-
"burned": current_burn
|
|
174
|
+
"burned": current_burn,
|
|
175
|
+
"poai_burned": current_poai_burn
|
|
162
176
|
}
|
|
163
177
|
plugin.P(f"Saving epoch review data to diskapi file {diskapi_epoch_review_file_name}...")
|
|
164
178
|
plugin.diskapi_save_pickle_to_data(plugin.obj_cache.get(epoch_review_cache_key), diskapi_epoch_review_file_name)
|
|
@@ -243,7 +257,7 @@ def reply(plugin: CustomPluginTemplate, message: str, user: str, chat_id: str):
|
|
|
243
257
|
message = "You are currently watching the following wallets and their nodes:\n"
|
|
244
258
|
for wallet in user_watched_wallets:
|
|
245
259
|
wallet_nodes = plugin.bc.get_wallet_nodes(wallet)
|
|
246
|
-
message += f"
|
|
260
|
+
message += f"{wallet}\n"
|
|
247
261
|
for node in wallet_nodes:
|
|
248
262
|
if node == "0x0000000000000000000000000000000000000000":
|
|
249
263
|
continue
|
|
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.72 → ratio1-3.4.74}/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.72 → ratio1-3.4.74}/tutorials/ex06_custom_code_on_multiple_remotes__example_1.py
RENAMED
|
File without changes
|
{ratio1-3.4.72 → ratio1-3.4.74}/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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ratio1-3.4.72 → ratio1-3.4.74}/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.72 → ratio1-3.4.74}/xperimental/xarchive/_tutorials/3. simple_real_time_custom_code.py
RENAMED
|
File without changes
|
{ratio1-3.4.72 → ratio1-3.4.74}/xperimental/xarchive/_tutorials/4. real_time_custom_code_2.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|