|
|
@ -8,6 +8,8 @@ import ( |
|
|
|
fmt "fmt" |
|
|
|
fmt "fmt" |
|
|
|
proto "github.com/golang/protobuf/proto" |
|
|
|
proto "github.com/golang/protobuf/proto" |
|
|
|
grpc "google.golang.org/grpc" |
|
|
|
grpc "google.golang.org/grpc" |
|
|
|
|
|
|
|
codes "google.golang.org/grpc/codes" |
|
|
|
|
|
|
|
status "google.golang.org/grpc/status" |
|
|
|
math "math" |
|
|
|
math "math" |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
@ -388,6 +390,20 @@ type ClientServiceServer interface { |
|
|
|
GetStakingContractInfo(context.Context, *StakingContractInfoRequest) (*StakingContractInfoResponse, error) |
|
|
|
GetStakingContractInfo(context.Context, *StakingContractInfoRequest) (*StakingContractInfoResponse, error) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// UnimplementedClientServiceServer can be embedded to have forward compatible implementations.
|
|
|
|
|
|
|
|
type UnimplementedClientServiceServer struct { |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (*UnimplementedClientServiceServer) FetchAccountState(ctx context.Context, req *FetchAccountStateRequest) (*FetchAccountStateResponse, error) { |
|
|
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method FetchAccountState not implemented") |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
func (*UnimplementedClientServiceServer) GetFreeToken(ctx context.Context, req *GetFreeTokenRequest) (*GetFreeTokenResponse, error) { |
|
|
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetFreeToken not implemented") |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
func (*UnimplementedClientServiceServer) GetStakingContractInfo(ctx context.Context, req *StakingContractInfoRequest) (*StakingContractInfoResponse, error) { |
|
|
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetStakingContractInfo not implemented") |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
func RegisterClientServiceServer(s *grpc.Server, srv ClientServiceServer) { |
|
|
|
func RegisterClientServiceServer(s *grpc.Server, srv ClientServiceServer) { |
|
|
|
s.RegisterService(&_ClientService_serviceDesc, srv) |
|
|
|
s.RegisterService(&_ClientService_serviceDesc, srv) |
|
|
|
} |
|
|
|
} |
|
|
|