0g-chain/proto/zgc/dasigners/v1/tx.proto

48 lines
1.1 KiB
Protocol Buffer
Raw Permalink Normal View History

2024-05-09 18:54:47 +00:00
syntax = "proto3";
package zgc.dasigners.v1;
import "cosmos_proto/cosmos.proto";
import "gogoproto/gogo.proto";
import "google/protobuf/any.proto";
import "zgc/dasigners/v1/dasigners.proto";
import "zgc/dasigners/v1/genesis.proto";
2024-05-09 18:54:47 +00:00
option go_package = "github.com/0glabs/0g-chain/x/dasigners/v1/types";
option (gogoproto.goproto_getters_all) = false;
// Msg defines the dasigners Msg service
service Msg {
rpc ChangeParams(MsgChangeParams) returns (MsgChangeParamsResponse);
2024-05-09 18:54:47 +00:00
rpc RegisterSigner(MsgRegisterSigner) returns (MsgRegisterSignerResponse);
rpc UpdateSocket(MsgUpdateSocket) returns (MsgUpdateSocketResponse);
rpc RegisterNextEpoch(MsgRegisterNextEpoch) returns (MsgRegisterNextEpochResponse);
}
message MsgChangeParams {
string authority = 1;
Params params = 2;
}
message MsgChangeParamsResponse {}
2024-05-09 18:54:47 +00:00
message MsgRegisterSigner {
Signer signer = 1;
bytes signature = 2;
}
message MsgRegisterSignerResponse {}
message MsgUpdateSocket {
string account = 1;
string socket = 2;
}
message MsgUpdateSocketResponse {}
message MsgRegisterNextEpoch {
string account = 1;
bytes signature = 2;
}
message MsgRegisterNextEpochResponse {}