rename kava to 0g

This commit is contained in:
0g-wh 2024-09-27 03:04:45 +00:00
parent 5bd6ac39ee
commit 1152537679
6 changed files with 97 additions and 96 deletions

View File

@ -1,5 +1,5 @@
syntax = "proto3";
package kava.precisebank.v1;
package zgc.precisebank.v1;
import "cosmos_proto/cosmos.proto";
import "gogoproto/gogo.proto";

View File

@ -1,5 +1,5 @@
syntax = "proto3";
package kava.precisebank.v1;
package zgc.precisebank.v1;
import "cosmos/base/v1beta1/coin.proto";
import "gogoproto/gogo.proto";
@ -13,19 +13,19 @@ service Query {
// TotalFractionalBalances returns the total sum of all fractional balances
// managed by the precisebank module.
rpc TotalFractionalBalances(QueryTotalFractionalBalancesRequest) returns (QueryTotalFractionalBalancesResponse) {
option (google.api.http).get = "/kava/precisebank/v1/total_fractional_balances";
option (google.api.http).get = "/0g/precisebank/v1/total_fractional_balances";
}
// Remainder returns the amount backed by the reserve, but not yet owned by
// any account, i.e. not in circulation.
rpc Remainder(QueryRemainderRequest) returns (QueryRemainderResponse) {
option (google.api.http).get = "/kava/precisebank/v1/remainder";
option (google.api.http).get = "/0g/precisebank/v1/remainder";
}
// FractionalBalance returns only the fractional balance of an address. This
// does not include any integer balance.
rpc FractionalBalance(QueryFractionalBalanceRequest) returns (QueryFractionalBalanceResponse) {
option (google.api.http).get = "/kava/precisebank/v1/fractional_balance/{address}";
option (google.api.http).get = "/0g/precisebank/v1/fractional_balance/{address}";
}
}

View File

@ -3,9 +3,9 @@ package types
// IntegerCoinDenom is the denomination for integer coins that are managed by
// x/bank. This is the "true" denomination of the coin, and is also used for
// the reserve to back all fractional coins.
const IntegerCoinDenom = "ukava"
const IntegerCoinDenom = "ua0gi"
// ExtendedCoinDenom is the denomination for the extended IntegerCoinDenom. This
// not only represents the fractional balance, but the total balance of
// integer + fractional balances.
const ExtendedCoinDenom = "akava"
const ExtendedCoinDenom = "aa0gi"

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: kava/precisebank/v1/genesis.proto
// source: zgc/precisebank/v1/genesis.proto
package types
@ -38,7 +38,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} }
func (m *GenesisState) String() string { return proto.CompactTextString(m) }
func (*GenesisState) ProtoMessage() {}
func (*GenesisState) Descriptor() ([]byte, []int) {
return fileDescriptor_7f1c47a86fb0d2e0, []int{0}
return fileDescriptor_4029a0f159e1fc46, []int{0}
}
func (m *GenesisState) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -88,7 +88,7 @@ func (m *FractionalBalance) Reset() { *m = FractionalBalance{} }
func (m *FractionalBalance) String() string { return proto.CompactTextString(m) }
func (*FractionalBalance) ProtoMessage() {}
func (*FractionalBalance) Descriptor() ([]byte, []int) {
return fileDescriptor_7f1c47a86fb0d2e0, []int{1}
return fileDescriptor_4029a0f159e1fc46, []int{1}
}
func (m *FractionalBalance) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -118,36 +118,37 @@ func (m *FractionalBalance) XXX_DiscardUnknown() {
var xxx_messageInfo_FractionalBalance proto.InternalMessageInfo
func init() {
proto.RegisterType((*GenesisState)(nil), "kava.precisebank.v1.GenesisState")
proto.RegisterType((*FractionalBalance)(nil), "kava.precisebank.v1.FractionalBalance")
proto.RegisterType((*GenesisState)(nil), "zgc.precisebank.v1.GenesisState")
proto.RegisterType((*FractionalBalance)(nil), "zgc.precisebank.v1.FractionalBalance")
}
func init() { proto.RegisterFile("kava/precisebank/v1/genesis.proto", fileDescriptor_7f1c47a86fb0d2e0) }
func init() { proto.RegisterFile("zgc/precisebank/v1/genesis.proto", fileDescriptor_4029a0f159e1fc46) }
var fileDescriptor_7f1c47a86fb0d2e0 = []byte{
// 351 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x91, 0x3f, 0x4f, 0xc2, 0x40,
0x18, 0xc6, 0x7b, 0x9a, 0x20, 0x9c, 0x2e, 0x56, 0x4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, 0x77, 0xdf, 0xe4, 0x55, 0x51, 0x07, 0x31, 0x81, 0x13, 0xa2, 0xdb, 0xa8, 0xc1, 0xf5, 0x74,
0xe4, 0xc1, 0xd5, 0x8f, 0x34, 0xb8, 0x6e, 0x7e, 0xab, 0xcb, 0x0f, 0x00, 0xee, 0xae, 0xed, 0xb2,
0x6b, 0x70, 0x8b, 0x44, 0x91, 0xa4, 0x2a, 0xcd, 0x9f, 0xda, 0x17, 0xa6, 0x23, 0x2f, 0xbf, 0x72,
0x38, 0x33, 0x93, 0x96, 0x96, 0x8c, 0xc7, 0xcd, 0x4f, 0xd0, 0x3e, 0x87, 0x19, 0x92, 0x88, 0x3e,
0xd7, 0xff, 0x49, 0xb4, 0x92, 0x9e, 0x66, 0xef, 0x86, 0xae, 0xf5, 0x3e, 0x74, 0x2d, 0xbf, 0x3e,
0x9e, 0x3b, 0x60, 0x32, 0x77, 0xc0, 0xdb, 0xdc, 0x01, 0xf7, 0x0b, 0xc7, 0x9a, 0x2c, 0x1c, 0xeb,
0x79, 0xe1, 0x58, 0x97, 0x5e, 0xcc, 0x74, 0xbb, 0x1f, 0xa0, 0x50, 0x24, 0x38, 0x7d, 0x55, 0xaf,
0x4b, 0x02, 0xb5, 0xac, 0xf0, 0xcd, 0xaf, 0x73, 0xeb, 0xdb, 0x1e, 0x55, 0x41, 0x66, 0x79, 0xa4,
0x93, 0x8f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbd, 0xf6, 0xf2, 0x8d, 0x0f, 0x02, 0x00, 0x00,
var fileDescriptor_4029a0f159e1fc46 = []byte{
// 357 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0xa8, 0x4a, 0x4f, 0xd6,
0x2f, 0x28, 0x4a, 0x4d, 0xce, 0x2c, 0x4e, 0x4d, 0x4a, 0xcc, 0xcb, 0xd6, 0x2f, 0x33, 0xd4, 0x4f,
0x4f, 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 0xb1, 0x27, 0xa6, 0xa4, 0x14, 0xa5, 0x16,
0x83, 0x9c, 0x0f, 0x32, 0x5e, 0xe2, 0xd2, 0x16, 0x5d, 0x11, 0xa8, 0x09, 0x8e, 0x10, 0x99, 0xe0,
0x92, 0xa2, 0xcc, 0xbc, 0xf4, 0x20, 0x98, 0x42, 0x21, 0x67, 0x2e, 0xb6, 0xc4, 0xdc, 0xfc, 0xd2,
0xbc, 0x12, 0x72, 0x5c, 0x04, 0xd5, 0x6a, 0xc5, 0xd1, 0xb1, 0x40, 0x9e, 0xe1, 0xc5, 0x02, 0x79,
0x06, 0x27, 0x8f, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71,
0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, 0x88, 0xd2, 0x4b, 0xcf,
0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x37, 0x48, 0xcf, 0x49, 0x4c, 0x2a, 0xd6,
0x37, 0x48, 0xd7, 0x4d, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0xaf, 0x40, 0x89, 0xed, 0x92, 0xca, 0x82,
0xd4, 0xe2, 0x24, 0x36, 0x70, 0x24, 0x19, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xc3, 0xe5, 0x62,
0x3b, 0x0d, 0x02, 0x00, 0x00,
}
func (m *GenesisState) Marshal() (dAtA []byte, err error) {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: kava/precisebank/v1/query.proto
// source: zgc/precisebank/v1/query.proto
package types
@ -38,7 +38,7 @@ func (m *QueryTotalFractionalBalancesRequest) Reset() { *m = QueryTotalF
func (m *QueryTotalFractionalBalancesRequest) String() string { return proto.CompactTextString(m) }
func (*QueryTotalFractionalBalancesRequest) ProtoMessage() {}
func (*QueryTotalFractionalBalancesRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_8a91a8caa7551030, []int{0}
return fileDescriptor_c77e9b73389f3988, []int{0}
}
func (m *QueryTotalFractionalBalancesRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -78,7 +78,7 @@ func (m *QueryTotalFractionalBalancesResponse) Reset() { *m = QueryTotal
func (m *QueryTotalFractionalBalancesResponse) String() string { return proto.CompactTextString(m) }
func (*QueryTotalFractionalBalancesResponse) ProtoMessage() {}
func (*QueryTotalFractionalBalancesResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_8a91a8caa7551030, []int{1}
return fileDescriptor_c77e9b73389f3988, []int{1}
}
func (m *QueryTotalFractionalBalancesResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -115,7 +115,7 @@ func (m *QueryRemainderRequest) Reset() { *m = QueryRemainderRequest{} }
func (m *QueryRemainderRequest) String() string { return proto.CompactTextString(m) }
func (*QueryRemainderRequest) ProtoMessage() {}
func (*QueryRemainderRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_8a91a8caa7551030, []int{2}
return fileDescriptor_c77e9b73389f3988, []int{2}
}
func (m *QueryRemainderRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -155,7 +155,7 @@ func (m *QueryRemainderResponse) Reset() { *m = QueryRemainderResponse{}
func (m *QueryRemainderResponse) String() string { return proto.CompactTextString(m) }
func (*QueryRemainderResponse) ProtoMessage() {}
func (*QueryRemainderResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_8a91a8caa7551030, []int{3}
return fileDescriptor_c77e9b73389f3988, []int{3}
}
func (m *QueryRemainderResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -194,7 +194,7 @@ func (m *QueryFractionalBalanceRequest) Reset() { *m = QueryFractionalBa
func (m *QueryFractionalBalanceRequest) String() string { return proto.CompactTextString(m) }
func (*QueryFractionalBalanceRequest) ProtoMessage() {}
func (*QueryFractionalBalanceRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_8a91a8caa7551030, []int{4}
return fileDescriptor_c77e9b73389f3988, []int{4}
}
func (m *QueryFractionalBalanceRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -233,7 +233,7 @@ func (m *QueryFractionalBalanceResponse) Reset() { *m = QueryFractionalB
func (m *QueryFractionalBalanceResponse) String() string { return proto.CompactTextString(m) }
func (*QueryFractionalBalanceResponse) ProtoMessage() {}
func (*QueryFractionalBalanceResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_8a91a8caa7551030, []int{5}
return fileDescriptor_c77e9b73389f3988, []int{5}
}
func (m *QueryFractionalBalanceResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@ -263,49 +263,49 @@ func (m *QueryFractionalBalanceResponse) XXX_DiscardUnknown() {
var xxx_messageInfo_QueryFractionalBalanceResponse proto.InternalMessageInfo
func init() {
proto.RegisterType((*QueryTotalFractionalBalancesRequest)(nil), "kava.precisebank.v1.QueryTotalFractionalBalancesRequest")
proto.RegisterType((*QueryTotalFractionalBalancesResponse)(nil), "kava.precisebank.v1.QueryTotalFractionalBalancesResponse")
proto.RegisterType((*QueryRemainderRequest)(nil), "kava.precisebank.v1.QueryRemainderRequest")
proto.RegisterType((*QueryRemainderResponse)(nil), "kava.precisebank.v1.QueryRemainderResponse")
proto.RegisterType((*QueryFractionalBalanceRequest)(nil), "kava.precisebank.v1.QueryFractionalBalanceRequest")
proto.RegisterType((*QueryFractionalBalanceResponse)(nil), "kava.precisebank.v1.QueryFractionalBalanceResponse")
proto.RegisterType((*QueryTotalFractionalBalancesRequest)(nil), "zgc.precisebank.v1.QueryTotalFractionalBalancesRequest")
proto.RegisterType((*QueryTotalFractionalBalancesResponse)(nil), "zgc.precisebank.v1.QueryTotalFractionalBalancesResponse")
proto.RegisterType((*QueryRemainderRequest)(nil), "zgc.precisebank.v1.QueryRemainderRequest")
proto.RegisterType((*QueryRemainderResponse)(nil), "zgc.precisebank.v1.QueryRemainderResponse")
proto.RegisterType((*QueryFractionalBalanceRequest)(nil), "zgc.precisebank.v1.QueryFractionalBalanceRequest")
proto.RegisterType((*QueryFractionalBalanceResponse)(nil), "zgc.precisebank.v1.QueryFractionalBalanceResponse")
}
func init() { proto.RegisterFile("kava/precisebank/v1/query.proto", fileDescriptor_8a91a8caa7551030) }
func init() { proto.RegisterFile("zgc/precisebank/v1/query.proto", fileDescriptor_c77e9b73389f3988) }
var fileDescriptor_8a91a8caa7551030 = []byte{
// 486 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0x4d, 0x8b, 0xd3, 0x40,
0x18, 0xc7, 0x33, 0xb2, 0xab, 0x74, 0x3c, 0xed, 0xf8, 0xb2, 0x6b, 0xd0, 0xd9, 0x25, 0xbe, 0x20,
0xca, 0xce, 0x98, 0x16, 0xc5, 0x1e, 0xbc, 0x54, 0xf0, 0x22, 0x08, 0x16, 0x41, 0x10, 0x64, 0x79,
0x92, 0xce, 0xc6, 0xb0, 0xe9, 0x4c, 0x36, 0x33, 0x2d, 0x2e, 0xe2, 0xc5, 0xb3, 0x07, 0xc1, 0x93,
0x9f, 0xc4, 0x6f, 0x20, 0x3d, 0x2e, 0x78, 0xf1, 0x24, 0xda, 0xfa, 0x41, 0x24, 0x93, 0x69, 0xd5,
0xb6, 0x91, 0xea, 0x6d, 0x32, 0xcf, 0xcb, 0xff, 0xf7, 0xcc, 0xf3, 0x27, 0x78, 0xfb, 0x00, 0x86,
0xc0, 0xf3, 0x42, 0xc4, 0xa9, 0x16, 0x11, 0xc8, 0x03, 0x3e, 0x0c, 0xf9, 0xe1, 0x40, 0x14, 0x47,
0x2c, 0x2f, 0x94, 0x51, 0xe4, 0x4c, 0x99, 0xc0, 0x7e, 0x4b, 0x60, 0xc3, 0xd0, 0xa7, 0xb1, 0xd2,
0x7d, 0xa5, 0x79, 0x04, 0x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xdd, 0x4a, 0x92,
0x4f, 0x08, 0x6f, 0xd6, 0xec, 0x80, 0xdc, 0x65, 0x4b, 0x4c, 0xc3, 0x56, 0xd8, 0xae, 0xdf, 0xfe,
0x8f, 0xca, 0x6a, 0xd4, 0xe0, 0xce, 0x9b, 0xcf, 0x3f, 0xde, 0x9f, 0xb8, 0x45, 0x18, 0x5f, 0x66,
0x69, 0xbb, 0xdd, 0xbd, 0xc5, 0xb7, 0xd0, 0xe4, 0x2d, 0xc2, 0x8d, 0xd9, 0x52, 0xc9, 0x8d, 0x7a,
0x80, 0x79, 0x4b, 0xf8, 0x37, 0x57, 0xca, 0x75, 0x78, 0xd7, 0x2c, 0xde, 0x0e, 0xa1, 0x4b, 0xf1,
0x66, 0x76, 0x20, 0x1f, 0x11, 0xde, 0x58, 0x98, 0x92, 0x34, 0xeb, 0xa5, 0xea, 0x7c, 0xe3, 0xb7,
0xfe, 0xa9, 0xc6, 0x61, 0xb6, 0x2d, 0x66, 0x8b, 0x84, 0x4b, 0x31, 0x17, 0xdf, 0x8f, 0xbf, 0x72,
0x66, 0x7c, 0xdd, 0x79, 0x38, 0xfa, 0x4e, 0xbd, 0xd1, 0x98, 0xa2, 0xe3, 0x31, 0x45, 0xdf, 0xc6,
0x14, 0xbd, 0x9b, 0x50, 0xef, 0x78, 0x42, 0xbd, 0x2f, 0x13, 0xea, 0x3d, 0xdb, 0x4d, 0x52, 0xf3,
0x62, 0x10, 0xb1, 0x58, 0xf5, 0x6d, 0xeb, 0xdd, 0x0c, 0x22, 0x5d, 0x89, 0xbc, 0xfc, 0x43, 0xc6,
0x1c, 0xe5, 0x42, 0x47, 0x27, 0xed, 0x4f, 0xa1, 0xf5, 0x33, 0x00, 0x00, 0xff, 0xff, 0xf1, 0x25,
0x13, 0x91, 0xa0, 0x04, 0x00, 0x00,
var fileDescriptor_c77e9b73389f3988 = []byte{
// 491 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00,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 0x45, 0x43, 0x70, 0xf3, 0x18, 0xb4,
0xb9, 0x0d, 0xe0, 0x17, 0x1f, 0xac, 0x55, 0xe6, 0x83, 0x51, 0xad, 0x4e, 0x9d, 0x5d, 0x82, 0xce,
0x32, 0x25, 0x0e, 0x71, 0xdb, 0x22, 0x46, 0x90, 0x1c, 0x83, 0x58, 0x7d, 0x37, 0xf2, 0xd6, 0x19,
0xf0, 0x5d, 0xf7, 0xc9, 0xf8, 0x17, 0xf2, 0xc6, 0x13, 0xe4, 0x1f, 0x4d, 0x90, 0xff, 0x73, 0x82,
0xfc, 0x4f, 0x53, 0xe4, 0x1d, 0x4d, 0x91, 0xf7, 0x7d, 0x8a, 0xbc, 0x97, 0x58, 0x24, 0x66, 0x6f,
0x18, 0x63, 0xa6, 0x06, 0xa4, 0x2d, 0x52, 0x1a, 0x6b, 0xd2, 0x16, 0xb7, 0xd9, 0x1e, 0x4d, 0x24,
0x79, 0xf3, 0x9f, 0x8e, 0x39, 0xc8, 0xb8, 0x8e, 0x4f, 0xdb, 0x3f, 0xc1, 0x9d, 0x3f, 0x01, 0x00,
0x00, 0xff, 0xff, 0xb3, 0xb3, 0x06, 0x02, 0x93, 0x04, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
@ -341,7 +341,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient {
func (c *queryClient) TotalFractionalBalances(ctx context.Context, in *QueryTotalFractionalBalancesRequest, opts ...grpc.CallOption) (*QueryTotalFractionalBalancesResponse, error) {
out := new(QueryTotalFractionalBalancesResponse)
err := c.cc.Invoke(ctx, "/kava.precisebank.v1.Query/TotalFractionalBalances", in, out, opts...)
err := c.cc.Invoke(ctx, "/zgc.precisebank.v1.Query/TotalFractionalBalances", in, out, opts...)
if err != nil {
return nil, err
}
@ -350,7 +350,7 @@ func (c *queryClient) TotalFractionalBalances(ctx context.Context, in *QueryTota
func (c *queryClient) Remainder(ctx context.Context, in *QueryRemainderRequest, opts ...grpc.CallOption) (*QueryRemainderResponse, error) {
out := new(QueryRemainderResponse)
err := c.cc.Invoke(ctx, "/kava.precisebank.v1.Query/Remainder", in, out, opts...)
err := c.cc.Invoke(ctx, "/zgc.precisebank.v1.Query/Remainder", in, out, opts...)
if err != nil {
return nil, err
}
@ -359,7 +359,7 @@ func (c *queryClient) Remainder(ctx context.Context, in *QueryRemainderRequest,
func (c *queryClient) FractionalBalance(ctx context.Context, in *QueryFractionalBalanceRequest, opts ...grpc.CallOption) (*QueryFractionalBalanceResponse, error) {
out := new(QueryFractionalBalanceResponse)
err := c.cc.Invoke(ctx, "/kava.precisebank.v1.Query/FractionalBalance", in, out, opts...)
err := c.cc.Invoke(ctx, "/zgc.precisebank.v1.Query/FractionalBalance", in, out, opts...)
if err != nil {
return nil, err
}
@ -407,7 +407,7 @@ func _Query_TotalFractionalBalances_Handler(srv interface{}, ctx context.Context
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/kava.precisebank.v1.Query/TotalFractionalBalances",
FullMethod: "/zgc.precisebank.v1.Query/TotalFractionalBalances",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).TotalFractionalBalances(ctx, req.(*QueryTotalFractionalBalancesRequest))
@ -425,7 +425,7 @@ func _Query_Remainder_Handler(srv interface{}, ctx context.Context, dec func(int
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/kava.precisebank.v1.Query/Remainder",
FullMethod: "/zgc.precisebank.v1.Query/Remainder",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Remainder(ctx, req.(*QueryRemainderRequest))
@ -443,7 +443,7 @@ func _Query_FractionalBalance_Handler(srv interface{}, ctx context.Context, dec
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/kava.precisebank.v1.Query/FractionalBalance",
FullMethod: "/zgc.precisebank.v1.Query/FractionalBalance",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).FractionalBalance(ctx, req.(*QueryFractionalBalanceRequest))
@ -452,7 +452,7 @@ func _Query_FractionalBalance_Handler(srv interface{}, ctx context.Context, dec
}
var _Query_serviceDesc = grpc.ServiceDesc{
ServiceName: "kava.precisebank.v1.Query",
ServiceName: "zgc.precisebank.v1.Query",
HandlerType: (*QueryServer)(nil),
Methods: []grpc.MethodDesc{
{
@ -469,7 +469,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{
},
},
Streams: []grpc.StreamDesc{},
Metadata: "kava/precisebank/v1/query.proto",
Metadata: "zgc/precisebank/v1/query.proto",
}
func (m *QueryTotalFractionalBalancesRequest) Marshal() (dAtA []byte, err error) {

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT.
// source: kava/precisebank/v1/query.proto
// source: zgc/precisebank/v1/query.proto
/*
Package types is a reverse proxy.
@ -303,11 +303,11 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie
}
var (
pattern_Query_TotalFractionalBalances_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"kava", "precisebank", "v1", "total_fractional_balances"}, "", runtime.AssumeColonVerbOpt(false)))
pattern_Query_TotalFractionalBalances_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"0g", "precisebank", "v1", "total_fractional_balances"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_Query_Remainder_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"kava", "precisebank", "v1", "remainder"}, "", runtime.AssumeColonVerbOpt(false)))
pattern_Query_Remainder_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"0g", "precisebank", "v1", "remainder"}, "", runtime.AssumeColonVerbOpt(true)))
pattern_Query_FractionalBalance_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"kava", "precisebank", "v1", "fractional_balance", "address"}, "", runtime.AssumeColonVerbOpt(false)))
pattern_Query_FractionalBalance_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"0g", "precisebank", "v1", "fractional_balance", "address"}, "", runtime.AssumeColonVerbOpt(true)))
)
var (