mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-15 20:45:18 +00:00
30 lines
728 B
Protocol Buffer
30 lines
728 B
Protocol Buffer
syntax = "proto3";
|
|
package zgc.dasigners.v1;
|
|
|
|
import "cosmos_proto/cosmos.proto";
|
|
import "gogoproto/gogo.proto";
|
|
import "google/protobuf/any.proto";
|
|
import "google/protobuf/duration.proto";
|
|
|
|
option go_package = "github.com/0glabs/0g-chain/x/dasigners/v1/types";
|
|
option (gogoproto.goproto_getters_all) = false;
|
|
|
|
message Signer {
|
|
// account defines the hex address of signer without 0x
|
|
string account = 1;
|
|
// socket defines the da node socket address
|
|
string socket = 2;
|
|
// pubkey_g1 defines the public key on bn254 G1
|
|
bytes pubkey_g1 = 3;
|
|
// pubkey_g1 defines the public key on bn254 G2
|
|
bytes pubkey_g2 = 4;
|
|
}
|
|
|
|
message Quorum {
|
|
repeated string signers = 1;
|
|
}
|
|
|
|
message Quorums {
|
|
repeated Quorum quorums = 1;
|
|
}
|