diff --git a/local_node.sh b/local_node.sh index c5d458519..a08d42eef 100755 --- a/local_node.sh +++ b/local_node.sh @@ -87,6 +87,9 @@ if [[ $overwrite == "y" || $overwrite == "Y" ]]; then LOCAL_ADDRESS_HEX=0x$(exocored keys parse "$LOCAL_ADDRESS_EXO" --output json | jq -r .bytes | tr '[:upper:]' '[:lower:]') CONSENSUS_KEY=$(exocored keys consensus-pubkey-to-bytes --keyring-backend "$KEYRING" --home "$HOMEDIR" --output json | jq -r .bytes32) + echo "the local operator address is $LOCAL_ADDRESS_EXO" + echo "the dogfood AVS address is $AVS_ADDRESS" + # Change parameter token denominations to hua jq '.app_state["crisis"]["constant_fee"]["denom"]="hua"' "$GENESIS" >"$TMP_GENESIS" && mv "$TMP_GENESIS" "$GENESIS" jq '.app_state["gov"]["deposit_params"]["min_deposit"][0]["denom"]="hua"' "$GENESIS" >"$TMP_GENESIS" && mv "$TMP_GENESIS" "$GENESIS" diff --git a/proto/exocore/operator/v1/query.proto b/proto/exocore/operator/v1/query.proto index 05740969f..6bec82d0e 100644 --- a/proto/exocore/operator/v1/query.proto +++ b/proto/exocore/operator/v1/query.proto @@ -31,24 +31,24 @@ message QueryAllOperatorsResponse { cosmos.base.query.v1beta1.PageResponse pagination = 2; } -// OperatorAVSAddressDetails includes the address of operator and AVS -message OperatorAVSAddressDetails { +// OperatorAVSAddress includes the address of operator and AVS +message OperatorAVSAddress { // operator_addr should be the string type of sdk.AccAddress string operator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // avs_address is the address of the AVS - either an 0x address or a chainID. - string avs_address = 2 [(gogoproto.customname) = "AVSAddress"]; + string avs_address = 2; } // QueryOperatorUSDValueRequest is the request to obtain the USD value for operator. message QueryOperatorUSDValueRequest { - // details is the operator and AVS address - OperatorAVSAddressDetails details = 1; + // operator_and_avs is the operator and AVS address + OperatorAVSAddress operator_and_avs = 1 [(gogoproto.embed) = true];; } // QueryOperatorUSDValueResponse is the response to obtain the USD value for operator. message QueryOperatorUSDValueResponse { // usd_info includes the self and total staking for the operator and AVS - OperatorOptedUSDValue usd_values = 1 + OperatorOptedUSDValue usd_values = 1 [(gogoproto.customname) = "USDValues"]; } @@ -62,8 +62,8 @@ message QueryAVSUSDValueRequest { // QueryOperatorSlashInfoRequest is the request to obtain the slash information for the specified // operator and AVS message QueryOperatorSlashInfoRequest { - // details is the operator and AVS address - OperatorAVSAddressDetails details = 1; + // operator_and_avs is the operator and AVS address + OperatorAVSAddress operator_and_avs = 1 [(gogoproto.embed) = true]; // pagination related options. cosmos.base.query.v1beta1.PageRequest pagination = 2; } @@ -213,6 +213,14 @@ message QueryAllAVSsByOperatorResponse { // avs_list is a list of avs addresses . repeated string avs_list = 1; } + +// QueryOptInfoRequest is the request to obtain the opted information of specified operator +// and AVS +message QueryOptInfoRequest { + // operator_and_avs is the operator and AVS address + OperatorAVSAddress operator_and_avs = 1 [(gogoproto.embed) = true]; +} + // Query defines the gRPC querier service. service Query { // QueryOperatorInfo queries the operator information. @@ -257,7 +265,9 @@ service Query { // QueryOperatorUSDValue queries the opted-in USD value for the operator rpc QueryOperatorUSDValue(QueryOperatorUSDValueRequest) returns(QueryOperatorUSDValueResponse){ - option (google.api.http).get = "/exocore/operator/v1/QueryOperatorUSDValue"; + option (google.api.http).get = + "/exocore/operator/v1/QueryOperatorUSDValue/{operator_and_avs.operator_addr}/" + "{operator_and_avs.avs_address}"; } // QueryAVSUSDValue queries the USD value for the AVS @@ -267,7 +277,9 @@ service Query { // QueryOperatorSlashInfo queries the slash information for the specified operator and AVS rpc QueryOperatorSlashInfo(QueryOperatorSlashInfoRequest) returns(QueryOperatorSlashInfoResponse){ - option (google.api.http).get = "/exocore/operator/v1/QueryOperatorSlashInfo"; + option (google.api.http).get = + "/exocore/operator/v1/QueryOperatorSlashInfo/{operator_and_avs.operator_addr}/" + "{operator_and_avs.avs_address}"; } // QueryAllOperatorConsAddrsByChainID queries all operators and their consensus addresses @@ -294,4 +306,11 @@ service Query { get: "/exocore/operator/v1/opt/avs_list/{operator}" }; } + + // QueryOptInfo queries specified opted information. + rpc QueryOptInfo(QueryOptInfoRequest) returns (OptedInfo) { + option (google.api.http) = { + get: "/exocore/operator/v1/opt_info/{operator_and_avs.operator_addr}/{operator_and_avs.avs_address}" + }; + } } \ No newline at end of file diff --git a/x/operator/client/cli/query.go b/x/operator/client/cli/query.go index d258907bf..4d273d784 100644 --- a/x/operator/client/cli/query.go +++ b/x/operator/client/cli/query.go @@ -2,6 +2,7 @@ package cli import ( "context" + "strings" "github.com/ExocoreNetwork/exocore/x/avs/types" sdk "github.com/cosmos/cosmos-sdk/types" @@ -15,6 +16,30 @@ import ( "github.com/spf13/cobra" ) +type GenericQueryParams struct { + queryClient operatortypes.QueryClient + clientCtx client.Context +} + +func ValidOperatorAVSAddr(cmd *cobra.Command, originalOperatorAddr, originalAVSAddr string) (*operatortypes.OperatorAVSAddress, *GenericQueryParams, error) { + _, err := sdk.AccAddressFromBech32(originalOperatorAddr) + if err != nil { + return nil, nil, xerrors.Errorf("invalid operator address,err:%s", err.Error()) + } + if !common.IsHexAddress(originalAVSAddr) { + return nil, nil, xerrors.Errorf("invalid avs address,err:%s", types.ErrInvalidAddr) + } + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return nil, nil, err + } + queryClient := operatortypes.NewQueryClient(clientCtx) + return &operatortypes.OperatorAVSAddress{ + OperatorAddr: originalOperatorAddr, + AvsAddress: strings.ToLower(originalAVSAddr), + }, &GenericQueryParams{queryClient: queryClient, clientCtx: clientCtx}, nil +} + // GetQueryCmd returns the parent command for all incentives CLI query commands. func GetQueryCmd() *cobra.Command { cmd := &cobra.Command{ @@ -37,6 +62,7 @@ func GetQueryCmd() *cobra.Command { QueryOperatorSlashInfo(), QueryAllOperatorsWithOptInAVS(), QueryAllAVSsByOperator(), + GetOptInfo(), ) return cmd } @@ -251,31 +277,23 @@ func GetAllOperatorConsAddrs() *cobra.Command { // QueryOperatorUSDValue queries the opted-in USD value for the operator func QueryOperatorUSDValue() *cobra.Command { cmd := &cobra.Command{ - Use: "QueryOperatorUSDValue ", - Short: "Get the opted-in USD value for the operator", - Long: "Get the opted-in USD value for the operator", - Args: cobra.ExactArgs(2), + Use: "QueryOperatorUSDValue ", + Short: "Get the opted-in USD value", + Long: "Get the opted-in USD value for the operator", + Example: "exocored query operator QueryOperatorUSDValue exo1c5x7mxphvgavjhu0au9jjqnfqcyspevtyy27mz 0xaa089ba103f765fcea44808bd3d4073523254c57", + Args: cobra.ExactArgs(2), RunE: func(cmd *cobra.Command, args []string) error { - _, err := sdk.AccAddressFromBech32(args[0]) - if err != nil { - return xerrors.Errorf("invalid operator address,err:%s", err.Error()) - } - clientCtx, err := client.GetClientQueryContext(cmd) + validOperatorAVSAddr, genericQueryParams, err := ValidOperatorAVSAddr(cmd, args[0], args[1]) if err != nil { return err } - queryClient := operatortypes.NewQueryClient(clientCtx) - req := &operatortypes.QueryOperatorUSDValueRequest{ - Details: &operatortypes.OperatorAVSAddressDetails{ - OperatorAddr: args[0], - AVSAddress: args[1], - }, - } - res, err := queryClient.QueryOperatorUSDValue(context.Background(), req) + res, err := genericQueryParams.queryClient.QueryOperatorUSDValue(context.Background(), &operatortypes.QueryOperatorUSDValueRequest{ + OperatorAVSAddress: validOperatorAVSAddr, + }) if err != nil { return err } - return clientCtx.PrintProto(res) + return genericQueryParams.clientCtx.PrintProto(res) }, } @@ -291,13 +309,16 @@ func QueryAVSUSDValue() *cobra.Command { Long: "Get the USD value for the avs", Args: cobra.ExactArgs(1), RunE: func(cmd *cobra.Command, args []string) error { + if !common.IsHexAddress(args[0]) { + return xerrors.Errorf("invalid avs address,err:%s", types.ErrInvalidAddr) + } clientCtx, err := client.GetClientQueryContext(cmd) if err != nil { return err } queryClient := operatortypes.NewQueryClient(clientCtx) req := &operatortypes.QueryAVSUSDValueRequest{ - AVSAddress: args[0], + AVSAddress: strings.ToLower(args[0]), } res, err := queryClient.QueryAVSUSDValue(context.Background(), req) if err != nil { @@ -314,16 +335,13 @@ func QueryAVSUSDValue() *cobra.Command { // QueryOperatorSlashInfo queries the slash information for the specified operator and AVS func QueryOperatorSlashInfo() *cobra.Command { cmd := &cobra.Command{ - Use: "QueryOperatorSlashInfo ", - Short: "Get the the slash information for the operator", - Long: "Get the the slash information for the operator", - Args: cobra.ExactArgs(2), + Use: "QueryOperatorSlashInfo ", + Short: "Get the the slash information for the operator", + Long: "Get the the slash information for the operator", + Example: "exocored query operator QueryOperatorSlashInfo exo1c5x7mxphvgavjhu0au9jjqnfqcyspevtyy27mz 0xaa089ba103f765fcea44808bd3d4073523254c57", + Args: cobra.ExactArgs(2), RunE: func(cmd *cobra.Command, args []string) error { - _, err := sdk.AccAddressFromBech32(args[0]) - if err != nil { - return xerrors.Errorf("invalid operator address,err:%s", err.Error()) - } - clientCtx, err := client.GetClientQueryContext(cmd) + validOperatorAVSAddr, genericQueryParams, err := ValidOperatorAVSAddr(cmd, args[0], args[1]) if err != nil { return err } @@ -331,19 +349,15 @@ func QueryOperatorSlashInfo() *cobra.Command { if err != nil { return err } - queryClient := operatortypes.NewQueryClient(clientCtx) req := &operatortypes.QueryOperatorSlashInfoRequest{ - Details: &operatortypes.OperatorAVSAddressDetails{ - OperatorAddr: args[0], - AVSAddress: args[1], - }, - Pagination: pageReq, + OperatorAVSAddress: validOperatorAVSAddr, + Pagination: pageReq, } - res, err := queryClient.QueryOperatorSlashInfo(context.Background(), req) + res, err := genericQueryParams.queryClient.QueryOperatorSlashInfo(context.Background(), req) if err != nil { return err } - return clientCtx.PrintProto(res) + return genericQueryParams.clientCtx.PrintProto(res) }, } @@ -370,7 +384,7 @@ func QueryAllOperatorsWithOptInAVS() *cobra.Command { queryClient := operatortypes.NewQueryClient(clientCtx) req := operatortypes.QueryAllOperatorsByOptInAVSRequest{ - Avs: args[0], + Avs: strings.ToLower(args[0]), } res, err := queryClient.QueryAllOperatorsWithOptInAVS(context.Background(), &req) if err != nil { @@ -415,3 +429,30 @@ func QueryAllAVSsByOperator() *cobra.Command { flags.AddQueryFlagsToCmd(cmd) return cmd } + +// GetOptInfo queries opt info +func GetOptInfo() *cobra.Command { + cmd := &cobra.Command{ + Use: "GetOptInfo ", + Short: "Get opt info", + Long: "Get opt info of specified operator and AVS", + Example: "exocored query operator GetOptInfo exo1c5x7mxphvgavjhu0au9jjqnfqcyspevtyy27mz 0xaa089ba103f765fcea44808bd3d4073523254c57", + Args: cobra.ExactArgs(2), + RunE: func(cmd *cobra.Command, args []string) error { + validOperatorAVSAddr, genericQueryParams, err := ValidOperatorAVSAddr(cmd, args[0], args[1]) + if err != nil { + return err + } + res, err := genericQueryParams.queryClient.QueryOptInfo(context.Background(), &operatortypes.QueryOptInfoRequest{ + OperatorAVSAddress: validOperatorAVSAddr, + }) + if err != nil { + return err + } + return genericQueryParams.clientCtx.PrintProto(res) + }, + } + + flags.AddQueryFlagsToCmd(cmd) + return cmd +} diff --git a/x/operator/keeper/grpc_query.go b/x/operator/keeper/grpc_query.go index 5e9c7f657..1273cff3b 100644 --- a/x/operator/keeper/grpc_query.go +++ b/x/operator/keeper/grpc_query.go @@ -179,7 +179,7 @@ func (k Keeper) QueryAllOperatorConsAddrsByChainID( func (k *Keeper) QueryOperatorUSDValue(ctx context.Context, req *types.QueryOperatorUSDValueRequest) (*types.QueryOperatorUSDValueResponse, error) { c := sdk.UnwrapSDKContext(ctx) - optedUSDValues, err := k.GetOperatorOptedUSDValue(c, req.Details.AVSAddress, req.Details.OperatorAddr) + optedUSDValues, err := k.GetOperatorOptedUSDValue(c, req.AvsAddress, req.OperatorAddr) if err != nil { return nil, err } @@ -203,7 +203,7 @@ func (k *Keeper) QueryOperatorSlashInfo(goCtx context.Context, req *types.QueryO ctx := sdk.UnwrapSDKContext(goCtx) res := make([]*types.OperatorSlashInfoByID, 0) - slashPrefix := types.AppendMany(types.KeyPrefixOperatorSlashInfo, assetstype.GetJoinedStoreKeyForPrefix(req.Details.OperatorAddr, req.Details.AVSAddress)) + slashPrefix := types.AppendMany(types.KeyPrefixOperatorSlashInfo, assetstype.GetJoinedStoreKeyForPrefix(req.OperatorAddr, req.AvsAddress)) store := prefix.NewStore(ctx.KVStore(k.storeKey), slashPrefix) pageRes, err := query.Paginate(store, req.Pagination, func(key []byte, value []byte) error { ret := &types.OperatorSlashInfo{} @@ -248,3 +248,8 @@ func (k *Keeper) QueryAllAVSsByOperator(goCtx context.Context, req *types.QueryA AvsList: avsList, }, nil } + +func (k *Keeper) QueryOptInfo(goCtx context.Context, req *types.QueryOptInfoRequest) (*types.OptedInfo, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + return k.GetOptedInfo(ctx, req.OperatorAddr, req.AvsAddress) +} diff --git a/x/operator/types/query.pb.go b/x/operator/types/query.pb.go index 1fd10f155..e60af35f0 100644 --- a/x/operator/types/query.pb.go +++ b/x/operator/types/query.pb.go @@ -179,26 +179,26 @@ func (m *QueryAllOperatorsResponse) GetPagination() *query.PageResponse { return nil } -// OperatorAVSAddressDetails includes the address of operator and AVS -type OperatorAVSAddressDetails struct { +// OperatorAVSAddress includes the address of operator and AVS +type OperatorAVSAddress struct { // operator_addr should be the string type of sdk.AccAddress OperatorAddr string `protobuf:"bytes,1,opt,name=operator_addr,json=operatorAddr,proto3" json:"operator_addr,omitempty"` // avs_address is the address of the AVS - either an 0x address or a chainID. - AVSAddress string `protobuf:"bytes,2,opt,name=avs_address,json=avsAddress,proto3" json:"avs_address,omitempty"` + AvsAddress string `protobuf:"bytes,2,opt,name=avs_address,json=avsAddress,proto3" json:"avs_address,omitempty"` } -func (m *OperatorAVSAddressDetails) Reset() { *m = OperatorAVSAddressDetails{} } -func (m *OperatorAVSAddressDetails) String() string { return proto.CompactTextString(m) } -func (*OperatorAVSAddressDetails) ProtoMessage() {} -func (*OperatorAVSAddressDetails) Descriptor() ([]byte, []int) { +func (m *OperatorAVSAddress) Reset() { *m = OperatorAVSAddress{} } +func (m *OperatorAVSAddress) String() string { return proto.CompactTextString(m) } +func (*OperatorAVSAddress) ProtoMessage() {} +func (*OperatorAVSAddress) Descriptor() ([]byte, []int) { return fileDescriptor_f91e795a3cecbdbf, []int{3} } -func (m *OperatorAVSAddressDetails) XXX_Unmarshal(b []byte) error { +func (m *OperatorAVSAddress) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *OperatorAVSAddressDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *OperatorAVSAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_OperatorAVSAddressDetails.Marshal(b, m, deterministic) + return xxx_messageInfo_OperatorAVSAddress.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -208,36 +208,36 @@ func (m *OperatorAVSAddressDetails) XXX_Marshal(b []byte, deterministic bool) ([ return b[:n], nil } } -func (m *OperatorAVSAddressDetails) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperatorAVSAddressDetails.Merge(m, src) +func (m *OperatorAVSAddress) XXX_Merge(src proto.Message) { + xxx_messageInfo_OperatorAVSAddress.Merge(m, src) } -func (m *OperatorAVSAddressDetails) XXX_Size() int { +func (m *OperatorAVSAddress) XXX_Size() int { return m.Size() } -func (m *OperatorAVSAddressDetails) XXX_DiscardUnknown() { - xxx_messageInfo_OperatorAVSAddressDetails.DiscardUnknown(m) +func (m *OperatorAVSAddress) XXX_DiscardUnknown() { + xxx_messageInfo_OperatorAVSAddress.DiscardUnknown(m) } -var xxx_messageInfo_OperatorAVSAddressDetails proto.InternalMessageInfo +var xxx_messageInfo_OperatorAVSAddress proto.InternalMessageInfo -func (m *OperatorAVSAddressDetails) GetOperatorAddr() string { +func (m *OperatorAVSAddress) GetOperatorAddr() string { if m != nil { return m.OperatorAddr } return "" } -func (m *OperatorAVSAddressDetails) GetAVSAddress() string { +func (m *OperatorAVSAddress) GetAvsAddress() string { if m != nil { - return m.AVSAddress + return m.AvsAddress } return "" } // QueryOperatorUSDValueRequest is the request to obtain the USD value for operator. type QueryOperatorUSDValueRequest struct { - // details is the operator and AVS address - Details *OperatorAVSAddressDetails `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` + // operator_and_avs is the operator and AVS address + *OperatorAVSAddress `protobuf:"bytes,1,opt,name=operator_and_avs,json=operatorAndAvs,proto3,embedded=operator_and_avs" json:"operator_and_avs,omitempty"` } func (m *QueryOperatorUSDValueRequest) Reset() { *m = QueryOperatorUSDValueRequest{} } @@ -273,13 +273,6 @@ func (m *QueryOperatorUSDValueRequest) XXX_DiscardUnknown() { var xxx_messageInfo_QueryOperatorUSDValueRequest proto.InternalMessageInfo -func (m *QueryOperatorUSDValueRequest) GetDetails() *OperatorAVSAddressDetails { - if m != nil { - return m.Details - } - return nil -} - // QueryOperatorUSDValueResponse is the response to obtain the USD value for operator. type QueryOperatorUSDValueResponse struct { // usd_info includes the self and total staking for the operator and AVS @@ -375,8 +368,8 @@ func (m *QueryAVSUSDValueRequest) GetAVSAddress() string { // QueryOperatorSlashInfoRequest is the request to obtain the slash information for the specified // operator and AVS type QueryOperatorSlashInfoRequest struct { - // details is the operator and AVS address - Details *OperatorAVSAddressDetails `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` + // operator_and_avs is the operator and AVS address + *OperatorAVSAddress `protobuf:"bytes,1,opt,name=operator_and_avs,json=operatorAndAvs,proto3,embedded=operator_and_avs" json:"operator_and_avs,omitempty"` // pagination related options. Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` } @@ -414,13 +407,6 @@ func (m *QueryOperatorSlashInfoRequest) XXX_DiscardUnknown() { var xxx_messageInfo_QueryOperatorSlashInfoRequest proto.InternalMessageInfo -func (m *QueryOperatorSlashInfoRequest) GetDetails() *OperatorAVSAddressDetails { - if m != nil { - return m.Details - } - return nil -} - func (m *QueryOperatorSlashInfoRequest) GetPagination() *query.PageRequest { if m != nil { return m.Pagination @@ -1327,11 +1313,51 @@ func (m *QueryAllAVSsByOperatorResponse) GetAvsList() []string { return nil } +// QueryOptInfoRequest is the request to obtain the opted information of specified operator +// and AVS +type QueryOptInfoRequest struct { + // operator_and_avs is the operator and AVS address + *OperatorAVSAddress `protobuf:"bytes,1,opt,name=operator_and_avs,json=operatorAndAvs,proto3,embedded=operator_and_avs" json:"operator_and_avs,omitempty"` +} + +func (m *QueryOptInfoRequest) Reset() { *m = QueryOptInfoRequest{} } +func (m *QueryOptInfoRequest) String() string { return proto.CompactTextString(m) } +func (*QueryOptInfoRequest) ProtoMessage() {} +func (*QueryOptInfoRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f91e795a3cecbdbf, []int{24} +} +func (m *QueryOptInfoRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryOptInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryOptInfoRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryOptInfoRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryOptInfoRequest.Merge(m, src) +} +func (m *QueryOptInfoRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryOptInfoRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryOptInfoRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryOptInfoRequest proto.InternalMessageInfo + func init() { proto.RegisterType((*GetOperatorInfoReq)(nil), "exocore.operator.v1.GetOperatorInfoReq") proto.RegisterType((*QueryAllOperatorsRequest)(nil), "exocore.operator.v1.QueryAllOperatorsRequest") proto.RegisterType((*QueryAllOperatorsResponse)(nil), "exocore.operator.v1.QueryAllOperatorsResponse") - proto.RegisterType((*OperatorAVSAddressDetails)(nil), "exocore.operator.v1.OperatorAVSAddressDetails") + proto.RegisterType((*OperatorAVSAddress)(nil), "exocore.operator.v1.OperatorAVSAddress") proto.RegisterType((*QueryOperatorUSDValueRequest)(nil), "exocore.operator.v1.QueryOperatorUSDValueRequest") proto.RegisterType((*QueryOperatorUSDValueResponse)(nil), "exocore.operator.v1.QueryOperatorUSDValueResponse") proto.RegisterType((*QueryAVSUSDValueRequest)(nil), "exocore.operator.v1.QueryAVSUSDValueRequest") @@ -1352,101 +1378,107 @@ func init() { proto.RegisterType((*QueryAllOperatorsByOptInAVSResponse)(nil), "exocore.operator.v1.QueryAllOperatorsByOptInAVSResponse") proto.RegisterType((*QueryAllAVSsByOperatorRequest)(nil), "exocore.operator.v1.QueryAllAVSsByOperatorRequest") proto.RegisterType((*QueryAllAVSsByOperatorResponse)(nil), "exocore.operator.v1.QueryAllAVSsByOperatorResponse") + proto.RegisterType((*QueryOptInfoRequest)(nil), "exocore.operator.v1.QueryOptInfoRequest") } func init() { proto.RegisterFile("exocore/operator/v1/query.proto", fileDescriptor_f91e795a3cecbdbf) } var fileDescriptor_f91e795a3cecbdbf = []byte{ - // 1422 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0x4f, 0x73, 0xdb, 0x44, - 0x14, 0x8f, 0xd2, 0x96, 0xc4, 0x2f, 0x6d, 0x49, 0xb7, 0x29, 0x24, 0x6e, 0xeb, 0xb4, 0x2a, 0xb4, - 0x69, 0x48, 0x24, 0xe2, 0xa4, 0x85, 0x69, 0x28, 0x8c, 0x5d, 0xb7, 0x25, 0x6d, 0x87, 0x04, 0x79, - 0x08, 0x7f, 0x0e, 0x78, 0x14, 0x79, 0xeb, 0x68, 0xaa, 0x6a, 0x5d, 0xed, 0xda, 0xd4, 0x93, 0x09, - 0xc3, 0x70, 0x82, 0xe1, 0xc2, 0xd0, 0x23, 0x03, 0xdf, 0x01, 0x86, 0x81, 0x03, 0x5f, 0xa0, 0x87, - 0x1e, 0x0a, 0x5c, 0x38, 0x05, 0x26, 0xe1, 0x83, 0x30, 0x5a, 0xed, 0xca, 0xb6, 0x2c, 0xf9, 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0x76, 0x2b, 0xc6, 0x61, 0xb9, 0xdc, 0x7f, 0xad, 0x6e, 0xc0, 0xe4, 0xbb, - 0xbe, 0x02, 0x39, 0xc7, 0x91, 0x3b, 0x53, 0x03, 0x3f, 0xa8, 0x61, 0xca, 0xd0, 0x0d, 0x80, 0xa6, - 0x1e, 0x7c, 0xdf, 0xb1, 0xec, 0x79, 0x4d, 0x6c, 0xea, 0x8b, 0xa7, 0x05, 0x52, 0x0b, 0xf1, 0xb4, - 0x35, 0xb3, 0x82, 0x85, 0xad, 0xd1, 0x62, 0xa9, 0x7e, 0xa3, 0xc0, 0x54, 0x8c, 0x13, 0x5a, 0x25, - 0x2e, 0xc5, 0x68, 0x0e, 0x50, 0x93, 0x80, 0x65, 0x71, 0x12, 0x74, 0x52, 0x39, 0x73, 0x60, 0x26, - 0x65, 0x8c, 0x87, 0x58, 0x2d, 0xcb, 0x87, 0x4b, 0xd1, 0xcd, 0x36, 0x4c, 0xc3, 0x1c, 0xd3, 0x85, - 0x9e, 0x98, 0x02, 0x57, 0x6d, 0xa0, 0xbe, 0x52, 0x60, 0x4a, 0x82, 0xc9, 0xad, 0x17, 0x85, 0x46, - 0x05, 0xcc, 0x4c, 0xdb, 0xa1, 0xff, 0x51, 0x55, 0xa4, 0xc3, 0x98, 0x59, 0xa7, 0xdc, 0x12, 0x53, - 0xca, 0x61, 0xa6, 0xf2, 0x47, 0x77, 0x77, 0xa6, 0xa1, 0xe9, 0xca, 0x00, 0xb3, 0x4e, 0xc5, 0x6f, - 0x75, 0x13, 0x4e, 0x71, 0x85, 0x24, 0xa2, 0xf7, 0x8a, 0x85, 0x75, 0xd3, 0xa9, 0x49, 0x39, 0xd1, - 0xdb, 0x30, 0x52, 0x0e, 0xa0, 0x89, 0x38, 0x68, 0x5a, 0x4c, 0x66, 0x6b, 0x89, 0x84, 0x0c, 0x69, - 0xae, 0x36, 0xe0, 0x74, 0x82, 0x27, 0x11, 0x8f, 0x0f, 0x00, 0x6a, 0xb4, 0x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x66, 0xe8, 0xcf, 0xbd, 0xcc, 0xd0, 0x47, 0xd9, 0x8a, - 0xcd, 0x36, 0x6b, 0x1b, 0x9a, 0x45, 0xee, 0xeb, 0xd7, 0x83, 0x1d, 0xdf, 0xc1, 0xec, 0x13, 0xe2, - 0xdd, 0x0b, 0x1d, 0x3c, 0x6c, 0xba, 0x60, 0x8d, 0x2a, 0xa6, 0x1b, 0xcf, 0xf1, 0xff, 0x07, 0x17, - 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xc6, 0x74, 0x13, 0xe9, 0x0e, 0x15, 0x00, 0x00, + // 1493 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0x4f, 0x6f, 0xdc, 0xc4, + 0x1b, 0x8e, 0xd3, 0xf6, 0xd7, 0xec, 0xa4, 0xed, 0x2f, 0x9d, 0xa4, 0x90, 0xba, 0xed, 0x6e, 0xeb, + 0x42, 0x9b, 0x46, 0xad, 0x4d, 0xd2, 0xb4, 0xa0, 0x86, 0x82, 0x76, 0x9b, 0xb6, 0x4a, 0x5b, 0x91, + 0xe0, 0x15, 0x29, 0x20, 0xc1, 0xca, 0xb1, 0xa7, 0x1b, 0x53, 0xc7, 0xb3, 0xf5, 0xcc, 0x6e, 0xbb, + 0x8a, 0x82, 0x10, 0x27, 0xb8, 0x20, 0x44, 0x8f, 0x08, 0x3e, 0x05, 0x12, 0x07, 0x0e, 0x70, 0xcc, + 0x81, 0x43, 0x80, 0x0b, 0xa7, 0x80, 0x12, 0x3e, 0x01, 0x07, 0xce, 0xc8, 0xe3, 0x19, 0xaf, 0xbd, + 0xb6, 0xf7, 0x4f, 0x1a, 0x7a, 0x5b, 0xdb, 0xf3, 0xce, 0xfb, 0x3c, 0xef, 0xbf, 0x79, 0x66, 0x41, + 0x01, 0x3d, 0xc1, 0x26, 0xf6, 0x90, 0x86, 0x6b, 0xc8, 0x33, 0x28, 0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0x07, 0xdb, 0x77, 0x78, 0xfa, 0x9c, 0xca, 0x37, 0xf5, 0x83, 0xa7, 0x06, 0xa1, 0xe6, + 0xc1, 0x53, 0x17, 0x8d, 0x2a, 0xe2, 0xb6, 0x7a, 0xc4, 0x52, 0xf9, 0x4a, 0x02, 0xc7, 0x53, 0x9c, + 0x90, 0x1a, 0x76, 0x09, 0x82, 0x17, 0x01, 0x6c, 0x11, 0x30, 0x4d, 0x46, 0x82, 0x8c, 0x4b, 0xa7, + 0xf7, 0x4d, 0xe4, 0xf4, 0x91, 0x10, 0xab, 0x69, 0xfa, 0x70, 0x09, 0xbc, 0x1d, 0xc3, 0x34, 0xc8, + 0x30, 0x9d, 0xef, 0x8a, 0x29, 0x70, 0x15, 0x03, 0x45, 0x01, 0x14, 0x58, 0x8a, 0x4b, 0x65, 0x1e, + 0xa2, 0x67, 0x8c, 0x26, 0x2c, 0x80, 0x61, 0xa3, 0x41, 0x98, 0x25, 0x22, 0x84, 0xc1, 0xcb, 0xe9, + 0xc0, 0x68, 0x10, 0x6e, 0xa4, 0x3c, 0x06, 0x27, 0x59, 0x24, 0x84, 0xeb, 0x77, 0xca, 0x73, 0x4b, + 0x86, 0x53, 0x17, 0x61, 0x83, 0xf7, 0xc1, 0x48, 0xcb, 0xbf, 0x6b, 0x55, 0x8c, 0x06, 0xe1, 0x81, + 0x3f, 0xaf, 0xa6, 0x94, 0xb2, 0x9a, 0xa4, 0x50, 0xda, 0xbf, 0xb9, 0x55, 0x90, 0xf4, 0x23, 0x21, + 0x2e, 0xd7, 0x2a, 0x36, 0x88, 0xd2, 0x04, 0xa7, 0x32, 0x1c, 0xf3, 0x34, 0xbc, 0x0b, 0x40, 0x9d, + 0x58, 0x95, 0x86, 0xff, 0x52, 0xf8, 0x9c, 0xec, 0xe8, 0x73, 0xa1, 0x46, 0x91, 0x25, 0xf6, 0x29, + 0x1d, 0xde, 0xde, 0x2a, 0xe4, 0xc4, 0x13, 0xd1, 0x73, 0x75, 0x62, 0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x17, 0xba, 0x26, 0xdf, 0xdf, 0x95, 0x65, 0xff, 0x28, + 0x6e, 0xf7, 0xb5, 0x77, 0xe9, 0xff, 0x18, 0x8c, 0xa5, 0xf9, 0xec, 0x2b, 0xfd, 0xb1, 0xc6, 0x1e, + 0xec, 0xd8, 0xd8, 0x89, 0xf4, 0x5e, 0x05, 0x4a, 0x42, 0xc9, 0x95, 0x9a, 0x0b, 0x35, 0x3a, 0xef, + 0x16, 0x97, 0xca, 0x22, 0xad, 0x23, 0x60, 0x9f, 0x38, 0x76, 0x73, 0xba, 0xff, 0x53, 0xb9, 0x03, + 0xce, 0x76, 0xb4, 0xe3, 0x29, 0x38, 0x1b, 0x91, 0x5f, 0x8e, 0x4d, 0x28, 0x97, 0x81, 0xa1, 0xc8, + 0xba, 0x67, 0x13, 0xaa, 0xcc, 0x72, 0x09, 0x50, 0x74, 0x9c, 0xe2, 0x52, 0x99, 0x6d, 0x13, 0x7c, + 0x15, 0xee, 0x65, 0x30, 0x24, 0x0c, 0xc4, 0xe0, 0x12, 0xcf, 0xca, 0x2c, 0x3f, 0xff, 0x52, 0x8c, + 0x39, 0x86, 0xe3, 0x60, 0xc8, 0xd7, 0x24, 0x11, 0xf7, 0x07, 0x8d, 0x06, 0x61, 0x9e, 0x5d, 0x30, + 0xca, 0xc7, 0x26, 0x7d, 0x1e, 0x92, 0x63, 0xfa, 0x8b, 0x51, 0x70, 0x80, 0x39, 0x84, 0x5f, 0x4b, + 0xe0, 0x68, 0x6c, 0x62, 0xb3, 0x83, 0x35, 0x7d, 0xfb, 0xe4, 0x25, 0x41, 0x3e, 0xd3, 0x11, 0x87, + 0xbf, 0x4a, 0xb9, 0xf6, 0xe9, 0x6f, 0x7f, 0x3d, 0x1d, 0x9c, 0x81, 0xd3, 0x5a, 0xda, 0xb5, 0x26, + 0xe4, 0xe7, 0x0b, 0x02, 0x6d, 0x2d, 0xa6, 0x91, 0xd7, 0xe1, 0xb7, 0x02, 0x5d, 0x34, 0xbd, 0x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, 0x18, 0x8a, 0x2c, 0xa6, 0x5e, 0x10, 0x03, + 0x54, 0x81, 0x1f, 0x64, 0x01, 0x4a, 0x08, 0x97, 0xdd, 0x34, 0x4b, 0xe9, 0xde, 0xc6, 0x76, 0x5e, + 0xda, 0xdc, 0xce, 0x4b, 0x7f, 0x6e, 0xe7, 0xa5, 0x2f, 0x77, 0xf2, 0x03, 0x9b, 0x3b, 0xf9, 0x81, + 0xdf, 0x77, 0xf2, 0x03, 0xef, 0x4f, 0x57, 0x6d, 0xba, 0x52, 0x5f, 0x56, 0x4d, 0xbc, 0xaa, 0xdd, + 0x0c, 0x20, 0xbc, 0x85, 0xe8, 0x63, 0xec, 0xb5, 0x9a, 0xf9, 0x49, 0x0b, 0x13, 0x6d, 0xd6, 0x10, + 0x59, 0xfe, 0x1f, 0xfb, 0x5f, 0xf7, 0xf2, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x0d, 0x78, 0xe6, + 0x95, 0xc6, 0x16, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1485,6 +1517,8 @@ type QueryClient interface { QueryAllOperatorsWithOptInAVS(ctx context.Context, in *QueryAllOperatorsByOptInAVSRequest, opts ...grpc.CallOption) (*QueryAllOperatorsByOptInAVSResponse, error) // QueryAllAVSsByOperator queries avs list. QueryAllAVSsByOperator(ctx context.Context, in *QueryAllAVSsByOperatorRequest, opts ...grpc.CallOption) (*QueryAllAVSsByOperatorResponse, error) + // QueryOptInfo queries specified opted information. + QueryOptInfo(ctx context.Context, in *QueryOptInfoRequest, opts ...grpc.CallOption) (*OptedInfo, error) } type queryClient struct { @@ -1594,6 +1628,15 @@ func (c *queryClient) QueryAllAVSsByOperator(ctx context.Context, in *QueryAllAV return out, nil } +func (c *queryClient) QueryOptInfo(ctx context.Context, in *QueryOptInfoRequest, opts ...grpc.CallOption) (*OptedInfo, error) { + out := new(OptedInfo) + err := c.cc.Invoke(ctx, "/exocore.operator.v1.Query/QueryOptInfo", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // QueryServer is the server API for Query service. type QueryServer interface { // QueryOperatorInfo queries the operator information. @@ -1620,6 +1663,8 @@ type QueryServer interface { QueryAllOperatorsWithOptInAVS(context.Context, *QueryAllOperatorsByOptInAVSRequest) (*QueryAllOperatorsByOptInAVSResponse, error) // QueryAllAVSsByOperator queries avs list. QueryAllAVSsByOperator(context.Context, *QueryAllAVSsByOperatorRequest) (*QueryAllAVSsByOperatorResponse, error) + // QueryOptInfo queries specified opted information. + QueryOptInfo(context.Context, *QueryOptInfoRequest) (*OptedInfo, error) } // UnimplementedQueryServer can be embedded to have forward compatible implementations. @@ -1659,6 +1704,9 @@ func (*UnimplementedQueryServer) QueryAllOperatorsWithOptInAVS(ctx context.Conte func (*UnimplementedQueryServer) QueryAllAVSsByOperator(ctx context.Context, req *QueryAllAVSsByOperatorRequest) (*QueryAllAVSsByOperatorResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method QueryAllAVSsByOperator not implemented") } +func (*UnimplementedQueryServer) QueryOptInfo(ctx context.Context, req *QueryOptInfoRequest) (*OptedInfo, error) { + return nil, status.Errorf(codes.Unimplemented, "method QueryOptInfo not implemented") +} func RegisterQueryServer(s grpc1.Server, srv QueryServer) { s.RegisterService(&_Query_serviceDesc, srv) @@ -1862,6 +1910,24 @@ func _Query_QueryAllAVSsByOperator_Handler(srv interface{}, ctx context.Context, return interceptor(ctx, in, info, handler) } +func _Query_QueryOptInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryOptInfoRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).QueryOptInfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/exocore.operator.v1.Query/QueryOptInfo", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).QueryOptInfo(ctx, req.(*QueryOptInfoRequest)) + } + return interceptor(ctx, in, info, handler) +} + var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "exocore.operator.v1.Query", HandlerType: (*QueryServer)(nil), @@ -1910,6 +1976,10 @@ var _Query_serviceDesc = grpc.ServiceDesc{ MethodName: "QueryAllAVSsByOperator", Handler: _Query_QueryAllAVSsByOperator_Handler, }, + { + MethodName: "QueryOptInfo", + Handler: _Query_QueryOptInfo_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "exocore/operator/v1/query.proto", @@ -2024,7 +2094,7 @@ func (m *QueryAllOperatorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, erro return len(dAtA) - i, nil } -func (m *OperatorAVSAddressDetails) Marshal() (dAtA []byte, err error) { +func (m *OperatorAVSAddress) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -2034,20 +2104,20 @@ func (m *OperatorAVSAddressDetails) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *OperatorAVSAddressDetails) MarshalTo(dAtA []byte) (int, error) { +func (m *OperatorAVSAddress) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *OperatorAVSAddressDetails) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *OperatorAVSAddress) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.AVSAddress) > 0 { - i -= len(m.AVSAddress) - copy(dAtA[i:], m.AVSAddress) - i = encodeVarintQuery(dAtA, i, uint64(len(m.AVSAddress))) + if len(m.AvsAddress) > 0 { + i -= len(m.AvsAddress) + copy(dAtA[i:], m.AvsAddress) + i = encodeVarintQuery(dAtA, i, uint64(len(m.AvsAddress))) i-- dAtA[i] = 0x12 } @@ -2081,9 +2151,9 @@ func (m *QueryOperatorUSDValueRequest) MarshalToSizedBuffer(dAtA []byte) (int, e _ = i var l int _ = l - if m.Details != nil { + if m.OperatorAVSAddress != nil { { - size, err := m.Details.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.OperatorAVSAddress.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -2193,9 +2263,9 @@ func (m *QueryOperatorSlashInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, i-- dAtA[i] = 0x12 } - if m.Details != nil { + if m.OperatorAVSAddress != nil { { - size, err := m.Details.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.OperatorAVSAddress.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -2861,6 +2931,41 @@ func (m *QueryAllAVSsByOperatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, return len(dAtA) - i, nil } +func (m *QueryOptInfoRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryOptInfoRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryOptInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.OperatorAVSAddress != nil { + { + size, err := m.OperatorAVSAddress.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { offset -= sovQuery(v) base := offset @@ -2917,7 +3022,7 @@ func (m *QueryAllOperatorsResponse) Size() (n int) { return n } -func (m *OperatorAVSAddressDetails) Size() (n int) { +func (m *OperatorAVSAddress) Size() (n int) { if m == nil { return 0 } @@ -2927,7 +3032,7 @@ func (m *OperatorAVSAddressDetails) Size() (n int) { if l > 0 { n += 1 + l + sovQuery(uint64(l)) } - l = len(m.AVSAddress) + l = len(m.AvsAddress) if l > 0 { n += 1 + l + sovQuery(uint64(l)) } @@ -2940,8 +3045,8 @@ func (m *QueryOperatorUSDValueRequest) Size() (n int) { } var l int _ = l - if m.Details != nil { - l = m.Details.Size() + if m.OperatorAVSAddress != nil { + l = m.OperatorAVSAddress.Size() n += 1 + l + sovQuery(uint64(l)) } return n @@ -2979,8 +3084,8 @@ func (m *QueryOperatorSlashInfoRequest) Size() (n int) { } var l int _ = l - if m.Details != nil { - l = m.Details.Size() + if m.OperatorAVSAddress != nil { + l = m.OperatorAVSAddress.Size() n += 1 + l + sovQuery(uint64(l)) } if m.Pagination != nil { @@ -3258,6 +3363,19 @@ func (m *QueryAllAVSsByOperatorResponse) Size() (n int) { return n } +func (m *QueryOptInfoRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.OperatorAVSAddress != nil { + l = m.OperatorAVSAddress.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + func sovQuery(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -3550,7 +3668,7 @@ func (m *QueryAllOperatorsResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *OperatorAVSAddressDetails) Unmarshal(dAtA []byte) error { +func (m *OperatorAVSAddress) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -3573,10 +3691,10 @@ func (m *OperatorAVSAddressDetails) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: OperatorAVSAddressDetails: wiretype end group for non-group") + return fmt.Errorf("proto: OperatorAVSAddress: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: OperatorAVSAddressDetails: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: OperatorAVSAddress: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -3613,7 +3731,7 @@ func (m *OperatorAVSAddressDetails) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AVSAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AvsAddress", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -3641,7 +3759,7 @@ func (m *OperatorAVSAddressDetails) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AVSAddress = string(dAtA[iNdEx:postIndex]) + m.AvsAddress = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -3695,7 +3813,7 @@ func (m *QueryOperatorUSDValueRequest) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field OperatorAVSAddress", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -3722,10 +3840,10 @@ func (m *QueryOperatorUSDValueRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Details == nil { - m.Details = &OperatorAVSAddressDetails{} + if m.OperatorAVSAddress == nil { + m.OperatorAVSAddress = &OperatorAVSAddress{} } - if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.OperatorAVSAddress.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -3949,7 +4067,7 @@ func (m *QueryOperatorSlashInfoRequest) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field OperatorAVSAddress", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -3976,10 +4094,10 @@ func (m *QueryOperatorSlashInfoRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Details == nil { - m.Details = &OperatorAVSAddressDetails{} + if m.OperatorAVSAddress == nil { + m.OperatorAVSAddress = &OperatorAVSAddress{} } - if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.OperatorAVSAddress.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -5787,6 +5905,92 @@ func (m *QueryAllAVSsByOperatorResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *QueryOptInfoRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryOptInfoRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryOptInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OperatorAVSAddress", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.OperatorAVSAddress == nil { + m.OperatorAVSAddress = &OperatorAVSAddress{} + } + if err := m.OperatorAVSAddress.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipQuery(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/operator/types/query.pb.gw.go b/x/operator/types/query.pb.gw.go index 25774bec1..e334c7205 100644 --- a/x/operator/types/query.pb.gw.go +++ b/x/operator/types/query.pb.gw.go @@ -348,13 +348,42 @@ func local_request_Query_QueryAllOperatorConsKeysByChainID_0(ctx context.Context } var ( - filter_Query_QueryOperatorUSDValue_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} + filter_Query_QueryOperatorUSDValue_0 = &utilities.DoubleArray{Encoding: map[string]int{"operator_and_avs": 0, "operator_addr": 1, "avs_address": 2}, Base: []int{1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 2, 3, 4}} ) func request_Query_QueryOperatorUSDValue_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryOperatorUSDValueRequest var metadata runtime.ServerMetadata + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["operator_and_avs.operator_addr"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "operator_and_avs.operator_addr") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "operator_and_avs.operator_addr", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "operator_and_avs.operator_addr", err) + } + + val, ok = pathParams["operator_and_avs.avs_address"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "operator_and_avs.avs_address") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "operator_and_avs.avs_address", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "operator_and_avs.avs_address", err) + } + if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -371,6 +400,35 @@ func local_request_Query_QueryOperatorUSDValue_0(ctx context.Context, marshaler var protoReq QueryOperatorUSDValueRequest var metadata runtime.ServerMetadata + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["operator_and_avs.operator_addr"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "operator_and_avs.operator_addr") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "operator_and_avs.operator_addr", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "operator_and_avs.operator_addr", err) + } + + val, ok = pathParams["operator_and_avs.avs_address"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "operator_and_avs.avs_address") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "operator_and_avs.avs_address", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "operator_and_avs.avs_address", err) + } + if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -420,13 +478,42 @@ func local_request_Query_QueryAVSUSDValue_0(ctx context.Context, marshaler runti } var ( - filter_Query_QueryOperatorSlashInfo_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} + filter_Query_QueryOperatorSlashInfo_0 = &utilities.DoubleArray{Encoding: map[string]int{"operator_and_avs": 0, "operator_addr": 1, "avs_address": 2}, Base: []int{1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 2, 3, 4}} ) func request_Query_QueryOperatorSlashInfo_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryOperatorSlashInfoRequest var metadata runtime.ServerMetadata + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["operator_and_avs.operator_addr"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "operator_and_avs.operator_addr") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "operator_and_avs.operator_addr", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "operator_and_avs.operator_addr", err) + } + + val, ok = pathParams["operator_and_avs.avs_address"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "operator_and_avs.avs_address") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "operator_and_avs.avs_address", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "operator_and_avs.avs_address", err) + } + if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -443,6 +530,35 @@ func local_request_Query_QueryOperatorSlashInfo_0(ctx context.Context, marshaler var protoReq QueryOperatorSlashInfoRequest var metadata runtime.ServerMetadata + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["operator_and_avs.operator_addr"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "operator_and_avs.operator_addr") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "operator_and_avs.operator_addr", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "operator_and_avs.operator_addr", err) + } + + val, ok = pathParams["operator_and_avs.avs_address"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "operator_and_avs.avs_address") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "operator_and_avs.avs_address", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "operator_and_avs.avs_address", err) + } + if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -635,6 +751,100 @@ func local_request_Query_QueryAllAVSsByOperator_0(ctx context.Context, marshaler } +var ( + filter_Query_QueryOptInfo_0 = &utilities.DoubleArray{Encoding: map[string]int{"operator_and_avs": 0, "operator_addr": 1, "avs_address": 2}, Base: []int{1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 2, 3, 4}} +) + +func request_Query_QueryOptInfo_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryOptInfoRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["operator_and_avs.operator_addr"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "operator_and_avs.operator_addr") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "operator_and_avs.operator_addr", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "operator_and_avs.operator_addr", err) + } + + val, ok = pathParams["operator_and_avs.avs_address"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "operator_and_avs.avs_address") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "operator_and_avs.avs_address", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "operator_and_avs.avs_address", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_QueryOptInfo_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.QueryOptInfo(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_QueryOptInfo_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryOptInfoRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["operator_and_avs.operator_addr"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "operator_and_avs.operator_addr") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "operator_and_avs.operator_addr", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "operator_and_avs.operator_addr", err) + } + + val, ok = pathParams["operator_and_avs.avs_address"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "operator_and_avs.avs_address") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "operator_and_avs.avs_address", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "operator_and_avs.avs_address", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_QueryOptInfo_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.QueryOptInfo(ctx, &protoReq) + return msg, metadata, err + +} + // RegisterQueryHandlerServer registers the http handlers for service Query to "mux". // UnaryRPC :call QueryServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. @@ -894,6 +1104,29 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) + mux.Handle("GET", pattern_Query_QueryOptInfo_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_QueryOptInfo_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_QueryOptInfo_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -1155,6 +1388,26 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_QueryOptInfo_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_QueryOptInfo_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_QueryOptInfo_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -1169,17 +1422,19 @@ var ( pattern_Query_QueryAllOperatorConsKeysByChainID_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"exocore", "operator", "v1", "all_operator_cons_keys", "chain"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_QueryOperatorUSDValue_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"exocore", "operator", "v1", "QueryOperatorUSDValue"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_QueryOperatorUSDValue_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"exocore", "operator", "v1", "QueryOperatorUSDValue", "operator_and_avs.operator_addr", "operator_and_avs.avs_address"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_QueryAVSUSDValue_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"exocore", "operator", "v1", "QueryAVSUSDValue"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_QueryOperatorSlashInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"exocore", "operator", "v1", "QueryOperatorSlashInfo"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_QueryOperatorSlashInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"exocore", "operator", "v1", "QueryOperatorSlashInfo", "operator_and_avs.operator_addr", "operator_and_avs.avs_address"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_QueryAllOperatorConsAddrsByChainID_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"exocore", "operator", "v1", "all_operator_cons_addrs", "chain"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_QueryAllOperatorsWithOptInAVS_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"exocore", "operator", "v1", "opt", "operator_list", "avs"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_QueryAllAVSsByOperator_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 1}, []string{"exocore", "operator", "v1", "opt", "avs_list"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_QueryOptInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"exocore", "operator", "v1", "opt_info", "operator_and_avs.operator_addr", "operator_and_avs.avs_address"}, "", runtime.AssumeColonVerbOpt(false))) ) var ( @@ -1204,4 +1459,6 @@ var ( forward_Query_QueryAllOperatorsWithOptInAVS_0 = runtime.ForwardResponseMessage forward_Query_QueryAllAVSsByOperator_0 = runtime.ForwardResponseMessage + + forward_Query_QueryOptInfo_0 = runtime.ForwardResponseMessage )