@dcl/protocol 1.0.0-4958447726.commit-3016853 → 1.0.0-4982121558.commit-4b98e1a
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.
- package/README.md +3 -3
- package/out-js/decentraland/bff/authentication_service.gen.d.ts +46 -184
- package/out-js/decentraland/bff/authentication_service.gen.js +115 -80
- package/out-js/decentraland/bff/authentication_service.gen.js.map +1 -1
- package/out-js/decentraland/bff/comms_director_service.gen.d.ts +28 -228
- package/out-js/decentraland/bff/comms_director_service.gen.js +76 -54
- package/out-js/decentraland/bff/comms_director_service.gen.js.map +1 -1
- package/out-js/decentraland/bff/comms_service.gen.d.ts +30 -272
- package/out-js/decentraland/bff/comms_service.gen.js +52 -38
- package/out-js/decentraland/bff/comms_service.gen.js.map +1 -1
- package/out-js/decentraland/bff/http_endpoints.gen.d.ts +66 -854
- package/out-js/decentraland/bff/http_endpoints.gen.js +215 -158
- package/out-js/decentraland/bff/http_endpoints.gen.js.map +1 -1
- package/out-js/decentraland/bff/topics_service.gen.d.ts +46 -208
- package/out-js/decentraland/bff/topics_service.gen.js +116 -81
- package/out-js/decentraland/bff/topics_service.gen.js.map +1 -1
- package/out-js/decentraland/common/border_rect.gen.d.ts +16 -56
- package/out-js/decentraland/common/border_rect.gen.js +44 -30
- package/out-js/decentraland/common/border_rect.gen.js.map +1 -1
- package/out-js/decentraland/common/colors.gen.d.ts +16 -52
- package/out-js/decentraland/common/colors.gen.js +44 -30
- package/out-js/decentraland/common/colors.gen.js.map +1 -1
- package/out-js/decentraland/common/content_mapping.gen.d.ts +8 -20
- package/out-js/decentraland/common/content_mapping.gen.js +22 -15
- package/out-js/decentraland/common/content_mapping.gen.js.map +1 -1
- package/out-js/decentraland/common/sdk/user_data.gen.d.ts +24 -176
- package/out-js/decentraland/common/sdk/user_data.gen.js +76 -55
- package/out-js/decentraland/common/sdk/user_data.gen.js.map +1 -1
- package/out-js/decentraland/common/texture.gen.d.ts +32 -250
- package/out-js/decentraland/common/texture.gen.js +103 -75
- package/out-js/decentraland/common/texture.gen.js.map +1 -1
- package/out-js/decentraland/common/vectors.gen.d.ts +38 -68
- package/out-js/decentraland/common/vectors.gen.js +161 -46
- package/out-js/decentraland/common/vectors.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/communications_controller.gen.d.ts +18 -48
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js +46 -32
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/dev_tools.gen.d.ts +18 -56
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js +46 -32
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/engine_api.gen.d.ts +157 -4088
- package/out-js/decentraland/kernel/apis/engine_api.gen.js +483 -1650
- package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/environment_api.gen.d.ts +150 -690
- package/out-js/decentraland/kernel/apis/environment_api.gen.js +400 -281
- package/out-js/decentraland/kernel/apis/environment_api.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.d.ts +106 -440
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js +278 -194
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.d.ts +70 -518
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js +192 -136
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/permissions.gen.d.ts +36 -128
- package/out-js/decentraland/kernel/apis/permissions.gen.js +92 -64
- package/out-js/decentraland/kernel/apis/permissions.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/players.gen.d.ts +54 -476
- package/out-js/decentraland/kernel/apis/players.gen.js +143 -101
- package/out-js/decentraland/kernel/apis/players.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.d.ts +80 -308
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js +211 -148
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +102 -568
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +256 -179
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/runtime.gen.d.ts +80 -404
- package/out-js/decentraland/kernel/apis/runtime.gen.js +211 -148
- package/out-js/decentraland/kernel/apis/runtime.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/scene.gen.d.ts +18 -132
- package/out-js/decentraland/kernel/apis/scene.gen.js +46 -32
- package/out-js/decentraland/kernel/apis/scene.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.d.ts +42 -284
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js +121 -86
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/social_controller.gen.d.ts +26 -128
- package/out-js/decentraland/kernel/apis/social_controller.gen.js +73 -52
- package/out-js/decentraland/kernel/apis/social_controller.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/testing.gen.d.ts +78 -408
- package/out-js/decentraland/kernel/apis/testing.gen.js +219 -156
- package/out-js/decentraland/kernel/apis/testing.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/user_action_module.gen.d.ts +18 -48
- package/out-js/decentraland/kernel/apis/user_action_module.gen.js +46 -32
- package/out-js/decentraland/kernel/apis/user_action_module.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/user_identity.gen.d.ts +36 -352
- package/out-js/decentraland/kernel/apis/user_identity.gen.js +92 -64
- package/out-js/decentraland/kernel/apis/user_identity.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +64 -550
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +220 -161
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.d.ts +80 -560
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js +280 -204
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.d.ts +112 -1002
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +372 -270
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -1
- package/out-js/decentraland/realm/about.gen.d.ts +64 -534
- package/out-js/decentraland/realm/about.gen.js +214 -157
- package/out-js/decentraland/realm/about.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/animator.gen.d.ts +16 -136
- package/out-js/decentraland/sdk/components/animator.gen.js +49 -35
- package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/audio_source.gen.d.ts +8 -32
- package/out-js/decentraland/sdk/components/audio_source.gen.js +22 -15
- package/out-js/decentraland/sdk/components/audio_source.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/audio_stream.gen.d.ts +8 -24
- package/out-js/decentraland/sdk/components/audio_stream.gen.js +22 -15
- package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_attach.gen.d.ts +8 -20
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js +22 -15
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +8 -48
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +22 -15
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +8 -128
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js +22 -15
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/billboard.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/billboard.gen.js +22 -15
- package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/camera_mode.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/camera_mode.gen.js +22 -15
- package/out-js/decentraland/sdk/components/camera_mode.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +8 -44
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +22 -15
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.d.ts +8 -136
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js +22 -15
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/engine_info.gen.d.ts +8 -24
- package/out-js/decentraland/sdk/components/engine_info.gen.js +22 -15
- package/out-js/decentraland/sdk/components/engine_info.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/gltf_container.gen.d.ts +8 -24
- package/out-js/decentraland/sdk/components/gltf_container.gen.js +22 -15
- package/out-js/decentraland/sdk/components/gltf_container.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +22 -15
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/material.gen.d.ts +24 -3368
- package/out-js/decentraland/sdk/components/material.gen.js +80 -58
- package/out-js/decentraland/sdk/components/material.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +40 -176
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +130 -95
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +40 -220
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +130 -95
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/nft_shape.gen.d.ts +8 -48
- package/out-js/decentraland/sdk/components/nft_shape.gen.js +22 -15
- package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/pointer_events.gen.d.ts +24 -184
- package/out-js/decentraland/sdk/components/pointer_events.gen.js +76 -55
- package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.d.ts +8 -212
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +22 -15
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/pointer_lock.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js +22 -15
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/raycast.gen.d.ts +8 -248
- package/out-js/decentraland/sdk/components/raycast.gen.js +30 -21
- package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/raycast_result.gen.d.ts +8 -352
- package/out-js/decentraland/sdk/components/raycast_result.gen.js +22 -15
- package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/text_shape.gen.d.ts +8 -174
- package/out-js/decentraland/sdk/components/text_shape.gen.js +22 -15
- package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_background.gen.d.ts +8 -314
- package/out-js/decentraland/sdk/components/ui_background.gen.js +22 -15
- package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.d.ts +8 -78
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +22 -15
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js +22 -15
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +8 -104
- package/out-js/decentraland/sdk/components/ui_input.gen.js +22 -15
- package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_input_result.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js +22 -15
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +8 -62
- package/out-js/decentraland/sdk/components/ui_text.gen.js +22 -15
- package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +8 -216
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +22 -15
- package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/video_player.gen.d.ts +8 -36
- package/out-js/decentraland/sdk/components/video_player.gen.js +22 -15
- package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/visibility_component.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/visibility_component.gen.js +22 -15
- package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -1
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.d.ts +1004 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js +7829 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js.map +1 -0
- package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.d.ts +398 -0
- package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js +2512 -0
- package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js.map +1 -0
- package/out-js/decentraland/social/friendships/friendships.gen.d.ts +182 -7715
- package/out-js/decentraland/social/friendships/friendships.gen.js +684 -1370
- package/out-js/decentraland/social/friendships/friendships.gen.js.map +1 -1
- package/out-js/google/protobuf/descriptor.gen.d.ts +200 -87148
- package/out-js/google/protobuf/descriptor.gen.js +720 -545
- package/out-js/google/protobuf/descriptor.gen.js.map +1 -1
- package/out-js/google/protobuf/empty.gen.d.ts +8 -8
- package/out-js/google/protobuf/empty.gen.js +22 -15
- package/out-js/google/protobuf/empty.gen.js.map +1 -1
- package/out-ts/decentraland/bff/authentication_service.gen.ts +72 -70
- package/out-ts/decentraland/bff/comms_director_service.gen.ts +46 -45
- package/out-ts/decentraland/bff/comms_service.gen.ts +28 -28
- package/out-ts/decentraland/bff/http_endpoints.gen.ts +137 -115
- package/out-ts/decentraland/bff/topics_service.gen.ts +80 -70
- package/out-ts/decentraland/common/border_rect.gen.ts +28 -28
- package/out-ts/decentraland/common/colors.gen.ts +28 -28
- package/out-ts/decentraland/common/content_mapping.gen.ts +14 -14
- package/out-ts/decentraland/common/sdk/user_data.gen.ts +42 -42
- package/out-ts/decentraland/common/texture.gen.ts +56 -56
- package/out-ts/decentraland/common/vectors.gen.ts +146 -42
- package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +28 -28
- package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +28 -28
- package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +291 -1786
- package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +271 -238
- package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +189 -168
- package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +112 -112
- package/out-ts/decentraland/kernel/apis/permissions.gen.ts +64 -56
- package/out-ts/decentraland/kernel/apis/players.gen.ts +96 -84
- package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +129 -126
- package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +156 -154
- package/out-ts/decentraland/kernel/apis/runtime.gen.ts +134 -126
- package/out-ts/decentraland/kernel/apis/scene.gen.ts +28 -28
- package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +79 -70
- package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +44 -42
- package/out-ts/decentraland/kernel/apis/testing.gen.ts +139 -126
- package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +30 -28
- package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +60 -56
- package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +126 -121
- package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +166 -158
- package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +225 -208
- package/out-ts/decentraland/realm/about.gen.ts +137 -115
- package/out-ts/decentraland/sdk/components/animator.gen.ts +28 -28
- package/out-ts/decentraland/sdk/components/audio_source.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/billboard.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/common/raycast_hit.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/engine_info.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +18 -14
- package/out-ts/decentraland/sdk/components/material.gen.ts +52 -45
- package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +82 -70
- package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +84 -70
- package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +44 -42
- package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +16 -14
- package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/raycast.gen.ts +22 -20
- package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/text_shape.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/ui_background.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/ui_input.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/ui_text.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/video_player.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +16 -14
- package/out-ts/decentraland/sdk/ecs6/components_ecs6.gen.ts +8942 -0
- package/out-ts/decentraland/sdk/ecs6/engine_interface_ecs6.gen.ts +2884 -0
- package/out-ts/decentraland/social/friendships/friendships.gen.ts +411 -1379
- package/out-ts/google/protobuf/descriptor.gen.ts +375 -350
- package/out-ts/google/protobuf/empty.gen.ts +14 -14
- package/package.json +3 -3
- package/proto/decentraland/common/vectors.proto +7 -0
- package/proto/decentraland/kernel/apis/engine_api.proto +2 -110
- package/proto/decentraland/sdk/ecs6/components_ecs6.proto +677 -0
- package/proto/decentraland/sdk/ecs6/engine_interface_ecs6.proto +151 -0
- package/proto/decentraland/social/friendships/friendships.proto +21 -64
|
@@ -62,8 +62,8 @@ function createBaseRequirePaymentRequest(): RequirePaymentRequest {
|
|
|
62
62
|
return { toAddress: "", amount: 0, currency: "" };
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
export
|
|
66
|
-
encode(message: RequirePaymentRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
65
|
+
export namespace RequirePaymentRequest {
|
|
66
|
+
export function encode(message: RequirePaymentRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
67
67
|
if (message.toAddress !== "") {
|
|
68
68
|
writer.uint32(10).string(message.toAddress);
|
|
69
69
|
}
|
|
@@ -74,9 +74,9 @@ export const RequirePaymentRequest = {
|
|
|
74
74
|
writer.uint32(26).string(message.currency);
|
|
75
75
|
}
|
|
76
76
|
return writer;
|
|
77
|
-
}
|
|
77
|
+
}
|
|
78
78
|
|
|
79
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): RequirePaymentRequest {
|
|
79
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): RequirePaymentRequest {
|
|
80
80
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
81
81
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
82
82
|
const message = createBaseRequirePaymentRequest();
|
|
@@ -111,50 +111,52 @@ export const RequirePaymentRequest = {
|
|
|
111
111
|
reader.skipType(tag & 7);
|
|
112
112
|
}
|
|
113
113
|
return message;
|
|
114
|
-
}
|
|
114
|
+
}
|
|
115
115
|
|
|
116
|
-
fromJSON(object: any): RequirePaymentRequest {
|
|
116
|
+
export function fromJSON(object: any): RequirePaymentRequest {
|
|
117
117
|
return {
|
|
118
118
|
toAddress: isSet(object.toAddress) ? String(object.toAddress) : "",
|
|
119
119
|
amount: isSet(object.amount) ? Number(object.amount) : 0,
|
|
120
120
|
currency: isSet(object.currency) ? String(object.currency) : "",
|
|
121
121
|
};
|
|
122
|
-
}
|
|
122
|
+
}
|
|
123
123
|
|
|
124
|
-
toJSON(message: RequirePaymentRequest): unknown {
|
|
124
|
+
export function toJSON(message: RequirePaymentRequest): unknown {
|
|
125
125
|
const obj: any = {};
|
|
126
126
|
message.toAddress !== undefined && (obj.toAddress = message.toAddress);
|
|
127
127
|
message.amount !== undefined && (obj.amount = message.amount);
|
|
128
128
|
message.currency !== undefined && (obj.currency = message.currency);
|
|
129
129
|
return obj;
|
|
130
|
-
}
|
|
130
|
+
}
|
|
131
131
|
|
|
132
|
-
create<I extends Exact<DeepPartial<RequirePaymentRequest>, I>>(base?: I): RequirePaymentRequest {
|
|
132
|
+
export function create<I extends Exact<DeepPartial<RequirePaymentRequest>, I>>(base?: I): RequirePaymentRequest {
|
|
133
133
|
return RequirePaymentRequest.fromPartial(base ?? {});
|
|
134
|
-
}
|
|
134
|
+
}
|
|
135
135
|
|
|
136
|
-
fromPartial<I extends Exact<DeepPartial<RequirePaymentRequest>, I>>(
|
|
136
|
+
export function fromPartial<I extends Exact<DeepPartial<RequirePaymentRequest>, I>>(
|
|
137
|
+
object: I,
|
|
138
|
+
): RequirePaymentRequest {
|
|
137
139
|
const message = createBaseRequirePaymentRequest();
|
|
138
140
|
message.toAddress = object.toAddress ?? "";
|
|
139
141
|
message.amount = object.amount ?? 0;
|
|
140
142
|
message.currency = object.currency ?? "";
|
|
141
143
|
return message;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
144
146
|
|
|
145
147
|
function createBaseRequirePaymentResponse(): RequirePaymentResponse {
|
|
146
148
|
return { jsonAnyResponse: "" };
|
|
147
149
|
}
|
|
148
150
|
|
|
149
|
-
export
|
|
150
|
-
encode(message: RequirePaymentResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
151
|
+
export namespace RequirePaymentResponse {
|
|
152
|
+
export function encode(message: RequirePaymentResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
151
153
|
if (message.jsonAnyResponse !== "") {
|
|
152
154
|
writer.uint32(10).string(message.jsonAnyResponse);
|
|
153
155
|
}
|
|
154
156
|
return writer;
|
|
155
|
-
}
|
|
157
|
+
}
|
|
156
158
|
|
|
157
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): RequirePaymentResponse {
|
|
159
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): RequirePaymentResponse {
|
|
158
160
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
159
161
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
160
162
|
const message = createBaseRequirePaymentResponse();
|
|
@@ -175,42 +177,44 @@ export const RequirePaymentResponse = {
|
|
|
175
177
|
reader.skipType(tag & 7);
|
|
176
178
|
}
|
|
177
179
|
return message;
|
|
178
|
-
}
|
|
180
|
+
}
|
|
179
181
|
|
|
180
|
-
fromJSON(object: any): RequirePaymentResponse {
|
|
182
|
+
export function fromJSON(object: any): RequirePaymentResponse {
|
|
181
183
|
return { jsonAnyResponse: isSet(object.jsonAnyResponse) ? String(object.jsonAnyResponse) : "" };
|
|
182
|
-
}
|
|
184
|
+
}
|
|
183
185
|
|
|
184
|
-
toJSON(message: RequirePaymentResponse): unknown {
|
|
186
|
+
export function toJSON(message: RequirePaymentResponse): unknown {
|
|
185
187
|
const obj: any = {};
|
|
186
188
|
message.jsonAnyResponse !== undefined && (obj.jsonAnyResponse = message.jsonAnyResponse);
|
|
187
189
|
return obj;
|
|
188
|
-
}
|
|
190
|
+
}
|
|
189
191
|
|
|
190
|
-
create<I extends Exact<DeepPartial<RequirePaymentResponse>, I>>(base?: I): RequirePaymentResponse {
|
|
192
|
+
export function create<I extends Exact<DeepPartial<RequirePaymentResponse>, I>>(base?: I): RequirePaymentResponse {
|
|
191
193
|
return RequirePaymentResponse.fromPartial(base ?? {});
|
|
192
|
-
}
|
|
194
|
+
}
|
|
193
195
|
|
|
194
|
-
fromPartial<I extends Exact<DeepPartial<RequirePaymentResponse>, I>>(
|
|
196
|
+
export function fromPartial<I extends Exact<DeepPartial<RequirePaymentResponse>, I>>(
|
|
197
|
+
object: I,
|
|
198
|
+
): RequirePaymentResponse {
|
|
195
199
|
const message = createBaseRequirePaymentResponse();
|
|
196
200
|
message.jsonAnyResponse = object.jsonAnyResponse ?? "";
|
|
197
201
|
return message;
|
|
198
|
-
}
|
|
199
|
-
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
200
204
|
|
|
201
205
|
function createBaseSignMessageRequest(): SignMessageRequest {
|
|
202
206
|
return { message: {} };
|
|
203
207
|
}
|
|
204
208
|
|
|
205
|
-
export
|
|
206
|
-
encode(message: SignMessageRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
209
|
+
export namespace SignMessageRequest {
|
|
210
|
+
export function encode(message: SignMessageRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
207
211
|
Object.entries(message.message).forEach(([key, value]) => {
|
|
208
212
|
SignMessageRequest_MessageEntry.encode({ key: key as any, value }, writer.uint32(10).fork()).ldelim();
|
|
209
213
|
});
|
|
210
214
|
return writer;
|
|
211
|
-
}
|
|
215
|
+
}
|
|
212
216
|
|
|
213
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): SignMessageRequest {
|
|
217
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): SignMessageRequest {
|
|
214
218
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
215
219
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
216
220
|
const message = createBaseSignMessageRequest();
|
|
@@ -234,9 +238,9 @@ export const SignMessageRequest = {
|
|
|
234
238
|
reader.skipType(tag & 7);
|
|
235
239
|
}
|
|
236
240
|
return message;
|
|
237
|
-
}
|
|
241
|
+
}
|
|
238
242
|
|
|
239
|
-
fromJSON(object: any): SignMessageRequest {
|
|
243
|
+
export function fromJSON(object: any): SignMessageRequest {
|
|
240
244
|
return {
|
|
241
245
|
message: isObject(object.message)
|
|
242
246
|
? Object.entries(object.message).reduce<{ [key: string]: string }>((acc, [key, value]) => {
|
|
@@ -245,9 +249,9 @@ export const SignMessageRequest = {
|
|
|
245
249
|
}, {})
|
|
246
250
|
: {},
|
|
247
251
|
};
|
|
248
|
-
}
|
|
252
|
+
}
|
|
249
253
|
|
|
250
|
-
toJSON(message: SignMessageRequest): unknown {
|
|
254
|
+
export function toJSON(message: SignMessageRequest): unknown {
|
|
251
255
|
const obj: any = {};
|
|
252
256
|
obj.message = {};
|
|
253
257
|
if (message.message) {
|
|
@@ -256,13 +260,13 @@ export const SignMessageRequest = {
|
|
|
256
260
|
});
|
|
257
261
|
}
|
|
258
262
|
return obj;
|
|
259
|
-
}
|
|
263
|
+
}
|
|
260
264
|
|
|
261
|
-
create<I extends Exact<DeepPartial<SignMessageRequest>, I>>(base?: I): SignMessageRequest {
|
|
265
|
+
export function create<I extends Exact<DeepPartial<SignMessageRequest>, I>>(base?: I): SignMessageRequest {
|
|
262
266
|
return SignMessageRequest.fromPartial(base ?? {});
|
|
263
|
-
}
|
|
267
|
+
}
|
|
264
268
|
|
|
265
|
-
fromPartial<I extends Exact<DeepPartial<SignMessageRequest>, I>>(object: I): SignMessageRequest {
|
|
269
|
+
export function fromPartial<I extends Exact<DeepPartial<SignMessageRequest>, I>>(object: I): SignMessageRequest {
|
|
266
270
|
const message = createBaseSignMessageRequest();
|
|
267
271
|
message.message = Object.entries(object.message ?? {}).reduce<{ [key: string]: string }>((acc, [key, value]) => {
|
|
268
272
|
if (value !== undefined) {
|
|
@@ -271,15 +275,18 @@ export const SignMessageRequest = {
|
|
|
271
275
|
return acc;
|
|
272
276
|
}, {});
|
|
273
277
|
return message;
|
|
274
|
-
}
|
|
275
|
-
}
|
|
278
|
+
}
|
|
279
|
+
}
|
|
276
280
|
|
|
277
281
|
function createBaseSignMessageRequest_MessageEntry(): SignMessageRequest_MessageEntry {
|
|
278
282
|
return { key: "", value: "" };
|
|
279
283
|
}
|
|
280
284
|
|
|
281
|
-
export
|
|
282
|
-
|
|
285
|
+
export namespace SignMessageRequest_MessageEntry {
|
|
286
|
+
export function encode(
|
|
287
|
+
message: SignMessageRequest_MessageEntry,
|
|
288
|
+
writer: _m0.Writer = _m0.Writer.create(),
|
|
289
|
+
): _m0.Writer {
|
|
283
290
|
if (message.key !== "") {
|
|
284
291
|
writer.uint32(10).string(message.key);
|
|
285
292
|
}
|
|
@@ -287,9 +294,9 @@ export const SignMessageRequest_MessageEntry = {
|
|
|
287
294
|
writer.uint32(18).string(message.value);
|
|
288
295
|
}
|
|
289
296
|
return writer;
|
|
290
|
-
}
|
|
297
|
+
}
|
|
291
298
|
|
|
292
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): SignMessageRequest_MessageEntry {
|
|
299
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): SignMessageRequest_MessageEntry {
|
|
293
300
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
294
301
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
295
302
|
const message = createBaseSignMessageRequest_MessageEntry();
|
|
@@ -317,39 +324,41 @@ export const SignMessageRequest_MessageEntry = {
|
|
|
317
324
|
reader.skipType(tag & 7);
|
|
318
325
|
}
|
|
319
326
|
return message;
|
|
320
|
-
}
|
|
327
|
+
}
|
|
321
328
|
|
|
322
|
-
fromJSON(object: any): SignMessageRequest_MessageEntry {
|
|
329
|
+
export function fromJSON(object: any): SignMessageRequest_MessageEntry {
|
|
323
330
|
return { key: isSet(object.key) ? String(object.key) : "", value: isSet(object.value) ? String(object.value) : "" };
|
|
324
|
-
}
|
|
331
|
+
}
|
|
325
332
|
|
|
326
|
-
toJSON(message: SignMessageRequest_MessageEntry): unknown {
|
|
333
|
+
export function toJSON(message: SignMessageRequest_MessageEntry): unknown {
|
|
327
334
|
const obj: any = {};
|
|
328
335
|
message.key !== undefined && (obj.key = message.key);
|
|
329
336
|
message.value !== undefined && (obj.value = message.value);
|
|
330
337
|
return obj;
|
|
331
|
-
}
|
|
338
|
+
}
|
|
332
339
|
|
|
333
|
-
create<I extends Exact<DeepPartial<SignMessageRequest_MessageEntry>, I>>(
|
|
340
|
+
export function create<I extends Exact<DeepPartial<SignMessageRequest_MessageEntry>, I>>(
|
|
341
|
+
base?: I,
|
|
342
|
+
): SignMessageRequest_MessageEntry {
|
|
334
343
|
return SignMessageRequest_MessageEntry.fromPartial(base ?? {});
|
|
335
|
-
}
|
|
344
|
+
}
|
|
336
345
|
|
|
337
|
-
fromPartial<I extends Exact<DeepPartial<SignMessageRequest_MessageEntry>, I>>(
|
|
346
|
+
export function fromPartial<I extends Exact<DeepPartial<SignMessageRequest_MessageEntry>, I>>(
|
|
338
347
|
object: I,
|
|
339
348
|
): SignMessageRequest_MessageEntry {
|
|
340
349
|
const message = createBaseSignMessageRequest_MessageEntry();
|
|
341
350
|
message.key = object.key ?? "";
|
|
342
351
|
message.value = object.value ?? "";
|
|
343
352
|
return message;
|
|
344
|
-
}
|
|
345
|
-
}
|
|
353
|
+
}
|
|
354
|
+
}
|
|
346
355
|
|
|
347
356
|
function createBaseSignMessageResponse(): SignMessageResponse {
|
|
348
357
|
return { message: "", hexEncodedMessage: "", signature: "" };
|
|
349
358
|
}
|
|
350
359
|
|
|
351
|
-
export
|
|
352
|
-
encode(message: SignMessageResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
360
|
+
export namespace SignMessageResponse {
|
|
361
|
+
export function encode(message: SignMessageResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
353
362
|
if (message.message !== "") {
|
|
354
363
|
writer.uint32(10).string(message.message);
|
|
355
364
|
}
|
|
@@ -360,9 +369,9 @@ export const SignMessageResponse = {
|
|
|
360
369
|
writer.uint32(26).string(message.signature);
|
|
361
370
|
}
|
|
362
371
|
return writer;
|
|
363
|
-
}
|
|
372
|
+
}
|
|
364
373
|
|
|
365
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): SignMessageResponse {
|
|
374
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): SignMessageResponse {
|
|
366
375
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
367
376
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
368
377
|
const message = createBaseSignMessageResponse();
|
|
@@ -397,50 +406,50 @@ export const SignMessageResponse = {
|
|
|
397
406
|
reader.skipType(tag & 7);
|
|
398
407
|
}
|
|
399
408
|
return message;
|
|
400
|
-
}
|
|
409
|
+
}
|
|
401
410
|
|
|
402
|
-
fromJSON(object: any): SignMessageResponse {
|
|
411
|
+
export function fromJSON(object: any): SignMessageResponse {
|
|
403
412
|
return {
|
|
404
413
|
message: isSet(object.message) ? String(object.message) : "",
|
|
405
414
|
hexEncodedMessage: isSet(object.hexEncodedMessage) ? String(object.hexEncodedMessage) : "",
|
|
406
415
|
signature: isSet(object.signature) ? String(object.signature) : "",
|
|
407
416
|
};
|
|
408
|
-
}
|
|
417
|
+
}
|
|
409
418
|
|
|
410
|
-
toJSON(message: SignMessageResponse): unknown {
|
|
419
|
+
export function toJSON(message: SignMessageResponse): unknown {
|
|
411
420
|
const obj: any = {};
|
|
412
421
|
message.message !== undefined && (obj.message = message.message);
|
|
413
422
|
message.hexEncodedMessage !== undefined && (obj.hexEncodedMessage = message.hexEncodedMessage);
|
|
414
423
|
message.signature !== undefined && (obj.signature = message.signature);
|
|
415
424
|
return obj;
|
|
416
|
-
}
|
|
425
|
+
}
|
|
417
426
|
|
|
418
|
-
create<I extends Exact<DeepPartial<SignMessageResponse>, I>>(base?: I): SignMessageResponse {
|
|
427
|
+
export function create<I extends Exact<DeepPartial<SignMessageResponse>, I>>(base?: I): SignMessageResponse {
|
|
419
428
|
return SignMessageResponse.fromPartial(base ?? {});
|
|
420
|
-
}
|
|
429
|
+
}
|
|
421
430
|
|
|
422
|
-
fromPartial<I extends Exact<DeepPartial<SignMessageResponse>, I>>(object: I): SignMessageResponse {
|
|
431
|
+
export function fromPartial<I extends Exact<DeepPartial<SignMessageResponse>, I>>(object: I): SignMessageResponse {
|
|
423
432
|
const message = createBaseSignMessageResponse();
|
|
424
433
|
message.message = object.message ?? "";
|
|
425
434
|
message.hexEncodedMessage = object.hexEncodedMessage ?? "";
|
|
426
435
|
message.signature = object.signature ?? "";
|
|
427
436
|
return message;
|
|
428
|
-
}
|
|
429
|
-
}
|
|
437
|
+
}
|
|
438
|
+
}
|
|
430
439
|
|
|
431
440
|
function createBaseConvertMessageToObjectRequest(): ConvertMessageToObjectRequest {
|
|
432
441
|
return { message: "" };
|
|
433
442
|
}
|
|
434
443
|
|
|
435
|
-
export
|
|
436
|
-
encode(message: ConvertMessageToObjectRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
444
|
+
export namespace ConvertMessageToObjectRequest {
|
|
445
|
+
export function encode(message: ConvertMessageToObjectRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
437
446
|
if (message.message !== "") {
|
|
438
447
|
writer.uint32(10).string(message.message);
|
|
439
448
|
}
|
|
440
449
|
return writer;
|
|
441
|
-
}
|
|
450
|
+
}
|
|
442
451
|
|
|
443
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ConvertMessageToObjectRequest {
|
|
452
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): ConvertMessageToObjectRequest {
|
|
444
453
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
445
454
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
446
455
|
const message = createBaseConvertMessageToObjectRequest();
|
|
@@ -461,44 +470,49 @@ export const ConvertMessageToObjectRequest = {
|
|
|
461
470
|
reader.skipType(tag & 7);
|
|
462
471
|
}
|
|
463
472
|
return message;
|
|
464
|
-
}
|
|
473
|
+
}
|
|
465
474
|
|
|
466
|
-
fromJSON(object: any): ConvertMessageToObjectRequest {
|
|
475
|
+
export function fromJSON(object: any): ConvertMessageToObjectRequest {
|
|
467
476
|
return { message: isSet(object.message) ? String(object.message) : "" };
|
|
468
|
-
}
|
|
477
|
+
}
|
|
469
478
|
|
|
470
|
-
toJSON(message: ConvertMessageToObjectRequest): unknown {
|
|
479
|
+
export function toJSON(message: ConvertMessageToObjectRequest): unknown {
|
|
471
480
|
const obj: any = {};
|
|
472
481
|
message.message !== undefined && (obj.message = message.message);
|
|
473
482
|
return obj;
|
|
474
|
-
}
|
|
483
|
+
}
|
|
475
484
|
|
|
476
|
-
create<I extends Exact<DeepPartial<ConvertMessageToObjectRequest>, I>>(
|
|
485
|
+
export function create<I extends Exact<DeepPartial<ConvertMessageToObjectRequest>, I>>(
|
|
486
|
+
base?: I,
|
|
487
|
+
): ConvertMessageToObjectRequest {
|
|
477
488
|
return ConvertMessageToObjectRequest.fromPartial(base ?? {});
|
|
478
|
-
}
|
|
489
|
+
}
|
|
479
490
|
|
|
480
|
-
fromPartial<I extends Exact<DeepPartial<ConvertMessageToObjectRequest>, I>>(
|
|
491
|
+
export function fromPartial<I extends Exact<DeepPartial<ConvertMessageToObjectRequest>, I>>(
|
|
481
492
|
object: I,
|
|
482
493
|
): ConvertMessageToObjectRequest {
|
|
483
494
|
const message = createBaseConvertMessageToObjectRequest();
|
|
484
495
|
message.message = object.message ?? "";
|
|
485
496
|
return message;
|
|
486
|
-
}
|
|
487
|
-
}
|
|
497
|
+
}
|
|
498
|
+
}
|
|
488
499
|
|
|
489
500
|
function createBaseConvertMessageToObjectResponse(): ConvertMessageToObjectResponse {
|
|
490
501
|
return { dict: {} };
|
|
491
502
|
}
|
|
492
503
|
|
|
493
|
-
export
|
|
494
|
-
|
|
504
|
+
export namespace ConvertMessageToObjectResponse {
|
|
505
|
+
export function encode(
|
|
506
|
+
message: ConvertMessageToObjectResponse,
|
|
507
|
+
writer: _m0.Writer = _m0.Writer.create(),
|
|
508
|
+
): _m0.Writer {
|
|
495
509
|
Object.entries(message.dict).forEach(([key, value]) => {
|
|
496
510
|
ConvertMessageToObjectResponse_DictEntry.encode({ key: key as any, value }, writer.uint32(10).fork()).ldelim();
|
|
497
511
|
});
|
|
498
512
|
return writer;
|
|
499
|
-
}
|
|
513
|
+
}
|
|
500
514
|
|
|
501
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ConvertMessageToObjectResponse {
|
|
515
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): ConvertMessageToObjectResponse {
|
|
502
516
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
503
517
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
504
518
|
const message = createBaseConvertMessageToObjectResponse();
|
|
@@ -522,9 +536,9 @@ export const ConvertMessageToObjectResponse = {
|
|
|
522
536
|
reader.skipType(tag & 7);
|
|
523
537
|
}
|
|
524
538
|
return message;
|
|
525
|
-
}
|
|
539
|
+
}
|
|
526
540
|
|
|
527
|
-
fromJSON(object: any): ConvertMessageToObjectResponse {
|
|
541
|
+
export function fromJSON(object: any): ConvertMessageToObjectResponse {
|
|
528
542
|
return {
|
|
529
543
|
dict: isObject(object.dict)
|
|
530
544
|
? Object.entries(object.dict).reduce<{ [key: string]: string }>((acc, [key, value]) => {
|
|
@@ -533,9 +547,9 @@ export const ConvertMessageToObjectResponse = {
|
|
|
533
547
|
}, {})
|
|
534
548
|
: {},
|
|
535
549
|
};
|
|
536
|
-
}
|
|
550
|
+
}
|
|
537
551
|
|
|
538
|
-
toJSON(message: ConvertMessageToObjectResponse): unknown {
|
|
552
|
+
export function toJSON(message: ConvertMessageToObjectResponse): unknown {
|
|
539
553
|
const obj: any = {};
|
|
540
554
|
obj.dict = {};
|
|
541
555
|
if (message.dict) {
|
|
@@ -544,13 +558,15 @@ export const ConvertMessageToObjectResponse = {
|
|
|
544
558
|
});
|
|
545
559
|
}
|
|
546
560
|
return obj;
|
|
547
|
-
}
|
|
561
|
+
}
|
|
548
562
|
|
|
549
|
-
create<I extends Exact<DeepPartial<ConvertMessageToObjectResponse>, I>>(
|
|
563
|
+
export function create<I extends Exact<DeepPartial<ConvertMessageToObjectResponse>, I>>(
|
|
564
|
+
base?: I,
|
|
565
|
+
): ConvertMessageToObjectResponse {
|
|
550
566
|
return ConvertMessageToObjectResponse.fromPartial(base ?? {});
|
|
551
|
-
}
|
|
567
|
+
}
|
|
552
568
|
|
|
553
|
-
fromPartial<I extends Exact<DeepPartial<ConvertMessageToObjectResponse>, I>>(
|
|
569
|
+
export function fromPartial<I extends Exact<DeepPartial<ConvertMessageToObjectResponse>, I>>(
|
|
554
570
|
object: I,
|
|
555
571
|
): ConvertMessageToObjectResponse {
|
|
556
572
|
const message = createBaseConvertMessageToObjectResponse();
|
|
@@ -561,15 +577,18 @@ export const ConvertMessageToObjectResponse = {
|
|
|
561
577
|
return acc;
|
|
562
578
|
}, {});
|
|
563
579
|
return message;
|
|
564
|
-
}
|
|
565
|
-
}
|
|
580
|
+
}
|
|
581
|
+
}
|
|
566
582
|
|
|
567
583
|
function createBaseConvertMessageToObjectResponse_DictEntry(): ConvertMessageToObjectResponse_DictEntry {
|
|
568
584
|
return { key: "", value: "" };
|
|
569
585
|
}
|
|
570
586
|
|
|
571
|
-
export
|
|
572
|
-
|
|
587
|
+
export namespace ConvertMessageToObjectResponse_DictEntry {
|
|
588
|
+
export function encode(
|
|
589
|
+
message: ConvertMessageToObjectResponse_DictEntry,
|
|
590
|
+
writer: _m0.Writer = _m0.Writer.create(),
|
|
591
|
+
): _m0.Writer {
|
|
573
592
|
if (message.key !== "") {
|
|
574
593
|
writer.uint32(10).string(message.key);
|
|
575
594
|
}
|
|
@@ -577,9 +596,9 @@ export const ConvertMessageToObjectResponse_DictEntry = {
|
|
|
577
596
|
writer.uint32(18).string(message.value);
|
|
578
597
|
}
|
|
579
598
|
return writer;
|
|
580
|
-
}
|
|
599
|
+
}
|
|
581
600
|
|
|
582
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ConvertMessageToObjectResponse_DictEntry {
|
|
601
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): ConvertMessageToObjectResponse_DictEntry {
|
|
583
602
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
584
603
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
585
604
|
const message = createBaseConvertMessageToObjectResponse_DictEntry();
|
|
@@ -607,41 +626,41 @@ export const ConvertMessageToObjectResponse_DictEntry = {
|
|
|
607
626
|
reader.skipType(tag & 7);
|
|
608
627
|
}
|
|
609
628
|
return message;
|
|
610
|
-
}
|
|
629
|
+
}
|
|
611
630
|
|
|
612
|
-
fromJSON(object: any): ConvertMessageToObjectResponse_DictEntry {
|
|
631
|
+
export function fromJSON(object: any): ConvertMessageToObjectResponse_DictEntry {
|
|
613
632
|
return { key: isSet(object.key) ? String(object.key) : "", value: isSet(object.value) ? String(object.value) : "" };
|
|
614
|
-
}
|
|
633
|
+
}
|
|
615
634
|
|
|
616
|
-
toJSON(message: ConvertMessageToObjectResponse_DictEntry): unknown {
|
|
635
|
+
export function toJSON(message: ConvertMessageToObjectResponse_DictEntry): unknown {
|
|
617
636
|
const obj: any = {};
|
|
618
637
|
message.key !== undefined && (obj.key = message.key);
|
|
619
638
|
message.value !== undefined && (obj.value = message.value);
|
|
620
639
|
return obj;
|
|
621
|
-
}
|
|
640
|
+
}
|
|
622
641
|
|
|
623
|
-
create<I extends Exact<DeepPartial<ConvertMessageToObjectResponse_DictEntry>, I>>(
|
|
642
|
+
export function create<I extends Exact<DeepPartial<ConvertMessageToObjectResponse_DictEntry>, I>>(
|
|
624
643
|
base?: I,
|
|
625
644
|
): ConvertMessageToObjectResponse_DictEntry {
|
|
626
645
|
return ConvertMessageToObjectResponse_DictEntry.fromPartial(base ?? {});
|
|
627
|
-
}
|
|
646
|
+
}
|
|
628
647
|
|
|
629
|
-
fromPartial<I extends Exact<DeepPartial<ConvertMessageToObjectResponse_DictEntry>, I>>(
|
|
648
|
+
export function fromPartial<I extends Exact<DeepPartial<ConvertMessageToObjectResponse_DictEntry>, I>>(
|
|
630
649
|
object: I,
|
|
631
650
|
): ConvertMessageToObjectResponse_DictEntry {
|
|
632
651
|
const message = createBaseConvertMessageToObjectResponse_DictEntry();
|
|
633
652
|
message.key = object.key ?? "";
|
|
634
653
|
message.value = object.value ?? "";
|
|
635
654
|
return message;
|
|
636
|
-
}
|
|
637
|
-
}
|
|
655
|
+
}
|
|
656
|
+
}
|
|
638
657
|
|
|
639
658
|
function createBaseSendAsyncRequest(): SendAsyncRequest {
|
|
640
659
|
return { id: 0, method: "", jsonParams: "" };
|
|
641
660
|
}
|
|
642
661
|
|
|
643
|
-
export
|
|
644
|
-
encode(message: SendAsyncRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
662
|
+
export namespace SendAsyncRequest {
|
|
663
|
+
export function encode(message: SendAsyncRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
645
664
|
if (message.id !== 0) {
|
|
646
665
|
writer.uint32(8).int32(message.id);
|
|
647
666
|
}
|
|
@@ -652,9 +671,9 @@ export const SendAsyncRequest = {
|
|
|
652
671
|
writer.uint32(26).string(message.jsonParams);
|
|
653
672
|
}
|
|
654
673
|
return writer;
|
|
655
|
-
}
|
|
674
|
+
}
|
|
656
675
|
|
|
657
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): SendAsyncRequest {
|
|
676
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): SendAsyncRequest {
|
|
658
677
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
659
678
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
660
679
|
const message = createBaseSendAsyncRequest();
|
|
@@ -689,50 +708,50 @@ export const SendAsyncRequest = {
|
|
|
689
708
|
reader.skipType(tag & 7);
|
|
690
709
|
}
|
|
691
710
|
return message;
|
|
692
|
-
}
|
|
711
|
+
}
|
|
693
712
|
|
|
694
|
-
fromJSON(object: any): SendAsyncRequest {
|
|
713
|
+
export function fromJSON(object: any): SendAsyncRequest {
|
|
695
714
|
return {
|
|
696
715
|
id: isSet(object.id) ? Number(object.id) : 0,
|
|
697
716
|
method: isSet(object.method) ? String(object.method) : "",
|
|
698
717
|
jsonParams: isSet(object.jsonParams) ? String(object.jsonParams) : "",
|
|
699
718
|
};
|
|
700
|
-
}
|
|
719
|
+
}
|
|
701
720
|
|
|
702
|
-
toJSON(message: SendAsyncRequest): unknown {
|
|
721
|
+
export function toJSON(message: SendAsyncRequest): unknown {
|
|
703
722
|
const obj: any = {};
|
|
704
723
|
message.id !== undefined && (obj.id = Math.round(message.id));
|
|
705
724
|
message.method !== undefined && (obj.method = message.method);
|
|
706
725
|
message.jsonParams !== undefined && (obj.jsonParams = message.jsonParams);
|
|
707
726
|
return obj;
|
|
708
|
-
}
|
|
727
|
+
}
|
|
709
728
|
|
|
710
|
-
create<I extends Exact<DeepPartial<SendAsyncRequest>, I>>(base?: I): SendAsyncRequest {
|
|
729
|
+
export function create<I extends Exact<DeepPartial<SendAsyncRequest>, I>>(base?: I): SendAsyncRequest {
|
|
711
730
|
return SendAsyncRequest.fromPartial(base ?? {});
|
|
712
|
-
}
|
|
731
|
+
}
|
|
713
732
|
|
|
714
|
-
fromPartial<I extends Exact<DeepPartial<SendAsyncRequest>, I>>(object: I): SendAsyncRequest {
|
|
733
|
+
export function fromPartial<I extends Exact<DeepPartial<SendAsyncRequest>, I>>(object: I): SendAsyncRequest {
|
|
715
734
|
const message = createBaseSendAsyncRequest();
|
|
716
735
|
message.id = object.id ?? 0;
|
|
717
736
|
message.method = object.method ?? "";
|
|
718
737
|
message.jsonParams = object.jsonParams ?? "";
|
|
719
738
|
return message;
|
|
720
|
-
}
|
|
721
|
-
}
|
|
739
|
+
}
|
|
740
|
+
}
|
|
722
741
|
|
|
723
742
|
function createBaseSendAsyncResponse(): SendAsyncResponse {
|
|
724
743
|
return { jsonAnyResponse: "" };
|
|
725
744
|
}
|
|
726
745
|
|
|
727
|
-
export
|
|
728
|
-
encode(message: SendAsyncResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
746
|
+
export namespace SendAsyncResponse {
|
|
747
|
+
export function encode(message: SendAsyncResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
729
748
|
if (message.jsonAnyResponse !== "") {
|
|
730
749
|
writer.uint32(10).string(message.jsonAnyResponse);
|
|
731
750
|
}
|
|
732
751
|
return writer;
|
|
733
|
-
}
|
|
752
|
+
}
|
|
734
753
|
|
|
735
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): SendAsyncResponse {
|
|
754
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): SendAsyncResponse {
|
|
736
755
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
737
756
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
738
757
|
const message = createBaseSendAsyncResponse();
|
|
@@ -753,39 +772,39 @@ export const SendAsyncResponse = {
|
|
|
753
772
|
reader.skipType(tag & 7);
|
|
754
773
|
}
|
|
755
774
|
return message;
|
|
756
|
-
}
|
|
775
|
+
}
|
|
757
776
|
|
|
758
|
-
fromJSON(object: any): SendAsyncResponse {
|
|
777
|
+
export function fromJSON(object: any): SendAsyncResponse {
|
|
759
778
|
return { jsonAnyResponse: isSet(object.jsonAnyResponse) ? String(object.jsonAnyResponse) : "" };
|
|
760
|
-
}
|
|
779
|
+
}
|
|
761
780
|
|
|
762
|
-
toJSON(message: SendAsyncResponse): unknown {
|
|
781
|
+
export function toJSON(message: SendAsyncResponse): unknown {
|
|
763
782
|
const obj: any = {};
|
|
764
783
|
message.jsonAnyResponse !== undefined && (obj.jsonAnyResponse = message.jsonAnyResponse);
|
|
765
784
|
return obj;
|
|
766
|
-
}
|
|
785
|
+
}
|
|
767
786
|
|
|
768
|
-
create<I extends Exact<DeepPartial<SendAsyncResponse>, I>>(base?: I): SendAsyncResponse {
|
|
787
|
+
export function create<I extends Exact<DeepPartial<SendAsyncResponse>, I>>(base?: I): SendAsyncResponse {
|
|
769
788
|
return SendAsyncResponse.fromPartial(base ?? {});
|
|
770
|
-
}
|
|
789
|
+
}
|
|
771
790
|
|
|
772
|
-
fromPartial<I extends Exact<DeepPartial<SendAsyncResponse>, I>>(object: I): SendAsyncResponse {
|
|
791
|
+
export function fromPartial<I extends Exact<DeepPartial<SendAsyncResponse>, I>>(object: I): SendAsyncResponse {
|
|
773
792
|
const message = createBaseSendAsyncResponse();
|
|
774
793
|
message.jsonAnyResponse = object.jsonAnyResponse ?? "";
|
|
775
794
|
return message;
|
|
776
|
-
}
|
|
777
|
-
}
|
|
795
|
+
}
|
|
796
|
+
}
|
|
778
797
|
|
|
779
798
|
function createBaseGetUserAccountRequest(): GetUserAccountRequest {
|
|
780
799
|
return {};
|
|
781
800
|
}
|
|
782
801
|
|
|
783
|
-
export
|
|
784
|
-
encode(_: GetUserAccountRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
802
|
+
export namespace GetUserAccountRequest {
|
|
803
|
+
export function encode(_: GetUserAccountRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
785
804
|
return writer;
|
|
786
|
-
}
|
|
805
|
+
}
|
|
787
806
|
|
|
788
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): GetUserAccountRequest {
|
|
807
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): GetUserAccountRequest {
|
|
789
808
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
790
809
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
791
810
|
const message = createBaseGetUserAccountRequest();
|
|
@@ -799,40 +818,40 @@ export const GetUserAccountRequest = {
|
|
|
799
818
|
reader.skipType(tag & 7);
|
|
800
819
|
}
|
|
801
820
|
return message;
|
|
802
|
-
}
|
|
821
|
+
}
|
|
803
822
|
|
|
804
|
-
fromJSON(_: any): GetUserAccountRequest {
|
|
823
|
+
export function fromJSON(_: any): GetUserAccountRequest {
|
|
805
824
|
return {};
|
|
806
|
-
}
|
|
825
|
+
}
|
|
807
826
|
|
|
808
|
-
toJSON(_: GetUserAccountRequest): unknown {
|
|
827
|
+
export function toJSON(_: GetUserAccountRequest): unknown {
|
|
809
828
|
const obj: any = {};
|
|
810
829
|
return obj;
|
|
811
|
-
}
|
|
830
|
+
}
|
|
812
831
|
|
|
813
|
-
create<I extends Exact<DeepPartial<GetUserAccountRequest>, I>>(base?: I): GetUserAccountRequest {
|
|
832
|
+
export function create<I extends Exact<DeepPartial<GetUserAccountRequest>, I>>(base?: I): GetUserAccountRequest {
|
|
814
833
|
return GetUserAccountRequest.fromPartial(base ?? {});
|
|
815
|
-
}
|
|
834
|
+
}
|
|
816
835
|
|
|
817
|
-
fromPartial<I extends Exact<DeepPartial<GetUserAccountRequest>, I>>(_: I): GetUserAccountRequest {
|
|
836
|
+
export function fromPartial<I extends Exact<DeepPartial<GetUserAccountRequest>, I>>(_: I): GetUserAccountRequest {
|
|
818
837
|
const message = createBaseGetUserAccountRequest();
|
|
819
838
|
return message;
|
|
820
|
-
}
|
|
821
|
-
}
|
|
839
|
+
}
|
|
840
|
+
}
|
|
822
841
|
|
|
823
842
|
function createBaseGetUserAccountResponse(): GetUserAccountResponse {
|
|
824
843
|
return { address: undefined };
|
|
825
844
|
}
|
|
826
845
|
|
|
827
|
-
export
|
|
828
|
-
encode(message: GetUserAccountResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
846
|
+
export namespace GetUserAccountResponse {
|
|
847
|
+
export function encode(message: GetUserAccountResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
829
848
|
if (message.address !== undefined) {
|
|
830
849
|
writer.uint32(10).string(message.address);
|
|
831
850
|
}
|
|
832
851
|
return writer;
|
|
833
|
-
}
|
|
852
|
+
}
|
|
834
853
|
|
|
835
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): GetUserAccountResponse {
|
|
854
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): GetUserAccountResponse {
|
|
836
855
|
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
837
856
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
838
857
|
const message = createBaseGetUserAccountResponse();
|
|
@@ -853,28 +872,30 @@ export const GetUserAccountResponse = {
|
|
|
853
872
|
reader.skipType(tag & 7);
|
|
854
873
|
}
|
|
855
874
|
return message;
|
|
856
|
-
}
|
|
875
|
+
}
|
|
857
876
|
|
|
858
|
-
fromJSON(object: any): GetUserAccountResponse {
|
|
877
|
+
export function fromJSON(object: any): GetUserAccountResponse {
|
|
859
878
|
return { address: isSet(object.address) ? String(object.address) : undefined };
|
|
860
|
-
}
|
|
879
|
+
}
|
|
861
880
|
|
|
862
|
-
toJSON(message: GetUserAccountResponse): unknown {
|
|
881
|
+
export function toJSON(message: GetUserAccountResponse): unknown {
|
|
863
882
|
const obj: any = {};
|
|
864
883
|
message.address !== undefined && (obj.address = message.address);
|
|
865
884
|
return obj;
|
|
866
|
-
}
|
|
885
|
+
}
|
|
867
886
|
|
|
868
|
-
create<I extends Exact<DeepPartial<GetUserAccountResponse>, I>>(base?: I): GetUserAccountResponse {
|
|
887
|
+
export function create<I extends Exact<DeepPartial<GetUserAccountResponse>, I>>(base?: I): GetUserAccountResponse {
|
|
869
888
|
return GetUserAccountResponse.fromPartial(base ?? {});
|
|
870
|
-
}
|
|
889
|
+
}
|
|
871
890
|
|
|
872
|
-
fromPartial<I extends Exact<DeepPartial<GetUserAccountResponse>, I>>(
|
|
891
|
+
export function fromPartial<I extends Exact<DeepPartial<GetUserAccountResponse>, I>>(
|
|
892
|
+
object: I,
|
|
893
|
+
): GetUserAccountResponse {
|
|
873
894
|
const message = createBaseGetUserAccountResponse();
|
|
874
895
|
message.address = object.address ?? undefined;
|
|
875
896
|
return message;
|
|
876
|
-
}
|
|
877
|
-
}
|
|
897
|
+
}
|
|
898
|
+
}
|
|
878
899
|
|
|
879
900
|
export type EthereumControllerServiceDefinition = typeof EthereumControllerServiceDefinition;
|
|
880
901
|
export const EthereumControllerServiceDefinition = {
|