0g-chain/proto/zgc/dasigners/v1/dasigners.proto
MiniFrenchBread 0cc08ddba9 feat: quorum
2024-05-16 22:49:29 +08:00

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;
}