-
Notifications
You must be signed in to change notification settings - Fork 672
/
Copy pathtx.proto
60 lines (43 loc) · 1.76 KB
/
tx.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
syntax = "proto3";
package ibc.applications.interchain_accounts.host.v1;
option go_package = "github.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types";
import "gogoproto/gogo.proto";
import "cosmos/msg/v1/msg.proto";
import "ibc/applications/interchain_accounts/host/v1/host.proto";
// Msg defines the 27-interchain-accounts/host Msg service.
service Msg {
option (cosmos.msg.v1.service) = true;
// UpdateParams defines a rpc handler for MsgUpdateParams.
rpc UpdateParams(MsgUpdateParams) returns (MsgUpdateParamsResponse);
// ModuleQuerySafe defines a rpc handler for MsgModuleQuerySafe.
rpc ModuleQuerySafe(MsgModuleQuerySafe) returns (MsgModuleQuerySafeResponse);
}
// MsgUpdateParams defines the payload for Msg/UpdateParams
message MsgUpdateParams {
option (cosmos.msg.v1.signer) = "signer";
option (gogoproto.goproto_getters) = false;
// signer address
string signer = 1;
// params defines the 27-interchain-accounts/host parameters to update.
//
// NOTE: All parameters must be supplied.
Params params = 2 [(gogoproto.nullable) = false];
}
// MsgUpdateParamsResponse defines the response for Msg/UpdateParams
message MsgUpdateParamsResponse {}
// MsgModuleQuerySafe defines the payload for Msg/ModuleQuerySafe
message MsgModuleQuerySafe {
option (cosmos.msg.v1.signer) = "signer";
option (gogoproto.goproto_getters) = false;
// signer address
string signer = 1;
// requests defines the module safe queries to execute.
repeated QueryRequest requests = 2;
}
// MsgModuleQuerySafeResponse defines the response for Msg/ModuleQuerySafe
message MsgModuleQuerySafeResponse {
// height at which the responses were queried
uint64 height = 1;
// protobuf encoded responses for each query
repeated bytes responses = 2;
}