Skip to content

Commit 25db8e1

Browse files
committed
chore: re-gen
1 parent 6335a98 commit 25db8e1

File tree

17 files changed

+616
-297
lines changed

17 files changed

+616
-297
lines changed

pyinjective/proto/cosmwasm/wasm/v1/types_pb2.py

Lines changed: 18 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyinjective/proto/ibc/applications/interchain_accounts/host/v1/tx_pb2.py

Lines changed: 34 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2+
"""Client and server classes corresponding to protobuf-defined services."""
3+
import grpc
4+
5+
from ibc.applications.interchain_accounts.host.v1 import tx_pb2 as ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2
6+
7+
8+
class MsgStub(object):
9+
"""Msg defines the 27-interchain-accounts/host Msg service.
10+
"""
11+
12+
def __init__(self, channel):
13+
"""Constructor.
14+
15+
Args:
16+
channel: A grpc.Channel.
17+
"""
18+
self.UpdateParams = channel.unary_unary(
19+
'/ibc.applications.interchain_accounts.host.v1.Msg/UpdateParams',
20+
request_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString,
21+
response_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString,
22+
)
23+
24+
25+
class MsgServicer(object):
26+
"""Msg defines the 27-interchain-accounts/host Msg service.
27+
"""
28+
29+
def UpdateParams(self, request, context):
30+
"""UpdateParams defines a rpc handler for MsgUpdateParams.
31+
"""
32+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
33+
context.set_details('Method not implemented!')
34+
raise NotImplementedError('Method not implemented!')
35+
36+
37+
def add_MsgServicer_to_server(servicer, server):
38+
rpc_method_handlers = {
39+
'UpdateParams': grpc.unary_unary_rpc_method_handler(
40+
servicer.UpdateParams,
41+
request_deserializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParams.FromString,
42+
response_serializer=ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.SerializeToString,
43+
),
44+
}
45+
generic_handler = grpc.method_handlers_generic_handler(
46+
'ibc.applications.interchain_accounts.host.v1.Msg', rpc_method_handlers)
47+
server.add_generic_rpc_handlers((generic_handler,))
48+
49+
50+
# This class is part of an EXPERIMENTAL API.
51+
class Msg(object):
52+
"""Msg defines the 27-interchain-accounts/host Msg service.
53+
"""
54+
55+
@staticmethod
56+
def UpdateParams(request,
57+
target,
58+
options=(),
59+
channel_credentials=None,
60+
call_credentials=None,
61+
insecure=False,
62+
compression=None,
63+
wait_for_ready=None,
64+
timeout=None,
65+
metadata=None):
66+
return grpc.experimental.unary_unary(request, target, '/ibc.applications.interchain_accounts.host.v1.Msg/UpdateParams',
67+
ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParams.SerializeToString,
68+
ibc_dot_applications_dot_interchain__accounts_dot_host_dot_v1_dot_tx__pb2.MsgUpdateParamsResponse.FromString,
69+
options, channel_credentials,
70+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

pyinjective/proto/ibc/applications/transfer/v1/tx_pb2.py

Lines changed: 14 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)