From b08bb5b6e0c13a3ee2e7b74f95db4a1129a07941 Mon Sep 17 00:00:00 2001 From: Ava Howell Date: Sat, 13 Jan 2024 00:26:43 -0800 Subject: [PATCH 1/3] update penumbra protos and fix tx.go, query.go with new apis --- .../cnidarium/v1alpha1/cnidarium.pb.go | 1545 ++++- .../penumbra/core/app/v1alpha1/app.pb.go | 179 +- .../core/component/chain/v1alpha1/chain.pb.go | 475 +- .../v1alpha1/compact_block.pb.go | 329 +- .../core/component/dex/v1alpha1/dex.pb.go | 6006 +++++++++++------ .../governance/v1alpha1/governance.pb.go | 1203 +++- .../core/component/sct/v1alpha1/sct.pb.go | 2761 +++++++- .../v1alpha1/shielded_pool.pb.go | 314 +- .../core/component/stake/v1alpha1/stake.pb.go | 352 +- .../penumbra/core/keys/v1alpha1/keys.pb.go | 263 +- .../transaction/v1alpha1/transaction.pb.go | 2294 +++---- .../v1alpha1/decaf377_rdsa.pb.go | 215 +- relayer/chains/penumbra/tx.go | 17 +- .../chains/penumbra/view/v1alpha1/view.pb.go | 2206 ++---- 14 files changed, 10760 insertions(+), 7399 deletions(-) diff --git a/relayer/chains/penumbra/cnidarium/v1alpha1/cnidarium.pb.go b/relayer/chains/penumbra/cnidarium/v1alpha1/cnidarium.pb.go index 498263fbe..f7ac25a32 100644 --- a/relayer/chains/penumbra/cnidarium/v1alpha1/cnidarium.pb.go +++ b/relayer/chains/penumbra/cnidarium/v1alpha1/cnidarium.pb.go @@ -299,12 +299,302 @@ func (m *PrefixValueResponse) GetValue() []byte { return nil } +// Requests a stream of new key-value pairs that have been committed to the state. +type WatchRequest struct { + // A regex for keys in the verifiable storage. + // + // Only key-value updates whose keys match this regex will be returned. + // Note that the empty string matches all keys. + // To exclude all keys, use the regex "$^", which matches no strings. + KeyRegex string `protobuf:"bytes,1,opt,name=key_regex,json=keyRegex,proto3" json:"key_regex,omitempty"` + // A regex for keys in the nonverifiable storage. + // + // Only key-value updates whose keys match this regex will be returned. + // Note that the empty string matches all keys. + // To exclude all keys, use the regex "$^", which matches no strings. + NvKeyRegex string `protobuf:"bytes,2,opt,name=nv_key_regex,json=nvKeyRegex,proto3" json:"nv_key_regex,omitempty"` +} + +func (m *WatchRequest) Reset() { *m = WatchRequest{} } +func (m *WatchRequest) String() string { return proto.CompactTextString(m) } +func (*WatchRequest) ProtoMessage() {} +func (*WatchRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_a6006139f070ea05, []int{4} +} +func (m *WatchRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WatchRequest.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 *WatchRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_WatchRequest.Merge(m, src) +} +func (m *WatchRequest) XXX_Size() int { + return m.Size() +} +func (m *WatchRequest) XXX_DiscardUnknown() { + xxx_messageInfo_WatchRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_WatchRequest proto.InternalMessageInfo + +func (m *WatchRequest) GetKeyRegex() string { + if m != nil { + return m.KeyRegex + } + return "" +} + +func (m *WatchRequest) GetNvKeyRegex() string { + if m != nil { + return m.NvKeyRegex + } + return "" +} + +// A key-value pair that has been committed to the state. +type WatchResponse struct { + // The state version the key-value pair was committed at. + Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` + // The entry that was committed. + // + // Types that are valid to be assigned to Entry: + // *WatchResponse_Kv + // *WatchResponse_NvKv + Entry isWatchResponse_Entry `protobuf_oneof:"entry"` +} + +func (m *WatchResponse) Reset() { *m = WatchResponse{} } +func (m *WatchResponse) String() string { return proto.CompactTextString(m) } +func (*WatchResponse) ProtoMessage() {} +func (*WatchResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_a6006139f070ea05, []int{5} +} +func (m *WatchResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WatchResponse.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 *WatchResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_WatchResponse.Merge(m, src) +} +func (m *WatchResponse) XXX_Size() int { + return m.Size() +} +func (m *WatchResponse) XXX_DiscardUnknown() { + xxx_messageInfo_WatchResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_WatchResponse proto.InternalMessageInfo + +type isWatchResponse_Entry interface { + isWatchResponse_Entry() + MarshalTo([]byte) (int, error) + Size() int +} + +type WatchResponse_Kv struct { + Kv *WatchResponse_KeyValue `protobuf:"bytes,5,opt,name=kv,proto3,oneof" json:"kv,omitempty"` +} +type WatchResponse_NvKv struct { + NvKv *WatchResponse_NvKeyValue `protobuf:"bytes,6,opt,name=nv_kv,json=nvKv,proto3,oneof" json:"nv_kv,omitempty"` +} + +func (*WatchResponse_Kv) isWatchResponse_Entry() {} +func (*WatchResponse_NvKv) isWatchResponse_Entry() {} + +func (m *WatchResponse) GetEntry() isWatchResponse_Entry { + if m != nil { + return m.Entry + } + return nil +} + +func (m *WatchResponse) GetVersion() uint64 { + if m != nil { + return m.Version + } + return 0 +} + +func (m *WatchResponse) GetKv() *WatchResponse_KeyValue { + if x, ok := m.GetEntry().(*WatchResponse_Kv); ok { + return x.Kv + } + return nil +} + +func (m *WatchResponse) GetNvKv() *WatchResponse_NvKeyValue { + if x, ok := m.GetEntry().(*WatchResponse_NvKv); ok { + return x.NvKv + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*WatchResponse) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*WatchResponse_Kv)(nil), + (*WatchResponse_NvKv)(nil), + } +} + +// Elements of the verifiable storage have string keys. +type WatchResponse_KeyValue struct { + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + // If set to true, the key-value pair was deleted. + // This allows distinguishing a deleted key-value pair from a key-value pair whose value is empty. + Deleted bool `protobuf:"varint,3,opt,name=deleted,proto3" json:"deleted,omitempty"` +} + +func (m *WatchResponse_KeyValue) Reset() { *m = WatchResponse_KeyValue{} } +func (m *WatchResponse_KeyValue) String() string { return proto.CompactTextString(m) } +func (*WatchResponse_KeyValue) ProtoMessage() {} +func (*WatchResponse_KeyValue) Descriptor() ([]byte, []int) { + return fileDescriptor_a6006139f070ea05, []int{5, 0} +} +func (m *WatchResponse_KeyValue) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WatchResponse_KeyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WatchResponse_KeyValue.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 *WatchResponse_KeyValue) XXX_Merge(src proto.Message) { + xxx_messageInfo_WatchResponse_KeyValue.Merge(m, src) +} +func (m *WatchResponse_KeyValue) XXX_Size() int { + return m.Size() +} +func (m *WatchResponse_KeyValue) XXX_DiscardUnknown() { + xxx_messageInfo_WatchResponse_KeyValue.DiscardUnknown(m) +} + +var xxx_messageInfo_WatchResponse_KeyValue proto.InternalMessageInfo + +func (m *WatchResponse_KeyValue) GetKey() string { + if m != nil { + return m.Key + } + return "" +} + +func (m *WatchResponse_KeyValue) GetValue() []byte { + if m != nil { + return m.Value + } + return nil +} + +func (m *WatchResponse_KeyValue) GetDeleted() bool { + if m != nil { + return m.Deleted + } + return false +} + +// Elements of the nonverifiable storage have byte keys. +type WatchResponse_NvKeyValue struct { + Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` + // If set to true, the key-value pair was deleted. + // This allows distinguishing a deleted key-value pair from a key-value pair whose value is empty. + Deleted bool `protobuf:"varint,3,opt,name=deleted,proto3" json:"deleted,omitempty"` +} + +func (m *WatchResponse_NvKeyValue) Reset() { *m = WatchResponse_NvKeyValue{} } +func (m *WatchResponse_NvKeyValue) String() string { return proto.CompactTextString(m) } +func (*WatchResponse_NvKeyValue) ProtoMessage() {} +func (*WatchResponse_NvKeyValue) Descriptor() ([]byte, []int) { + return fileDescriptor_a6006139f070ea05, []int{5, 1} +} +func (m *WatchResponse_NvKeyValue) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WatchResponse_NvKeyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WatchResponse_NvKeyValue.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 *WatchResponse_NvKeyValue) XXX_Merge(src proto.Message) { + xxx_messageInfo_WatchResponse_NvKeyValue.Merge(m, src) +} +func (m *WatchResponse_NvKeyValue) XXX_Size() int { + return m.Size() +} +func (m *WatchResponse_NvKeyValue) XXX_DiscardUnknown() { + xxx_messageInfo_WatchResponse_NvKeyValue.DiscardUnknown(m) +} + +var xxx_messageInfo_WatchResponse_NvKeyValue proto.InternalMessageInfo + +func (m *WatchResponse_NvKeyValue) GetKey() []byte { + if m != nil { + return m.Key + } + return nil +} + +func (m *WatchResponse_NvKeyValue) GetValue() []byte { + if m != nil { + return m.Value + } + return nil +} + +func (m *WatchResponse_NvKeyValue) GetDeleted() bool { + if m != nil { + return m.Deleted + } + return false +} + func init() { proto.RegisterType((*KeyValueRequest)(nil), "penumbra.cnidarium.v1alpha1.KeyValueRequest") proto.RegisterType((*KeyValueResponse)(nil), "penumbra.cnidarium.v1alpha1.KeyValueResponse") proto.RegisterType((*KeyValueResponse_Value)(nil), "penumbra.cnidarium.v1alpha1.KeyValueResponse.Value") proto.RegisterType((*PrefixValueRequest)(nil), "penumbra.cnidarium.v1alpha1.PrefixValueRequest") proto.RegisterType((*PrefixValueResponse)(nil), "penumbra.cnidarium.v1alpha1.PrefixValueResponse") + proto.RegisterType((*WatchRequest)(nil), "penumbra.cnidarium.v1alpha1.WatchRequest") + proto.RegisterType((*WatchResponse)(nil), "penumbra.cnidarium.v1alpha1.WatchResponse") + proto.RegisterType((*WatchResponse_KeyValue)(nil), "penumbra.cnidarium.v1alpha1.WatchResponse.KeyValue") + proto.RegisterType((*WatchResponse_NvKeyValue)(nil), "penumbra.cnidarium.v1alpha1.WatchResponse.NvKeyValue") } func init() { @@ -312,39 +602,48 @@ func init() { } var fileDescriptor_a6006139f070ea05 = []byte{ - // 497 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0xcb, 0x6e, 0xd3, 0x40, - 0x14, 0xcd, 0x38, 0x4a, 0x09, 0xd3, 0x0a, 0xaa, 0x01, 0xa1, 0x90, 0xaa, 0xa6, 0x0a, 0x8b, 0x56, - 0x02, 0x66, 0x9a, 0x74, 0x45, 0x10, 0x9b, 0x74, 0x51, 0x55, 0xa8, 0x92, 0x09, 0xa8, 0x02, 0x14, - 0x09, 0x8d, 0x9d, 0xdb, 0x66, 0xd4, 0xd8, 0x63, 0xc6, 0x0f, 0x91, 0xbf, 0xe0, 0x1b, 0x58, 0xb2, - 0x64, 0xc3, 0x2f, 0x20, 0x56, 0x5d, 0xb2, 0x44, 0xc9, 0x0e, 0x7e, 0x02, 0xf9, 0x31, 0x76, 0x0a, - 0x92, 0x95, 0xee, 0x7c, 0xcf, 0x3d, 0xf7, 0xcc, 0xb9, 0xc7, 0x33, 0xf8, 0x91, 0x0f, 0x5e, 0xe4, - 0xda, 0x8a, 0x33, 0xc7, 0x13, 0x63, 0xae, 0x44, 0xe4, 0xb2, 0xb8,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 0xfd, 0x82, 0xda, 0xef, 0x6b, 0xae, 0xbd, 0x96, - 0xbe, 0xe0, 0x83, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xd0, 0x61, 0x0d, 0xb7, 0x36, 0x04, 0x00, - 0x00, + // 655 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0xcb, 0x6e, 0xd3, 0x4c, + 0x14, 0xc7, 0x63, 0xb7, 0x6e, 0xd3, 0xd3, 0x7c, 0x1f, 0xd5, 0x80, 0x50, 0x48, 0xd5, 0x50, 0x85, + 0x45, 0xcb, 0xcd, 0x6e, 0x5a, 0xb1, 0x20, 0x88, 0x4d, 0x2a, 0x54, 0xaa, 0x5e, 0x64, 0x02, 0x2a, + 0x17, 0x55, 0x2a, 0x8e, 0x73, 0xda, 0x58, 0x89, 0xed, 0x30, 0x76, 0x46, 0xf5, 0x5b, 0xf0, 0x0c, + 0x2c, 0x59, 0xb2, 0xe1, 0x15, 0x10, 0x12, 0x52, 0x97, 0x2c, 0x51, 0x2a, 0x36, 0x3c, 0x05, 0xf2, + 0x78, 0x26, 0x76, 0x41, 0x8a, 0x5c, 0x76, 0x3e, 0x97, 0xf9, 0x9d, 0xff, 0x9c, 0x73, 0x3c, 0x70, + 0x77, 0x80, 0xde, 0xd0, 0x6d, 0x53, 0xcb, 0xb0, 0x3d, 0xa7, 0x63, 0x51, 0x67, 0xe8, 0x1a, 0xac, + 0x6e, 0xf5, 0x07, 0x5d, 0xab, 0x9e, 0xba, 0xf4, 0x01, 0xf5, 0x43, 0x9f, 0x2c, 0xca, 0x64, 0x3d, + 0x8d, 0xc8, 0xe4, 0xca, 0x8a, 0xd3, 0xb6, 0x0d, 0xdb, 0xa7, 0x68, 0xd8, 0xbe, 0xeb, 0x3a, 0xa1, + 0x8b, 0x5e, 0x68, 0xb0, 0x7a, 0xc6, 0x4a, 0x28, 0xb5, 0x17, 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0xca, 0x8f, 0x51, 0x55, 0x79, 0x7f, 0x5e, 0x2d, 0x9c, 0x9d, + 0x57, 0x0b, 0xdf, 0xcf, 0xab, 0x05, 0xb8, 0x69, 0xfb, 0xee, 0x24, 0x56, 0xf3, 0xff, 0x4d, 0xe9, + 0x33, 0xe3, 0xa7, 0xce, 0x54, 0xde, 0xbc, 0x3e, 0x71, 0xc2, 0xee, 0xb0, 0x1d, 0x3f, 0x12, 0x86, + 0xed, 0x07, 0xae, 0x1f, 0x18, 0x14, 0xfb, 0x56, 0x84, 0xd4, 0x60, 0xeb, 0xe3, 0x4f, 0xfe, 0x67, + 0x07, 0xc6, 0x84, 0xb7, 0xf8, 0xd1, 0xd8, 0x25, 0x3d, 0x1f, 0xd4, 0x29, 0x73, 0xf3, 0xd5, 0x47, + 0x75, 0xd1, 0x94, 0x82, 0xc6, 0xc5, 0xf5, 0x03, 0x91, 0xf3, 0x35, 0x8d, 0x1e, 0x8e, 0xa3, 0x87, + 0x32, 0x3a, 0x52, 0x57, 0x26, 0x44, 0x0f, 0xb7, 0xcc, 0xe6, 0x1e, 0x86, 0x56, 0xc7, 0x0a, 0xad, + 0x5f, 0xea, 0x92, 0xcc, 0x6c, 0x34, 0xc6, 0xa9, 0x8d, 0x86, 0xcc, 0x6d, 0xcf, 0xf0, 0xa7, 0x7d, + 0xe3, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x11, 0xdf, 0xd8, 0x86, 0x4f, 0x06, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -364,8 +663,9 @@ type QueryServiceClient interface { KeyValue(ctx context.Context, in *KeyValueRequest, opts ...grpc.CallOption) (*KeyValueResponse, error) // General-purpose prefixed key-value state query API, that can be used to query // arbitrary prefixes in the JMT storage. - // Returns a stream of `PrefixValueResponse`s. PrefixValue(ctx context.Context, in *PrefixValueRequest, opts ...grpc.CallOption) (QueryService_PrefixValueClient, error) + // Subscribes to a stream of key-value updates, with regex filtering on keys. + Watch(ctx context.Context, in *WatchRequest, opts ...grpc.CallOption) (QueryService_WatchClient, error) } type queryServiceClient struct { @@ -417,6 +717,38 @@ func (x *queryServicePrefixValueClient) Recv() (*PrefixValueResponse, error) { return m, nil } +func (c *queryServiceClient) Watch(ctx context.Context, in *WatchRequest, opts ...grpc.CallOption) (QueryService_WatchClient, error) { + stream, err := c.cc.NewStream(ctx, &_QueryService_serviceDesc.Streams[1], "/penumbra.cnidarium.v1alpha1.QueryService/Watch", opts...) + if err != nil { + return nil, err + } + x := &queryServiceWatchClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type QueryService_WatchClient interface { + Recv() (*WatchResponse, error) + grpc.ClientStream +} + +type queryServiceWatchClient struct { + grpc.ClientStream +} + +func (x *queryServiceWatchClient) Recv() (*WatchResponse, error) { + m := new(WatchResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + // QueryServiceServer is the server API for QueryService service. type QueryServiceServer interface { // General-purpose key-value state query API, that can be used to query @@ -424,8 +756,9 @@ type QueryServiceServer interface { KeyValue(context.Context, *KeyValueRequest) (*KeyValueResponse, error) // General-purpose prefixed key-value state query API, that can be used to query // arbitrary prefixes in the JMT storage. - // Returns a stream of `PrefixValueResponse`s. PrefixValue(*PrefixValueRequest, QueryService_PrefixValueServer) error + // Subscribes to a stream of key-value updates, with regex filtering on keys. + Watch(*WatchRequest, QueryService_WatchServer) error } // UnimplementedQueryServiceServer can be embedded to have forward compatible implementations. @@ -438,6 +771,9 @@ func (*UnimplementedQueryServiceServer) KeyValue(ctx context.Context, req *KeyVa func (*UnimplementedQueryServiceServer) PrefixValue(req *PrefixValueRequest, srv QueryService_PrefixValueServer) error { return status.Errorf(codes.Unimplemented, "method PrefixValue not implemented") } +func (*UnimplementedQueryServiceServer) Watch(req *WatchRequest, srv QueryService_WatchServer) error { + return status.Errorf(codes.Unimplemented, "method Watch not implemented") +} func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer) { s.RegisterService(&_QueryService_serviceDesc, srv) @@ -482,6 +818,27 @@ func (x *queryServicePrefixValueServer) Send(m *PrefixValueResponse) error { return x.ServerStream.SendMsg(m) } +func _QueryService_Watch_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(WatchRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(QueryServiceServer).Watch(m, &queryServiceWatchServer{stream}) +} + +type QueryService_WatchServer interface { + Send(*WatchResponse) error + grpc.ServerStream +} + +type queryServiceWatchServer struct { + grpc.ServerStream +} + +func (x *queryServiceWatchServer) Send(m *WatchResponse) error { + return x.ServerStream.SendMsg(m) +} + var _QueryService_serviceDesc = grpc.ServiceDesc{ ServiceName: "penumbra.cnidarium.v1alpha1.QueryService", HandlerType: (*QueryServiceServer)(nil), @@ -497,6 +854,11 @@ var _QueryService_serviceDesc = grpc.ServiceDesc{ Handler: _QueryService_PrefixValue_Handler, ServerStreams: true, }, + { + StreamName: "Watch", + Handler: _QueryService_Watch_Handler, + ServerStreams: true, + }, }, Metadata: "penumbra/cnidarium/v1alpha1/cnidarium.proto", } @@ -699,45 +1061,255 @@ func (m *PrefixValueResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func encodeVarintCnidarium(dAtA []byte, offset int, v uint64) int { - offset -= sovCnidarium(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ +func (m *WatchRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - dAtA[offset] = uint8(v) - return base + return dAtA[:n], nil } -func (m *KeyValueRequest) Size() (n int) { - if m == nil { - return 0 - } + +func (m *WatchRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *WatchRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.ChainId) - if l > 0 { - n += 1 + l + sovCnidarium(uint64(l)) - } - l = len(m.Key) - if l > 0 { - n += 1 + l + sovCnidarium(uint64(l)) + if len(m.NvKeyRegex) > 0 { + i -= len(m.NvKeyRegex) + copy(dAtA[i:], m.NvKeyRegex) + i = encodeVarintCnidarium(dAtA, i, uint64(len(m.NvKeyRegex))) + i-- + dAtA[i] = 0x12 } - if m.Proof { - n += 2 + if len(m.KeyRegex) > 0 { + i -= len(m.KeyRegex) + copy(dAtA[i:], m.KeyRegex) + i = encodeVarintCnidarium(dAtA, i, uint64(len(m.KeyRegex))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *KeyValueResponse) Size() (n int) { - if m == nil { - return 0 +func (m *WatchResponse) 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 *WatchResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *WatchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Value != nil { - l = m.Value.Size() + if m.Entry != nil { + { + size := m.Entry.Size() + i -= size + if _, err := m.Entry.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + } + } + if m.Version != 0 { + i = encodeVarintCnidarium(dAtA, i, uint64(m.Version)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *WatchResponse_Kv) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *WatchResponse_Kv) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.Kv != nil { + { + size, err := m.Kv.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCnidarium(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + return len(dAtA) - i, nil +} +func (m *WatchResponse_NvKv) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *WatchResponse_NvKv) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.NvKv != nil { + { + size, err := m.NvKv.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCnidarium(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + return len(dAtA) - i, nil +} +func (m *WatchResponse_KeyValue) 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 *WatchResponse_KeyValue) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *WatchResponse_KeyValue) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Deleted { + i-- + if m.Deleted { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if len(m.Value) > 0 { + i -= len(m.Value) + copy(dAtA[i:], m.Value) + i = encodeVarintCnidarium(dAtA, i, uint64(len(m.Value))) + i-- + dAtA[i] = 0x12 + } + if len(m.Key) > 0 { + i -= len(m.Key) + copy(dAtA[i:], m.Key) + i = encodeVarintCnidarium(dAtA, i, uint64(len(m.Key))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *WatchResponse_NvKeyValue) 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 *WatchResponse_NvKeyValue) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *WatchResponse_NvKeyValue) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Deleted { + i-- + if m.Deleted { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if len(m.Value) > 0 { + i -= len(m.Value) + copy(dAtA[i:], m.Value) + i = encodeVarintCnidarium(dAtA, i, uint64(len(m.Value))) + i-- + dAtA[i] = 0x12 + } + if len(m.Key) > 0 { + i -= len(m.Key) + copy(dAtA[i:], m.Key) + i = encodeVarintCnidarium(dAtA, i, uint64(len(m.Key))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintCnidarium(dAtA []byte, offset int, v uint64) int { + offset -= sovCnidarium(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *KeyValueRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ChainId) + if l > 0 { + n += 1 + l + sovCnidarium(uint64(l)) + } + l = len(m.Key) + if l > 0 { + n += 1 + l + sovCnidarium(uint64(l)) + } + if m.Proof { + n += 2 + } + return n +} + +func (m *KeyValueResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Value != nil { + l = m.Value.Size() n += 1 + l + sovCnidarium(uint64(l)) } if m.Proof != nil { @@ -774,33 +1346,583 @@ func (m *PrefixValueRequest) Size() (n int) { if l > 0 { n += 1 + l + sovCnidarium(uint64(l)) } - return n -} + return n +} + +func (m *PrefixValueResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Key) + if l > 0 { + n += 1 + l + sovCnidarium(uint64(l)) + } + l = len(m.Value) + if l > 0 { + n += 1 + l + sovCnidarium(uint64(l)) + } + return n +} + +func (m *WatchRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.KeyRegex) + if l > 0 { + n += 1 + l + sovCnidarium(uint64(l)) + } + l = len(m.NvKeyRegex) + if l > 0 { + n += 1 + l + sovCnidarium(uint64(l)) + } + return n +} + +func (m *WatchResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Version != 0 { + n += 1 + sovCnidarium(uint64(m.Version)) + } + if m.Entry != nil { + n += m.Entry.Size() + } + return n +} + +func (m *WatchResponse_Kv) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Kv != nil { + l = m.Kv.Size() + n += 1 + l + sovCnidarium(uint64(l)) + } + return n +} +func (m *WatchResponse_NvKv) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.NvKv != nil { + l = m.NvKv.Size() + n += 1 + l + sovCnidarium(uint64(l)) + } + return n +} +func (m *WatchResponse_KeyValue) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Key) + if l > 0 { + n += 1 + l + sovCnidarium(uint64(l)) + } + l = len(m.Value) + if l > 0 { + n += 1 + l + sovCnidarium(uint64(l)) + } + if m.Deleted { + n += 2 + } + return n +} + +func (m *WatchResponse_NvKeyValue) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Key) + if l > 0 { + n += 1 + l + sovCnidarium(uint64(l)) + } + l = len(m.Value) + if l > 0 { + n += 1 + l + sovCnidarium(uint64(l)) + } + if m.Deleted { + n += 2 + } + return n +} + +func sovCnidarium(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozCnidarium(x uint64) (n int) { + return sovCnidarium(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *KeyValueRequest) 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 ErrIntOverflowCnidarium + } + 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: KeyValueRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: KeyValueRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCnidarium + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCnidarium + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCnidarium + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ChainId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCnidarium + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCnidarium + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCnidarium + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Key = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Proof", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCnidarium + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Proof = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipCnidarium(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCnidarium + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *KeyValueResponse) 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 ErrIntOverflowCnidarium + } + 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: KeyValueResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: KeyValueResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCnidarium + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCnidarium + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCnidarium + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Value == nil { + m.Value = &KeyValueResponse_Value{} + } + if err := m.Value.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Proof", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCnidarium + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCnidarium + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCnidarium + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Proof == nil { + m.Proof = &types.MerkleProof{} + } + if err := m.Proof.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCnidarium(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCnidarium + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *KeyValueResponse_Value) 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 ErrIntOverflowCnidarium + } + 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: Value: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Value: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCnidarium + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthCnidarium + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthCnidarium + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Value = append(m.Value[:0], dAtA[iNdEx:postIndex]...) + if m.Value == nil { + m.Value = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCnidarium(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCnidarium + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PrefixValueRequest) 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 ErrIntOverflowCnidarium + } + 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: PrefixValueRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PrefixValueRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCnidarium + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCnidarium + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCnidarium + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ChainId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Prefix", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCnidarium + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCnidarium + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCnidarium + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Prefix = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCnidarium(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCnidarium + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } -func (m *PrefixValueResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Key) - if l > 0 { - n += 1 + l + sovCnidarium(uint64(l)) - } - l = len(m.Value) - if l > 0 { - n += 1 + l + sovCnidarium(uint64(l)) + if iNdEx > l { + return io.ErrUnexpectedEOF } - return n -} - -func sovCnidarium(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozCnidarium(x uint64) (n int) { - return sovCnidarium(uint64((x << 1) ^ uint64((int64(x) >> 63)))) + return nil } -func (m *KeyValueRequest) Unmarshal(dAtA []byte) error { +func (m *PrefixValueResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -823,15 +1945,15 @@ func (m *KeyValueRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: KeyValueRequest: wiretype end group for non-group") + return fmt.Errorf("proto: PrefixValueResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: KeyValueRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: PrefixValueResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -859,13 +1981,13 @@ func (m *KeyValueRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ChainId = string(dAtA[iNdEx:postIndex]) + m.Key = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) } - var stringLen uint64 + var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCnidarium @@ -875,44 +1997,26 @@ func (m *KeyValueRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if byteLen < 0 { return ErrInvalidLengthCnidarium } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + byteLen if postIndex < 0 { return ErrInvalidLengthCnidarium } if postIndex > l { return io.ErrUnexpectedEOF } - m.Key = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Proof", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCnidarium - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } + m.Value = append(m.Value[:0], dAtA[iNdEx:postIndex]...) + if m.Value == nil { + m.Value = []byte{} } - m.Proof = bool(v != 0) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipCnidarium(dAtA[iNdEx:]) @@ -934,7 +2038,7 @@ func (m *KeyValueRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *KeyValueResponse) Unmarshal(dAtA []byte) error { +func (m *WatchRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -957,17 +2061,17 @@ func (m *KeyValueResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: KeyValueResponse: wiretype end group for non-group") + return fmt.Errorf("proto: WatchRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: KeyValueResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: WatchRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field KeyRegex", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCnidarium @@ -977,33 +2081,29 @@ func (m *KeyValueResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthCnidarium } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthCnidarium } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Value == nil { - m.Value = &KeyValueResponse_Value{} - } - if err := m.Value.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.KeyRegex = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Proof", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field NvKeyRegex", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCnidarium @@ -1013,27 +2113,23 @@ func (m *KeyValueResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthCnidarium } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthCnidarium } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Proof == nil { - m.Proof = &types.MerkleProof{} - } - if err := m.Proof.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.NvKeyRegex = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -1056,7 +2152,7 @@ func (m *KeyValueResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *KeyValueResponse_Value) Unmarshal(dAtA []byte) error { +func (m *WatchResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -1079,17 +2175,36 @@ func (m *KeyValueResponse_Value) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Value: wiretype end group for non-group") + return fmt.Errorf("proto: WatchResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Value: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: WatchResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) + } + m.Version = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCnidarium + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Version |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Kv", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCnidarium @@ -1099,25 +2214,61 @@ func (m *KeyValueResponse_Value) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + if msglen < 0 { return ErrInvalidLengthCnidarium } - postIndex := iNdEx + byteLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthCnidarium } if postIndex > l { return io.ErrUnexpectedEOF } - m.Value = append(m.Value[:0], dAtA[iNdEx:postIndex]...) - if m.Value == nil { - m.Value = []byte{} + v := &WatchResponse_KeyValue{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Entry = &WatchResponse_Kv{v} + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NvKv", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCnidarium + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCnidarium + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCnidarium + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &WatchResponse_NvKeyValue{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } + m.Entry = &WatchResponse_NvKv{v} iNdEx = postIndex default: iNdEx = preIndex @@ -1140,7 +2291,7 @@ func (m *KeyValueResponse_Value) Unmarshal(dAtA []byte) error { } return nil } -func (m *PrefixValueRequest) Unmarshal(dAtA []byte) error { +func (m *WatchResponse_KeyValue) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -1163,15 +2314,15 @@ func (m *PrefixValueRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: PrefixValueRequest: wiretype end group for non-group") + return fmt.Errorf("proto: KeyValue: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: PrefixValueRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: KeyValue: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -1199,13 +2350,13 @@ func (m *PrefixValueRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ChainId = string(dAtA[iNdEx:postIndex]) + m.Key = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Prefix", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) } - var stringLen uint64 + var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCnidarium @@ -1215,24 +2366,46 @@ func (m *PrefixValueRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if byteLen < 0 { return ErrInvalidLengthCnidarium } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + byteLen if postIndex < 0 { return ErrInvalidLengthCnidarium } if postIndex > l { return io.ErrUnexpectedEOF } - m.Prefix = string(dAtA[iNdEx:postIndex]) + m.Value = append(m.Value[:0], dAtA[iNdEx:postIndex]...) + if m.Value == nil { + m.Value = []byte{} + } iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Deleted", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCnidarium + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Deleted = bool(v != 0) default: iNdEx = preIndex skippy, err := skipCnidarium(dAtA[iNdEx:]) @@ -1254,7 +2427,7 @@ func (m *PrefixValueRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *PrefixValueResponse) Unmarshal(dAtA []byte) error { +func (m *WatchResponse_NvKeyValue) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -1277,17 +2450,17 @@ func (m *PrefixValueResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: PrefixValueResponse: wiretype end group for non-group") + return fmt.Errorf("proto: NvKeyValue: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: PrefixValueResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: NvKeyValue: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) } - var stringLen uint64 + var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCnidarium @@ -1297,23 +2470,25 @@ func (m *PrefixValueResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if byteLen < 0 { return ErrInvalidLengthCnidarium } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + byteLen if postIndex < 0 { return ErrInvalidLengthCnidarium } if postIndex > l { return io.ErrUnexpectedEOF } - m.Key = string(dAtA[iNdEx:postIndex]) + m.Key = append(m.Key[:0], dAtA[iNdEx:postIndex]...) + if m.Key == nil { + m.Key = []byte{} + } iNdEx = postIndex case 2: if wireType != 2 { @@ -1349,6 +2524,26 @@ func (m *PrefixValueResponse) Unmarshal(dAtA []byte) error { m.Value = []byte{} } iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Deleted", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCnidarium + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Deleted = bool(v != 0) default: iNdEx = preIndex skippy, err := skipCnidarium(dAtA[iNdEx:]) diff --git a/relayer/chains/penumbra/core/app/v1alpha1/app.pb.go b/relayer/chains/penumbra/core/app/v1alpha1/app.pb.go index ac12aaf6c..16ed64eae 100644 --- a/relayer/chains/penumbra/core/app/v1alpha1/app.pb.go +++ b/relayer/chains/penumbra/core/app/v1alpha1/app.pb.go @@ -9,7 +9,7 @@ import ( grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" v1alpha11 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/chain/v1alpha1" - v1alpha12 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/dao/v1alpha1" + v1alpha12 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/community_pool/v1alpha1" v1alpha17 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/distributions/v1alpha1" v1alpha16 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/fee/v1alpha1" v1alpha13 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/governance/v1alpha1" @@ -149,8 +149,8 @@ func (m *TransactionsByHeightResponse) GetBlockHeight() uint64 { type AppParameters struct { // Chain module parameters. ChainParams *v1alpha11.ChainParameters `protobuf:"bytes,1,opt,name=chain_params,json=chainParams,proto3" json:"chain_params,omitempty"` - // DAO module parameters. - DaoParams *v1alpha12.DaoParameters `protobuf:"bytes,2,opt,name=dao_params,json=daoParams,proto3" json:"dao_params,omitempty"` + // Community Pool module parameters. + CommunityPoolParams *v1alpha12.CommunityPoolParameters `protobuf:"bytes,2,opt,name=community_pool_params,json=communityPoolParams,proto3" json:"community_pool_params,omitempty"` // Governance module parameters. GovernanceParams *v1alpha13.GovernanceParameters `protobuf:"bytes,3,opt,name=governance_params,json=governanceParams,proto3" json:"governance_params,omitempty"` // IBC module parameters. @@ -203,9 +203,9 @@ func (m *AppParameters) GetChainParams() *v1alpha11.ChainParameters { return nil } -func (m *AppParameters) GetDaoParams() *v1alpha12.DaoParameters { +func (m *AppParameters) GetCommunityPoolParams() *v1alpha12.CommunityPoolParameters { if m != nil { - return m.DaoParams + return m.CommunityPoolParams } return nil } @@ -431,8 +431,8 @@ type GenesisContent struct { IbcContent *v1alpha14.GenesisContent `protobuf:"bytes,4,opt,name=ibc_content,json=ibcContent,proto3" json:"ibc_content,omitempty"` // Chain module genesis state. ChainContent *v1alpha11.GenesisContent `protobuf:"bytes,5,opt,name=chain_content,json=chainContent,proto3" json:"chain_content,omitempty"` - // DAO module genesis state. - DaoContent *v1alpha12.GenesisContent `protobuf:"bytes,6,opt,name=dao_content,json=daoContent,proto3" json:"dao_content,omitempty"` + // Community Pool module genesis state. + CommunityPoolContent *v1alpha12.GenesisContent `protobuf:"bytes,6,opt,name=community_pool_content,json=communityPoolContent,proto3" json:"community_pool_content,omitempty"` // Fee module genesis state. FeeContent *v1alpha16.GenesisContent `protobuf:"bytes,7,opt,name=fee_content,json=feeContent,proto3" json:"fee_content,omitempty"` // Distributions module genesis state. @@ -507,9 +507,9 @@ func (m *GenesisContent) GetChainContent() *v1alpha11.GenesisContent { return nil } -func (m *GenesisContent) GetDaoContent() *v1alpha12.GenesisContent { +func (m *GenesisContent) GetCommunityPoolContent() *v1alpha12.GenesisContent { if m != nil { - return m.DaoContent + return m.CommunityPoolContent } return nil } @@ -543,70 +543,71 @@ func init() { } var fileDescriptor_e3359d6f6803c6c6 = []byte{ - // 996 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x96, 0xcf, 0x6f, 0x23, 0x35, - 0x14, 0xc7, 0x33, 0xe9, 0xf6, 0x97, 0x93, 0x76, 0xd9, 0x69, 0x2b, 0x95, 0x00, 0x51, 0x89, 0x10, - 0x2a, 0x1c, 0x66, 0x68, 0x76, 0xc5, 0xa2, 0x2c, 0x42, 0x4a, 0x8a, 0x68, 0xf7, 0x80, 0x14, 0xa6, - 0x2c, 0x87, 0xdd, 0x4a, 0x91, 0x67, 0xc6, 0x49, 0x86, 0x26, 0x63, 0x33, 0x76, 0x2a, 0x95, 0xff, - 0x80, 0xdb, 0x9e, 0xb8, 0x83, 0x38, 0x71, 0x80, 0x7f, 0x03, 0x71, 0xda, 0x23, 0x47, 0xd4, 0xde, - 0xf8, 0x2b, 0x90, 0xed, 0xf1, 0x8c, 0x3d, 0xbb, 0xd3, 0x49, 0x6f, 0xe3, 0xe7, 0xf7, 0x3e, 0xef, - 0xd9, 0x7e, 0xfe, 0x8e, 0xc1, 0x07, 0x04, 0xc5, 0x8b, 0xb9, 0x9f, 0x40, 0x37, 0xc0, 0x09, 0x72, - 0x21, 0x21, 0xee, 0xe5, 0x11, 0x9c, 0x91, 0x29, 0x3c, 0xe2, 0x03, 0x87, 0x24, 0x98, 0x61, 0xbb, - 0xa5, 0xbc, 0x1c, 0xee,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, 0x6c, 0x81, 0x77, 0xdf, - 0x4c, 0xa7, 0x04, 0xc7, 0x14, 0xd9, 0x67, 0xa0, 0xa9, 0x95, 0x44, 0xf7, 0xad, 0x83, 0x95, 0xc3, - 0x46, 0xd7, 0x75, 0xcc, 0x26, 0xd5, 0xab, 0x56, 0x4b, 0x71, 0x34, 0xae, 0x67, 0x40, 0x96, 0x29, - 0xec, 0xcf, 0x55, 0xb0, 0xd5, 0x27, 0x64, 0x08, 0x13, 0x38, 0x47, 0x0c, 0x25, 0xd4, 0x7e, 0x0e, - 0x9a, 0x72, 0xa1, 0x84, 0xdb, 0xa8, 0x58, 0x6c, 0xa3, 0xfb, 0xb8, 0x50, 0x49, 0x76, 0x10, 0x8e, - 0xbc, 0x03, 0x59, 0x35, 0xc7, 0x7c, 0x98, 0xe3, 0xbc, 0x46, 0x90, 0x19, 0xa8, 0xed, 0x01, 0x10, - 0x42, 0xac, 0xc8, 0x75, 0x41, 0x7e, 0x58, 0x4a, 0xe6, 0x77, 0x25, 0xe3, 0x7e, 0x09, 0xb1, 0x46, - 0xdd, 0x0c, 0xd3, 0x21, 0xb5, 0x63, 0xf0, 0x20, 0xef, 0x54, 0x85, 0x5e, 0x11, 0xe8, 0x7e, 0x29, - 0x5a, 0xeb, 0xed, 0x2c, 0xc3, 0x49, 0x66, 0xd3, 0x12, 0xbd, 0x35, 0x31, 0xad, 0x62, 0x0d, 0x91, - 0x1f, 0xa8, 0x44, 0xf7, 0x2a, 0xd6, 0xc0, 0x6f, 0x43, 0x96, 0xe1, 0xa9, 0x1f, 0xe8, 0x6b, 0x88, - 0xd2, 0xa1, 0xd8, 0x73, 0xd1, 0xc0, 0x8a, 0xba, 0x5a, 0xb1, 0xe7, 0xb2, 0xdb, 0x33, 0xee, 0x19, - 0x1f, 0xea, 0x7b, 0x4e, 0x33, 0x83, 0xa8, 0x77, 0x8c, 0x32, 0xf2, 0x5a, 0x45, 0xbd, 0x5c, 0x2b, - 0x32, 0xee, 0x57, 0x48,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xb4, 0x6b, 0xa0, 0x1d, 0xe0, 0xf9, 0x2d, 0xdc, 0xc1, 0x06, 0x5f, 0x1d, 0x7f, 0x75, 0x0d, 0xad, - 0xe7, 0xde, 0x24, 0x62, 0xd3, 0x85, 0xcf, 0xcf, 0xc9, 0x0d, 0x30, 0x9d, 0x63, 0xea, 0x26, 0x68, - 0x06, 0xaf, 0x50, 0xe2, 0x5e, 0x76, 0xb3, 0x4f, 0xd1, 0xaf, 0xd4, 0x2d, 0x7f, 0xd9, 0x3f, 0x81, - 0x84, 0xa8, 0xef, 0x5f, 0xeb, 0x2b, 0xc3, 0xe3, 0xfe, 0xef, 0xf5, 0xd6, 0x50, 0x95, 0x70, 0xcc, - 0x4b, 0xe8, 0x13, 0xe2, 0x7c, 0x97, 0xba, 0xfc, 0x9d, 0x4f, 0x9e, 0xf3, 0xc9, 0xf3, 0x3e, 0x21, - 0xe7, 0x6a, 0xf2, 0xba, 0xfe, 0x61, 0xf9, 0xe4, 0xf9, 0xc9, 0x70, 0xf0, 0x35, 0x62, 0x30, 0x84, - 0x0c, 0xfe, 0x57, 0x7f, 0x4f, 0x39, 0xf6, 0x7a, 0xdc, 0xb3, 0xd7, 0xeb, 0x13, 0xd2, 0xeb, 0x29, - 0x5f, 0x7f, 0x4d, 0xbc, 0x2d, 0x1f, 0xfe, 0x1f, 0x00, 0x00, 0xff, 0xff, 0xd4, 0x1f, 0xc6, 0x14, - 0x93, 0x0c, 0x00, 0x00, + // 1019 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x57, 0x4f, 0x6f, 0xe3, 0x44, + 0x14, 0x8f, 0xd3, 0xed, 0xbf, 0x49, 0xda, 0x65, 0xdd, 0x16, 0x95, 0x00, 0x51, 0x89, 0x10, 0x2a, + 0x1c, 0x6c, 0x9a, 0x5d, 0xb1, 0x28, 0x8b, 0x40, 0x49, 0x57, 0xb4, 0x7b, 0x40, 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 0x6f, 0xd3, 0x90, 0xbf, 0x72, + 0xe7, 0xa9, 0x70, 0x9e, 0x76, 0x29, 0x3d, 0xd5, 0xce, 0xcb, 0xea, 0x07, 0xe5, 0xce, 0xd3, 0xa3, + 0x7e, 0xef, 0x2b, 0xc4, 0xe1, 0x10, 0x72, 0xf8, 0x5f, 0xf5, 0x5d, 0x1d, 0xd8, 0xe9, 0x88, 0xc8, + 0x4e, 0xa7, 0x4b, 0x69, 0xa7, 0xa3, 0x63, 0xc3, 0x15, 0xf9, 0x95, 0x7a, 0xff, 0xff, 0x00, 0x00, + 0x00, 0xff, 0xff, 0x6c, 0x62, 0x5e, 0xa0, 0xf3, 0x0c, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -886,9 +887,9 @@ func (m *AppParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x1a } - if m.DaoParams != nil { + if m.CommunityPoolParams != nil { { - size, err := m.DaoParams.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.CommunityPoolParams.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -1091,9 +1092,9 @@ func (m *GenesisContent) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x3a } - if m.DaoContent != nil { + if m.CommunityPoolContent != nil { { - size, err := m.DaoContent.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.CommunityPoolContent.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -1221,8 +1222,8 @@ func (m *AppParameters) Size() (n int) { l = m.ChainParams.Size() n += 1 + l + sovApp(uint64(l)) } - if m.DaoParams != nil { - l = m.DaoParams.Size() + if m.CommunityPoolParams != nil { + l = m.CommunityPoolParams.Size() n += 1 + l + sovApp(uint64(l)) } if m.GovernanceParams != nil { @@ -1336,8 +1337,8 @@ func (m *GenesisContent) Size() (n int) { l = m.ChainContent.Size() n += 1 + l + sovApp(uint64(l)) } - if m.DaoContent != nil { - l = m.DaoContent.Size() + if m.CommunityPoolContent != nil { + l = m.CommunityPoolContent.Size() n += 1 + l + sovApp(uint64(l)) } if m.FeeContent != nil { @@ -1628,7 +1629,7 @@ func (m *AppParameters) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DaoParams", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CommunityPoolParams", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -1655,10 +1656,10 @@ func (m *AppParameters) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.DaoParams == nil { - m.DaoParams = &v1alpha12.DaoParameters{} + if m.CommunityPoolParams == nil { + m.CommunityPoolParams = &v1alpha12.CommunityPoolParameters{} } - if err := m.DaoParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.CommunityPoolParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -2360,7 +2361,7 @@ func (m *GenesisContent) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 6: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DaoContent", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CommunityPoolContent", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -2387,10 +2388,10 @@ func (m *GenesisContent) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.DaoContent == nil { - m.DaoContent = &v1alpha12.GenesisContent{} + if m.CommunityPoolContent == nil { + m.CommunityPoolContent = &v1alpha12.GenesisContent{} } - if err := m.DaoContent.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.CommunityPoolContent.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex diff --git a/relayer/chains/penumbra/core/component/chain/v1alpha1/chain.pb.go b/relayer/chains/penumbra/core/component/chain/v1alpha1/chain.pb.go index 7d6eb9c4b..8c4d79f83 100644 --- a/relayer/chains/penumbra/core/component/chain/v1alpha1/chain.pb.go +++ b/relayer/chains/penumbra/core/component/chain/v1alpha1/chain.pb.go @@ -190,104 +190,6 @@ func (m *FmdParameters) GetAsOfBlockHeight() uint64 { return 0 } -// A spicy transaction ID -type NoteSource struct { - Inner []byte `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` -} - -func (m *NoteSource) Reset() { *m = NoteSource{} } -func (m *NoteSource) String() string { return proto.CompactTextString(m) } -func (*NoteSource) ProtoMessage() {} -func (*NoteSource) Descriptor() ([]byte, []int) { - return fileDescriptor_aca0b6fc4499b003, []int{3} -} -func (m *NoteSource) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *NoteSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_NoteSource.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 *NoteSource) XXX_Merge(src proto.Message) { - xxx_messageInfo_NoteSource.Merge(m, src) -} -func (m *NoteSource) XXX_Size() int { - return m.Size() -} -func (m *NoteSource) XXX_DiscardUnknown() { - xxx_messageInfo_NoteSource.DiscardUnknown(m) -} - -var xxx_messageInfo_NoteSource proto.InternalMessageInfo - -func (m *NoteSource) GetInner() []byte { - if m != nil { - return m.Inner - } - return nil -} - -// A NoteSource paired with the height at which the note was spent -type SpendInfo struct { - NoteSource *NoteSource `protobuf:"bytes,1,opt,name=note_source,json=noteSource,proto3" json:"note_source,omitempty"` - SpendHeight uint64 `protobuf:"varint,2,opt,name=spend_height,json=spendHeight,proto3" json:"spend_height,omitempty"` -} - -func (m *SpendInfo) Reset() { *m = SpendInfo{} } -func (m *SpendInfo) String() string { return proto.CompactTextString(m) } -func (*SpendInfo) ProtoMessage() {} -func (*SpendInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_aca0b6fc4499b003, []int{4} -} -func (m *SpendInfo) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SpendInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SpendInfo.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 *SpendInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpendInfo.Merge(m, src) -} -func (m *SpendInfo) XXX_Size() int { - return m.Size() -} -func (m *SpendInfo) XXX_DiscardUnknown() { - xxx_messageInfo_SpendInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_SpendInfo proto.InternalMessageInfo - -func (m *SpendInfo) GetNoteSource() *NoteSource { - if m != nil { - return m.NoteSource - } - return nil -} - -func (m *SpendInfo) GetSpendHeight() uint64 { - if m != nil { - return m.SpendHeight - } - return 0 -} - // Chain-specific genesis content. type GenesisContent struct { // The ChainParameters present at genesis. @@ -298,7 +200,7 @@ func (m *GenesisContent) Reset() { *m = GenesisContent{} } func (m *GenesisContent) String() string { return proto.CompactTextString(m) } func (*GenesisContent) ProtoMessage() {} func (*GenesisContent) Descriptor() ([]byte, []int) { - return fileDescriptor_aca0b6fc4499b003, []int{5} + return fileDescriptor_aca0b6fc4499b003, []int{3} } func (m *GenesisContent) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -343,7 +245,7 @@ func (m *Epoch) Reset() { *m = Epoch{} } func (m *Epoch) String() string { return proto.CompactTextString(m) } func (*Epoch) ProtoMessage() {} func (*Epoch) Descriptor() ([]byte, []int) { - return fileDescriptor_aca0b6fc4499b003, []int{6} + return fileDescriptor_aca0b6fc4499b003, []int{4} } func (m *Epoch) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -394,7 +296,7 @@ func (m *EpochByHeightRequest) Reset() { *m = EpochByHeightRequest{} } func (m *EpochByHeightRequest) String() string { return proto.CompactTextString(m) } func (*EpochByHeightRequest) ProtoMessage() {} func (*EpochByHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_aca0b6fc4499b003, []int{7} + return fileDescriptor_aca0b6fc4499b003, []int{5} } func (m *EpochByHeightRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -438,7 +340,7 @@ func (m *EpochByHeightResponse) Reset() { *m = EpochByHeightResponse{} } func (m *EpochByHeightResponse) String() string { return proto.CompactTextString(m) } func (*EpochByHeightResponse) ProtoMessage() {} func (*EpochByHeightResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_aca0b6fc4499b003, []int{8} + return fileDescriptor_aca0b6fc4499b003, []int{6} } func (m *EpochByHeightResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -478,8 +380,6 @@ func init() { proto.RegisterType((*ChainParameters)(nil), "penumbra.core.component.chain.v1alpha1.ChainParameters") proto.RegisterType((*Ratio)(nil), "penumbra.core.component.chain.v1alpha1.Ratio") proto.RegisterType((*FmdParameters)(nil), "penumbra.core.component.chain.v1alpha1.FmdParameters") - proto.RegisterType((*NoteSource)(nil), "penumbra.core.component.chain.v1alpha1.NoteSource") - proto.RegisterType((*SpendInfo)(nil), "penumbra.core.component.chain.v1alpha1.SpendInfo") proto.RegisterType((*GenesisContent)(nil), "penumbra.core.component.chain.v1alpha1.GenesisContent") proto.RegisterType((*Epoch)(nil), "penumbra.core.component.chain.v1alpha1.Epoch") proto.RegisterType((*EpochByHeightRequest)(nil), "penumbra.core.component.chain.v1alpha1.EpochByHeightRequest") @@ -491,47 +391,44 @@ func init() { } var fileDescriptor_aca0b6fc4499b003 = []byte{ - // 637 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x31, 0x6f, 0xd3, 0x40, - 0x14, 0xae, 0xa3, 0xa6, 0xd0, 0x97, 0xa4, 0x95, 0x4e, 0x05, 0x15, 0x84, 0xa2, 0x62, 0xa9, 0x55, - 0x55, 0x84, 0xad, 0x86, 0x01, 0x29, 0x80, 0x84, 0x62, 0xa0, 0x74, 0x00, 0x82, 0x23, 0x31, 0x54, - 0x91, 0xcc, 0xc5, 0x7e, 0x6d, 0x2c, 0xe2, 0x3b, 0x73, 0x77, 0xae, 0xe8, 0xcc, 0xca, 0xc0, 0x1f, - 0x60, 0x61, 0xe4, 0x97, 0x20, 0xa6, 0x8e, 0x8c, 0x28, 0xd9, 0x58, 0xf8, 0x0b, 0xe8, 0xce, 0x76, - 0xd2, 0x66, 0x0a, 0x2c, 0xd1, 0xbd, 0x2f, 0xdf, 0xf7, 0xbd, 0xef, 0xdd, 0xb3, 0x0e, 0x5a, 0x29, - 0xb2, 0x2c, 0x19, 0x08, 0xea, 0x86, 0x5c, 0xa0, 0x1b, 0xf2, 0x24, 0xe5, 0x0c, 0x99, 0x72, 0xc3, - 0x21, 0x8d, 0x99, 0x7b, 0xba, 0x4f, 0x47, 0xe9, 0x90, 0xee, 0xe7, 0xa5, 0x93, 0x0a, 0xae, 0x38, - 0xd9, 0x29, 0x35, 0x8e, 0xd6, 0x38, 0x53, 0x8d, 0x93, 0x93, 0x4a, 0x8d, 0xdd, 0x83, 0x75, 0x4f, - 0x23, 0x5d, 0x2a, 0x68, 0x82, 0x0a, 0x85, 0x24, 0x37, 0xe0, 0xaa, 0x21, 0x05, 0x71, 0xb4, 0x69, - 0x6d, 0x59, 0xbb, 0xab, 0xfe, 0x15, 0x53, 0x1f, 0x46, 0x64, 0x1b, 0xd6, 0x30, 0xe5, 0xe1, 0x30, - 0x88, 0x32, 0x41, 0x55, 0xcc, 0xd9, 0x66, 0x65, 0xcb, 0xda, 0x5d, 0xf6, 0x1b, 0x06, 0x7d, 0x52, - 0x80, 0xf6, 0x01, 0x54, 0x7d, 0x7d, 0x22, 0xb7, 0x60, 0x95, 0x65, 0x09, 0x0a, 0xaa, 0xb8, 0x30, - 0x5e, 0xcb, 0xfe, 0x0c, 0x20, 0x5b, 0x50, 0x8b, 0x90, 0xf1, 0x24, 0x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x2f, 0x89, 0xe3, 0x4a, 0x6b, 0x31, 0x62, 0xff, - 0xa0, 0xdb, 0x79, 0x81, 0x8a, 0x46, 0x54, 0xd1, 0xdf, 0x95, 0xbd, 0x52, 0xd4, 0x6e, 0x6b, 0x95, - 0xfe, 0x2d, 0x64, 0xed, 0xb6, 0xd1, 0xb5, 0xdb, 0xa5, 0x70, 0xb0, 0x62, 0xde, 0xca, 0x7b, 0x7f, - 0x03, 0x00, 0x00, 0xff, 0xff, 0x3a, 0x31, 0xab, 0x6c, 0x61, 0x05, 0x00, 0x00, + // 581 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x4f, 0x6b, 0xd4, 0x4e, + 0x18, 0x6e, 0x42, 0xb7, 0xbf, 0x5f, 0x67, 0xbb, 0x2d, 0x0c, 0x55, 0xaa, 0x48, 0xa8, 0x81, 0x96, + 0x52, 0x31, 0xa1, 0xeb, 0x41, 0x88, 0x0a, 0x92, 0xa8, 0xab, 0x07, 0x71, 0x4d, 0xc1, 0x43, 0x09, + 0xc4, 0xd9, 0x64, 0xda, 0x0c, 0x6e, 0x66, 0xe2, 0xcc, 0x64, 0x71, 0xbf, 0x83, 0x07, 0xbf, 0x80, + 0x17, 0x8f, 0x7e, 0x12, 0xf1, 0xd4, 0xa3, 0x47, 0xd9, 0xbd, 0x79, 0xf1, 0x2b, 0xc8, 0x4c, 0xfe, + 0xb4, 0xdd, 0xd3, 0xea, 0x65, 0x99, 0xf7, 0xd9, 0xe7, 0x79, 0xde, 0xe7, 0x7d, 0x87, 0x09, 0xe8, + 0x17, 0x98, 0x96, 0xf9, 0x88, 0x23, 0x37, 0x61, 0x1c, 0xbb, 0x09, 0xcb, 0x0b, 0x46, 0x31, 0x95, + 0x6e, 0x92, 0x21, 0x42, 0xdd, 0xc9, 0x11, 0x1a, 0x17, 0x19, 0x3a, 0xaa, 0x4a, 0xa7, 0xe0, 0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 0x2e, 0x9b, + 0xea, 0x8b, 0xb9, 0x3a, 0x0c, 0x82, 0xe0, 0xab, 0xb9, 0x3f, 0x6c, 0xf2, 0x05, 0x2a, 0x5f, 0xd0, + 0xe6, 0xd3, 0x79, 0x9c, 0x37, 0x35, 0xff, 0xfb, 0x05, 0x31, 0x52, 0xc4, 0xa8, 0x25, 0x46, 0x9a, + 0x18, 0x35, 0xc4, 0x99, 0xd9, 0x5f, 0x8e, 0x18, 0x0d, 0x86, 0xfe, 0x4b, 0x2c, 0x51, 0x8a, 0x24, + 0xfa, 0x65, 0x1e, 0x36, 0x22, 0xcf, 0x53, 0x2a, 0xf5, 0x5b, 0xcb, 0x3c, 0x4f, 0xeb, 0x3c, 0xaf, + 0x11, 0x8e, 0xd6, 0xf4, 0x17, 0xe8, 0xde, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb6, 0xbd, 0x1b, + 0x4f, 0xb7, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -717,76 +614,6 @@ func (m *FmdParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *NoteSource) 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 *NoteSource) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NoteSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Inner) > 0 { - i -= len(m.Inner) - copy(dAtA[i:], m.Inner) - i = encodeVarintChain(dAtA, i, uint64(len(m.Inner))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *SpendInfo) 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 *SpendInfo) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SpendInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.SpendHeight != 0 { - i = encodeVarintChain(dAtA, i, uint64(m.SpendHeight)) - i-- - dAtA[i] = 0x10 - } - if m.NoteSource != nil { - { - size, err := m.NoteSource.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintChain(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - func (m *GenesisContent) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -975,35 +802,6 @@ func (m *FmdParameters) Size() (n int) { return n } -func (m *NoteSource) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Inner) - if l > 0 { - n += 1 + l + sovChain(uint64(l)) - } - return n -} - -func (m *SpendInfo) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.NoteSource != nil { - l = m.NoteSource.Size() - n += 1 + l + sovChain(uint64(l)) - } - if m.SpendHeight != 0 { - n += 1 + sovChain(uint64(m.SpendHeight)) - } - return n -} - func (m *GenesisContent) Size() (n int) { if m == nil { return 0 @@ -1340,195 +1138,6 @@ func (m *FmdParameters) Unmarshal(dAtA []byte) error { } return nil } -func (m *NoteSource) 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 ErrIntOverflowChain - } - 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: NoteSource: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: NoteSource: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Inner", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthChain - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Inner = append(m.Inner[:0], dAtA[iNdEx:postIndex]...) - if m.Inner == nil { - m.Inner = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SpendInfo) 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 ErrIntOverflowChain - } - 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: SpendInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SpendInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NoteSource", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthChain - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthChain - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.NoteSource == nil { - m.NoteSource = &NoteSource{} - } - if err := m.NoteSource.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SpendHeight", wireType) - } - m.SpendHeight = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowChain - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.SpendHeight |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipChain(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthChain - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} func (m *GenesisContent) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 diff --git a/relayer/chains/penumbra/core/component/compact_block/v1alpha1/compact_block.pb.go b/relayer/chains/penumbra/core/component/compact_block/v1alpha1/compact_block.pb.go index 939dfaab0..d2cc727c2 100644 --- a/relayer/chains/penumbra/core/component/compact_block/v1alpha1/compact_block.pb.go +++ b/relayer/chains/penumbra/core/component/compact_block/v1alpha1/compact_block.pb.go @@ -159,7 +159,12 @@ func (m *CompactBlock) GetGasPrices() *v1alpha14.GasPrices { return nil } +// An encrypted payload, corresponding to a single commitment in the state commitment tree. type StatePayload struct { + // The source of the payload, if known. + Source *v1alpha1.CommitmentSource `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` + // The state payload itself. + // // Types that are valid to be assigned to StatePayload: // *StatePayload_RolledUp_ // *StatePayload_Note_ @@ -207,13 +212,13 @@ type isStatePayload_StatePayload interface { } type StatePayload_RolledUp_ struct { - RolledUp *StatePayload_RolledUp `protobuf:"bytes,1,opt,name=rolled_up,json=rolledUp,proto3,oneof" json:"rolled_up,omitempty"` + RolledUp *StatePayload_RolledUp `protobuf:"bytes,2,opt,name=rolled_up,json=rolledUp,proto3,oneof" json:"rolled_up,omitempty"` } type StatePayload_Note_ struct { - Note *StatePayload_Note `protobuf:"bytes,2,opt,name=note,proto3,oneof" json:"note,omitempty"` + Note *StatePayload_Note `protobuf:"bytes,3,opt,name=note,proto3,oneof" json:"note,omitempty"` } type StatePayload_Swap_ struct { - Swap *StatePayload_Swap `protobuf:"bytes,3,opt,name=swap,proto3,oneof" json:"swap,omitempty"` + Swap *StatePayload_Swap `protobuf:"bytes,4,opt,name=swap,proto3,oneof" json:"swap,omitempty"` } func (*StatePayload_RolledUp_) isStatePayload_StatePayload() {} @@ -227,6 +232,13 @@ func (m *StatePayload) GetStatePayload() isStatePayload_StatePayload { return nil } +func (m *StatePayload) GetSource() *v1alpha1.CommitmentSource { + if m != nil { + return m.Source + } + return nil +} + func (m *StatePayload) GetRolledUp() *StatePayload_RolledUp { if x, ok := m.GetStatePayload().(*StatePayload_RolledUp_); ok { return x.RolledUp @@ -302,8 +314,7 @@ func (m *StatePayload_RolledUp) GetCommitment() *v1alpha11.StateCommitment { } type StatePayload_Note struct { - Source *v1alpha12.NoteSource `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` - Note *v1alpha15.NotePayload `protobuf:"bytes,2,opt,name=note,proto3" json:"note,omitempty"` + Note *v1alpha15.NotePayload `protobuf:"bytes,2,opt,name=note,proto3" json:"note,omitempty"` } func (m *StatePayload_Note) Reset() { *m = StatePayload_Note{} } @@ -339,13 +350,6 @@ func (m *StatePayload_Note) XXX_DiscardUnknown() { var xxx_messageInfo_StatePayload_Note proto.InternalMessageInfo -func (m *StatePayload_Note) GetSource() *v1alpha12.NoteSource { - if m != nil { - return m.Source - } - return nil -} - func (m *StatePayload_Note) GetNote() *v1alpha15.NotePayload { if m != nil { return m.Note @@ -354,8 +358,7 @@ func (m *StatePayload_Note) GetNote() *v1alpha15.NotePayload { } type StatePayload_Swap struct { - Source *v1alpha12.NoteSource `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` - Swap *v1alpha13.SwapPayload `protobuf:"bytes,2,opt,name=swap,proto3" json:"swap,omitempty"` + Swap *v1alpha13.SwapPayload `protobuf:"bytes,2,opt,name=swap,proto3" json:"swap,omitempty"` } func (m *StatePayload_Swap) Reset() { *m = StatePayload_Swap{} } @@ -391,13 +394,6 @@ func (m *StatePayload_Swap) XXX_DiscardUnknown() { var xxx_messageInfo_StatePayload_Swap proto.InternalMessageInfo -func (m *StatePayload_Swap) GetSource() *v1alpha12.NoteSource { - if m != nil { - return m.Source - } - return nil -} - func (m *StatePayload_Swap) GetSwap() *v1alpha13.SwapPayload { if m != nil { return m.Swap @@ -538,68 +534,69 @@ func init() { } var fileDescriptor_7db33c115ee8eed4 = []byte{ - // 976 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0xcf, 0x6f, 0x1b, 0x45, - 0x14, 0xc7, 0xbd, 0xb6, 0x93, 0xda, 0x63, 0xa7, 0xa5, 0xa3, 0xaa, 0xda, 0x5a, 0xc2, 0x0a, 0x39, - 0x20, 0x73, 0xe8, 0x9a, 0x18, 0x38, 0x34, 0xe5, 0x52, 0x9b, 0x92, 0x14, 0x29, 0x89, 0x59, 0xab, - 0x20, 0x90, 0xa5, 0xd5, 0x64, 0xf7, 0xd9, 0x5e, 0x65, 0x77, 0x67, 0x98, 0x99, 0x4d, 0x9b, 0x0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, 0x00, 0x00, + // 977 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0x4d, 0x6f, 0xdb, 0x36, + 0x18, 0xc7, 0x23, 0xdb, 0x49, 0x6d, 0xda, 0x69, 0x57, 0xa2, 0x28, 0x54, 0x03, 0x33, 0xb2, 0x1c, + 0x06, 0xef, 0x50, 0x69, 0xf1, 0x5e, 0x80, 0xa6, 0xbb, 0xd4, 0x5e, 0x97, 0xf4, 0x90, 0xc4, 0x93, + 0xd1, 0x15, 0x1b, 0x0c, 0x08, 0x8c, 0xf4, 0xd8, 0x16, 0x22, 0x89, 0x1c, 0x49, 0xa5, 0xcd, 0x65, + 0x1f, 0x60, 0xa7, 0x9d, 0xf6, 0x01, 0x76, 0xcc, 0x57, 0xd8, 0x17, 0x18, 0x76, 0xea, 0x71, 0xc0, + 0x2e, 0x43, 0x72, 0xdb, 0xa7, 0x18, 0x48, 0xbd, 0x1a, 0x9b, 0xd7, 0x1a, 0xe9, 0x25, 0x20, 0xe9, + 0xe7, 0xff, 0x7b, 0x1e, 0xfe, 0x49, 0x3e, 0x11, 0x1a, 0x32, 0x88, 0x93, 0xe8, 0x94, 0x13, 0xdb, + 0xa3, 0x1c, 0x6c, 0x8f, 0x46, 0x8c, 0xc6, 0x10, 0x4b, 0x3d, 0x22, 0x9e, 0x74, 0x4f, 0x43, 0xea, + 0x9d, 0xd9, 0xe7, 0x7b, 0x24, 0x64, 0x0b, 0xb2, 0xb7, 0xbc, 0x6c, 0x31, 0x4e, 0x25, 0xc5, 0x56, + 0xce, 0xb0, 0x14, 0xc3, 0x2a, 0x18, 0xd6, 0x72, 0x70, 0xce, 0xe8, 0x0e, 0x56, 0xe6, 0x5c, 0x90, + 0x20, 0xae, 0xe4, 0x52, 0xd3, 0x34, 0x47, 0xd7, 0x5a, 0xa5, 0xf1, 0xe1, 0x55, 0xa9, 0xf0, 0xe1, + 0xd5, 0x9b, 0xe2, 0x67, 0x00, 0x65, 0xfc, 0x0c, 0xe0, 0x4d, 0xf1, 0xc2, 0x93, 0x65, 0xbc, 0xf0, + 0x64, 0x16, 0xbf, 0xd2, 0x37, 0xb1, 0x08, 0x20, 0xf4, 0xc1, 0x77, 0x19, 0xa5, 0x61, 0x45, 0x59, + 0x5d, 0xce, 0x18, 0x1f, 0x96, 0x0c, 0x7e, 0xc1, 0x24, 0xb5, 0x65, 0x35, 0x97, 0xcc, 0x73, 0xed, + 0xfe, 0xb9, 0x89, 0x3a, 0xa3, 0xd4, 0xca, 0xa1, 0x72, 0x12, 0xdf, 0x47, 0x5b, 0x0b, 0x08, 0xe6, + 0x0b, 0x69, 0x1a, 0x3b, 0x46, 0xbf, 0xe1, 0x64, 0x33, 0xec, 0xa1, 0xdb, 0x42, 0x12, 0x09, 0x2e, + 0x23, 0x17, 0x21, 0x25, 0xbe, 0x30, 0x6b, 0x3b, 0xf5, 0x7e, 0x7b, 0xf0, 0xc5, 0x9a, 0x27, 0x64, + 0x4d, 0x14, 0x65, 0x9c, 0x42, 0x9c, 0x6d, 0x51, 0x99, 0x09, 0x7c, 0x82, 0x50, 0x9c, 0x84, 0x61, + 0x30, 0x0b, 0x80, 0x0b, 0xb3, 0xae, 0x13, 0xd8, 0x2b, 0x13, 0x28, 0xc7, 0x0a, 0xec, 0x71, 0xae, + 0x73, 0x2a, 0x08, 0x7c, 0x80, 0x90, 0x4e, 0xef, 0x72, 0x4a, 0xa5, 0xd9, 0xd8, 0x31, 0xfa, 0xed, + 0x41, 0xbf, 0x02, 0xd4, 0xde, 0x58, 0xb2, 0x0a, 0x3a, 0x02, 0x7e, 0x16, 0x82, 0x43, 0xa9, 0x74, + 0x5a, 0x5a, 0xab, 0x86, 0x0a, 0x04, 0x8c, 0x7a, 0x8b, 0x14, 0x74, 0x77, 0x5d, 0x90, 0xd6, 0x6a, + 0xd0, 0x47, 0xe8, 0x3d, 0xc6, 0x29, 0xa3, 0x82, 0x84, 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5a, 0xa6, 0xf5, 0x4d, 0x26, 0xfb, 0xbd, + 0x8c, 0x9f, 0xaa, 0xf8, 0x69, 0x11, 0x3f, 0xad, 0xc6, 0x4f, 0xf3, 0xf8, 0xab, 0xda, 0xa3, 0xb5, + 0xe2, 0xa7, 0x07, 0xe3, 0xe1, 0x11, 0x48, 0xe2, 0x13, 0x49, 0xfe, 0xae, 0xed, 0xe5, 0xda, 0xfd, + 0x7d, 0x25, 0x56, 0x7f, 0x33, 0x75, 0x3a, 0xcc, 0xe5, 0xfb, 0xfb, 0xb9, 0xfe, 0x74, 0x4b, 0x7f, + 0xf5, 0x7c, 0xf2, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x5b, 0x7c, 0x77, 0xc8, 0x9b, 0x0a, 0x00, + 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -884,6 +881,18 @@ func (m *StatePayload) MarshalToSizedBuffer(dAtA []byte) (int, error) { } } } + if m.Source != nil { + { + size, err := m.Source.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCompactBlock(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } return len(dAtA) - i, nil } @@ -904,7 +913,7 @@ func (m *StatePayload_RolledUp_) MarshalToSizedBuffer(dAtA []byte) (int, error) i = encodeVarintCompactBlock(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0xa + dAtA[i] = 0x12 } return len(dAtA) - i, nil } @@ -925,7 +934,7 @@ func (m *StatePayload_Note_) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintCompactBlock(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 + dAtA[i] = 0x1a } return len(dAtA) - i, nil } @@ -946,7 +955,7 @@ func (m *StatePayload_Swap_) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintCompactBlock(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x1a + dAtA[i] = 0x22 } return len(dAtA) - i, nil } @@ -1017,18 +1026,6 @@ func (m *StatePayload_Note) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if m.Source != nil { - { - size, err := m.Source.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintCompactBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } return len(dAtA) - i, nil } @@ -1064,18 +1061,6 @@ func (m *StatePayload_Swap) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if m.Source != nil { - { - size, err := m.Source.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintCompactBlock(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } return len(dAtA) - i, nil } @@ -1233,6 +1218,10 @@ func (m *StatePayload) Size() (n int) { } var l int _ = l + if m.Source != nil { + l = m.Source.Size() + n += 1 + l + sovCompactBlock(uint64(l)) + } if m.StatePayload != nil { n += m.StatePayload.Size() } @@ -1294,10 +1283,6 @@ func (m *StatePayload_Note) Size() (n int) { } var l int _ = l - if m.Source != nil { - l = m.Source.Size() - n += 1 + l + sovCompactBlock(uint64(l)) - } if m.Note != nil { l = m.Note.Size() n += 1 + l + sovCompactBlock(uint64(l)) @@ -1311,10 +1296,6 @@ func (m *StatePayload_Swap) Size() (n int) { } var l int _ = l - if m.Source != nil { - l = m.Source.Size() - n += 1 + l + sovCompactBlock(uint64(l)) - } if m.Swap != nil { l = m.Swap.Size() n += 1 + l + sovCompactBlock(uint64(l)) @@ -1748,6 +1729,42 @@ func (m *StatePayload) Unmarshal(dAtA []byte) error { } switch fieldNum { case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCompactBlock + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCompactBlock + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCompactBlock + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Source == nil { + m.Source = &v1alpha1.CommitmentSource{} + } + if err := m.Source.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field RolledUp", wireType) } @@ -1782,7 +1799,7 @@ func (m *StatePayload) Unmarshal(dAtA []byte) error { } m.StatePayload = &StatePayload_RolledUp_{v} iNdEx = postIndex - case 2: + case 3: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Note", wireType) } @@ -1817,7 +1834,7 @@ func (m *StatePayload) Unmarshal(dAtA []byte) error { } m.StatePayload = &StatePayload_Note_{v} iNdEx = postIndex - case 3: + case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Swap", wireType) } @@ -1988,42 +2005,6 @@ func (m *StatePayload_Note) Unmarshal(dAtA []byte) error { return fmt.Errorf("proto: Note: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCompactBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthCompactBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthCompactBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Source == nil { - m.Source = &v1alpha12.NoteSource{} - } - if err := m.Source.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Note", wireType) @@ -2110,42 +2091,6 @@ func (m *StatePayload_Swap) Unmarshal(dAtA []byte) error { return fmt.Errorf("proto: Swap: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCompactBlock - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthCompactBlock - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthCompactBlock - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Source == nil { - m.Source = &v1alpha12.NoteSource{} - } - if err := m.Source.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Swap", wireType) diff --git a/relayer/chains/penumbra/core/component/dex/v1alpha1/dex.pb.go b/relayer/chains/penumbra/core/component/dex/v1alpha1/dex.pb.go index a1ca46312..1fd677763 100644 --- a/relayer/chains/penumbra/core/component/dex/v1alpha1/dex.pb.go +++ b/relayer/chains/penumbra/core/component/dex/v1alpha1/dex.pb.go @@ -3595,6 +3595,349 @@ func (m *SimulateTradeResponse) GetOutput() *SwapExecution { return nil } +type EventSwap struct { + // The trading pair to swap. + TradingPair *TradingPair `protobuf:"bytes,1,opt,name=trading_pair,json=tradingPair,proto3" json:"trading_pair,omitempty"` + // The amount for asset 1. + Delta_1I *v1alpha13.Amount `protobuf:"bytes,2,opt,name=delta_1_i,json=delta1I,proto3" json:"delta_1_i,omitempty"` + // The amount for asset 2. + Delta_2I *v1alpha13.Amount `protobuf:"bytes,3,opt,name=delta_2_i,json=delta2I,proto3" json:"delta_2_i,omitempty"` + // The swap commitment. + SwapCommitment *v1alpha12.StateCommitment `protobuf:"bytes,4,opt,name=swap_commitment,json=swapCommitment,proto3" json:"swap_commitment,omitempty"` +} + +func (m *EventSwap) Reset() { *m = EventSwap{} } +func (m *EventSwap) String() string { return proto.CompactTextString(m) } +func (*EventSwap) ProtoMessage() {} +func (*EventSwap) Descriptor() ([]byte, []int) { + return fileDescriptor_259f31b405eaa9a9, []int{51} +} +func (m *EventSwap) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventSwap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventSwap.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 *EventSwap) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventSwap.Merge(m, src) +} +func (m *EventSwap) XXX_Size() int { + return m.Size() +} +func (m *EventSwap) XXX_DiscardUnknown() { + xxx_messageInfo_EventSwap.DiscardUnknown(m) +} + +var xxx_messageInfo_EventSwap proto.InternalMessageInfo + +func (m *EventSwap) GetTradingPair() *TradingPair { + if m != nil { + return m.TradingPair + } + return nil +} + +func (m *EventSwap) GetDelta_1I() *v1alpha13.Amount { + if m != nil { + return m.Delta_1I + } + return nil +} + +func (m *EventSwap) GetDelta_2I() *v1alpha13.Amount { + if m != nil { + return m.Delta_2I + } + return nil +} + +func (m *EventSwap) GetSwapCommitment() *v1alpha12.StateCommitment { + if m != nil { + return m.SwapCommitment + } + return nil +} + +type EventSwapClaim struct { + // The trading pair that is subject of the swap claim. + TradingPair *TradingPair `protobuf:"bytes,1,opt,name=trading_pair,json=tradingPair,proto3" json:"trading_pair,omitempty"` + // Note commitment for the first asset. + Output_1Commitment *v1alpha12.StateCommitment `protobuf:"bytes,2,opt,name=output_1_commitment,json=output1Commitment,proto3" json:"output_1_commitment,omitempty"` + // Note commitment for the second asset. + Output_2Commitment *v1alpha12.StateCommitment `protobuf:"bytes,3,opt,name=output_2_commitment,json=output2Commitment,proto3" json:"output_2_commitment,omitempty"` + // The nullifier for the swap commitment. + Nullifier *v1alpha1.Nullifier `protobuf:"bytes,4,opt,name=nullifier,proto3" json:"nullifier,omitempty"` +} + +func (m *EventSwapClaim) Reset() { *m = EventSwapClaim{} } +func (m *EventSwapClaim) String() string { return proto.CompactTextString(m) } +func (*EventSwapClaim) ProtoMessage() {} +func (*EventSwapClaim) Descriptor() ([]byte, []int) { + return fileDescriptor_259f31b405eaa9a9, []int{52} +} +func (m *EventSwapClaim) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventSwapClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventSwapClaim.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 *EventSwapClaim) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventSwapClaim.Merge(m, src) +} +func (m *EventSwapClaim) XXX_Size() int { + return m.Size() +} +func (m *EventSwapClaim) XXX_DiscardUnknown() { + xxx_messageInfo_EventSwapClaim.DiscardUnknown(m) +} + +var xxx_messageInfo_EventSwapClaim proto.InternalMessageInfo + +func (m *EventSwapClaim) GetTradingPair() *TradingPair { + if m != nil { + return m.TradingPair + } + return nil +} + +func (m *EventSwapClaim) GetOutput_1Commitment() *v1alpha12.StateCommitment { + if m != nil { + return m.Output_1Commitment + } + return nil +} + +func (m *EventSwapClaim) GetOutput_2Commitment() *v1alpha12.StateCommitment { + if m != nil { + return m.Output_2Commitment + } + return nil +} + +func (m *EventSwapClaim) GetNullifier() *v1alpha1.Nullifier { + if m != nil { + return m.Nullifier + } + return nil +} + +type EventPositionOpen struct { + // Position ID. + PositionId *PositionId `protobuf:"bytes,1,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` + // The trading pair to open. + TradingPair *TradingPair `protobuf:"bytes,2,opt,name=trading_pair,json=tradingPair,proto3" json:"trading_pair,omitempty"` + // The amount for asset 1. + Reserves_1 *v1alpha13.Amount `protobuf:"bytes,3,opt,name=reserves_1,json=reserves1,proto3" json:"reserves_1,omitempty"` + // The amount for asset 2. + Reserves_2 *v1alpha13.Amount `protobuf:"bytes,4,opt,name=reserves_2,json=reserves2,proto3" json:"reserves_2,omitempty"` + // The trading fee for the position, expressed in basis points. + // e.g. 2% fee is expressed as 200, 100% fee is expressed as 10000; + TradingFee uint32 `protobuf:"varint,5,opt,name=trading_fee,json=tradingFee,proto3" json:"trading_fee,omitempty"` +} + +func (m *EventPositionOpen) Reset() { *m = EventPositionOpen{} } +func (m *EventPositionOpen) String() string { return proto.CompactTextString(m) } +func (*EventPositionOpen) ProtoMessage() {} +func (*EventPositionOpen) Descriptor() ([]byte, []int) { + return fileDescriptor_259f31b405eaa9a9, []int{53} +} +func (m *EventPositionOpen) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventPositionOpen) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventPositionOpen.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 *EventPositionOpen) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventPositionOpen.Merge(m, src) +} +func (m *EventPositionOpen) XXX_Size() int { + return m.Size() +} +func (m *EventPositionOpen) XXX_DiscardUnknown() { + xxx_messageInfo_EventPositionOpen.DiscardUnknown(m) +} + +var xxx_messageInfo_EventPositionOpen proto.InternalMessageInfo + +func (m *EventPositionOpen) GetPositionId() *PositionId { + if m != nil { + return m.PositionId + } + return nil +} + +func (m *EventPositionOpen) GetTradingPair() *TradingPair { + if m != nil { + return m.TradingPair + } + return nil +} + +func (m *EventPositionOpen) GetReserves_1() *v1alpha13.Amount { + if m != nil { + return m.Reserves_1 + } + return nil +} + +func (m *EventPositionOpen) GetReserves_2() *v1alpha13.Amount { + if m != nil { + return m.Reserves_2 + } + return nil +} + +func (m *EventPositionOpen) GetTradingFee() uint32 { + if m != nil { + return m.TradingFee + } + return 0 +} + +type EventPositionClose struct { + // The ID of the closed position + PositionId *PositionId `protobuf:"bytes,1,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` +} + +func (m *EventPositionClose) Reset() { *m = EventPositionClose{} } +func (m *EventPositionClose) String() string { return proto.CompactTextString(m) } +func (*EventPositionClose) ProtoMessage() {} +func (*EventPositionClose) Descriptor() ([]byte, []int) { + return fileDescriptor_259f31b405eaa9a9, []int{54} +} +func (m *EventPositionClose) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventPositionClose) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventPositionClose.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 *EventPositionClose) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventPositionClose.Merge(m, src) +} +func (m *EventPositionClose) XXX_Size() int { + return m.Size() +} +func (m *EventPositionClose) XXX_DiscardUnknown() { + xxx_messageInfo_EventPositionClose.DiscardUnknown(m) +} + +var xxx_messageInfo_EventPositionClose proto.InternalMessageInfo + +func (m *EventPositionClose) GetPositionId() *PositionId { + if m != nil { + return m.PositionId + } + return nil +} + +type EventPositionWithdraw struct { + // The ID of the withdrawn position. + PositionId *PositionId `protobuf:"bytes,1,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` + // The trading pair of the withdrawn position. + TradingPair *TradingPair `protobuf:"bytes,2,opt,name=trading_pair,json=tradingPair,proto3" json:"trading_pair,omitempty"` + // The reserves of asset 1 of the withdrawn position. + Reserves_1 *v1alpha13.Amount `protobuf:"bytes,3,opt,name=reserves_1,json=reserves1,proto3" json:"reserves_1,omitempty"` + // The reserves of asset 2 of the withdrawn position. + Reserves_2 *v1alpha13.Amount `protobuf:"bytes,4,opt,name=reserves_2,json=reserves2,proto3" json:"reserves_2,omitempty"` +} + +func (m *EventPositionWithdraw) Reset() { *m = EventPositionWithdraw{} } +func (m *EventPositionWithdraw) String() string { return proto.CompactTextString(m) } +func (*EventPositionWithdraw) ProtoMessage() {} +func (*EventPositionWithdraw) Descriptor() ([]byte, []int) { + return fileDescriptor_259f31b405eaa9a9, []int{55} +} +func (m *EventPositionWithdraw) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventPositionWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventPositionWithdraw.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 *EventPositionWithdraw) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventPositionWithdraw.Merge(m, src) +} +func (m *EventPositionWithdraw) XXX_Size() int { + return m.Size() +} +func (m *EventPositionWithdraw) XXX_DiscardUnknown() { + xxx_messageInfo_EventPositionWithdraw.DiscardUnknown(m) +} + +var xxx_messageInfo_EventPositionWithdraw proto.InternalMessageInfo + +func (m *EventPositionWithdraw) GetPositionId() *PositionId { + if m != nil { + return m.PositionId + } + return nil +} + +func (m *EventPositionWithdraw) GetTradingPair() *TradingPair { + if m != nil { + return m.TradingPair + } + return nil +} + +func (m *EventPositionWithdraw) GetReserves_1() *v1alpha13.Amount { + if m != nil { + return m.Reserves_1 + } + return nil +} + +func (m *EventPositionWithdraw) GetReserves_2() *v1alpha13.Amount { + if m != nil { + return m.Reserves_2 + } + return nil +} + func init() { proto.RegisterEnum("penumbra.core.component.dex.v1alpha1.PositionState_PositionStateEnum", PositionState_PositionStateEnum_name, PositionState_PositionStateEnum_value) proto.RegisterType((*ZKSwapProof)(nil), "penumbra.core.component.dex.v1alpha1.ZKSwapProof") @@ -3656,6 +3999,11 @@ func init() { proto.RegisterType((*SimulateTradeRequest_Routing_SingleHop)(nil), "penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.SingleHop") proto.RegisterType((*SimulateTradeRequest_Routing_Default)(nil), "penumbra.core.component.dex.v1alpha1.SimulateTradeRequest.Routing.Default") proto.RegisterType((*SimulateTradeResponse)(nil), "penumbra.core.component.dex.v1alpha1.SimulateTradeResponse") + proto.RegisterType((*EventSwap)(nil), "penumbra.core.component.dex.v1alpha1.EventSwap") + proto.RegisterType((*EventSwapClaim)(nil), "penumbra.core.component.dex.v1alpha1.EventSwapClaim") + proto.RegisterType((*EventPositionOpen)(nil), "penumbra.core.component.dex.v1alpha1.EventPositionOpen") + proto.RegisterType((*EventPositionClose)(nil), "penumbra.core.component.dex.v1alpha1.EventPositionClose") + proto.RegisterType((*EventPositionWithdraw)(nil), "penumbra.core.component.dex.v1alpha1.EventPositionWithdraw") } func init() { @@ -3663,180 +4011,189 @@ func init() { } var fileDescriptor_259f31b405eaa9a9 = []byte{ - // 2764 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x5b, 0x4d, 0x6c, 0xe3, 0xc6, - 0x15, 0xf6, 0x48, 0xb2, 0x25, 0x3d, 0xd9, 0x8e, 0x77, 0xec, 0x4d, 0x1d, 0xa5, 0xeb, 0xec, 0x32, - 0x9b, 0xc2, 0x2d, 0x50, 0x79, 0xc5, 0x34, 0x6d, 0x63, 0x37, 0x3f, 0x96, 0x25, 0xaf, 0x95, 0xec, - 0xda, 0x0a, 0xe5, 0xec, 0x16, 0x5b, 0x27, 0x0c, 0x2d, 0x8e, 0xd6, 0x44, 0x29, 0x92, 0x4b, 0x52, - 0x5e, 0xfb, 0x56, 0x20, 0x08, 0x50, 0xa4, 0x4d, 0x51, 0xa0, 0xa7, 0xf6, 0x10, 0x14, 0x45, 0x83, - 0x02, 0x2d, 0x10, 0x20, 0x87, 0xdc, 0x7a, 0x6f, 0xda, 0x53, 0x90,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0x78, 0x03, 0x66, 0xbc, 0xd6, 0x9d, 0xd7, 0xf2, 0x58, 0xba, 0x5c, 0xa5, 0x58, - 0x81, 0x69, 0x46, 0x84, 0x12, 0x38, 0xa6, 0x5f, 0xb8, 0x49, 0xf1, 0x08, 0x30, 0x0d, 0xe1, 0x3f, - 0x08, 0x96, 0x06, 0xb3, 0x96, 0x3d, 0x88, 0x84, 0x4f, 0x06, 0x34, 0xe6, 0xc9, 0x30, 0x90, 0x38, - 0xa9, 0x09, 0x24, 0x8e, 0xdf, 0xb8, 0xa4, 0xc7, 0x6b, 0x5c, 0x08, 0x7c, 0x25, 0x22, 0xd3, 0x27, - 0xed, 0x00, 0x5a, 0x83, 0x8b, 0x51, 0xaf, 0x35, 0xe4, 0x5e, 0x97, 0x38, 0x2e, 0x7e, 0x02, 0x72, - 0xad, 0x23, 0x45, 0x0b, 0x76, 0x55, 0x5e, 0xca, 0xb2, 0x71, 0x5d, 0x0d, 0xf5, 0xab, 0xa9, 0x47, - 0xf6, 0xab, 0xe9, 0x49, 0xf4, 0xab, 0x82, 0x0e, 0x4f, 0x46, 0xd2, 0x74, 0x2c, 0xd3, 0x70, 0x08, - 0xbe, 0x09, 0x19, 0xf6, 0x4a, 0x85, 0xc6, 0x7d, 0xa5, 0x62, 0x30, 0xc2, 0xef, 0x10, 0x2c, 0xf5, - 0xed, 0xab, 0x31, 0xfc, 0x71, 0x10, 0xe9, 0x8f, 0x98, 0x14, 0x23, 0x2e, 0x8d, 0xfd, 0x7e, 0x71, - 0xe0, 0xe2, 0x00, 0x51, 0xee, 0x11, 0xff, 0xa5, 0x87, 0xf8, 0x5f, 0x92, 0x3f, 0x1b, 0xf6, 0x40, - 0xd9, 0x4b, 0x4f, 0x30, 0x14, 0x76, 0x60, 0x71, 0xd3, 0x3e, 0x9c, 0x80, 0x73, 0x84, 0x77, 0x11, - 0x2c, 0xf5, 0x43, 0x9d, 0x3f, 0xfd, 0xa1, 0x64, 0x3e, 0x43, 0x03, 0xce, 0x74, 0x62, 0x58, 0x76, - 0x05, 0x66, 0xd9, 0x15, 0x4a, 0xee, 0x83, 0x2c, 0xb0, 0x39, 0xef, 0xde, 0x84, 0x2f, 0x01, 0x10, - 0x43, 0xf5, 0x05, 0xd2, 0x4c, 0x20, 0x4f, 0x0c, 0x75, 0x27, 0x3a, 0x41, 0x32, 0x13, 0x4d, 0x90, - 0xcf, 0x11, 0x3c, 0x3e, 0x68, 0xd4, 0x97, 0xe7, 0xe3, 0x73, 0xdf, 0x0d, 0x7d, 0xd9, 0xf4, 0x3f, - 0x89, 0x1f, 0xbd, 0x62, 0x5e, 0x1c, 0x58, 0xf5, 0x4b, 0x4c, 0xe2, 0x37, 0xe0, 0x89, 0x1b, 0xda, - 0xbd, 0xae, 0xa6, 0x6a, 0xee, 0xa9, 0x7f, 0x80, 0xc4, 0xf1, 0xc3, 0x33, 0x30, 0xaf, 0x19, 0x2d, - 0xbd, 0xab, 0x12, 0x99, 0x5d, 0x8b, 0x54, 0x96, 0x87, 0x39, 0x69, 0x8e, 0xcf, 0xb2, 0xee, 0x54, - 0x15, 0xde, 0x82, 0x62, 0x14, 0x3c, 0x37, 0xb8, 0xd2, 0x57, 0x86, 0x93, 0x76, 0xc5, 0x5e, 0xed, - 0xfd, 0x29, 0x82, 0xaf, 0x9e, 0x59, 0xa2, 0x72, 0x5a, 0x57, 0x63, 0x18, 0x31, 0xf9, 0xe3, 0x5c, - 0x68, 0xc1, 0xa5, 0x21, 0x6c, 0x26, 0x68, 0xf3, 0x7b, 0x28, 0x62, 0x15, 0x67, 0x54, 0xa3, 0xd3, - 0x63, 0x1b, 0xad, 0xc2, 0xca, 0x30, 0x3a, 0x13, 0xb4, 0xfa, 0x23, 0x04, 0x97, 0xa3, 0x96, 0x69, - 0xd8, 0x5a, 0x8b, 0xc4, 0x30, 0x7c, 0xb0, 0x96, 0xa4, 0x26, 0x59, 0x4b, 0xf0, 0x12, 0x4c, 0xeb, - 0x5a, 0x47, 0x73, 0xd9, 0x63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, 0xd6, 0x6c, 0xa2, 0x2b, 0xa7, 0xc4, 0x5e, 0x3b, 0x16, 0x83, 0x3f, 0x59, - 0x4b, 0xec, 0xac, 0xc5, 0xf9, 0x8f, 0x0c, 0x1b, 0x2a, 0x39, 0xf1, 0xff, 0xfe, 0x4d, 0x2a, 0xd3, - 0xd8, 0xda, 0xaa, 0xfe, 0x3e, 0x75, 0xb5, 0xe1, 0xf3, 0xda, 0xa2, 0xbc, 0xb6, 0x02, 0x5e, 0x55, - 0x72, 0x52, 0xba, 0xc5, 0xa5, 0xff, 0xd2, 0x13, 0x3b, 0xa0, 0x62, 0x07, 0x81, 0xd8, 0x41, 0x95, - 0x9c, 0x1c, 0xf8, 0x62, 0x0f, 0x52, 0xd7, 0xe2, 0x88, 0x1d, 0x5c, 0x6f, 0x54, 0x6e, 0x12, 0x57, - 0xa1, 0x7d, 0xff, 0xe7, 0xa9, 0x55, 0x5f, 0x65, 0x7d, 0x9d, 0xea, 0xd0, 0x7f, 0xb9, 0xd2, 0xfa, - 0x7a, 0x95, 0x9c, 0xac, 0xaf, 0xfb, 0x6a, 0x87, 0x33, 0xec, 0xbf, 0x06, 0x3c, 0xfb, 0xdf, 0x00, - 0x00, 0x00, 0xff, 0xff, 0x91, 0x4e, 0x1f, 0x9f, 0xb6, 0x31, 0x00, 0x00, + // 2906 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x5b, 0x4f, 0x6c, 0xe3, 0xc6, + 0xd5, 0xf7, 0x50, 0xb2, 0x2d, 0x3d, 0xd9, 0x8e, 0x77, 0xec, 0xcd, 0xe7, 0x28, 0xdf, 0x7a, 0x77, + 0x99, 0xcd, 0x07, 0x7f, 0x05, 0x2a, 0xaf, 0x98, 0xa6, 0x6d, 0xec, 0xe6, 0x8f, 0x65, 0xc9, 0x6b, + 0x25, 0xbb, 0xb6, 0x42, 0x39, 0xbb, 0xc5, 0xd6, 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0xc2, 0xea, 0x40, 0x31, 0x5c, 0x9f, 0x0d, 0xc4, 0xd8, 0xf1, 0xd9, + 0xc4, 0x1e, 0x02, 0x5e, 0x87, 0x4c, 0x9b, 0x10, 0xb6, 0x9f, 0xff, 0x1f, 0x08, 0xe4, 0x1e, 0x96, + 0x00, 0x68, 0x8b, 0x10, 0xd1, 0xe5, 0xc2, 0xaf, 0xc3, 0x82, 0xd1, 0x75, 0xcc, 0xae, 0x23, 0x95, + 0xa5, 0x96, 0xd1, 0xe9, 0xa8, 0x4e, 0x87, 0xe8, 0xce, 0x52, 0x86, 0x82, 0x7d, 0x35, 0x04, 0x46, + 0x9d, 0xb2, 0xe4, 0x84, 0xa5, 0x69, 0x3a, 0xb2, 0x43, 0x36, 0x03, 0x26, 0xf1, 0x82, 0x87, 0x54, + 0xee, 0x4d, 0x85, 0xe0, 0x85, 0x30, 0x7c, 0x76, 0x04, 0x78, 0x21, 0x04, 0x7f, 0x17, 0x0a, 0x0c, + 0x5e, 0x91, 0x1d, 0x79, 0x69, 0x8a, 0xc2, 0x3e, 0x97, 0xcc, 0xa4, 0x15, 0xd9, 0x69, 0x1d, 0xb9, + 0x86, 0xd9, 0xa5, 0x08, 0x55, 0xd9, 0x91, 0x45, 0x30, 0x82, 0xdf, 0xfc, 0xdb, 0x19, 0xc8, 0xf9, + 0x6e, 0x89, 0xf7, 0x60, 0xc6, 0xb1, 0x64, 0x45, 0xd5, 0x0f, 0x25, 0x53, 0x56, 0xad, 0x74, 0x87, + 0x64, 0xcf, 0xe3, 0x6c, 0xc8, 0xaa, 0x25, 0x16, 0x9c, 0xde, 0x00, 0xbf, 0x00, 0x79, 0x85, 0x68, + 0x8e, 0x2c, 0x95, 0x25, 0x95, 0xd9, 0x8f, 0xef, 0x83, 0x74, 0x03, 0x44, 0x00, 0xb4, 0xd1, 0x31, + 0xba, 0xba, 0x23, 0x4e, 0x53, 0xa6, 0x72, 0xbd, 0xc7, 0x2f, 0x48, 0x2a, 0x33, 0x59,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0x0a, 0x33, 0xee, 0x21, 0x39, 0xd0, 0x54, 0xdd, 0xb5, 0x12, 0x73, 0x8f, + 0x42, 0x9b, 0x90, 0x0a, 0x9b, 0xc2, 0x2b, 0x30, 0x4f, 0xef, 0x96, 0x80, 0x48, 0xb2, 0xa8, 0xee, + 0x67, 0xc4, 0x39, 0x3a, 0xef, 0x13, 0x8a, 0x31, 0x94, 0x36, 0xd5, 0x72, 0x3f, 0x65, 0x93, 0xff, + 0x2b, 0x17, 0xba, 0x36, 0xce, 0x7d, 0x93, 0x45, 0xc8, 0x99, 0x86, 0xad, 0xd2, 0x5b, 0x8c, 0xa3, + 0xb7, 0x58, 0x30, 0xee, 0x0f, 0xb2, 0x99, 0x31, 0x06, 0xd9, 0x98, 0x3b, 0x34, 0x1b, 0x73, 0x87, + 0xc6, 0x2a, 0x78, 0x32, 0xb1, 0x82, 0xa7, 0x62, 0x15, 0xfc, 0x01, 0x8b, 0xef, 0xb7, 0x55, 0x72, + 0x1f, 0x8b, 0x30, 0x7d, 0xac, 0xda, 0xea, 0x81, 0x46, 0xd2, 0x25, 0x19, 0x3e, 0x40, 0xe9, 0xb6, + 0xc7, 0xbd, 0x3d, 0x21, 0xfa, 0x40, 0x78, 0x17, 0xa6, 0x0c, 0x53, 0xbe, 0xd7, 0xf5, 0xaf, 0xe6, + 0x67, 0x53, 0x42, 0xee, 0x52, 0xe6, 0xed, 0x09, 0x91, 0xc1, 0x14, 0xdf, 0x47, 0x30, 0xcd, 0xd6, + 0xc1, 0x2f, 0x40, 0x96, 0x06, 0x2b, 0x4f, 0xda, 0xaf, 0x24, 0x87, 0x16, 0x29, 0x5f, 0x8c, 0x33, + 0x65, 0xc6, 0xe5, 0x4c, 0xc5, 0x6d, 0x98, 0xf2, 0x64, 0x1f, 0x55, 0xca, 0x4a, 0x01, 0xf2, 0x54, + 0xca, 0x63, 0x95, 0xdc, 0xe7, 0x3f, 0xcc, 0x86, 0x4e, 0x04, 0xb5, 0xda, 0x9d, 0x7e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8c, 0x71, + 0xcf, 0xef, 0xa2, 0x98, 0x55, 0xec, 0x61, 0x37, 0x9d, 0x19, 0x79, 0xd3, 0x0a, 0x2c, 0x0f, 0x12, + 0x67, 0x8c, 0xbb, 0xfe, 0x10, 0xc1, 0x95, 0xb8, 0x65, 0x1a, 0x96, 0xda, 0x22, 0x09, 0x36, 0xde, + 0x1f, 0x4b, 0xb8, 0x71, 0xc6, 0x12, 0xbc, 0x08, 0x93, 0x9a, 0xda, 0x51, 0x1d, 0xda, 0x2c, 0xc8, + 0x8a, 0xde, 0x80, 0x3f, 0x84, 0xab, 0x8f, 0x10, 0x79, 0x8c, 0xca, 0xf9, 0x1e, 0x82, 0xd9, 0xa6, + 0x69, 0x11, 0x39, 0x89, 0x0b, 0xec, 0xc5, 0x6a, 0x62, 0xd4, 0x9c, 0xeb, 0x53, 0x0e, 0xe6, 0x7c, + 0x11, 0xd8, 0xce, 0xde, 0x80, 0xc5, 0x03, 0x62, 0x3b, 0x52, 0x59, 0x72, 0x0c, 0x49, 0x90, 0x46, + 0x2c, 0x83, 0xe7, 0x5d, 0xac, 0xf2, 0x9e, 0x21, 0x04, 0xfd, 0x29, 0x1f, 0x5f, 0x70, 0xf1, 0xcb, + 0x52, 0xe4, 0xe5, 0xe4, 0x90, 0xf8, 0xc2, 0x9e, 0x51, 0x0e, 0xf0, 0x5f, 0x84, 0x4b, 0xb2, 0x69, + 0x5a, 0xc6, 0x89, 0x44, 0xda, 0x6d, 0xd2, 0x72, 0xd4, 0x63, 0x22, 0x99, 0xae, 0xed, 0xd8, 0x8e, + 0x68, 0x74, 0x47, 0xe2, 0x92, 0x47, 0x54, 0xf3, 0x69, 0xa8, 0x79, 0x5d, 0x41, 0x1f, 0x01, 0xe0, + 0x89, 0x4c, 0xa3, 0xe6, 0x00, 0x00, 0x57, 0x12, 0xfe, 0x5f, 0x19, 0x58, 0x6c, 0xaa, 0x9d, 0xae, + 0x26, 0x3b, 0xb4, 0x29, 0x19, 0x38, 0x7a, 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0x2c, 0x04, 0x3f, 0x69, 0x73, 0xc3, + 0x5e, 0x4d, 0xf2, 0x2f, 0x69, 0xeb, 0x0a, 0x39, 0xf1, 0x7f, 0xff, 0x82, 0xcb, 0x36, 0x36, 0x37, + 0xab, 0xbf, 0xe6, 0xae, 0x35, 0x7c, 0xb9, 0x36, 0x5d, 0xb9, 0x36, 0x03, 0xb9, 0xaa, 0xe4, 0xa4, + 0x74, 0x9b, 0x51, 0xff, 0xa9, 0x47, 0xb6, 0xef, 0x92, 0xed, 0x07, 0x64, 0xfb, 0x55, 0x72, 0xb2, + 0xef, 0x93, 0x3d, 0xe0, 0xae, 0x27, 0x21, 0xdb, 0xbf, 0xd1, 0xa8, 0xdc, 0x22, 0x8e, 0xac, 0xc8, + 0x8e, 0xfc, 0x19, 0xb7, 0xe2, 0xb3, 0xac, 0xad, 0xb9, 0x3c, 0xee, 0x5f, 0xc6, 0xb4, 0xb6, 0x56, + 0x25, 0x27, 0x6b, 0x6b, 0x3e, 0xdb, 0xc1, 0x14, 0xfd, 0x27, 0xaf, 0x67, 0xfe, 0x13, 0x00, 0x00, + 0xff, 0xff, 0xd4, 0xd2, 0x25, 0x55, 0x80, 0x37, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -7343,163 +7700,487 @@ func (m *SimulateTradeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func encodeVarintDex(dAtA []byte, offset int, v uint64) int { - offset -= sovDex(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ +func (m *EventSwap) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - dAtA[offset] = uint8(v) - return base + return dAtA[:n], nil } -func (m *ZKSwapProof) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Inner) - if l > 0 { - n += 1 + l + sovDex(uint64(l)) - } - return n + +func (m *EventSwap) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ZKSwapClaimProof) Size() (n int) { - if m == nil { - return 0 - } +func (m *EventSwap) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Inner) - if l > 0 { - n += 1 + l + sovDex(uint64(l)) + if m.SwapCommitment != nil { + { + size, err := m.SwapCommitment.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 } - return n -} - -func (m *Swap) Size() (n int) { - if m == nil { - return 0 + if m.Delta_2I != nil { + { + size, err := m.Delta_2I.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a } - var l int - _ = l - if m.Proof != nil { - l = m.Proof.Size() - n += 1 + l + sovDex(uint64(l)) + if m.Delta_1I != nil { + { + size, err := m.Delta_1I.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 } - if m.Body != nil { - l = m.Body.Size() - n += 1 + l + sovDex(uint64(l)) + if m.TradingPair != nil { + { + size, err := m.TradingPair.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *SwapClaim) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Proof != nil { - l = m.Proof.Size() - n += 1 + l + sovDex(uint64(l)) - } - if m.Body != nil { - l = m.Body.Size() - n += 1 + l + sovDex(uint64(l)) - } - if m.EpochDuration != 0 { - n += 1 + sovDex(uint64(m.EpochDuration)) +func (m *EventSwapClaim) 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 n + return dAtA[:n], nil } -func (m *SwapClaimBody) Size() (n int) { - if m == nil { - return 0 - } +func (m *EventSwapClaim) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventSwapClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l if m.Nullifier != nil { - l = m.Nullifier.Size() - n += 1 + l + sovDex(uint64(l)) + { + size, err := m.Nullifier.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 } - if m.Fee != nil { - l = m.Fee.Size() - n += 1 + l + sovDex(uint64(l)) + if m.Output_2Commitment != nil { + { + size, err := m.Output_2Commitment.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a } if m.Output_1Commitment != nil { - l = m.Output_1Commitment.Size() - n += 1 + l + sovDex(uint64(l)) - } - if m.Output_2Commitment != nil { - l = m.Output_2Commitment.Size() - n += 1 + l + sovDex(uint64(l)) + { + size, err := m.Output_1Commitment.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 } - if m.OutputData != nil { - l = m.OutputData.Size() - n += 1 + l + sovDex(uint64(l)) + if m.TradingPair != nil { + { + size, err := m.TradingPair.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *SwapBody) Size() (n int) { - if m == nil { - return 0 +func (m *EventPositionOpen) 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 *EventPositionOpen) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventPositionOpen) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.TradingPair != nil { - l = m.TradingPair.Size() - n += 1 + l + sovDex(uint64(l)) + if m.TradingFee != 0 { + i = encodeVarintDex(dAtA, i, uint64(m.TradingFee)) + i-- + dAtA[i] = 0x28 } - if m.Delta_1I != nil { - l = m.Delta_1I.Size() - n += 1 + l + sovDex(uint64(l)) + if m.Reserves_2 != nil { + { + size, err := m.Reserves_2.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 } - if m.Delta_2I != nil { - l = m.Delta_2I.Size() - n += 1 + l + sovDex(uint64(l)) + if m.Reserves_1 != nil { + { + size, err := m.Reserves_1.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a } - if m.FeeCommitment != nil { - l = m.FeeCommitment.Size() - n += 1 + l + sovDex(uint64(l)) + if m.TradingPair != nil { + { + size, err := m.TradingPair.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 } - if m.Payload != nil { - l = m.Payload.Size() - n += 1 + l + sovDex(uint64(l)) + if m.PositionId != nil { + { + size, err := m.PositionId.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *SwapPayload) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Commitment != nil { - l = m.Commitment.Size() - n += 1 + l + sovDex(uint64(l)) - } - l = len(m.EncryptedSwap) - if l > 0 { - n += 1 + l + sovDex(uint64(l)) +func (m *EventPositionClose) 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 n + return dAtA[:n], nil } -func (m *SwapPlaintext) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.TradingPair != nil { - l = m.TradingPair.Size() +func (m *EventPositionClose) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventPositionClose) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.PositionId != nil { + { + size, err := m.PositionId.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *EventPositionWithdraw) 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 *EventPositionWithdraw) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventPositionWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Reserves_2 != nil { + { + size, err := m.Reserves_2.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if m.Reserves_1 != nil { + { + size, err := m.Reserves_1.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.TradingPair != nil { + { + size, err := m.TradingPair.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.PositionId != nil { + { + size, err := m.PositionId.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintDex(dAtA []byte, offset int, v uint64) int { + offset -= sovDex(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *ZKSwapProof) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Inner) + if l > 0 { + n += 1 + l + sovDex(uint64(l)) + } + return n +} + +func (m *ZKSwapClaimProof) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Inner) + if l > 0 { + n += 1 + l + sovDex(uint64(l)) + } + return n +} + +func (m *Swap) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Proof != nil { + l = m.Proof.Size() + n += 1 + l + sovDex(uint64(l)) + } + if m.Body != nil { + l = m.Body.Size() + n += 1 + l + sovDex(uint64(l)) + } + return n +} + +func (m *SwapClaim) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Proof != nil { + l = m.Proof.Size() + n += 1 + l + sovDex(uint64(l)) + } + if m.Body != nil { + l = m.Body.Size() + n += 1 + l + sovDex(uint64(l)) + } + if m.EpochDuration != 0 { + n += 1 + sovDex(uint64(m.EpochDuration)) + } + return n +} + +func (m *SwapClaimBody) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Nullifier != nil { + l = m.Nullifier.Size() + n += 1 + l + sovDex(uint64(l)) + } + if m.Fee != nil { + l = m.Fee.Size() + n += 1 + l + sovDex(uint64(l)) + } + if m.Output_1Commitment != nil { + l = m.Output_1Commitment.Size() + n += 1 + l + sovDex(uint64(l)) + } + if m.Output_2Commitment != nil { + l = m.Output_2Commitment.Size() + n += 1 + l + sovDex(uint64(l)) + } + if m.OutputData != nil { + l = m.OutputData.Size() + n += 1 + l + sovDex(uint64(l)) + } + return n +} + +func (m *SwapBody) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TradingPair != nil { + l = m.TradingPair.Size() + n += 1 + l + sovDex(uint64(l)) + } + if m.Delta_1I != nil { + l = m.Delta_1I.Size() + n += 1 + l + sovDex(uint64(l)) + } + if m.Delta_2I != nil { + l = m.Delta_2I.Size() + n += 1 + l + sovDex(uint64(l)) + } + if m.FeeCommitment != nil { + l = m.FeeCommitment.Size() + n += 1 + l + sovDex(uint64(l)) + } + if m.Payload != nil { + l = m.Payload.Size() + n += 1 + l + sovDex(uint64(l)) + } + return n +} + +func (m *SwapPayload) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Commitment != nil { + l = m.Commitment.Size() + n += 1 + l + sovDex(uint64(l)) + } + l = len(m.EncryptedSwap) + if l > 0 { + n += 1 + l + sovDex(uint64(l)) + } + return n +} + +func (m *SwapPlaintext) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TradingPair != nil { + l = m.TradingPair.Size() n += 1 + l + sovDex(uint64(l)) } if m.Delta_1I != nil { @@ -8482,46 +9163,895 @@ func (m *SimulateTradeResponse) Size() (n int) { return n } -func sovDex(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozDex(x uint64) (n int) { - return sovDex(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *ZKSwapProof) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 +func (m *EventSwap) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TradingPair != nil { + l = m.TradingPair.Size() + n += 1 + l + sovDex(uint64(l)) + } + if m.Delta_1I != nil { + l = m.Delta_1I.Size() + n += 1 + l + sovDex(uint64(l)) + } + if m.Delta_2I != nil { + l = m.Delta_2I.Size() + n += 1 + l + sovDex(uint64(l)) + } + if m.SwapCommitment != nil { + l = m.SwapCommitment.Size() + n += 1 + l + sovDex(uint64(l)) + } + return n +} + +func (m *EventSwapClaim) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TradingPair != nil { + l = m.TradingPair.Size() + n += 1 + l + sovDex(uint64(l)) + } + if m.Output_1Commitment != nil { + l = m.Output_1Commitment.Size() + n += 1 + l + sovDex(uint64(l)) + } + if m.Output_2Commitment != nil { + l = m.Output_2Commitment.Size() + n += 1 + l + sovDex(uint64(l)) + } + if m.Nullifier != nil { + l = m.Nullifier.Size() + n += 1 + l + sovDex(uint64(l)) + } + return n +} + +func (m *EventPositionOpen) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.PositionId != nil { + l = m.PositionId.Size() + n += 1 + l + sovDex(uint64(l)) + } + if m.TradingPair != nil { + l = m.TradingPair.Size() + n += 1 + l + sovDex(uint64(l)) + } + if m.Reserves_1 != nil { + l = m.Reserves_1.Size() + n += 1 + l + sovDex(uint64(l)) + } + if m.Reserves_2 != nil { + l = m.Reserves_2.Size() + n += 1 + l + sovDex(uint64(l)) + } + if m.TradingFee != 0 { + n += 1 + sovDex(uint64(m.TradingFee)) + } + return n +} + +func (m *EventPositionClose) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.PositionId != nil { + l = m.PositionId.Size() + n += 1 + l + sovDex(uint64(l)) + } + return n +} + +func (m *EventPositionWithdraw) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.PositionId != nil { + l = m.PositionId.Size() + n += 1 + l + sovDex(uint64(l)) + } + if m.TradingPair != nil { + l = m.TradingPair.Size() + n += 1 + l + sovDex(uint64(l)) + } + if m.Reserves_1 != nil { + l = m.Reserves_1.Size() + n += 1 + l + sovDex(uint64(l)) + } + if m.Reserves_2 != nil { + l = m.Reserves_2.Size() + n += 1 + l + sovDex(uint64(l)) + } + return n +} + +func sovDex(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozDex(x uint64) (n int) { + return sovDex(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *ZKSwapProof) 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 ErrIntOverflowDex + } + 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: ZKSwapProof: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ZKSwapProof: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Inner", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthDex + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Inner = append(m.Inner[:0], dAtA[iNdEx:postIndex]...) + if m.Inner == nil { + m.Inner = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipDex(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDex + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ZKSwapClaimProof) 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 ErrIntOverflowDex + } + 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: ZKSwapClaimProof: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ZKSwapClaimProof: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Inner", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthDex + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Inner = append(m.Inner[:0], dAtA[iNdEx:postIndex]...) + if m.Inner == nil { + m.Inner = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipDex(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDex + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Swap) 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 ErrIntOverflowDex + } + 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: Swap: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Swap: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Proof", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDex + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Proof == nil { + m.Proof = &ZKSwapProof{} + } + if err := m.Proof.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Body", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDex + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Body == nil { + m.Body = &SwapBody{} + } + if err := m.Body.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipDex(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDex + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SwapClaim) 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 ErrIntOverflowDex + } + 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: SwapClaim: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SwapClaim: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Proof", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDex + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Proof == nil { + m.Proof = &ZKSwapClaimProof{} + } + if err := m.Proof.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Body", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDex + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Body == nil { + m.Body = &SwapClaimBody{} + } + if err := m.Body.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EpochDuration", wireType) + } + m.EpochDuration = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.EpochDuration |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipDex(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDex + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SwapClaimBody) 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 ErrIntOverflowDex + } + 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: SwapClaimBody: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SwapClaimBody: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Nullifier", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDex + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Nullifier == nil { + m.Nullifier = &v1alpha1.Nullifier{} + } + if err := m.Nullifier.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Fee", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDex + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Fee == nil { + m.Fee = &v1alpha11.Fee{} + } + if err := m.Fee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Output_1Commitment", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDex + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Output_1Commitment == nil { + m.Output_1Commitment = &v1alpha12.StateCommitment{} + } + if err := m.Output_1Commitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Output_2Commitment", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDex + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Output_2Commitment == nil { + m.Output_2Commitment = &v1alpha12.StateCommitment{} + } + if err := m.Output_2Commitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OutputData", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDex + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.OutputData == nil { + m.OutputData = &BatchSwapOutputData{} + } + if err := m.OutputData.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipDex(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDex + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SwapBody) 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 ErrIntOverflowDex } - if iNdEx >= l { + 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: SwapBody: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SwapBody: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TradingPair", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDex + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.TradingPair == nil { + m.TradingPair = &TradingPair{} + } + if err := m.TradingPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Delta_1I", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDex + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + if m.Delta_1I == nil { + m.Delta_1I = &v1alpha13.Amount{} } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ZKSwapProof: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ZKSwapProof: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + if err := m.Delta_1I.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Inner", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Delta_2I", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -8531,24 +10061,98 @@ func (m *ZKSwapProof) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + if msglen < 0 { return ErrInvalidLengthDex } - postIndex := iNdEx + byteLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthDex } if postIndex > l { return io.ErrUnexpectedEOF } - m.Inner = append(m.Inner[:0], dAtA[iNdEx:postIndex]...) - if m.Inner == nil { - m.Inner = []byte{} + if m.Delta_2I == nil { + m.Delta_2I = &v1alpha13.Amount{} + } + if err := m.Delta_2I.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FeeCommitment", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDex + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.FeeCommitment == nil { + m.FeeCommitment = &v1alpha14.BalanceCommitment{} + } + if err := m.FeeCommitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Payload", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDex + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Payload == nil { + m.Payload = &SwapPayload{} + } + if err := m.Payload.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } iNdEx = postIndex default: @@ -8572,7 +10176,7 @@ func (m *ZKSwapProof) Unmarshal(dAtA []byte) error { } return nil } -func (m *ZKSwapClaimProof) Unmarshal(dAtA []byte) error { +func (m *SwapPayload) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8595,15 +10199,51 @@ func (m *ZKSwapClaimProof) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ZKSwapClaimProof: wiretype end group for non-group") + return fmt.Errorf("proto: SwapPayload: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ZKSwapClaimProof: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SwapPayload: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Inner", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Commitment", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDex + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Commitment == nil { + m.Commitment = &v1alpha12.StateCommitment{} + } + if err := m.Commitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EncryptedSwap", wireType) } var byteLen int for shift := uint(0); ; shift += 7 { @@ -8630,9 +10270,9 @@ func (m *ZKSwapClaimProof) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Inner = append(m.Inner[:0], dAtA[iNdEx:postIndex]...) - if m.Inner == nil { - m.Inner = []byte{} + m.EncryptedSwap = append(m.EncryptedSwap[:0], dAtA[iNdEx:postIndex]...) + if m.EncryptedSwap == nil { + m.EncryptedSwap = []byte{} } iNdEx = postIndex default: @@ -8656,7 +10296,7 @@ func (m *ZKSwapClaimProof) Unmarshal(dAtA []byte) error { } return nil } -func (m *Swap) Unmarshal(dAtA []byte) error { +func (m *SwapPlaintext) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8679,15 +10319,15 @@ func (m *Swap) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Swap: wiretype end group for non-group") + return fmt.Errorf("proto: SwapPlaintext: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Swap: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SwapPlaintext: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Proof", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TradingPair", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -8714,16 +10354,16 @@ func (m *Swap) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Proof == nil { - m.Proof = &ZKSwapProof{} + if m.TradingPair == nil { + m.TradingPair = &TradingPair{} } - if err := m.Proof.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.TradingPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 4: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Body", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Delta_1I", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -8750,66 +10390,52 @@ func (m *Swap) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Body == nil { - m.Body = &SwapBody{} + if m.Delta_1I == nil { + m.Delta_1I = &v1alpha13.Amount{} } - if err := m.Body.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Delta_1I.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipDex(dAtA[iNdEx:]) - if err != nil { - return err + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Delta_2I", wireType) } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthDex + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF + if msglen < 0 { + return ErrInvalidLengthDex } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SwapClaim) 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 ErrIntOverflowDex + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + if m.Delta_2I == nil { + m.Delta_2I = &v1alpha13.Amount{} } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SwapClaim: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SwapClaim: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + if err := m.Delta_2I.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Proof", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClaimFee", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -8836,16 +10462,16 @@ func (m *SwapClaim) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Proof == nil { - m.Proof = &ZKSwapClaimProof{} + if m.ClaimFee == nil { + m.ClaimFee = &v1alpha11.Fee{} } - if err := m.Proof.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.ClaimFee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 2: + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Body", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClaimAddress", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -8872,18 +10498,18 @@ func (m *SwapClaim) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Body == nil { - m.Body = &SwapClaimBody{} + if m.ClaimAddress == nil { + m.ClaimAddress = &v1alpha15.Address{} } - if err := m.Body.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.ClaimAddress.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field EpochDuration", wireType) + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Rseed", wireType) } - m.EpochDuration = 0 + var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -8893,11 +10519,26 @@ func (m *SwapClaim) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.EpochDuration |= uint64(b&0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } + if byteLen < 0 { + return ErrInvalidLengthDex + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Rseed = append(m.Rseed[:0], dAtA[iNdEx:postIndex]...) + if m.Rseed == nil { + m.Rseed = []byte{} + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -8919,7 +10560,7 @@ func (m *SwapClaim) Unmarshal(dAtA []byte) error { } return nil } -func (m *SwapClaimBody) Unmarshal(dAtA []byte) error { +func (m *SwapPlan) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8942,15 +10583,15 @@ func (m *SwapClaimBody) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SwapClaimBody: wiretype end group for non-group") + return fmt.Errorf("proto: SwapPlan: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SwapClaimBody: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SwapPlan: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Nullifier", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SwapPlaintext", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -8977,18 +10618,18 @@ func (m *SwapClaimBody) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Nullifier == nil { - m.Nullifier = &v1alpha1.Nullifier{} + if m.SwapPlaintext == nil { + m.SwapPlaintext = &SwapPlaintext{} } - if err := m.Nullifier.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.SwapPlaintext.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Fee", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field FeeBlinding", wireType) } - var msglen int + var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -8998,33 +10639,31 @@ func (m *SwapClaimBody) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + if byteLen < 0 { return ErrInvalidLengthDex } - postIndex := iNdEx + msglen + postIndex := iNdEx + byteLen if postIndex < 0 { return ErrInvalidLengthDex } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Fee == nil { - m.Fee = &v1alpha11.Fee{} - } - if err := m.Fee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + m.FeeBlinding = append(m.FeeBlinding[:0], dAtA[iNdEx:postIndex]...) + if m.FeeBlinding == nil { + m.FeeBlinding = []byte{} } iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Output_1Commitment", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProofBlindingR", wireType) } - var msglen int + var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -9034,69 +10673,31 @@ func (m *SwapClaimBody) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + if byteLen < 0 { return ErrInvalidLengthDex } - postIndex := iNdEx + msglen + postIndex := iNdEx + byteLen if postIndex < 0 { return ErrInvalidLengthDex } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Output_1Commitment == nil { - m.Output_1Commitment = &v1alpha12.StateCommitment{} - } - if err := m.Output_1Commitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + m.ProofBlindingR = append(m.ProofBlindingR[:0], dAtA[iNdEx:postIndex]...) + if m.ProofBlindingR == nil { + m.ProofBlindingR = []byte{} } iNdEx = postIndex case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Output_2Commitment", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowDex - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthDex - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDex - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Output_2Commitment == nil { - m.Output_2Commitment = &v1alpha12.StateCommitment{} - } - if err := m.Output_2Commitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OutputData", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProofBlindingS", wireType) } - var msglen int + var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -9106,26 +10707,24 @@ func (m *SwapClaimBody) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + if byteLen < 0 { return ErrInvalidLengthDex } - postIndex := iNdEx + msglen + postIndex := iNdEx + byteLen if postIndex < 0 { return ErrInvalidLengthDex } if postIndex > l { return io.ErrUnexpectedEOF } - if m.OutputData == nil { - m.OutputData = &BatchSwapOutputData{} - } - if err := m.OutputData.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + m.ProofBlindingS = append(m.ProofBlindingS[:0], dAtA[iNdEx:postIndex]...) + if m.ProofBlindingS == nil { + m.ProofBlindingS = []byte{} } iNdEx = postIndex default: @@ -9149,7 +10748,7 @@ func (m *SwapClaimBody) Unmarshal(dAtA []byte) error { } return nil } -func (m *SwapBody) Unmarshal(dAtA []byte) error { +func (m *SwapClaimPlan) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9172,15 +10771,15 @@ func (m *SwapBody) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SwapBody: wiretype end group for non-group") + return fmt.Errorf("proto: SwapClaimPlan: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SwapBody: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SwapClaimPlan: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TradingPair", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SwapPlaintext", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -9207,18 +10806,18 @@ func (m *SwapBody) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.TradingPair == nil { - m.TradingPair = &TradingPair{} + if m.SwapPlaintext == nil { + m.SwapPlaintext = &SwapPlaintext{} } - if err := m.TradingPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.SwapPlaintext.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Delta_1I", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) } - var msglen int + m.Position = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -9228,31 +10827,14 @@ func (m *SwapBody) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.Position |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthDex - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDex - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Delta_1I == nil { - m.Delta_1I = &v1alpha13.Amount{} - } - if err := m.Delta_1I.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Delta_2I", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field OutputData", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -9279,18 +10861,37 @@ func (m *SwapBody) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Delta_2I == nil { - m.Delta_2I = &v1alpha13.Amount{} + if m.OutputData == nil { + m.OutputData = &BatchSwapOutputData{} } - if err := m.Delta_2I.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.OutputData.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EpochDuration", wireType) + } + m.EpochDuration = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.EpochDuration |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FeeCommitment", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProofBlindingR", wireType) } - var msglen int + var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -9300,33 +10901,31 @@ func (m *SwapBody) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + if byteLen < 0 { return ErrInvalidLengthDex } - postIndex := iNdEx + msglen + postIndex := iNdEx + byteLen if postIndex < 0 { return ErrInvalidLengthDex } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.FeeCommitment == nil { - m.FeeCommitment = &v1alpha14.BalanceCommitment{} + if postIndex > l { + return io.ErrUnexpectedEOF } - if err := m.FeeCommitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + m.ProofBlindingR = append(m.ProofBlindingR[:0], dAtA[iNdEx:postIndex]...) + if m.ProofBlindingR == nil { + m.ProofBlindingR = []byte{} } iNdEx = postIndex - case 5: + case 6: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Payload", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProofBlindingS", wireType) } - var msglen int + var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -9336,26 +10935,24 @@ func (m *SwapBody) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + if byteLen < 0 { return ErrInvalidLengthDex } - postIndex := iNdEx + msglen + postIndex := iNdEx + byteLen if postIndex < 0 { return ErrInvalidLengthDex } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Payload == nil { - m.Payload = &SwapPayload{} - } - if err := m.Payload.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + m.ProofBlindingS = append(m.ProofBlindingS[:0], dAtA[iNdEx:postIndex]...) + if m.ProofBlindingS == nil { + m.ProofBlindingS = []byte{} } iNdEx = postIndex default: @@ -9379,7 +10976,7 @@ func (m *SwapBody) Unmarshal(dAtA []byte) error { } return nil } -func (m *SwapPayload) Unmarshal(dAtA []byte) error { +func (m *SwapView) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9402,15 +10999,15 @@ func (m *SwapPayload) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SwapPayload: wiretype end group for non-group") + return fmt.Errorf("proto: SwapView: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SwapPayload: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SwapView: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Commitment", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Visible", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -9437,18 +11034,17 @@ func (m *SwapPayload) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Commitment == nil { - m.Commitment = &v1alpha12.StateCommitment{} - } - if err := m.Commitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + v := &SwapView_Visible{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } + m.SwapView = &SwapView_Visible_{v} iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EncryptedSwap", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Opaque", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -9458,25 +11054,26 @@ func (m *SwapPayload) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + if msglen < 0 { return ErrInvalidLengthDex } - postIndex := iNdEx + byteLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthDex } if postIndex > l { return io.ErrUnexpectedEOF } - m.EncryptedSwap = append(m.EncryptedSwap[:0], dAtA[iNdEx:postIndex]...) - if m.EncryptedSwap == nil { - m.EncryptedSwap = []byte{} + v := &SwapView_Opaque{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } + m.SwapView = &SwapView_Opaque_{v} iNdEx = postIndex default: iNdEx = preIndex @@ -9499,7 +11096,7 @@ func (m *SwapPayload) Unmarshal(dAtA []byte) error { } return nil } -func (m *SwapPlaintext) Unmarshal(dAtA []byte) error { +func (m *SwapView_Visible) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9522,51 +11119,15 @@ func (m *SwapPlaintext) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SwapPlaintext: wiretype end group for non-group") + return fmt.Errorf("proto: Visible: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SwapPlaintext: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Visible: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TradingPair", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowDex - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthDex - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDex - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.TradingPair == nil { - m.TradingPair = &TradingPair{} - } - if err := m.TradingPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Delta_1I", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Swap", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -9593,88 +11154,16 @@ func (m *SwapPlaintext) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Delta_1I == nil { - m.Delta_1I = &v1alpha13.Amount{} + if m.Swap == nil { + m.Swap = &Swap{} } - if err := m.Delta_1I.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Swap.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Delta_2I", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowDex - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthDex - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDex - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Delta_2I == nil { - m.Delta_2I = &v1alpha13.Amount{} - } - if err := m.Delta_2I.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClaimFee", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowDex - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthDex - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDex - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ClaimFee == nil { - m.ClaimFee = &v1alpha11.Fee{} - } - if err := m.ClaimFee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClaimAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SwapPlaintext", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -9701,47 +11190,13 @@ func (m *SwapPlaintext) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.ClaimAddress == nil { - m.ClaimAddress = &v1alpha15.Address{} + if m.SwapPlaintext == nil { + m.SwapPlaintext = &SwapPlaintext{} } - if err := m.ClaimAddress.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.SwapPlaintext.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Rseed", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowDex - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthDex - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthDex - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Rseed = append(m.Rseed[:0], dAtA[iNdEx:postIndex]...) - if m.Rseed == nil { - m.Rseed = []byte{} - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -9763,7 +11218,7 @@ func (m *SwapPlaintext) Unmarshal(dAtA []byte) error { } return nil } -func (m *SwapPlan) Unmarshal(dAtA []byte) error { +func (m *SwapView_Opaque) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9786,15 +11241,15 @@ func (m *SwapPlan) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SwapPlan: wiretype end group for non-group") + return fmt.Errorf("proto: Opaque: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SwapPlan: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Opaque: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SwapPlaintext", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Swap", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -9821,52 +11276,68 @@ func (m *SwapPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.SwapPlaintext == nil { - m.SwapPlaintext = &SwapPlaintext{} + if m.Swap == nil { + m.Swap = &Swap{} } - if err := m.SwapPlaintext.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Swap.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FeeBlinding", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowDex - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } + default: + iNdEx = preIndex + skippy, err := skipDex(dAtA[iNdEx:]) + if err != nil { + return err } - if byteLen < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthDex } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthDex + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF } - if postIndex > l { + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SwapClaimView) 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 ErrIntOverflowDex + } + if iNdEx >= l { return io.ErrUnexpectedEOF } - m.FeeBlinding = append(m.FeeBlinding[:0], dAtA[iNdEx:postIndex]...) - if m.FeeBlinding == nil { - m.FeeBlinding = []byte{} + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break } - iNdEx = postIndex - case 3: + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SwapClaimView: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SwapClaimView: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProofBlindingR", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Visible", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -9876,31 +11347,32 @@ func (m *SwapPlan) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + if msglen < 0 { return ErrInvalidLengthDex } - postIndex := iNdEx + byteLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthDex } if postIndex > l { return io.ErrUnexpectedEOF } - m.ProofBlindingR = append(m.ProofBlindingR[:0], dAtA[iNdEx:postIndex]...) - if m.ProofBlindingR == nil { - m.ProofBlindingR = []byte{} + v := &SwapClaimView_Visible{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } + m.SwapClaimView = &SwapClaimView_Visible_{v} iNdEx = postIndex - case 4: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProofBlindingS", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Opaque", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -9910,25 +11382,26 @@ func (m *SwapPlan) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + if msglen < 0 { return ErrInvalidLengthDex } - postIndex := iNdEx + byteLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthDex } if postIndex > l { return io.ErrUnexpectedEOF } - m.ProofBlindingS = append(m.ProofBlindingS[:0], dAtA[iNdEx:postIndex]...) - if m.ProofBlindingS == nil { - m.ProofBlindingS = []byte{} + v := &SwapClaimView_Opaque{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } + m.SwapClaimView = &SwapClaimView_Opaque_{v} iNdEx = postIndex default: iNdEx = preIndex @@ -9951,7 +11424,7 @@ func (m *SwapPlan) Unmarshal(dAtA []byte) error { } return nil } -func (m *SwapClaimPlan) Unmarshal(dAtA []byte) error { +func (m *SwapClaimView_Visible) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9974,15 +11447,15 @@ func (m *SwapClaimPlan) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SwapClaimPlan: wiretype end group for non-group") + return fmt.Errorf("proto: Visible: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SwapClaimPlan: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Visible: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SwapPlaintext", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SwapClaim", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10009,35 +11482,16 @@ func (m *SwapClaimPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.SwapPlaintext == nil { - m.SwapPlaintext = &SwapPlaintext{} + if m.SwapClaim == nil { + m.SwapClaim = &SwapClaim{} } - if err := m.SwapPlaintext.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.SwapClaim.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) - } - m.Position = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowDex - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Position |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OutputData", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Output_1", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10064,37 +11518,18 @@ func (m *SwapClaimPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.OutputData == nil { - m.OutputData = &BatchSwapOutputData{} + if m.Output_1 == nil { + m.Output_1 = &v1alpha16.NoteView{} } - if err := m.OutputData.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Output_1.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field EpochDuration", wireType) - } - m.EpochDuration = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowDex - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.EpochDuration |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProofBlindingR", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Output_2", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -10104,31 +11539,83 @@ func (m *SwapClaimPlan) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + if msglen < 0 { return ErrInvalidLengthDex } - postIndex := iNdEx + byteLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthDex } if postIndex > l { return io.ErrUnexpectedEOF } - m.ProofBlindingR = append(m.ProofBlindingR[:0], dAtA[iNdEx:postIndex]...) - if m.ProofBlindingR == nil { - m.ProofBlindingR = []byte{} + if m.Output_2 == nil { + m.Output_2 = &v1alpha16.NoteView{} + } + if err := m.Output_2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } iNdEx = postIndex - case 6: + default: + iNdEx = preIndex + skippy, err := skipDex(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDex + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SwapClaimView_Opaque) 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 ErrIntOverflowDex + } + 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: Opaque: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Opaque: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProofBlindingS", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SwapClaim", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -10138,24 +11625,26 @@ func (m *SwapClaimPlan) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + if msglen < 0 { return ErrInvalidLengthDex } - postIndex := iNdEx + byteLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthDex } if postIndex > l { return io.ErrUnexpectedEOF } - m.ProofBlindingS = append(m.ProofBlindingS[:0], dAtA[iNdEx:postIndex]...) - if m.ProofBlindingS == nil { - m.ProofBlindingS = []byte{} + if m.SwapClaim == nil { + m.SwapClaim = &SwapClaim{} + } + if err := m.SwapClaim.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } iNdEx = postIndex default: @@ -10179,7 +11668,7 @@ func (m *SwapClaimPlan) Unmarshal(dAtA []byte) error { } return nil } -func (m *SwapView) Unmarshal(dAtA []byte) error { +func (m *TradingPair) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10202,15 +11691,15 @@ func (m *SwapView) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SwapView: wiretype end group for non-group") + return fmt.Errorf("proto: TradingPair: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SwapView: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: TradingPair: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Visible", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Asset_1", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10237,15 +11726,16 @@ func (m *SwapView) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &SwapView_Visible{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.Asset_1 == nil { + m.Asset_1 = &v1alpha14.AssetId{} + } + if err := m.Asset_1.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.SwapView = &SwapView_Visible_{v} iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Opaque", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Asset_2", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10272,11 +11762,12 @@ func (m *SwapView) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &SwapView_Opaque{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.Asset_2 == nil { + m.Asset_2 = &v1alpha14.AssetId{} + } + if err := m.Asset_2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.SwapView = &SwapView_Opaque_{v} iNdEx = postIndex default: iNdEx = preIndex @@ -10299,7 +11790,7 @@ func (m *SwapView) Unmarshal(dAtA []byte) error { } return nil } -func (m *SwapView_Visible) Unmarshal(dAtA []byte) error { +func (m *DirectedTradingPair) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10322,15 +11813,15 @@ func (m *SwapView_Visible) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Visible: wiretype end group for non-group") + return fmt.Errorf("proto: DirectedTradingPair: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Visible: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DirectedTradingPair: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Swap", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Start", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10357,16 +11848,16 @@ func (m *SwapView_Visible) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Swap == nil { - m.Swap = &Swap{} + if m.Start == nil { + m.Start = &v1alpha14.AssetId{} } - if err := m.Swap.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Start.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 3: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SwapPlaintext", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field End", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10393,10 +11884,10 @@ func (m *SwapView_Visible) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.SwapPlaintext == nil { - m.SwapPlaintext = &SwapPlaintext{} + if m.End == nil { + m.End = &v1alpha14.AssetId{} } - if err := m.SwapPlaintext.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.End.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -10421,7 +11912,7 @@ func (m *SwapView_Visible) Unmarshal(dAtA []byte) error { } return nil } -func (m *SwapView_Opaque) Unmarshal(dAtA []byte) error { +func (m *BatchSwapOutputData) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10444,15 +11935,15 @@ func (m *SwapView_Opaque) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Opaque: wiretype end group for non-group") + return fmt.Errorf("proto: BatchSwapOutputData: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Opaque: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: BatchSwapOutputData: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Swap", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Delta_1", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10479,66 +11970,52 @@ func (m *SwapView_Opaque) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Swap == nil { - m.Swap = &Swap{} + if m.Delta_1 == nil { + m.Delta_1 = &v1alpha13.Amount{} } - if err := m.Swap.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Delta_1.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipDex(dAtA[iNdEx:]) - if err != nil { - return err + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Delta_2", wireType) } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthDex + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF + if msglen < 0 { + return ErrInvalidLengthDex } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SwapClaimView) 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 ErrIntOverflowDex + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + if m.Delta_2 == nil { + m.Delta_2 = &v1alpha13.Amount{} } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SwapClaimView: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SwapClaimView: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + if err := m.Delta_2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Visible", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Lambda_1", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10565,15 +12042,16 @@ func (m *SwapClaimView) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &SwapClaimView_Visible{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.Lambda_1 == nil { + m.Lambda_1 = &v1alpha13.Amount{} + } + if err := m.Lambda_1.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.SwapClaimView = &SwapClaimView_Visible_{v} iNdEx = postIndex - case 2: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Opaque", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Lambda_2", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10600,65 +12078,52 @@ func (m *SwapClaimView) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &SwapClaimView_Opaque{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.Lambda_2 == nil { + m.Lambda_2 = &v1alpha13.Amount{} + } + if err := m.Lambda_2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.SwapClaimView = &SwapClaimView_Opaque_{v} iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipDex(dAtA[iNdEx:]) - if err != nil { - return err + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Unfilled_1", wireType) } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthDex + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF + if msglen < 0 { + return ErrInvalidLengthDex } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SwapClaimView_Visible) 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 ErrIntOverflowDex + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + if m.Unfilled_1 == nil { + m.Unfilled_1 = &v1alpha13.Amount{} } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Visible: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Visible: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + if err := m.Unfilled_1.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SwapClaim", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Unfilled_2", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10685,16 +12150,35 @@ func (m *SwapClaimView_Visible) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.SwapClaim == nil { - m.SwapClaim = &SwapClaim{} + if m.Unfilled_2 == nil { + m.Unfilled_2 = &v1alpha13.Amount{} } - if err := m.SwapClaim.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Unfilled_2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 2: + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType) + } + m.Height = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Height |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Output_1", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TradingPair", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10721,18 +12205,18 @@ func (m *SwapClaimView_Visible) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Output_1 == nil { - m.Output_1 = &v1alpha16.NoteView{} + if m.TradingPair == nil { + m.TradingPair = &TradingPair{} } - if err := m.Output_1.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.TradingPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Output_2", wireType) + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EpochStartingHeight", wireType) } - var msglen int + m.EpochStartingHeight = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -10742,28 +12226,11 @@ func (m *SwapClaimView_Visible) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.EpochStartingHeight |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthDex - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDex - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Output_2 == nil { - m.Output_2 = &v1alpha16.NoteView{} - } - if err := m.Output_2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -10785,7 +12252,7 @@ func (m *SwapClaimView_Visible) Unmarshal(dAtA []byte) error { } return nil } -func (m *SwapClaimView_Opaque) Unmarshal(dAtA []byte) error { +func (m *TradingFunction) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10808,15 +12275,15 @@ func (m *SwapClaimView_Opaque) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Opaque: wiretype end group for non-group") + return fmt.Errorf("proto: TradingFunction: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Opaque: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: TradingFunction: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SwapClaim", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Component", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10843,10 +12310,46 @@ func (m *SwapClaimView_Opaque) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.SwapClaim == nil { - m.SwapClaim = &SwapClaim{} + if m.Component == nil { + m.Component = &BareTradingFunction{} } - if err := m.SwapClaim.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Component.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pair", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDex + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Pair == nil { + m.Pair = &TradingPair{} + } + if err := m.Pair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -10871,7 +12374,7 @@ func (m *SwapClaimView_Opaque) Unmarshal(dAtA []byte) error { } return nil } -func (m *TradingPair) Unmarshal(dAtA []byte) error { +func (m *BareTradingFunction) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10894,15 +12397,34 @@ func (m *TradingPair) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: TradingPair: wiretype end group for non-group") + return fmt.Errorf("proto: BareTradingFunction: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: TradingPair: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: BareTradingFunction: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Fee", wireType) + } + m.Fee = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Fee |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Asset_1", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field P", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10929,16 +12451,16 @@ func (m *TradingPair) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Asset_1 == nil { - m.Asset_1 = &v1alpha14.AssetId{} + if m.P == nil { + m.P = &v1alpha13.Amount{} } - if err := m.Asset_1.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.P.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 2: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Asset_2", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Q", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10965,10 +12487,10 @@ func (m *TradingPair) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Asset_2 == nil { - m.Asset_2 = &v1alpha14.AssetId{} + if m.Q == nil { + m.Q = &v1alpha13.Amount{} } - if err := m.Asset_2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Q.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -10993,7 +12515,7 @@ func (m *TradingPair) Unmarshal(dAtA []byte) error { } return nil } -func (m *DirectedTradingPair) Unmarshal(dAtA []byte) error { +func (m *Reserves) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11016,15 +12538,15 @@ func (m *DirectedTradingPair) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DirectedTradingPair: wiretype end group for non-group") + return fmt.Errorf("proto: Reserves: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DirectedTradingPair: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Reserves: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Start", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field R1", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11051,16 +12573,16 @@ func (m *DirectedTradingPair) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Start == nil { - m.Start = &v1alpha14.AssetId{} + if m.R1 == nil { + m.R1 = &v1alpha13.Amount{} } - if err := m.Start.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.R1.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field End", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field R2", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11087,10 +12609,10 @@ func (m *DirectedTradingPair) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.End == nil { - m.End = &v1alpha14.AssetId{} + if m.R2 == nil { + m.R2 = &v1alpha13.Amount{} } - if err := m.End.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.R2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -11115,7 +12637,7 @@ func (m *DirectedTradingPair) Unmarshal(dAtA []byte) error { } return nil } -func (m *BatchSwapOutputData) Unmarshal(dAtA []byte) error { +func (m *Position) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11138,15 +12660,15 @@ func (m *BatchSwapOutputData) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: BatchSwapOutputData: wiretype end group for non-group") + return fmt.Errorf("proto: Position: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: BatchSwapOutputData: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Position: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Delta_1", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Phi", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11173,18 +12695,18 @@ func (m *BatchSwapOutputData) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Delta_1 == nil { - m.Delta_1 = &v1alpha13.Amount{} + if m.Phi == nil { + m.Phi = &TradingFunction{} } - if err := m.Delta_1.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Phi.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Delta_2", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) } - var msglen int + var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -11194,31 +12716,29 @@ func (m *BatchSwapOutputData) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + if byteLen < 0 { return ErrInvalidLengthDex } - postIndex := iNdEx + msglen + postIndex := iNdEx + byteLen if postIndex < 0 { return ErrInvalidLengthDex } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Delta_2 == nil { - m.Delta_2 = &v1alpha13.Amount{} - } - if err := m.Delta_2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + m.Nonce = append(m.Nonce[:0], dAtA[iNdEx:postIndex]...) + if m.Nonce == nil { + m.Nonce = []byte{} } iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Lambda_1", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11245,16 +12765,16 @@ func (m *BatchSwapOutputData) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Lambda_1 == nil { - m.Lambda_1 = &v1alpha13.Amount{} + if m.State == nil { + m.State = &PositionState{} } - if err := m.Lambda_1.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.State.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Lambda_2", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Reserves", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11281,18 +12801,88 @@ func (m *BatchSwapOutputData) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Lambda_2 == nil { - m.Lambda_2 = &v1alpha13.Amount{} + if m.Reserves == nil { + m.Reserves = &Reserves{} } - if err := m.Lambda_2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Reserves.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CloseOnFill", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.CloseOnFill = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipDex(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDex + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PositionId) 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 ErrIntOverflowDex + } + 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: PositionId: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PositionId: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Unfilled_1", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Inner", wireType) } - var msglen int + var byteLen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -11302,33 +12892,31 @@ func (m *BatchSwapOutputData) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + if byteLen < 0 { return ErrInvalidLengthDex } - postIndex := iNdEx + msglen + postIndex := iNdEx + byteLen if postIndex < 0 { return ErrInvalidLengthDex } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Unfilled_1 == nil { - m.Unfilled_1 = &v1alpha13.Amount{} - } - if err := m.Unfilled_1.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + m.Inner = append(m.Inner[:0], dAtA[iNdEx:postIndex]...) + if m.Inner == nil { + m.Inner = []byte{} } iNdEx = postIndex - case 6: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Unfilled_2", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AltBech32M", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -11338,33 +12926,79 @@ func (m *BatchSwapOutputData) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthDex } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthDex } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Unfilled_2 == nil { - m.Unfilled_2 = &v1alpha13.Amount{} - } - if err := m.Unfilled_2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.AltBech32M = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipDex(dAtA[iNdEx:]) + if err != nil { return err } - iNdEx = postIndex - case 7: + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDex + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PositionState) 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 ErrIntOverflowDex + } + 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: PositionState: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PositionState: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) } - m.Height = 0 + m.State = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -11374,14 +13008,64 @@ func (m *BatchSwapOutputData) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Height |= uint64(b&0x7F) << shift + m.State |= PositionState_PositionStateEnum(b&0x7F) << shift if b < 0x80 { break } } - case 8: + default: + iNdEx = preIndex + skippy, err := skipDex(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDex + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *LpNft) 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 ErrIntOverflowDex + } + 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: LpNft: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: LpNft: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TradingPair", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PositionId", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11408,18 +13092,18 @@ func (m *BatchSwapOutputData) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.TradingPair == nil { - m.TradingPair = &TradingPair{} + if m.PositionId == nil { + m.PositionId = &PositionId{} } - if err := m.TradingPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.PositionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 9: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field EpochStartingHeight", wireType) + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) } - m.EpochStartingHeight = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -11429,11 +13113,28 @@ func (m *BatchSwapOutputData) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.EpochStartingHeight |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } + if msglen < 0 { + return ErrInvalidLengthDex + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.State == nil { + m.State = &PositionState{} + } + if err := m.State.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -11455,7 +13156,7 @@ func (m *BatchSwapOutputData) Unmarshal(dAtA []byte) error { } return nil } -func (m *TradingFunction) Unmarshal(dAtA []byte) error { +func (m *PositionOpen) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11478,15 +13179,15 @@ func (m *TradingFunction) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: TradingFunction: wiretype end group for non-group") + return fmt.Errorf("proto: PositionOpen: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: TradingFunction: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: PositionOpen: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Component", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11513,16 +13214,66 @@ func (m *TradingFunction) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Component == nil { - m.Component = &BareTradingFunction{} + if m.Position == nil { + m.Position = &Position{} } - if err := m.Component.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Position.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 2: + default: + iNdEx = preIndex + skippy, err := skipDex(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDex + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PositionClose) 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 ErrIntOverflowDex + } + 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: PositionClose: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PositionClose: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pair", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PositionId", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11549,10 +13300,10 @@ func (m *TradingFunction) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Pair == nil { - m.Pair = &TradingPair{} + if m.PositionId == nil { + m.PositionId = &PositionId{} } - if err := m.Pair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.PositionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -11577,7 +13328,7 @@ func (m *TradingFunction) Unmarshal(dAtA []byte) error { } return nil } -func (m *BareTradingFunction) Unmarshal(dAtA []byte) error { +func (m *PositionWithdraw) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11600,34 +13351,15 @@ func (m *BareTradingFunction) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: BareTradingFunction: wiretype end group for non-group") + return fmt.Errorf("proto: PositionWithdraw: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: BareTradingFunction: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: PositionWithdraw: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Fee", wireType) - } - m.Fee = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowDex - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Fee |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field P", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PositionId", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11654,16 +13386,16 @@ func (m *BareTradingFunction) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.P == nil { - m.P = &v1alpha13.Amount{} + if m.PositionId == nil { + m.PositionId = &PositionId{} } - if err := m.P.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.PositionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 3: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Q", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ReservesCommitment", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11690,10 +13422,10 @@ func (m *BareTradingFunction) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Q == nil { - m.Q = &v1alpha13.Amount{} + if m.ReservesCommitment == nil { + m.ReservesCommitment = &v1alpha14.BalanceCommitment{} } - if err := m.Q.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.ReservesCommitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -11718,7 +13450,7 @@ func (m *BareTradingFunction) Unmarshal(dAtA []byte) error { } return nil } -func (m *Reserves) Unmarshal(dAtA []byte) error { +func (m *PositionRewardClaim) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11741,15 +13473,15 @@ func (m *Reserves) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Reserves: wiretype end group for non-group") + return fmt.Errorf("proto: PositionRewardClaim: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Reserves: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: PositionRewardClaim: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field R1", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PositionId", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11776,16 +13508,16 @@ func (m *Reserves) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.R1 == nil { - m.R1 = &v1alpha13.Amount{} + if m.PositionId == nil { + m.PositionId = &PositionId{} } - if err := m.R1.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.PositionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field R2", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RewardsCommitment", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11812,10 +13544,10 @@ func (m *Reserves) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.R2 == nil { - m.R2 = &v1alpha13.Amount{} + if m.RewardsCommitment == nil { + m.RewardsCommitment = &v1alpha14.BalanceCommitment{} } - if err := m.R2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.RewardsCommitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -11840,7 +13572,7 @@ func (m *Reserves) Unmarshal(dAtA []byte) error { } return nil } -func (m *Position) Unmarshal(dAtA []byte) error { +func (m *SwapExecution) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11863,15 +13595,15 @@ func (m *Position) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Position: wiretype end group for non-group") + return fmt.Errorf("proto: SwapExecution: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Position: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SwapExecution: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Phi", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Traces", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11898,18 +13630,16 @@ func (m *Position) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Phi == nil { - m.Phi = &TradingFunction{} - } - if err := m.Phi.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.Traces = append(m.Traces, &SwapExecution_Trace{}) + if err := m.Traces[len(m.Traces)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Input", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -11919,29 +13649,31 @@ func (m *Position) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + if msglen < 0 { return ErrInvalidLengthDex } - postIndex := iNdEx + byteLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthDex } if postIndex > l { return io.ErrUnexpectedEOF } - m.Nonce = append(m.Nonce[:0], dAtA[iNdEx:postIndex]...) - if m.Nonce == nil { - m.Nonce = []byte{} + if m.Input == nil { + m.Input = &v1alpha14.Value{} + } + if err := m.Input.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Output", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11968,16 +13700,66 @@ func (m *Position) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.State == nil { - m.State = &PositionState{} + if m.Output == nil { + m.Output = &v1alpha14.Value{} } - if err := m.State.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Output.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 4: + default: + iNdEx = preIndex + skippy, err := skipDex(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDex + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SwapExecution_Trace) 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 ErrIntOverflowDex + } + 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: Trace: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Trace: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reserves", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12004,33 +13786,11 @@ func (m *Position) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Reserves == nil { - m.Reserves = &Reserves{} - } - if err := m.Reserves.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.Value = append(m.Value, &v1alpha14.Value{}) + if err := m.Value[len(m.Value)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CloseOnFill", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowDex - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.CloseOnFill = bool(v != 0) default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -12052,7 +13812,7 @@ func (m *Position) Unmarshal(dAtA []byte) error { } return nil } -func (m *PositionId) Unmarshal(dAtA []byte) error { +func (m *PositionWithdrawPlan) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12075,17 +13835,17 @@ func (m *PositionId) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: PositionId: wiretype end group for non-group") + return fmt.Errorf("proto: PositionWithdrawPlan: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: PositionId: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: PositionWithdrawPlan: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Inner", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Reserves", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -12095,31 +13855,33 @@ func (m *PositionId) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + if msglen < 0 { return ErrInvalidLengthDex } - postIndex := iNdEx + byteLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthDex } if postIndex > l { return io.ErrUnexpectedEOF } - m.Inner = append(m.Inner[:0], dAtA[iNdEx:postIndex]...) - if m.Inner == nil { - m.Inner = []byte{} + if m.Reserves == nil { + m.Reserves = &Reserves{} + } + if err := m.Reserves.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AltBech32M", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PositionId", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -12129,23 +13891,63 @@ func (m *PositionId) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthDex } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.PositionId == nil { + m.PositionId = &PositionId{} + } + if err := m.PositionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pair", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDex + } + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthDex } if postIndex > l { return io.ErrUnexpectedEOF } - m.AltBech32M = string(dAtA[iNdEx:postIndex]) + if m.Pair == nil { + m.Pair = &TradingPair{} + } + if err := m.Pair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -12168,7 +13970,7 @@ func (m *PositionId) Unmarshal(dAtA []byte) error { } return nil } -func (m *PositionState) Unmarshal(dAtA []byte) error { +func (m *PositionRewardClaimPlan) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12191,17 +13993,17 @@ func (m *PositionState) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: PositionState: wiretype end group for non-group") + return fmt.Errorf("proto: PositionRewardClaimPlan: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: PositionState: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: PositionRewardClaimPlan: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Reserves", wireType) } - m.State = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -12211,11 +14013,28 @@ func (m *PositionState) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.State |= PositionState_PositionStateEnum(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } + if msglen < 0 { + return ErrInvalidLengthDex + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Reserves == nil { + m.Reserves = &Reserves{} + } + if err := m.Reserves.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -12237,7 +14056,7 @@ func (m *PositionState) Unmarshal(dAtA []byte) error { } return nil } -func (m *LpNft) Unmarshal(dAtA []byte) error { +func (m *BatchSwapOutputDataRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12260,17 +14079,17 @@ func (m *LpNft) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: LpNft: wiretype end group for non-group") + return fmt.Errorf("proto: BatchSwapOutputDataRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: LpNft: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: BatchSwapOutputDataRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PositionId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -12280,33 +14099,29 @@ func (m *LpNft) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthDex } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthDex } if postIndex > l { return io.ErrUnexpectedEOF } - if m.PositionId == nil { - m.PositionId = &PositionId{} - } - if err := m.PositionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.ChainId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType) } - var msglen int + m.Height = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -12316,81 +14131,14 @@ func (m *LpNft) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.Height |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthDex - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDex - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.State == nil { - m.State = &PositionState{} - } - if err := m.State.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipDex(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthDex - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *PositionOpen) 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 ErrIntOverflowDex - } - 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: PositionOpen: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: PositionOpen: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TradingPair", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12417,10 +14165,10 @@ func (m *PositionOpen) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Position == nil { - m.Position = &Position{} + if m.TradingPair == nil { + m.TradingPair = &TradingPair{} } - if err := m.Position.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.TradingPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -12445,7 +14193,7 @@ func (m *PositionOpen) Unmarshal(dAtA []byte) error { } return nil } -func (m *PositionClose) Unmarshal(dAtA []byte) error { +func (m *BatchSwapOutputDataResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12468,15 +14216,15 @@ func (m *PositionClose) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: PositionClose: wiretype end group for non-group") + return fmt.Errorf("proto: BatchSwapOutputDataResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: PositionClose: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: BatchSwapOutputDataResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PositionId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12503,10 +14251,10 @@ func (m *PositionClose) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.PositionId == nil { - m.PositionId = &PositionId{} + if m.Data == nil { + m.Data = &BatchSwapOutputData{} } - if err := m.PositionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -12531,7 +14279,7 @@ func (m *PositionClose) Unmarshal(dAtA []byte) error { } return nil } -func (m *PositionWithdraw) Unmarshal(dAtA []byte) error { +func (m *SwapExecutionRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12554,17 +14302,17 @@ func (m *PositionWithdraw) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: PositionWithdraw: wiretype end group for non-group") + return fmt.Errorf("proto: SwapExecutionRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: PositionWithdraw: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SwapExecutionRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PositionId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -12574,31 +14322,46 @@ func (m *PositionWithdraw) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthDex } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthDex } if postIndex > l { return io.ErrUnexpectedEOF } - if m.PositionId == nil { - m.PositionId = &PositionId{} - } - if err := m.PositionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.ChainId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType) + } + m.Height = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Height |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ReservesCommitment", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TradingPair", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12625,10 +14388,10 @@ func (m *PositionWithdraw) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.ReservesCommitment == nil { - m.ReservesCommitment = &v1alpha14.BalanceCommitment{} + if m.TradingPair == nil { + m.TradingPair = &DirectedTradingPair{} } - if err := m.ReservesCommitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.TradingPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -12653,7 +14416,7 @@ func (m *PositionWithdraw) Unmarshal(dAtA []byte) error { } return nil } -func (m *PositionRewardClaim) Unmarshal(dAtA []byte) error { +func (m *SwapExecutionResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12676,51 +14439,15 @@ func (m *PositionRewardClaim) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: PositionRewardClaim: wiretype end group for non-group") + return fmt.Errorf("proto: SwapExecutionResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: PositionRewardClaim: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SwapExecutionResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PositionId", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowDex - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthDex - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDex - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.PositionId == nil { - m.PositionId = &PositionId{} - } - if err := m.PositionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RewardsCommitment", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SwapExecution", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12747,10 +14474,10 @@ func (m *PositionRewardClaim) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.RewardsCommitment == nil { - m.RewardsCommitment = &v1alpha14.BalanceCommitment{} + if m.SwapExecution == nil { + m.SwapExecution = &SwapExecution{} } - if err := m.RewardsCommitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.SwapExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -12775,7 +14502,7 @@ func (m *PositionRewardClaim) Unmarshal(dAtA []byte) error { } return nil } -func (m *SwapExecution) Unmarshal(dAtA []byte) error { +func (m *ArbExecutionRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12798,17 +14525,17 @@ func (m *SwapExecution) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SwapExecution: wiretype end group for non-group") + return fmt.Errorf("proto: ArbExecutionRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SwapExecution: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ArbExecutionRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Traces", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -12818,67 +14545,29 @@ func (m *SwapExecution) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthDex } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthDex } if postIndex > l { return io.ErrUnexpectedEOF } - m.Traces = append(m.Traces, &SwapExecution_Trace{}) - if err := m.Traces[len(m.Traces)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.ChainId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Input", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowDex - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthDex - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDex - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Input == nil { - m.Input = &v1alpha14.Value{} - } - if err := m.Input.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Output", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType) } - var msglen int + m.Height = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -12888,28 +14577,11 @@ func (m *SwapExecution) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.Height |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthDex - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDex - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Output == nil { - m.Output = &v1alpha14.Value{} - } - if err := m.Output.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -12931,7 +14603,7 @@ func (m *SwapExecution) Unmarshal(dAtA []byte) error { } return nil } -func (m *SwapExecution_Trace) Unmarshal(dAtA []byte) error { +func (m *ArbExecutionResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12954,15 +14626,15 @@ func (m *SwapExecution_Trace) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Trace: wiretype end group for non-group") + return fmt.Errorf("proto: ArbExecutionResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Trace: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ArbExecutionResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SwapExecution", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12989,11 +14661,32 @@ func (m *SwapExecution_Trace) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Value = append(m.Value, &v1alpha14.Value{}) - if err := m.Value[len(m.Value)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.SwapExecution == nil { + m.SwapExecution = &SwapExecution{} + } + if err := m.SwapExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType) + } + m.Height = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Height |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -13015,7 +14708,7 @@ func (m *SwapExecution_Trace) Unmarshal(dAtA []byte) error { } return nil } -func (m *PositionWithdrawPlan) Unmarshal(dAtA []byte) error { +func (m *SwapExecutionsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13038,17 +14731,17 @@ func (m *PositionWithdrawPlan) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: PositionWithdrawPlan: wiretype end group for non-group") + return fmt.Errorf("proto: SwapExecutionsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: PositionWithdrawPlan: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SwapExecutionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reserves", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -13058,33 +14751,29 @@ func (m *PositionWithdrawPlan) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthDex } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthDex } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Reserves == nil { - m.Reserves = &Reserves{} - } - if err := m.Reserves.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.ChainId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PositionId", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StartHeight", wireType) } - var msglen int + m.StartHeight = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -13094,31 +14783,33 @@ func (m *PositionWithdrawPlan) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.StartHeight |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthDex - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDex - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.PositionId == nil { - m.PositionId = &PositionId{} + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EndHeight", wireType) } - if err := m.PositionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + m.EndHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.EndHeight |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - iNdEx = postIndex - case 3: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pair", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TradingPair", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -13145,10 +14836,10 @@ func (m *PositionWithdrawPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Pair == nil { - m.Pair = &TradingPair{} + if m.TradingPair == nil { + m.TradingPair = &DirectedTradingPair{} } - if err := m.Pair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.TradingPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -13173,7 +14864,7 @@ func (m *PositionWithdrawPlan) Unmarshal(dAtA []byte) error { } return nil } -func (m *PositionRewardClaimPlan) Unmarshal(dAtA []byte) error { +func (m *SwapExecutionsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13196,15 +14887,70 @@ func (m *PositionRewardClaimPlan) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: PositionRewardClaimPlan: wiretype end group for non-group") + return fmt.Errorf("proto: SwapExecutionsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: PositionRewardClaimPlan: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SwapExecutionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reserves", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SwapExecution", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDex + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.SwapExecution == nil { + m.SwapExecution = &SwapExecution{} + } + if err := m.SwapExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType) + } + m.Height = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Height |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TradingPair", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -13231,10 +14977,10 @@ func (m *PositionRewardClaimPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Reserves == nil { - m.Reserves = &Reserves{} + if m.TradingPair == nil { + m.TradingPair = &DirectedTradingPair{} } - if err := m.Reserves.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.TradingPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -13259,7 +15005,7 @@ func (m *PositionRewardClaimPlan) Unmarshal(dAtA []byte) error { } return nil } -func (m *BatchSwapOutputDataRequest) Unmarshal(dAtA []byte) error { +func (m *ArbExecutionsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13282,10 +15028,10 @@ func (m *BatchSwapOutputDataRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: BatchSwapOutputDataRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ArbExecutionsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: BatchSwapOutputDataRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ArbExecutionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -13322,9 +15068,9 @@ func (m *BatchSwapOutputDataRequest) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field StartHeight", wireType) } - m.Height = 0 + m.StartHeight = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -13334,16 +15080,16 @@ func (m *BatchSwapOutputDataRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Height |= uint64(b&0x7F) << shift + m.StartHeight |= uint64(b&0x7F) << shift if b < 0x80 { break } } case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TradingPair", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EndHeight", wireType) } - var msglen int + m.EndHeight = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -13353,28 +15099,11 @@ func (m *BatchSwapOutputDataRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.EndHeight |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthDex - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDex - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.TradingPair == nil { - m.TradingPair = &TradingPair{} - } - if err := m.TradingPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -13396,7 +15125,7 @@ func (m *BatchSwapOutputDataRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *BatchSwapOutputDataResponse) Unmarshal(dAtA []byte) error { +func (m *ArbExecutionsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13419,15 +15148,15 @@ func (m *BatchSwapOutputDataResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: BatchSwapOutputDataResponse: wiretype end group for non-group") + return fmt.Errorf("proto: ArbExecutionsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: BatchSwapOutputDataResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ArbExecutionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SwapExecution", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -13454,13 +15183,32 @@ func (m *BatchSwapOutputDataResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Data == nil { - m.Data = &BatchSwapOutputData{} + if m.SwapExecution == nil { + m.SwapExecution = &SwapExecution{} } - if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.SwapExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType) + } + m.Height = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Height |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -13482,7 +15230,7 @@ func (m *BatchSwapOutputDataResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *SwapExecutionRequest) Unmarshal(dAtA []byte) error { +func (m *LiquidityPositionsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13505,10 +15253,10 @@ func (m *SwapExecutionRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SwapExecutionRequest: wiretype end group for non-group") + return fmt.Errorf("proto: LiquidityPositionsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SwapExecutionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: LiquidityPositionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -13543,30 +15291,11 @@ func (m *SwapExecutionRequest) Unmarshal(dAtA []byte) error { } m.ChainId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 4: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType) - } - m.Height = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowDex - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Height |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TradingPair", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field IncludeClosed", wireType) } - var msglen int + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -13576,28 +15305,12 @@ func (m *SwapExecutionRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthDex - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDex - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.TradingPair == nil { - m.TradingPair = &DirectedTradingPair{} - } - if err := m.TradingPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex + m.IncludeClosed = bool(v != 0) default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -13619,7 +15332,7 @@ func (m *SwapExecutionRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *SwapExecutionResponse) Unmarshal(dAtA []byte) error { +func (m *LiquidityPositionsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13642,15 +15355,15 @@ func (m *SwapExecutionResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SwapExecutionResponse: wiretype end group for non-group") + return fmt.Errorf("proto: LiquidityPositionsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SwapExecutionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: LiquidityPositionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SwapExecution", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -13677,10 +15390,10 @@ func (m *SwapExecutionResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.SwapExecution == nil { - m.SwapExecution = &SwapExecution{} + if m.Data == nil { + m.Data = &Position{} } - if err := m.SwapExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -13705,7 +15418,7 @@ func (m *SwapExecutionResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *ArbExecutionRequest) Unmarshal(dAtA []byte) error { +func (m *LiquidityPositionByIdRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13728,10 +15441,10 @@ func (m *ArbExecutionRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ArbExecutionRequest: wiretype end group for non-group") + return fmt.Errorf("proto: LiquidityPositionByIdRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ArbExecutionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: LiquidityPositionByIdRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -13767,10 +15480,10 @@ func (m *ArbExecutionRequest) Unmarshal(dAtA []byte) error { m.ChainId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PositionId", wireType) } - m.Height = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -13780,11 +15493,28 @@ func (m *ArbExecutionRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Height |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } + if msglen < 0 { + return ErrInvalidLengthDex + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.PositionId == nil { + m.PositionId = &PositionId{} + } + if err := m.PositionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -13806,7 +15536,7 @@ func (m *ArbExecutionRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *ArbExecutionResponse) Unmarshal(dAtA []byte) error { +func (m *LiquidityPositionByIdResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13829,15 +15559,15 @@ func (m *ArbExecutionResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ArbExecutionResponse: wiretype end group for non-group") + return fmt.Errorf("proto: LiquidityPositionByIdResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ArbExecutionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: LiquidityPositionByIdResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SwapExecution", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -13864,32 +15594,13 @@ func (m *ArbExecutionResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.SwapExecution == nil { - m.SwapExecution = &SwapExecution{} + if m.Data == nil { + m.Data = &Position{} } - if err := m.SwapExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType) - } - m.Height = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowDex - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Height |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -13911,7 +15622,7 @@ func (m *ArbExecutionResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *SwapExecutionsRequest) Unmarshal(dAtA []byte) error { +func (m *LiquidityPositionsByIdRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13934,10 +15645,10 @@ func (m *SwapExecutionsRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SwapExecutionsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: LiquidityPositionsByIdRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SwapExecutionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: LiquidityPositionsByIdRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -13973,46 +15684,8 @@ func (m *SwapExecutionsRequest) Unmarshal(dAtA []byte) error { m.ChainId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field StartHeight", wireType) - } - m.StartHeight = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowDex - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.StartHeight |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field EndHeight", wireType) - } - m.EndHeight = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowDex - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.EndHeight |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TradingPair", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PositionId", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -14036,13 +15709,11 @@ func (m *SwapExecutionsRequest) Unmarshal(dAtA []byte) error { if postIndex < 0 { return ErrInvalidLengthDex } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.TradingPair == nil { - m.TradingPair = &DirectedTradingPair{} + if postIndex > l { + return io.ErrUnexpectedEOF } - if err := m.TradingPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.PositionId = append(m.PositionId, &PositionId{}) + if err := m.PositionId[len(m.PositionId)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -14067,7 +15738,7 @@ func (m *SwapExecutionsRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *SwapExecutionsResponse) Unmarshal(dAtA []byte) error { +func (m *LiquidityPositionsByIdResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14090,70 +15761,15 @@ func (m *SwapExecutionsResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SwapExecutionsResponse: wiretype end group for non-group") + return fmt.Errorf("proto: LiquidityPositionsByIdResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SwapExecutionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: LiquidityPositionsByIdResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SwapExecution", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowDex - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthDex - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDex - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.SwapExecution == nil { - m.SwapExecution = &SwapExecution{} - } - if err := m.SwapExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType) - } - m.Height = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowDex - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Height |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TradingPair", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -14180,10 +15796,10 @@ func (m *SwapExecutionsResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.TradingPair == nil { - m.TradingPair = &DirectedTradingPair{} + if m.Data == nil { + m.Data = &Position{} } - if err := m.TradingPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -14208,7 +15824,7 @@ func (m *SwapExecutionsResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *ArbExecutionsRequest) Unmarshal(dAtA []byte) error { +func (m *LiquidityPositionsByPriceRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14231,10 +15847,10 @@ func (m *ArbExecutionsRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ArbExecutionsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: LiquidityPositionsByPriceRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ArbExecutionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: LiquidityPositionsByPriceRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -14270,10 +15886,10 @@ func (m *ArbExecutionsRequest) Unmarshal(dAtA []byte) error { m.ChainId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field StartHeight", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TradingPair", wireType) } - m.StartHeight = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -14283,16 +15899,33 @@ func (m *ArbExecutionsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.StartHeight |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - case 3: + if msglen < 0 { + return ErrInvalidLengthDex + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.TradingPair == nil { + m.TradingPair = &DirectedTradingPair{} + } + if err := m.TradingPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field EndHeight", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType) } - m.EndHeight = 0 + m.Limit = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -14302,7 +15935,7 @@ func (m *ArbExecutionsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.EndHeight |= uint64(b&0x7F) << shift + m.Limit |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14328,7 +15961,7 @@ func (m *ArbExecutionsRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *ArbExecutionsResponse) Unmarshal(dAtA []byte) error { +func (m *LiquidityPositionsByPriceResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14351,15 +15984,15 @@ func (m *ArbExecutionsResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ArbExecutionsResponse: wiretype end group for non-group") + return fmt.Errorf("proto: LiquidityPositionsByPriceResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ArbExecutionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: LiquidityPositionsByPriceResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SwapExecution", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -14386,32 +16019,13 @@ func (m *ArbExecutionsResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.SwapExecution == nil { - m.SwapExecution = &SwapExecution{} + if m.Data == nil { + m.Data = &Position{} } - if err := m.SwapExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType) - } - m.Height = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowDex - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Height |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -14433,7 +16047,7 @@ func (m *ArbExecutionsResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *LiquidityPositionsRequest) Unmarshal(dAtA []byte) error { +func (m *SpreadRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14456,10 +16070,10 @@ func (m *LiquidityPositionsRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: LiquidityPositionsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: SpreadRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: LiquidityPositionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SpreadRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -14494,11 +16108,11 @@ func (m *LiquidityPositionsRequest) Unmarshal(dAtA []byte) error { } m.ChainId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IncludeClosed", wireType) + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TradingPair", wireType) } - var v int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -14508,12 +16122,28 @@ func (m *LiquidityPositionsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - m.IncludeClosed = bool(v != 0) + if msglen < 0 { + return ErrInvalidLengthDex + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.TradingPair == nil { + m.TradingPair = &TradingPair{} + } + if err := m.TradingPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -14535,7 +16165,7 @@ func (m *LiquidityPositionsRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *LiquidityPositionsResponse) Unmarshal(dAtA []byte) error { +func (m *SpreadResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14558,15 +16188,15 @@ func (m *LiquidityPositionsResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: LiquidityPositionsResponse: wiretype end group for non-group") + return fmt.Errorf("proto: SpreadResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: LiquidityPositionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SpreadResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Best_1To_2Position", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -14593,13 +16223,71 @@ func (m *LiquidityPositionsResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Data == nil { - m.Data = &Position{} + if m.Best_1To_2Position == nil { + m.Best_1To_2Position = &Position{} } - if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Best_1To_2Position.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Best_2To_1Position", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDex + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Best_2To_1Position == nil { + m.Best_2To_1Position = &Position{} + } + if err := m.Best_2To_1Position.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex + case 3: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field ApproxEffectivePrice_1To_2", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.ApproxEffectivePrice_1To_2 = float64(math.Float64frombits(v)) + case 4: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field ApproxEffectivePrice_2To_1", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.ApproxEffectivePrice_2To_1 = float64(math.Float64frombits(v)) default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -14621,7 +16309,7 @@ func (m *LiquidityPositionsResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *LiquidityPositionByIdRequest) Unmarshal(dAtA []byte) error { +func (m *SimulateTradeRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14644,17 +16332,17 @@ func (m *LiquidityPositionByIdRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: LiquidityPositionByIdRequest: wiretype end group for non-group") + return fmt.Errorf("proto: SimulateTradeRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: LiquidityPositionByIdRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SimulateTradeRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Input", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -14664,27 +16352,31 @@ func (m *LiquidityPositionByIdRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthDex } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthDex } if postIndex > l { return io.ErrUnexpectedEOF } - m.ChainId = string(dAtA[iNdEx:postIndex]) + if m.Input == nil { + m.Input = &v1alpha14.Value{} + } + if err := m.Input.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PositionId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Output", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -14711,66 +16403,16 @@ func (m *LiquidityPositionByIdRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.PositionId == nil { - m.PositionId = &PositionId{} + if m.Output == nil { + m.Output = &v1alpha14.AssetId{} } - if err := m.PositionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Output.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipDex(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthDex - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *LiquidityPositionByIdResponse) 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 ErrIntOverflowDex - } - 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: LiquidityPositionByIdResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: LiquidityPositionByIdResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Routing", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -14797,10 +16439,10 @@ func (m *LiquidityPositionByIdResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Data == nil { - m.Data = &Position{} + if m.Routing == nil { + m.Routing = &SimulateTradeRequest_Routing{} } - if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Routing.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -14825,7 +16467,7 @@ func (m *LiquidityPositionByIdResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *LiquidityPositionsByIdRequest) Unmarshal(dAtA []byte) error { +func (m *SimulateTradeRequest_Routing) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14848,17 +16490,17 @@ func (m *LiquidityPositionsByIdRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: LiquidityPositionsByIdRequest: wiretype end group for non-group") + return fmt.Errorf("proto: Routing: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: LiquidityPositionsByIdRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Routing: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Default", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -14868,27 +16510,30 @@ func (m *LiquidityPositionsByIdRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthDex } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthDex } if postIndex > l { return io.ErrUnexpectedEOF } - m.ChainId = string(dAtA[iNdEx:postIndex]) + v := &SimulateTradeRequest_Routing_Default{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Setting = &SimulateTradeRequest_Routing_Default_{v} iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PositionId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SingleHop", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -14915,10 +16560,11 @@ func (m *LiquidityPositionsByIdRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PositionId = append(m.PositionId, &PositionId{}) - if err := m.PositionId[len(m.PositionId)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + v := &SimulateTradeRequest_Routing_SingleHop{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } + m.Setting = &SimulateTradeRequest_Routing_SingleHop_{v} iNdEx = postIndex default: iNdEx = preIndex @@ -14941,7 +16587,7 @@ func (m *LiquidityPositionsByIdRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *LiquidityPositionsByIdResponse) Unmarshal(dAtA []byte) error { +func (m *SimulateTradeRequest_Routing_SingleHop) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14964,48 +16610,12 @@ func (m *LiquidityPositionsByIdResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: LiquidityPositionsByIdResponse: wiretype end group for non-group") + return fmt.Errorf("proto: SingleHop: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: LiquidityPositionsByIdResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SingleHop: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowDex - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthDex - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDex - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Data == nil { - m.Data = &Position{} - } - if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -15027,7 +16637,7 @@ func (m *LiquidityPositionsByIdResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *LiquidityPositionsByPriceRequest) Unmarshal(dAtA []byte) error { +func (m *SimulateTradeRequest_Routing_Default) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15050,99 +16660,12 @@ func (m *LiquidityPositionsByPriceRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: LiquidityPositionsByPriceRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: LiquidityPositionsByPriceRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowDex - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthDex - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthDex - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ChainId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TradingPair", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowDex - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthDex - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDex - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.TradingPair == nil { - m.TradingPair = &DirectedTradingPair{} - } - if err := m.TradingPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType) - } - m.Limit = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowDex - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Limit |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } + return fmt.Errorf("proto: Default: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Default: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -15164,7 +16687,7 @@ func (m *LiquidityPositionsByPriceRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *LiquidityPositionsByPriceResponse) Unmarshal(dAtA []byte) error { +func (m *SimulateTradeResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15187,15 +16710,15 @@ func (m *LiquidityPositionsByPriceResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: LiquidityPositionsByPriceResponse: wiretype end group for non-group") + return fmt.Errorf("proto: SimulateTradeResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: LiquidityPositionsByPriceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SimulateTradeResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Output", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -15222,10 +16745,10 @@ func (m *LiquidityPositionsByPriceResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Data == nil { - m.Data = &Position{} + if m.Output == nil { + m.Output = &SwapExecution{} } - if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Output.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -15250,7 +16773,7 @@ func (m *LiquidityPositionsByPriceResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *SpreadRequest) Unmarshal(dAtA []byte) error { +func (m *EventSwap) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15273,17 +16796,17 @@ func (m *SpreadRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SpreadRequest: wiretype end group for non-group") + return fmt.Errorf("proto: EventSwap: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SpreadRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventSwap: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TradingPair", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -15293,27 +16816,31 @@ func (m *SpreadRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthDex } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthDex } if postIndex > l { return io.ErrUnexpectedEOF } - m.ChainId = string(dAtA[iNdEx:postIndex]) + if m.TradingPair == nil { + m.TradingPair = &TradingPair{} + } + if err := m.TradingPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TradingPair", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Delta_1I", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -15340,10 +16867,82 @@ func (m *SpreadRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.TradingPair == nil { - m.TradingPair = &TradingPair{} + if m.Delta_1I == nil { + m.Delta_1I = &v1alpha13.Amount{} } - if err := m.TradingPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Delta_1I.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Delta_2I", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDex + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Delta_2I == nil { + m.Delta_2I = &v1alpha13.Amount{} + } + if err := m.Delta_2I.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SwapCommitment", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDex + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.SwapCommitment == nil { + m.SwapCommitment = &v1alpha12.StateCommitment{} + } + if err := m.SwapCommitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -15368,7 +16967,7 @@ func (m *SpreadRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *SpreadResponse) Unmarshal(dAtA []byte) error { +func (m *EventSwapClaim) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15391,15 +16990,15 @@ func (m *SpreadResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SpreadResponse: wiretype end group for non-group") + return fmt.Errorf("proto: EventSwapClaim: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SpreadResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventSwapClaim: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Best_1To_2Position", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TradingPair", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -15426,16 +17025,16 @@ func (m *SpreadResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Best_1To_2Position == nil { - m.Best_1To_2Position = &Position{} + if m.TradingPair == nil { + m.TradingPair = &TradingPair{} } - if err := m.Best_1To_2Position.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.TradingPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Best_2To_1Position", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Output_1Commitment", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -15462,35 +17061,85 @@ func (m *SpreadResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Best_2To_1Position == nil { - m.Best_2To_1Position = &Position{} + if m.Output_1Commitment == nil { + m.Output_1Commitment = &v1alpha12.StateCommitment{} } - if err := m.Best_2To_1Position.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Output_1Commitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 3: - if wireType != 1 { - return fmt.Errorf("proto: wrong wireType = %d for field ApproxEffectivePrice_1To_2", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Output_2Commitment", wireType) } - var v uint64 - if (iNdEx + 8) > l { + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDex + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { return io.ErrUnexpectedEOF } - v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) - iNdEx += 8 - m.ApproxEffectivePrice_1To_2 = float64(math.Float64frombits(v)) + if m.Output_2Commitment == nil { + m.Output_2Commitment = &v1alpha12.StateCommitment{} + } + if err := m.Output_2Commitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex case 4: - if wireType != 1 { - return fmt.Errorf("proto: wrong wireType = %d for field ApproxEffectivePrice_2To_1", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Nullifier", wireType) } - var v uint64 - if (iNdEx + 8) > l { + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDex + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { return io.ErrUnexpectedEOF } - v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) - iNdEx += 8 - m.ApproxEffectivePrice_2To_1 = float64(math.Float64frombits(v)) + if m.Nullifier == nil { + m.Nullifier = &v1alpha1.Nullifier{} + } + if err := m.Nullifier.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -15512,7 +17161,7 @@ func (m *SpreadResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *SimulateTradeRequest) Unmarshal(dAtA []byte) error { +func (m *EventPositionOpen) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15535,15 +17184,15 @@ func (m *SimulateTradeRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SimulateTradeRequest: wiretype end group for non-group") + return fmt.Errorf("proto: EventPositionOpen: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SimulateTradeRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventPositionOpen: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Input", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PositionId", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -15570,16 +17219,52 @@ func (m *SimulateTradeRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Input == nil { - m.Input = &v1alpha14.Value{} + if m.PositionId == nil { + m.PositionId = &PositionId{} + } + if err := m.PositionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TradingPair", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDex + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.TradingPair == nil { + m.TradingPair = &TradingPair{} } - if err := m.Input.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.TradingPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 2: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Output", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Reserves_1", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -15606,16 +17291,16 @@ func (m *SimulateTradeRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Output == nil { - m.Output = &v1alpha14.AssetId{} + if m.Reserves_1 == nil { + m.Reserves_1 = &v1alpha13.Amount{} } - if err := m.Output.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Reserves_1.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 3: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Routing", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Reserves_2", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -15642,13 +17327,32 @@ func (m *SimulateTradeRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Routing == nil { - m.Routing = &SimulateTradeRequest_Routing{} + if m.Reserves_2 == nil { + m.Reserves_2 = &v1alpha13.Amount{} } - if err := m.Routing.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Reserves_2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TradingFee", wireType) + } + m.TradingFee = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TradingFee |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -15670,7 +17374,7 @@ func (m *SimulateTradeRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *SimulateTradeRequest_Routing) Unmarshal(dAtA []byte) error { +func (m *EventPositionClose) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15693,15 +17397,15 @@ func (m *SimulateTradeRequest_Routing) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Routing: wiretype end group for non-group") + return fmt.Errorf("proto: EventPositionClose: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Routing: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventPositionClose: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Default", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PositionId", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -15728,46 +17432,12 @@ func (m *SimulateTradeRequest_Routing) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &SimulateTradeRequest_Routing_Default{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Setting = &SimulateTradeRequest_Routing_Default_{v} - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SingleHop", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowDex - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthDex - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDex - } - if postIndex > l { - return io.ErrUnexpectedEOF + if m.PositionId == nil { + m.PositionId = &PositionId{} } - v := &SimulateTradeRequest_Routing_SingleHop{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.PositionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.Setting = &SimulateTradeRequest_Routing_SingleHop_{v} iNdEx = postIndex default: iNdEx = preIndex @@ -15790,7 +17460,7 @@ func (m *SimulateTradeRequest_Routing) Unmarshal(dAtA []byte) error { } return nil } -func (m *SimulateTradeRequest_Routing_SingleHop) Unmarshal(dAtA []byte) error { +func (m *EventPositionWithdraw) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15813,115 +17483,123 @@ func (m *SimulateTradeRequest_Routing_SingleHop) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SingleHop: wiretype end group for non-group") + return fmt.Errorf("proto: EventPositionWithdraw: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SingleHop: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventPositionWithdraw: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipDex(dAtA[iNdEx:]) - if err != nil { - return err + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PositionId", wireType) } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthDex + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF + if msglen < 0 { + return ErrInvalidLengthDex } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SimulateTradeRequest_Routing_Default) 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 ErrIntOverflowDex + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + if m.PositionId == nil { + m.PositionId = &PositionId{} } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Default: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Default: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipDex(dAtA[iNdEx:]) - if err != nil { + if err := m.PositionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - if (skippy < 0) || (iNdEx+skippy) < 0 { + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TradingPair", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { return ErrInvalidLengthDex } - if (iNdEx + skippy) > l { + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { return io.ErrUnexpectedEOF } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SimulateTradeResponse) 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 ErrIntOverflowDex + if m.TradingPair == nil { + m.TradingPair = &TradingPair{} } - if iNdEx >= l { + if err := m.TradingPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Reserves_1", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDex + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + if m.Reserves_1 == nil { + m.Reserves_1 = &v1alpha13.Amount{} } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SimulateTradeResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SimulateTradeResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + if err := m.Reserves_1.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Output", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Reserves_2", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -15948,10 +17626,10 @@ func (m *SimulateTradeResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Output == nil { - m.Output = &SwapExecution{} + if m.Reserves_2 == nil { + m.Reserves_2 = &v1alpha13.Amount{} } - if err := m.Output.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Reserves_2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex diff --git a/relayer/chains/penumbra/core/component/governance/v1alpha1/governance.pb.go b/relayer/chains/penumbra/core/component/governance/v1alpha1/governance.pb.go index 273480d9b..30ca2ad7d 100644 --- a/relayer/chains/penumbra/core/component/governance/v1alpha1/governance.pb.go +++ b/relayer/chains/penumbra/core/component/governance/v1alpha1/governance.pb.go @@ -10,13 +10,14 @@ import ( grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" v1alpha13 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/asset/v1alpha1" - v1alpha16 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/chain/v1alpha1" - v1alpha17 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/dao/v1alpha1" - v1alpha110 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/distributions/v1alpha1" - v1alpha19 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/fee/v1alpha1" - v1alpha18 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/ibc/v1alpha1" - v1alpha14 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/shielded_pool/v1alpha1" - v1alpha15 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/stake/v1alpha1" + v1alpha17 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/chain/v1alpha1" + v1alpha18 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/community_pool/v1alpha1" + v1alpha111 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/distributions/v1alpha1" + v1alpha110 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/fee/v1alpha1" + v1alpha19 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/ibc/v1alpha1" + v1alpha14 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/sct/v1alpha1" + v1alpha15 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/shielded_pool/v1alpha1" + v1alpha16 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/stake/v1alpha1" v1alpha12 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/keys/v1alpha1" v1alpha1 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/num/v1alpha1" v1alpha11 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/crypto/decaf377_rdsa/v1alpha1" @@ -541,9 +542,9 @@ type DelegatorVoteBody struct { // The amount of the delegation note, in unbonded penumbra. UnbondedAmount *v1alpha1.Amount `protobuf:"bytes,5,opt,name=unbonded_amount,json=unbondedAmount,proto3" json:"unbonded_amount,omitempty"` // The nullifier of the input note. - Nullifier []byte `protobuf:"bytes,6,opt,name=nullifier,proto3" json:"nullifier,omitempty"` + Nullifier *v1alpha14.Nullifier `protobuf:"bytes,6,opt,name=nullifier,proto3" json:"nullifier,omitempty"` // The randomized validating key for the spend authorization signature. - Rk []byte `protobuf:"bytes,7,opt,name=rk,proto3" json:"rk,omitempty"` + Rk *v1alpha11.SpendVerificationKey `protobuf:"bytes,7,opt,name=rk,proto3" json:"rk,omitempty"` } func (m *DelegatorVoteBody) Reset() { *m = DelegatorVoteBody{} } @@ -614,14 +615,14 @@ func (m *DelegatorVoteBody) GetUnbondedAmount() *v1alpha1.Amount { return nil } -func (m *DelegatorVoteBody) GetNullifier() []byte { +func (m *DelegatorVoteBody) GetNullifier() *v1alpha14.Nullifier { if m != nil { return m.Nullifier } return nil } -func (m *DelegatorVoteBody) GetRk() []byte { +func (m *DelegatorVoteBody) GetRk() *v1alpha11.SpendVerificationKey { if m != nil { return m.Rk } @@ -715,7 +716,7 @@ func (*DelegatorVoteView) XXX_OneofWrappers() []interface{} { type DelegatorVoteView_Visible struct { DelegatorVote *DelegatorVote `protobuf:"bytes,1,opt,name=delegator_vote,json=delegatorVote,proto3" json:"delegator_vote,omitempty"` - Note *v1alpha14.NoteView `protobuf:"bytes,2,opt,name=note,proto3" json:"note,omitempty"` + Note *v1alpha15.NoteView `protobuf:"bytes,2,opt,name=note,proto3" json:"note,omitempty"` } func (m *DelegatorVoteView_Visible) Reset() { *m = DelegatorVoteView_Visible{} } @@ -758,7 +759,7 @@ func (m *DelegatorVoteView_Visible) GetDelegatorVote() *DelegatorVote { return nil } -func (m *DelegatorVoteView_Visible) GetNote() *v1alpha14.NoteView { +func (m *DelegatorVoteView_Visible) GetNote() *v1alpha15.NoteView { if m != nil { return m.Note } @@ -817,7 +818,7 @@ type DelegatorVotePlan struct { // The vote to cast. Vote *Vote `protobuf:"bytes,3,opt,name=vote,proto3" json:"vote,omitempty"` // The delegation note to prove that we can vote. - StakedNote *v1alpha14.Note `protobuf:"bytes,4,opt,name=staked_note,json=stakedNote,proto3" json:"staked_note,omitempty"` + StakedNote *v1alpha15.Note `protobuf:"bytes,4,opt,name=staked_note,json=stakedNote,proto3" json:"staked_note,omitempty"` // The position of that delegation note. StakedNotePosition uint64 `protobuf:"varint,5,opt,name=staked_note_position,json=stakedNotePosition,proto3" json:"staked_note_position,omitempty"` // The unbonded amount equivalent to the delegation note. @@ -884,7 +885,7 @@ func (m *DelegatorVotePlan) GetVote() *Vote { return nil } -func (m *DelegatorVotePlan) GetStakedNote() *v1alpha14.Note { +func (m *DelegatorVotePlan) GetStakedNote() *v1alpha15.Note { if m != nil { return m.StakedNote } @@ -926,23 +927,23 @@ func (m *DelegatorVotePlan) GetProofBlindingS() []byte { return nil } -type DaoDeposit struct { - // The value to deposit into the DAO. +type CommunityPoolDeposit struct { + // The value to deposit into the Community Pool. Value *v1alpha13.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` } -func (m *DaoDeposit) Reset() { *m = DaoDeposit{} } -func (m *DaoDeposit) String() string { return proto.CompactTextString(m) } -func (*DaoDeposit) ProtoMessage() {} -func (*DaoDeposit) Descriptor() ([]byte, []int) { +func (m *CommunityPoolDeposit) Reset() { *m = CommunityPoolDeposit{} } +func (m *CommunityPoolDeposit) String() string { return proto.CompactTextString(m) } +func (*CommunityPoolDeposit) ProtoMessage() {} +func (*CommunityPoolDeposit) Descriptor() ([]byte, []int) { return fileDescriptor_67f269dcda22019a, []int{11} } -func (m *DaoDeposit) XXX_Unmarshal(b []byte) error { +func (m *CommunityPoolDeposit) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *DaoDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CommunityPoolDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_DaoDeposit.Marshal(b, m, deterministic) + return xxx_messageInfo_CommunityPoolDeposit.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -952,42 +953,42 @@ func (m *DaoDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *DaoDeposit) XXX_Merge(src proto.Message) { - xxx_messageInfo_DaoDeposit.Merge(m, src) +func (m *CommunityPoolDeposit) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommunityPoolDeposit.Merge(m, src) } -func (m *DaoDeposit) XXX_Size() int { +func (m *CommunityPoolDeposit) XXX_Size() int { return m.Size() } -func (m *DaoDeposit) XXX_DiscardUnknown() { - xxx_messageInfo_DaoDeposit.DiscardUnknown(m) +func (m *CommunityPoolDeposit) XXX_DiscardUnknown() { + xxx_messageInfo_CommunityPoolDeposit.DiscardUnknown(m) } -var xxx_messageInfo_DaoDeposit proto.InternalMessageInfo +var xxx_messageInfo_CommunityPoolDeposit proto.InternalMessageInfo -func (m *DaoDeposit) GetValue() *v1alpha13.Value { +func (m *CommunityPoolDeposit) GetValue() *v1alpha13.Value { if m != nil { return m.Value } return nil } -type DaoSpend struct { - // The value to spend from the DAO. +type CommunityPoolSpend struct { + // The value to spend from the Community Pool. Value *v1alpha13.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` } -func (m *DaoSpend) Reset() { *m = DaoSpend{} } -func (m *DaoSpend) String() string { return proto.CompactTextString(m) } -func (*DaoSpend) ProtoMessage() {} -func (*DaoSpend) Descriptor() ([]byte, []int) { +func (m *CommunityPoolSpend) Reset() { *m = CommunityPoolSpend{} } +func (m *CommunityPoolSpend) String() string { return proto.CompactTextString(m) } +func (*CommunityPoolSpend) ProtoMessage() {} +func (*CommunityPoolSpend) Descriptor() ([]byte, []int) { return fileDescriptor_67f269dcda22019a, []int{12} } -func (m *DaoSpend) XXX_Unmarshal(b []byte) error { +func (m *CommunityPoolSpend) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *DaoSpend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CommunityPoolSpend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_DaoSpend.Marshal(b, m, deterministic) + return xxx_messageInfo_CommunityPoolSpend.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -997,44 +998,44 @@ func (m *DaoSpend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *DaoSpend) XXX_Merge(src proto.Message) { - xxx_messageInfo_DaoSpend.Merge(m, src) +func (m *CommunityPoolSpend) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommunityPoolSpend.Merge(m, src) } -func (m *DaoSpend) XXX_Size() int { +func (m *CommunityPoolSpend) XXX_Size() int { return m.Size() } -func (m *DaoSpend) XXX_DiscardUnknown() { - xxx_messageInfo_DaoSpend.DiscardUnknown(m) +func (m *CommunityPoolSpend) XXX_DiscardUnknown() { + xxx_messageInfo_CommunityPoolSpend.DiscardUnknown(m) } -var xxx_messageInfo_DaoSpend proto.InternalMessageInfo +var xxx_messageInfo_CommunityPoolSpend proto.InternalMessageInfo -func (m *DaoSpend) GetValue() *v1alpha13.Value { +func (m *CommunityPoolSpend) GetValue() *v1alpha13.Value { if m != nil { return m.Value } return nil } -type DaoOutput struct { - // The value to output from the DAO. +type CommunityPoolOutput struct { + // The value to output from the Community Pool. Value *v1alpha13.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // The address to send the output to. Address *v1alpha12.Address `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` } -func (m *DaoOutput) Reset() { *m = DaoOutput{} } -func (m *DaoOutput) String() string { return proto.CompactTextString(m) } -func (*DaoOutput) ProtoMessage() {} -func (*DaoOutput) Descriptor() ([]byte, []int) { +func (m *CommunityPoolOutput) Reset() { *m = CommunityPoolOutput{} } +func (m *CommunityPoolOutput) String() string { return proto.CompactTextString(m) } +func (*CommunityPoolOutput) ProtoMessage() {} +func (*CommunityPoolOutput) Descriptor() ([]byte, []int) { return fileDescriptor_67f269dcda22019a, []int{13} } -func (m *DaoOutput) XXX_Unmarshal(b []byte) error { +func (m *CommunityPoolOutput) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *DaoOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CommunityPoolOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_DaoOutput.Marshal(b, m, deterministic) + return xxx_messageInfo_CommunityPoolOutput.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1044,26 +1045,26 @@ func (m *DaoOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *DaoOutput) XXX_Merge(src proto.Message) { - xxx_messageInfo_DaoOutput.Merge(m, src) +func (m *CommunityPoolOutput) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommunityPoolOutput.Merge(m, src) } -func (m *DaoOutput) XXX_Size() int { +func (m *CommunityPoolOutput) XXX_Size() int { return m.Size() } -func (m *DaoOutput) XXX_DiscardUnknown() { - xxx_messageInfo_DaoOutput.DiscardUnknown(m) +func (m *CommunityPoolOutput) XXX_DiscardUnknown() { + xxx_messageInfo_CommunityPoolOutput.DiscardUnknown(m) } -var xxx_messageInfo_DaoOutput proto.InternalMessageInfo +var xxx_messageInfo_CommunityPoolOutput proto.InternalMessageInfo -func (m *DaoOutput) GetValue() *v1alpha13.Value { +func (m *CommunityPoolOutput) GetValue() *v1alpha13.Value { if m != nil { return m.Value } return nil } -func (m *DaoOutput) GetAddress() *v1alpha12.Address { +func (m *CommunityPoolOutput) GetAddress() *v1alpha12.Address { if m != nil { return m.Address } @@ -1750,11 +1751,13 @@ type Proposal struct { // A natural-language description of the effect of the proposal and its justification. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // The different kinds of proposal. Only one of these should be set. - Signaling *Proposal_Signaling `protobuf:"bytes,5,opt,name=signaling,proto3" json:"signaling,omitempty"` - Emergency *Proposal_Emergency `protobuf:"bytes,6,opt,name=emergency,proto3" json:"emergency,omitempty"` - ParameterChange *Proposal_ParameterChange `protobuf:"bytes,7,opt,name=parameter_change,json=parameterChange,proto3" json:"parameter_change,omitempty"` - DaoSpend *Proposal_DaoSpend `protobuf:"bytes,8,opt,name=dao_spend,json=daoSpend,proto3" json:"dao_spend,omitempty"` - UpgradePlan *Proposal_UpgradePlan `protobuf:"bytes,9,opt,name=upgrade_plan,json=upgradePlan,proto3" json:"upgrade_plan,omitempty"` + Signaling *Proposal_Signaling `protobuf:"bytes,5,opt,name=signaling,proto3" json:"signaling,omitempty"` + Emergency *Proposal_Emergency `protobuf:"bytes,6,opt,name=emergency,proto3" json:"emergency,omitempty"` + ParameterChange *Proposal_ParameterChange `protobuf:"bytes,7,opt,name=parameter_change,json=parameterChange,proto3" json:"parameter_change,omitempty"` + CommunityPoolSpend *Proposal_CommunityPoolSpend `protobuf:"bytes,8,opt,name=community_pool_spend,json=communityPoolSpend,proto3" json:"community_pool_spend,omitempty"` + UpgradePlan *Proposal_UpgradePlan `protobuf:"bytes,9,opt,name=upgrade_plan,json=upgradePlan,proto3" json:"upgrade_plan,omitempty"` + FreezeIbcClient *Proposal_FreezeIbcClient `protobuf:"bytes,10,opt,name=freeze_ibc_client,json=freezeIbcClient,proto3" json:"freeze_ibc_client,omitempty"` + UnfreezeIbcClient *Proposal_UnfreezeIbcClient `protobuf:"bytes,11,opt,name=unfreeze_ibc_client,json=unfreezeIbcClient,proto3" json:"unfreeze_ibc_client,omitempty"` } func (m *Proposal) Reset() { *m = Proposal{} } @@ -1832,9 +1835,9 @@ func (m *Proposal) GetParameterChange() *Proposal_ParameterChange { return nil } -func (m *Proposal) GetDaoSpend() *Proposal_DaoSpend { +func (m *Proposal) GetCommunityPoolSpend() *Proposal_CommunityPoolSpend { if m != nil { - return m.DaoSpend + return m.CommunityPoolSpend } return nil } @@ -1846,6 +1849,20 @@ func (m *Proposal) GetUpgradePlan() *Proposal_UpgradePlan { return nil } +func (m *Proposal) GetFreezeIbcClient() *Proposal_FreezeIbcClient { + if m != nil { + return m.FreezeIbcClient + } + return nil +} + +func (m *Proposal) GetUnfreezeIbcClient() *Proposal_UnfreezeIbcClient { + if m != nil { + return m.UnfreezeIbcClient + } + return nil +} + // A signaling proposal is meant to register a vote on-chain, but does not have an automatic // effect when passed. // @@ -2005,28 +2022,28 @@ func (m *Proposal_ParameterChange) GetNewParameters() *ChangedAppParameters { return nil } -// A DAO spend proposal describes zero or more transactions to execute on behalf of the DAO, with +// A Community Pool spend proposal describes zero or more transactions to execute on behalf of the Community Pool, with // access to its funds, and zero or more scheduled transactions from previous passed proposals to // cancel. -type Proposal_DaoSpend struct { +type Proposal_CommunityPoolSpend struct { // The transaction plan to be executed at the time the proposal is passed. This must be a - // transaction plan which can be executed by the DAO, which means it can't require any witness - // data or authorization signatures, but it may use the `DaoSpend` action. + // transaction plan which can be executed by the Community Pool, which means it can't require any witness + // data or authorization signatures, but it may use the `CommunityPoolSpend` action. TransactionPlan *types.Any `protobuf:"bytes,2,opt,name=transaction_plan,json=transactionPlan,proto3" json:"transaction_plan,omitempty"` } -func (m *Proposal_DaoSpend) Reset() { *m = Proposal_DaoSpend{} } -func (m *Proposal_DaoSpend) String() string { return proto.CompactTextString(m) } -func (*Proposal_DaoSpend) ProtoMessage() {} -func (*Proposal_DaoSpend) Descriptor() ([]byte, []int) { +func (m *Proposal_CommunityPoolSpend) Reset() { *m = Proposal_CommunityPoolSpend{} } +func (m *Proposal_CommunityPoolSpend) String() string { return proto.CompactTextString(m) } +func (*Proposal_CommunityPoolSpend) ProtoMessage() {} +func (*Proposal_CommunityPoolSpend) Descriptor() ([]byte, []int) { return fileDescriptor_67f269dcda22019a, []int{18, 3} } -func (m *Proposal_DaoSpend) XXX_Unmarshal(b []byte) error { +func (m *Proposal_CommunityPoolSpend) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Proposal_DaoSpend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *Proposal_CommunityPoolSpend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Proposal_DaoSpend.Marshal(b, m, deterministic) + return xxx_messageInfo_Proposal_CommunityPoolSpend.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2036,19 +2053,19 @@ func (m *Proposal_DaoSpend) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } -func (m *Proposal_DaoSpend) XXX_Merge(src proto.Message) { - xxx_messageInfo_Proposal_DaoSpend.Merge(m, src) +func (m *Proposal_CommunityPoolSpend) XXX_Merge(src proto.Message) { + xxx_messageInfo_Proposal_CommunityPoolSpend.Merge(m, src) } -func (m *Proposal_DaoSpend) XXX_Size() int { +func (m *Proposal_CommunityPoolSpend) XXX_Size() int { return m.Size() } -func (m *Proposal_DaoSpend) XXX_DiscardUnknown() { - xxx_messageInfo_Proposal_DaoSpend.DiscardUnknown(m) +func (m *Proposal_CommunityPoolSpend) XXX_DiscardUnknown() { + xxx_messageInfo_Proposal_CommunityPoolSpend.DiscardUnknown(m) } -var xxx_messageInfo_Proposal_DaoSpend proto.InternalMessageInfo +var xxx_messageInfo_Proposal_CommunityPoolSpend proto.InternalMessageInfo -func (m *Proposal_DaoSpend) GetTransactionPlan() *types.Any { +func (m *Proposal_CommunityPoolSpend) GetTransactionPlan() *types.Any { if m != nil { return m.TransactionPlan } @@ -2101,6 +2118,96 @@ func (m *Proposal_UpgradePlan) GetHeight() uint64 { return 0 } +// Freeze an existing IBC client. +type Proposal_FreezeIbcClient struct { + ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` +} + +func (m *Proposal_FreezeIbcClient) Reset() { *m = Proposal_FreezeIbcClient{} } +func (m *Proposal_FreezeIbcClient) String() string { return proto.CompactTextString(m) } +func (*Proposal_FreezeIbcClient) ProtoMessage() {} +func (*Proposal_FreezeIbcClient) Descriptor() ([]byte, []int) { + return fileDescriptor_67f269dcda22019a, []int{18, 5} +} +func (m *Proposal_FreezeIbcClient) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Proposal_FreezeIbcClient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Proposal_FreezeIbcClient.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 *Proposal_FreezeIbcClient) XXX_Merge(src proto.Message) { + xxx_messageInfo_Proposal_FreezeIbcClient.Merge(m, src) +} +func (m *Proposal_FreezeIbcClient) XXX_Size() int { + return m.Size() +} +func (m *Proposal_FreezeIbcClient) XXX_DiscardUnknown() { + xxx_messageInfo_Proposal_FreezeIbcClient.DiscardUnknown(m) +} + +var xxx_messageInfo_Proposal_FreezeIbcClient proto.InternalMessageInfo + +func (m *Proposal_FreezeIbcClient) GetClientId() string { + if m != nil { + return m.ClientId + } + return "" +} + +// Unfreeze an existing IBC client. +type Proposal_UnfreezeIbcClient struct { + ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` +} + +func (m *Proposal_UnfreezeIbcClient) Reset() { *m = Proposal_UnfreezeIbcClient{} } +func (m *Proposal_UnfreezeIbcClient) String() string { return proto.CompactTextString(m) } +func (*Proposal_UnfreezeIbcClient) ProtoMessage() {} +func (*Proposal_UnfreezeIbcClient) Descriptor() ([]byte, []int) { + return fileDescriptor_67f269dcda22019a, []int{18, 6} +} +func (m *Proposal_UnfreezeIbcClient) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Proposal_UnfreezeIbcClient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Proposal_UnfreezeIbcClient.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 *Proposal_UnfreezeIbcClient) XXX_Merge(src proto.Message) { + xxx_messageInfo_Proposal_UnfreezeIbcClient.Merge(m, src) +} +func (m *Proposal_UnfreezeIbcClient) XXX_Size() int { + return m.Size() +} +func (m *Proposal_UnfreezeIbcClient) XXX_DiscardUnknown() { + xxx_messageInfo_Proposal_UnfreezeIbcClient.DiscardUnknown(m) +} + +var xxx_messageInfo_Proposal_UnfreezeIbcClient proto.InternalMessageInfo + +func (m *Proposal_UnfreezeIbcClient) GetClientId() string { + if m != nil { + return m.ClientId + } + return "" +} + type ProposalInfoRequest struct { // The expected chain id (empty string if no expectation). ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` @@ -2410,7 +2517,7 @@ func (m *ProposalRateDataRequest) GetProposalId() uint64 { // The rate data for a single validator. type ProposalRateDataResponse struct { - RateData *v1alpha15.RateData `protobuf:"bytes,1,opt,name=rate_data,json=rateData,proto3" json:"rate_data,omitempty"` + RateData *v1alpha16.RateData `protobuf:"bytes,1,opt,name=rate_data,json=rateData,proto3" json:"rate_data,omitempty"` } func (m *ProposalRateDataResponse) Reset() { *m = ProposalRateDataResponse{} } @@ -2446,7 +2553,7 @@ func (m *ProposalRateDataResponse) XXX_DiscardUnknown() { var xxx_messageInfo_ProposalRateDataResponse proto.InternalMessageInfo -func (m *ProposalRateDataResponse) GetRateData() *v1alpha15.RateData { +func (m *ProposalRateDataResponse) GetRateData() *v1alpha16.RateData { if m != nil { return m.RateData } @@ -2834,19 +2941,19 @@ func (m *GenesisContent) GetGovernanceParams() *GovernanceParameters { // Each field here is optional. type ChangedAppParameters struct { // Chain module parameters. - ChainParams *v1alpha16.ChainParameters `protobuf:"bytes,1,opt,name=chain_params,json=chainParams,proto3" json:"chain_params,omitempty"` - // DAO module parameters. - DaoParams *v1alpha17.DaoParameters `protobuf:"bytes,2,opt,name=dao_params,json=daoParams,proto3" json:"dao_params,omitempty"` + ChainParams *v1alpha17.ChainParameters `protobuf:"bytes,1,opt,name=chain_params,json=chainParams,proto3" json:"chain_params,omitempty"` + // Community Pool module parameters. + CommunityPoolParams *v1alpha18.CommunityPoolParameters `protobuf:"bytes,2,opt,name=community_pool_params,json=communityPoolParams,proto3" json:"community_pool_params,omitempty"` // Governance module parameters. GovernanceParams *GovernanceParameters `protobuf:"bytes,3,opt,name=governance_params,json=governanceParams,proto3" json:"governance_params,omitempty"` // IBC module parameters. - IbcParams *v1alpha18.IbcParameters `protobuf:"bytes,4,opt,name=ibc_params,json=ibcParams,proto3" json:"ibc_params,omitempty"` + IbcParams *v1alpha19.IbcParameters `protobuf:"bytes,4,opt,name=ibc_params,json=ibcParams,proto3" json:"ibc_params,omitempty"` // Stake module parameters. - StakeParams *v1alpha15.StakeParameters `protobuf:"bytes,5,opt,name=stake_params,json=stakeParams,proto3" json:"stake_params,omitempty"` + StakeParams *v1alpha16.StakeParameters `protobuf:"bytes,5,opt,name=stake_params,json=stakeParams,proto3" json:"stake_params,omitempty"` // Fee module parameters. - FeeParams *v1alpha19.FeeParameters `protobuf:"bytes,6,opt,name=fee_params,json=feeParams,proto3" json:"fee_params,omitempty"` + FeeParams *v1alpha110.FeeParameters `protobuf:"bytes,6,opt,name=fee_params,json=feeParams,proto3" json:"fee_params,omitempty"` // Distributions module parameters. - DistributionsParams *v1alpha110.DistributionsParameters `protobuf:"bytes,7,opt,name=distributions_params,json=distributionsParams,proto3" json:"distributions_params,omitempty"` + DistributionsParams *v1alpha111.DistributionsParameters `protobuf:"bytes,7,opt,name=distributions_params,json=distributionsParams,proto3" json:"distributions_params,omitempty"` } func (m *ChangedAppParameters) Reset() { *m = ChangedAppParameters{} } @@ -2882,16 +2989,16 @@ func (m *ChangedAppParameters) XXX_DiscardUnknown() { var xxx_messageInfo_ChangedAppParameters proto.InternalMessageInfo -func (m *ChangedAppParameters) GetChainParams() *v1alpha16.ChainParameters { +func (m *ChangedAppParameters) GetChainParams() *v1alpha17.ChainParameters { if m != nil { return m.ChainParams } return nil } -func (m *ChangedAppParameters) GetDaoParams() *v1alpha17.DaoParameters { +func (m *ChangedAppParameters) GetCommunityPoolParams() *v1alpha18.CommunityPoolParameters { if m != nil { - return m.DaoParams + return m.CommunityPoolParams } return nil } @@ -2903,28 +3010,28 @@ func (m *ChangedAppParameters) GetGovernanceParams() *GovernanceParameters { return nil } -func (m *ChangedAppParameters) GetIbcParams() *v1alpha18.IbcParameters { +func (m *ChangedAppParameters) GetIbcParams() *v1alpha19.IbcParameters { if m != nil { return m.IbcParams } return nil } -func (m *ChangedAppParameters) GetStakeParams() *v1alpha15.StakeParameters { +func (m *ChangedAppParameters) GetStakeParams() *v1alpha16.StakeParameters { if m != nil { return m.StakeParams } return nil } -func (m *ChangedAppParameters) GetFeeParams() *v1alpha19.FeeParameters { +func (m *ChangedAppParameters) GetFeeParams() *v1alpha110.FeeParameters { if m != nil { return m.FeeParams } return nil } -func (m *ChangedAppParameters) GetDistributionsParams() *v1alpha110.DistributionsParameters { +func (m *ChangedAppParameters) GetDistributionsParams() *v1alpha111.DistributionsParameters { if m != nil { return m.DistributionsParams } @@ -3317,9 +3424,9 @@ func init() { proto.RegisterType((*DelegatorVoteView_Visible)(nil), "penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Visible") proto.RegisterType((*DelegatorVoteView_Opaque)(nil), "penumbra.core.component.governance.v1alpha1.DelegatorVoteView.Opaque") proto.RegisterType((*DelegatorVotePlan)(nil), "penumbra.core.component.governance.v1alpha1.DelegatorVotePlan") - proto.RegisterType((*DaoDeposit)(nil), "penumbra.core.component.governance.v1alpha1.DaoDeposit") - proto.RegisterType((*DaoSpend)(nil), "penumbra.core.component.governance.v1alpha1.DaoSpend") - proto.RegisterType((*DaoOutput)(nil), "penumbra.core.component.governance.v1alpha1.DaoOutput") + proto.RegisterType((*CommunityPoolDeposit)(nil), "penumbra.core.component.governance.v1alpha1.CommunityPoolDeposit") + proto.RegisterType((*CommunityPoolSpend)(nil), "penumbra.core.component.governance.v1alpha1.CommunityPoolSpend") + proto.RegisterType((*CommunityPoolOutput)(nil), "penumbra.core.component.governance.v1alpha1.CommunityPoolOutput") proto.RegisterType((*Vote)(nil), "penumbra.core.component.governance.v1alpha1.Vote") proto.RegisterType((*ProposalState)(nil), "penumbra.core.component.governance.v1alpha1.ProposalState") proto.RegisterType((*ProposalState_Voting)(nil), "penumbra.core.component.governance.v1alpha1.ProposalState.Voting") @@ -3336,8 +3443,10 @@ func init() { proto.RegisterType((*Proposal_Signaling)(nil), "penumbra.core.component.governance.v1alpha1.Proposal.Signaling") proto.RegisterType((*Proposal_Emergency)(nil), "penumbra.core.component.governance.v1alpha1.Proposal.Emergency") proto.RegisterType((*Proposal_ParameterChange)(nil), "penumbra.core.component.governance.v1alpha1.Proposal.ParameterChange") - proto.RegisterType((*Proposal_DaoSpend)(nil), "penumbra.core.component.governance.v1alpha1.Proposal.DaoSpend") + proto.RegisterType((*Proposal_CommunityPoolSpend)(nil), "penumbra.core.component.governance.v1alpha1.Proposal.CommunityPoolSpend") proto.RegisterType((*Proposal_UpgradePlan)(nil), "penumbra.core.component.governance.v1alpha1.Proposal.UpgradePlan") + proto.RegisterType((*Proposal_FreezeIbcClient)(nil), "penumbra.core.component.governance.v1alpha1.Proposal.FreezeIbcClient") + proto.RegisterType((*Proposal_UnfreezeIbcClient)(nil), "penumbra.core.component.governance.v1alpha1.Proposal.UnfreezeIbcClient") proto.RegisterType((*ProposalInfoRequest)(nil), "penumbra.core.component.governance.v1alpha1.ProposalInfoRequest") proto.RegisterType((*ProposalInfoResponse)(nil), "penumbra.core.component.governance.v1alpha1.ProposalInfoResponse") proto.RegisterType((*ProposalDataRequest)(nil), "penumbra.core.component.governance.v1alpha1.ProposalDataRequest") @@ -3365,180 +3474,188 @@ func init() { } var fileDescriptor_67f269dcda22019a = []byte{ - // 2763 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 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 0xe0, 0xa8, 0xf2, - 0x94, 0xb6, 0xe6, 0x05, 0x75, 0x4f, 0x11, 0xa3, 0x7c, 0x9d, 0x1e, 0x2f, 0x5f, 0xbf, 0x02, 0x99, - 0x23, 0xec, 0x76, 0x89, 0xca, 0xac, 0xa7, 0xfb, 0x70, 0x64, 0x23, 0xa1, 0xc7, 0xbf, 0x4b, 0x2c, - 0x29, 0x81, 0xae, 0xc3, 0x85, 0x2e, 0xad, 0x33, 0xca, 0xef, 0x48, 0x55, 0xf3, 0x32, 0xe7, 0xae, - 0x79, 0x85, 0x50, 0x54, 0x15, 0xbd, 0xff, 0x83, 0x3c, 0xed, 0xba, 0xae, 0x73, 0xe0, 0x10, 0x6f, - 0x71, 0x46, 0xdc, 0x43, 0x31, 0x01, 0x15, 0x20, 0xe5, 0x1d, 0x2e, 0x66, 0x05, 0x39, 0xe5, 0x1d, - 0x9a, 0x9f, 0xa4, 0xfb, 0xbc, 0xba, 0xef, 0x90, 0x63, 0x54, 0x87, 0xec, 0x91, 0xe3, 0x3b, 0x75, - 0x97, 0xa8, 0x94, 0xdb, 0x1e, 0x3d, 0xe5, 0x38, 0x60, 0x79, 0x5f, 0xa2, 0x5d, 0x9b, 0xb2, 0x42, - 0x60, 0x54, 0x83, 0x19, 0xd6, 0xc1, 0x1f, 0x74, 0xc3, 0x42, 0xb1, 0x35, 0xa6, 0x8a, 0x9b, 0x02, - 0xec, 0xda, 0x94, 0xa5, 0x60, 0x4b, 0x9f, 0x1a, 0x90, 0x55, 0x7a, 0x11, 0xe6, 0x97, 0x8a, 0x92, - 0xa8, 0x89, 0x68, 0x1b, 0x0f, 0xa5, 0xfc, 0x90, 0x4a, 0xf9, 0x65, 0xa3, 0x9f, 0xd1, 0xb7, 0x20, - 0x4d, 0xe3, 0xb2, 0xf7, 0xea, 0x89, 0xc0, 0xc9, 0x6e, 0x28, 0xc2, 0xbe, 0xa1, 0xf6, 0x61, 0x09, - 0x94, 0xd2, 0x21, 0xcc, 0xc8, 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0xd6, 0x42, 0xe9, 0xfa, 0x8c, 0x78, 0x20, 0x7d, 0xe9, 0x3f, 0x01, 0x00, - 0x00, 0xff, 0xff, 0x5e, 0xeb, 0x59, 0xb3, 0x41, 0x2d, 0x00, 0x00, + // 2894 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0xdf, 0x6f, 0x63, 0x47, + 0xf5, 0xcf, 0x75, 0xe2, 0xd8, 0x3e, 0x49, 0x1c, 0xef, 0x6c, 0x76, 0x9b, 0xfa, 0xab, 0x6f, 0x68, + 0x6f, 0x5b, 0x14, 0xb5, 0xc5, 0xde, 0xa6, 0xa5, 0x5b, 0x42, 0xd5, 0x36, 0xf1, 0x26, 0x9b, 0xb0, + 0xdb, 0x8d, 0xf7, 0x7a, 0x37, 0x2d, 0xcb, 0x16, 0x33, 0xbe, 0x77, 0x6c, 0x0f, 0xb9, 0x9e, 0xeb, + 0xbd, 0x3f, 0x92, 0x7a, 0xc5, 0x03, 0x7f, 0x42, 0xa5, 0x16, 0x10, 0x42, 0x3c, 0xc0, 0x23, 0x42, + 0xfc, 0x01, 0x95, 0x78, 0x01, 0x1e, 0x10, 0x02, 0xd4, 0x17, 0x24, 0xc4, 0x53, 0xb5, 0x2b, 0x84, + 0xe0, 0x89, 0x3f, 0x01, 0xcd, 0xdc, 0xb9, 0xbf, 0x1c, 0xe7, 0x87, 0x7f, 0x6c, 0xc5, 0x03, 0x2f, + 0x96, 0x67, 0xee, 0x39, 0x9f, 0x73, 0xe6, 0x9c, 0x33, 0x67, 0xce, 0xb9, 0x73, 0xe1, 0xcd, 0x2e, + 0x61, 0x5e, 0xa7, 0x61, 0xe3, 0xb2, 0x6e, 0xd9, 0xa4, 0xac, 0x5b, 0x9d, 0xae, 0xc5, 0x08, 0x73, + 0xcb, 0x2d, 0xeb, 0x90, 0xd8, 0x0c, 0x33, 0x9d, 0x94, 0x0f, 0x5f,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xf4, 0x49, 0x55, 0xcb, 0x0a, + 0xca, 0xc2, 0x28, 0x7b, 0x2a, 0xc3, 0x66, 0x4f, 0x75, 0x0f, 0x50, 0x02, 0x52, 0x24, 0x9f, 0x71, + 0x00, 0x3f, 0x52, 0xe0, 0x62, 0x02, 0x71, 0xcf, 0x73, 0xbb, 0xde, 0x38, 0x3a, 0xa2, 0xb7, 0x20, + 0x83, 0x0d, 0xc3, 0x26, 0x8e, 0x23, 0x37, 0xec, 0xf3, 0xa7, 0x16, 0x1e, 0x1b, 0x3e, 0xad, 0x16, + 0x30, 0xa9, 0x3f, 0x55, 0x60, 0x46, 0x6c, 0xfb, 0x6f, 0xc8, 0x80, 0xe6, 0x2a, 0xe4, 0xd7, 0x5e, + 0x1f, 0x3a, 0xa0, 0x63, 0x51, 0xad, 0xee, 0x4a, 0xcc, 0x25, 0x28, 0xec, 0xef, 0xdd, 0xd9, 0xaa, + 0xdf, 0xbd, 0x55, 0xab, 0x6e, 0x55, 0x76, 0xb7, 0x77, 0xb7, 0xae, 0x15, 0xa6, 0x50, 0x01, 0xe6, + 0xc5, 0xec, 0xc6, 0x66, 0xed, 0xce, 0xc6, 0xee, 0xad, 0x82, 0x82, 0xe6, 0x21, 0x2b, 0x66, 0xbe, + 0xb9, 0x55, 0x2b, 0xa4, 0xd0, 0x1c, 0x64, 0xc4, 0xe8, 0xd6, 0x5e, 0x61, 0x5a, 0xfd, 0x24, 0x0d, + 0x0b, 0x61, 0x8b, 0xe3, 0x62, 0x97, 0xa0, 0x6f, 0xc1, 0xec, 0xa1, 0xe5, 0x52, 0x16, 0x14, 0x17, + 0x1b, 0x23, 0x95, 0xde, 0x02, 0x8b, 0xeb, 0x4c, 0x59, 0x8b, 0xe7, 0x5a, 0x1f, 0x12, 0x19, 0x90, + 0x3b, 0x92, 0x8d, 0x09, 0x93, 0x7b, 0xfb, 0xda, 0x18, 0xf8, 0x41, 0x93, 0xc3, 0x76, 0xa6, 0xb4, + 0x08, 0x18, 0x61, 0xc8, 0x36, 0x29, 0xa3, 0x4e, 0x9b, 0x18, 0x72, 0xcb, 0x57, 0xc6, 0x10, 0xb2, + 0x2d, 0xa1, 0x76, 0xa6, 0xb4, 0x10, 0x16, 0x7d, 0x1b, 0x32, 0x3a, 0xef, 0x88, 0x88, 0x21, 0x4f, + 0xfc, 0xcd, 0x31, 0x24, 0x54, 0x7c, 0x24, 0x7e, 0xea, 0x49, 0xd0, 0x62, 0x16, 0x66, 0x7d, 0xe3, + 0x15, 0x9f, 0x83, 0x5c, 0xb8, 0xcc, 0x93, 0x8a, 0xfd, 0x62, 0x03, 0xb2, 0x81, 0x9a, 0xf1, 0xe6, + 0x49, 0x99, 0x60, 0xf3, 0x54, 0xc4, 0x90, 0x91, 0x8a, 0x3e, 0x29, 0x11, 0x9b, 0x19, 0x48, 0x3b, + 0xdc, 0x22, 0xea, 0x1f, 0x67, 0x60, 0xb1, 0x8f, 0x0a, 0x7d, 0x00, 0xb3, 0x5d, 0xbe, 0x55, 0x0d, + 0x29, 0xb3, 0x32, 0x8e, 0xcc, 0x52, 0x55, 0x40, 0xf1, 0xd0, 0xf4, 0x41, 0x39, 0x7c, 0x13, 0x53, + 0x93, 0x18, 0x32, 0xee, 0xc7, 0x83, 0xdf, 0x16, 0x50, 0x1c, 0xde, 0x07, 0x45, 0xdf, 0x81, 0x8c, + 0x63, 0x62, 0x11, 0x92, 0xe3, 0xc4, 0x7d, 0x80, 0x5f, 0xf3, 0xb1, 0x78, 0xc8, 0x48, 0xd8, 0xf3, + 0x05, 0x4a, 0x16, 0x66, 0xfd, 0x95, 0x17, 0x19, 0xcc, 0xfa, 0x4a, 0x26, 0x37, 0xe5, 0x28, 0x75, + 0x5c, 0xbf, 0x72, 0xa1, 0x1a, 0xb1, 0x4d, 0x59, 0xb4, 0x20, 0x23, 0x95, 0xfe, 0x62, 0x04, 0x6e, + 0xe6, 0xc2, 0x20, 0x55, 0x2b, 0x90, 0xbe, 0x83, 0x4d, 0xb3, 0x87, 0x0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 0x00, 0xff, 0xff, 0xc6, 0x98, 0x97, 0x6a, 0xb5, 0x2f, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -4380,17 +4497,27 @@ func (m *DelegatorVoteBody) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if len(m.Rk) > 0 { - i -= len(m.Rk) - copy(dAtA[i:], m.Rk) - i = encodeVarintGovernance(dAtA, i, uint64(len(m.Rk))) + if m.Rk != nil { + { + size, err := m.Rk.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0x3a } - if len(m.Nullifier) > 0 { - i -= len(m.Nullifier) - copy(dAtA[i:], m.Nullifier) - i = encodeVarintGovernance(dAtA, i, uint64(len(m.Nullifier))) + if m.Nullifier != nil { + { + size, err := m.Nullifier.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0x32 } @@ -4694,7 +4821,7 @@ func (m *DelegatorVotePlan) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *DaoDeposit) Marshal() (dAtA []byte, err error) { +func (m *CommunityPoolDeposit) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4704,12 +4831,12 @@ func (m *DaoDeposit) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *DaoDeposit) MarshalTo(dAtA []byte) (int, error) { +func (m *CommunityPoolDeposit) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *DaoDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CommunityPoolDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -4729,7 +4856,7 @@ func (m *DaoDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *DaoSpend) Marshal() (dAtA []byte, err error) { +func (m *CommunityPoolSpend) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4739,12 +4866,12 @@ func (m *DaoSpend) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *DaoSpend) MarshalTo(dAtA []byte) (int, error) { +func (m *CommunityPoolSpend) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *DaoSpend) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CommunityPoolSpend) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -4764,7 +4891,7 @@ func (m *DaoSpend) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *DaoOutput) Marshal() (dAtA []byte, err error) { +func (m *CommunityPoolOutput) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4774,12 +4901,12 @@ func (m *DaoOutput) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *DaoOutput) MarshalTo(dAtA []byte) (int, error) { +func (m *CommunityPoolOutput) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *DaoOutput) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CommunityPoolOutput) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -5354,6 +5481,30 @@ func (m *Proposal) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if m.UnfreezeIbcClient != nil { + { + size, err := m.UnfreezeIbcClient.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x5a + } + if m.FreezeIbcClient != nil { + { + size, err := m.FreezeIbcClient.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x52 + } if m.UpgradePlan != nil { { size, err := m.UpgradePlan.MarshalToSizedBuffer(dAtA[:i]) @@ -5366,9 +5517,9 @@ func (m *Proposal) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x4a } - if m.DaoSpend != nil { + if m.CommunityPoolSpend != nil { { - size, err := m.DaoSpend.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.CommunityPoolSpend.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -5546,7 +5697,7 @@ func (m *Proposal_ParameterChange) MarshalToSizedBuffer(dAtA []byte) (int, error return len(dAtA) - i, nil } -func (m *Proposal_DaoSpend) Marshal() (dAtA []byte, err error) { +func (m *Proposal_CommunityPoolSpend) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5556,12 +5707,12 @@ func (m *Proposal_DaoSpend) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Proposal_DaoSpend) MarshalTo(dAtA []byte) (int, error) { +func (m *Proposal_CommunityPoolSpend) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Proposal_DaoSpend) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Proposal_CommunityPoolSpend) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -5609,6 +5760,66 @@ func (m *Proposal_UpgradePlan) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *Proposal_FreezeIbcClient) 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 *Proposal_FreezeIbcClient) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Proposal_FreezeIbcClient) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.ClientId) > 0 { + i -= len(m.ClientId) + copy(dAtA[i:], m.ClientId) + i = encodeVarintGovernance(dAtA, i, uint64(len(m.ClientId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Proposal_UnfreezeIbcClient) 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 *Proposal_UnfreezeIbcClient) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Proposal_UnfreezeIbcClient) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.ClientId) > 0 { + i -= len(m.ClientId) + copy(dAtA[i:], m.ClientId) + i = encodeVarintGovernance(dAtA, i, uint64(len(m.ClientId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *ProposalInfoRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -6216,9 +6427,9 @@ func (m *ChangedAppParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x1a } - if m.DaoParams != nil { + if m.CommunityPoolParams != nil { { - size, err := m.DaoParams.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.CommunityPoolParams.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -6685,12 +6896,12 @@ func (m *DelegatorVoteBody) Size() (n int) { l = m.UnbondedAmount.Size() n += 1 + l + sovGovernance(uint64(l)) } - l = len(m.Nullifier) - if l > 0 { + if m.Nullifier != nil { + l = m.Nullifier.Size() n += 1 + l + sovGovernance(uint64(l)) } - l = len(m.Rk) - if l > 0 { + if m.Rk != nil { + l = m.Rk.Size() n += 1 + l + sovGovernance(uint64(l)) } return n @@ -6804,7 +7015,7 @@ func (m *DelegatorVotePlan) Size() (n int) { return n } -func (m *DaoDeposit) Size() (n int) { +func (m *CommunityPoolDeposit) Size() (n int) { if m == nil { return 0 } @@ -6817,7 +7028,7 @@ func (m *DaoDeposit) Size() (n int) { return n } -func (m *DaoSpend) Size() (n int) { +func (m *CommunityPoolSpend) Size() (n int) { if m == nil { return 0 } @@ -6830,7 +7041,7 @@ func (m *DaoSpend) Size() (n int) { return n } -func (m *DaoOutput) Size() (n int) { +func (m *CommunityPoolOutput) Size() (n int) { if m == nil { return 0 } @@ -7110,14 +7321,22 @@ func (m *Proposal) Size() (n int) { l = m.ParameterChange.Size() n += 1 + l + sovGovernance(uint64(l)) } - if m.DaoSpend != nil { - l = m.DaoSpend.Size() + if m.CommunityPoolSpend != nil { + l = m.CommunityPoolSpend.Size() n += 1 + l + sovGovernance(uint64(l)) } if m.UpgradePlan != nil { l = m.UpgradePlan.Size() n += 1 + l + sovGovernance(uint64(l)) } + if m.FreezeIbcClient != nil { + l = m.FreezeIbcClient.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + if m.UnfreezeIbcClient != nil { + l = m.UnfreezeIbcClient.Size() + n += 1 + l + sovGovernance(uint64(l)) + } return n } @@ -7163,7 +7382,7 @@ func (m *Proposal_ParameterChange) Size() (n int) { return n } -func (m *Proposal_DaoSpend) Size() (n int) { +func (m *Proposal_CommunityPoolSpend) Size() (n int) { if m == nil { return 0 } @@ -7188,6 +7407,32 @@ func (m *Proposal_UpgradePlan) Size() (n int) { return n } +func (m *Proposal_FreezeIbcClient) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClientId) + if l > 0 { + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} + +func (m *Proposal_UnfreezeIbcClient) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClientId) + if l > 0 { + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} + func (m *ProposalInfoRequest) Size() (n int) { if m == nil { return 0 @@ -7420,8 +7665,8 @@ func (m *ChangedAppParameters) Size() (n int) { l = m.ChainParams.Size() n += 1 + l + sovGovernance(uint64(l)) } - if m.DaoParams != nil { - l = m.DaoParams.Size() + if m.CommunityPoolParams != nil { + l = m.CommunityPoolParams.Size() n += 1 + l + sovGovernance(uint64(l)) } if m.GovernanceParams != nil { @@ -8762,7 +9007,7 @@ func (m *DelegatorVoteBody) Unmarshal(dAtA []byte) error { if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Nullifier", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -8772,31 +9017,33 @@ func (m *DelegatorVoteBody) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + if msglen < 0 { return ErrInvalidLengthGovernance } - postIndex := iNdEx + byteLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthGovernance } if postIndex > l { return io.ErrUnexpectedEOF } - m.Nullifier = append(m.Nullifier[:0], dAtA[iNdEx:postIndex]...) if m.Nullifier == nil { - m.Nullifier = []byte{} + m.Nullifier = &v1alpha14.Nullifier{} + } + if err := m.Nullifier.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } iNdEx = postIndex case 7: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Rk", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowGovernance @@ -8806,24 +9053,26 @@ func (m *DelegatorVoteBody) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + if msglen < 0 { return ErrInvalidLengthGovernance } - postIndex := iNdEx + byteLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthGovernance } if postIndex > l { return io.ErrUnexpectedEOF } - m.Rk = append(m.Rk[:0], dAtA[iNdEx:postIndex]...) if m.Rk == nil { - m.Rk = []byte{} + m.Rk = &v1alpha11.SpendVerificationKey{} + } + if err := m.Rk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } iNdEx = postIndex default: @@ -9062,7 +9311,7 @@ func (m *DelegatorVoteView_Visible) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Note == nil { - m.Note = &v1alpha14.NoteView{} + m.Note = &v1alpha15.NoteView{} } if err := m.Note.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -9308,7 +9557,7 @@ func (m *DelegatorVotePlan) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.StakedNote == nil { - m.StakedNote = &v1alpha14.Note{} + m.StakedNote = &v1alpha15.Note{} } if err := m.StakedNote.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -9492,7 +9741,7 @@ func (m *DelegatorVotePlan) Unmarshal(dAtA []byte) error { } return nil } -func (m *DaoDeposit) Unmarshal(dAtA []byte) error { +func (m *CommunityPoolDeposit) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9515,10 +9764,10 @@ func (m *DaoDeposit) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DaoDeposit: wiretype end group for non-group") + return fmt.Errorf("proto: CommunityPoolDeposit: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DaoDeposit: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CommunityPoolDeposit: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -9578,7 +9827,7 @@ func (m *DaoDeposit) Unmarshal(dAtA []byte) error { } return nil } -func (m *DaoSpend) Unmarshal(dAtA []byte) error { +func (m *CommunityPoolSpend) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9601,10 +9850,10 @@ func (m *DaoSpend) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DaoSpend: wiretype end group for non-group") + return fmt.Errorf("proto: CommunityPoolSpend: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DaoSpend: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CommunityPoolSpend: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -9664,7 +9913,7 @@ func (m *DaoSpend) Unmarshal(dAtA []byte) error { } return nil } -func (m *DaoOutput) Unmarshal(dAtA []byte) error { +func (m *CommunityPoolOutput) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9687,10 +9936,10 @@ func (m *DaoOutput) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DaoOutput: wiretype end group for non-group") + return fmt.Errorf("proto: CommunityPoolOutput: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DaoOutput: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CommunityPoolOutput: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -11137,7 +11386,7 @@ func (m *Proposal) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 8: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DaoSpend", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CommunityPoolSpend", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11164,10 +11413,10 @@ func (m *Proposal) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.DaoSpend == nil { - m.DaoSpend = &Proposal_DaoSpend{} + if m.CommunityPoolSpend == nil { + m.CommunityPoolSpend = &Proposal_CommunityPoolSpend{} } - if err := m.DaoSpend.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.CommunityPoolSpend.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -11207,6 +11456,78 @@ func (m *Proposal) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FreezeIbcClient", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGovernance + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGovernance + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.FreezeIbcClient == nil { + m.FreezeIbcClient = &Proposal_FreezeIbcClient{} + } + if err := m.FreezeIbcClient.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field UnfreezeIbcClient", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGovernance + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGovernance + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.UnfreezeIbcClient == nil { + m.UnfreezeIbcClient = &Proposal_UnfreezeIbcClient{} + } + if err := m.UnfreezeIbcClient.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGovernance(dAtA[iNdEx:]) @@ -11502,7 +11823,7 @@ func (m *Proposal_ParameterChange) Unmarshal(dAtA []byte) error { } return nil } -func (m *Proposal_DaoSpend) Unmarshal(dAtA []byte) error { +func (m *Proposal_CommunityPoolSpend) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11525,10 +11846,10 @@ func (m *Proposal_DaoSpend) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DaoSpend: wiretype end group for non-group") + return fmt.Errorf("proto: CommunityPoolSpend: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DaoSpend: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CommunityPoolSpend: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 2: @@ -11657,6 +11978,170 @@ func (m *Proposal_UpgradePlan) Unmarshal(dAtA []byte) error { } return nil } +func (m *Proposal_FreezeIbcClient) 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 ErrIntOverflowGovernance + } + 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: FreezeIbcClient: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: FreezeIbcClient: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClientId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGovernance + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthGovernance + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClientId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGovernance(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGovernance + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Proposal_UnfreezeIbcClient) 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 ErrIntOverflowGovernance + } + 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: UnfreezeIbcClient: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UnfreezeIbcClient: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClientId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGovernance + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGovernance + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthGovernance + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClientId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGovernance(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGovernance + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *ProposalInfoRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -12322,7 +12807,7 @@ func (m *ProposalRateDataResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.RateData == nil { - m.RateData = &v1alpha15.RateData{} + m.RateData = &v1alpha16.RateData{} } if err := m.RateData.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -13199,7 +13684,7 @@ func (m *ChangedAppParameters) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.ChainParams == nil { - m.ChainParams = &v1alpha16.ChainParameters{} + m.ChainParams = &v1alpha17.ChainParameters{} } if err := m.ChainParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -13207,7 +13692,7 @@ func (m *ChangedAppParameters) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DaoParams", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CommunityPoolParams", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -13234,10 +13719,10 @@ func (m *ChangedAppParameters) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.DaoParams == nil { - m.DaoParams = &v1alpha17.DaoParameters{} + if m.CommunityPoolParams == nil { + m.CommunityPoolParams = &v1alpha18.CommunityPoolParameters{} } - if err := m.DaoParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.CommunityPoolParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -13307,7 +13792,7 @@ func (m *ChangedAppParameters) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.IbcParams == nil { - m.IbcParams = &v1alpha18.IbcParameters{} + m.IbcParams = &v1alpha19.IbcParameters{} } if err := m.IbcParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -13343,7 +13828,7 @@ func (m *ChangedAppParameters) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.StakeParams == nil { - m.StakeParams = &v1alpha15.StakeParameters{} + m.StakeParams = &v1alpha16.StakeParameters{} } if err := m.StakeParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -13379,7 +13864,7 @@ func (m *ChangedAppParameters) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.FeeParams == nil { - m.FeeParams = &v1alpha19.FeeParameters{} + m.FeeParams = &v1alpha110.FeeParameters{} } if err := m.FeeParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -13415,7 +13900,7 @@ func (m *ChangedAppParameters) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.DistributionsParams == nil { - m.DistributionsParams = &v1alpha110.DistributionsParameters{} + m.DistributionsParams = &v1alpha111.DistributionsParameters{} } if err := m.DistributionsParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err diff --git a/relayer/chains/penumbra/core/component/sct/v1alpha1/sct.pb.go b/relayer/chains/penumbra/core/component/sct/v1alpha1/sct.pb.go index 2d057d593..fe6b47efa 100644 --- a/relayer/chains/penumbra/core/component/sct/v1alpha1/sct.pb.go +++ b/relayer/chains/penumbra/core/component/sct/v1alpha1/sct.pb.go @@ -8,11 +8,8 @@ import ( fmt "fmt" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" - v1alpha11 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/chain/v1alpha1" v1alpha1 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/crypto/tct/v1alpha1" grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" io "io" math "math" math_bits "math/bits" @@ -29,22 +26,32 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -type Nullifier struct { - Inner []byte `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` +// Metadata describing the source of a commitment in the state commitment tree. +// +// This message allows clients to track provenance of state commitments, and to +// decide whether or not to download block data. +type CommitmentSource struct { + // Types that are valid to be assigned to Source: + // *CommitmentSource_Transaction_ + // *CommitmentSource_Ics_20Transfer + // *CommitmentSource_FundingStreamReward_ + // *CommitmentSource_CommunityPoolOutput_ + // *CommitmentSource_Genesis_ + Source isCommitmentSource_Source `protobuf_oneof:"source"` } -func (m *Nullifier) Reset() { *m = Nullifier{} } -func (m *Nullifier) String() string { return proto.CompactTextString(m) } -func (*Nullifier) ProtoMessage() {} -func (*Nullifier) Descriptor() ([]byte, []int) { +func (m *CommitmentSource) Reset() { *m = CommitmentSource{} } +func (m *CommitmentSource) String() string { return proto.CompactTextString(m) } +func (*CommitmentSource) ProtoMessage() {} +func (*CommitmentSource) Descriptor() ([]byte, []int) { return fileDescriptor_e99589ee3b6c1a3a, []int{0} } -func (m *Nullifier) XXX_Unmarshal(b []byte) error { +func (m *CommitmentSource) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *Nullifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CommitmentSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_Nullifier.Marshal(b, m, deterministic) + return xxx_messageInfo_CommitmentSource.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -54,43 +61,115 @@ func (m *Nullifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *Nullifier) XXX_Merge(src proto.Message) { - xxx_messageInfo_Nullifier.Merge(m, src) +func (m *CommitmentSource) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommitmentSource.Merge(m, src) } -func (m *Nullifier) XXX_Size() int { +func (m *CommitmentSource) XXX_Size() int { return m.Size() } -func (m *Nullifier) XXX_DiscardUnknown() { - xxx_messageInfo_Nullifier.DiscardUnknown(m) +func (m *CommitmentSource) XXX_DiscardUnknown() { + xxx_messageInfo_CommitmentSource.DiscardUnknown(m) } -var xxx_messageInfo_Nullifier proto.InternalMessageInfo +var xxx_messageInfo_CommitmentSource proto.InternalMessageInfo -func (m *Nullifier) GetInner() []byte { +type isCommitmentSource_Source interface { + isCommitmentSource_Source() + MarshalTo([]byte) (int, error) + Size() int +} + +type CommitmentSource_Transaction_ struct { + Transaction *CommitmentSource_Transaction `protobuf:"bytes,1,opt,name=transaction,proto3,oneof" json:"transaction,omitempty"` +} +type CommitmentSource_Ics_20Transfer struct { + Ics_20Transfer *CommitmentSource_Ics20Transfer `protobuf:"bytes,2,opt,name=ics_20_transfer,json=ics20Transfer,proto3,oneof" json:"ics_20_transfer,omitempty"` +} +type CommitmentSource_FundingStreamReward_ struct { + FundingStreamReward *CommitmentSource_FundingStreamReward `protobuf:"bytes,20,opt,name=funding_stream_reward,json=fundingStreamReward,proto3,oneof" json:"funding_stream_reward,omitempty"` +} +type CommitmentSource_CommunityPoolOutput_ struct { + CommunityPoolOutput *CommitmentSource_CommunityPoolOutput `protobuf:"bytes,30,opt,name=community_pool_output,json=communityPoolOutput,proto3,oneof" json:"community_pool_output,omitempty"` +} +type CommitmentSource_Genesis_ struct { + Genesis *CommitmentSource_Genesis `protobuf:"bytes,40,opt,name=genesis,proto3,oneof" json:"genesis,omitempty"` +} + +func (*CommitmentSource_Transaction_) isCommitmentSource_Source() {} +func (*CommitmentSource_Ics_20Transfer) isCommitmentSource_Source() {} +func (*CommitmentSource_FundingStreamReward_) isCommitmentSource_Source() {} +func (*CommitmentSource_CommunityPoolOutput_) isCommitmentSource_Source() {} +func (*CommitmentSource_Genesis_) isCommitmentSource_Source() {} + +func (m *CommitmentSource) GetSource() isCommitmentSource_Source { if m != nil { - return m.Inner + return m.Source } return nil } -type TransactionByNoteRequest struct { - // The expected chain id (empty string if no expectation). - ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` - NoteCommitment *v1alpha1.StateCommitment `protobuf:"bytes,2,opt,name=note_commitment,json=noteCommitment,proto3" json:"note_commitment,omitempty"` +func (m *CommitmentSource) GetTransaction() *CommitmentSource_Transaction { + if x, ok := m.GetSource().(*CommitmentSource_Transaction_); ok { + return x.Transaction + } + return nil } -func (m *TransactionByNoteRequest) Reset() { *m = TransactionByNoteRequest{} } -func (m *TransactionByNoteRequest) String() string { return proto.CompactTextString(m) } -func (*TransactionByNoteRequest) ProtoMessage() {} -func (*TransactionByNoteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e99589ee3b6c1a3a, []int{1} +func (m *CommitmentSource) GetIcs_20Transfer() *CommitmentSource_Ics20Transfer { + if x, ok := m.GetSource().(*CommitmentSource_Ics_20Transfer); ok { + return x.Ics_20Transfer + } + return nil } -func (m *TransactionByNoteRequest) XXX_Unmarshal(b []byte) error { + +func (m *CommitmentSource) GetFundingStreamReward() *CommitmentSource_FundingStreamReward { + if x, ok := m.GetSource().(*CommitmentSource_FundingStreamReward_); ok { + return x.FundingStreamReward + } + return nil +} + +func (m *CommitmentSource) GetCommunityPoolOutput() *CommitmentSource_CommunityPoolOutput { + if x, ok := m.GetSource().(*CommitmentSource_CommunityPoolOutput_); ok { + return x.CommunityPoolOutput + } + return nil +} + +func (m *CommitmentSource) GetGenesis() *CommitmentSource_Genesis { + if x, ok := m.GetSource().(*CommitmentSource_Genesis_); ok { + return x.Genesis + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*CommitmentSource) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*CommitmentSource_Transaction_)(nil), + (*CommitmentSource_Ics_20Transfer)(nil), + (*CommitmentSource_FundingStreamReward_)(nil), + (*CommitmentSource_CommunityPoolOutput_)(nil), + (*CommitmentSource_Genesis_)(nil), + } +} + +// The state commitment was included in the genesis state. +type CommitmentSource_Genesis struct { +} + +func (m *CommitmentSource_Genesis) Reset() { *m = CommitmentSource_Genesis{} } +func (m *CommitmentSource_Genesis) String() string { return proto.CompactTextString(m) } +func (*CommitmentSource_Genesis) ProtoMessage() {} +func (*CommitmentSource_Genesis) Descriptor() ([]byte, []int) { + return fileDescriptor_e99589ee3b6c1a3a, []int{0, 0} +} +func (m *CommitmentSource_Genesis) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *TransactionByNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CommitmentSource_Genesis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_TransactionByNoteRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_CommitmentSource_Genesis.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -100,48 +179,89 @@ func (m *TransactionByNoteRequest) XXX_Marshal(b []byte, deterministic bool) ([] return b[:n], nil } } -func (m *TransactionByNoteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransactionByNoteRequest.Merge(m, src) +func (m *CommitmentSource_Genesis) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommitmentSource_Genesis.Merge(m, src) } -func (m *TransactionByNoteRequest) XXX_Size() int { +func (m *CommitmentSource_Genesis) XXX_Size() int { return m.Size() } -func (m *TransactionByNoteRequest) XXX_DiscardUnknown() { - xxx_messageInfo_TransactionByNoteRequest.DiscardUnknown(m) +func (m *CommitmentSource_Genesis) XXX_DiscardUnknown() { + xxx_messageInfo_CommitmentSource_Genesis.DiscardUnknown(m) } -var xxx_messageInfo_TransactionByNoteRequest proto.InternalMessageInfo +var xxx_messageInfo_CommitmentSource_Genesis proto.InternalMessageInfo -func (m *TransactionByNoteRequest) GetChainId() string { - if m != nil { - return m.ChainId +// The commitment was created by a transaction. +// +// When included in a `CompactBlock` via a `StatePayload`, the transaction source is "dehydrated" +// by stripping the `id` field and putting empty bytes in its place. When clients perform extended +// transaction fetch, they should match up transaction hashes to "rehydrate" the source info. +type CommitmentSource_Transaction struct { + // The transaction ID, if specified. + // + // This field may be omitted to save space, and should not be required to be present. + // If the bytes are missing, the message should be interpreted as "Transaction (Unknown)". + Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` +} + +func (m *CommitmentSource_Transaction) Reset() { *m = CommitmentSource_Transaction{} } +func (m *CommitmentSource_Transaction) String() string { return proto.CompactTextString(m) } +func (*CommitmentSource_Transaction) ProtoMessage() {} +func (*CommitmentSource_Transaction) Descriptor() ([]byte, []int) { + return fileDescriptor_e99589ee3b6c1a3a, []int{0, 1} +} +func (m *CommitmentSource_Transaction) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CommitmentSource_Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CommitmentSource_Transaction.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return "" } +func (m *CommitmentSource_Transaction) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommitmentSource_Transaction.Merge(m, src) +} +func (m *CommitmentSource_Transaction) XXX_Size() int { + return m.Size() +} +func (m *CommitmentSource_Transaction) XXX_DiscardUnknown() { + xxx_messageInfo_CommitmentSource_Transaction.DiscardUnknown(m) +} + +var xxx_messageInfo_CommitmentSource_Transaction proto.InternalMessageInfo -func (m *TransactionByNoteRequest) GetNoteCommitment() *v1alpha1.StateCommitment { +func (m *CommitmentSource_Transaction) GetId() []byte { if m != nil { - return m.NoteCommitment + return m.Id } return nil } -type TransactionByNoteResponse struct { - NoteSource *v1alpha11.NoteSource `protobuf:"bytes,1,opt,name=note_source,json=noteSource,proto3" json:"note_source,omitempty"` +// The commitment was created through a validator's funding stream. +type CommitmentSource_FundingStreamReward struct { + // The epoch index the rewards were issued in. + EpochIndex uint64 `protobuf:"varint,1,opt,name=epoch_index,json=epochIndex,proto3" json:"epoch_index,omitempty"` } -func (m *TransactionByNoteResponse) Reset() { *m = TransactionByNoteResponse{} } -func (m *TransactionByNoteResponse) String() string { return proto.CompactTextString(m) } -func (*TransactionByNoteResponse) ProtoMessage() {} -func (*TransactionByNoteResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e99589ee3b6c1a3a, []int{2} +func (m *CommitmentSource_FundingStreamReward) Reset() { *m = CommitmentSource_FundingStreamReward{} } +func (m *CommitmentSource_FundingStreamReward) String() string { return proto.CompactTextString(m) } +func (*CommitmentSource_FundingStreamReward) ProtoMessage() {} +func (*CommitmentSource_FundingStreamReward) Descriptor() ([]byte, []int) { + return fileDescriptor_e99589ee3b6c1a3a, []int{0, 2} } -func (m *TransactionByNoteResponse) XXX_Unmarshal(b []byte) error { +func (m *CommitmentSource_FundingStreamReward) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *TransactionByNoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *CommitmentSource_FundingStreamReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_TransactionByNoteResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_CommitmentSource_FundingStreamReward.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -151,320 +271,2133 @@ func (m *TransactionByNoteResponse) XXX_Marshal(b []byte, deterministic bool) ([ return b[:n], nil } } -func (m *TransactionByNoteResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransactionByNoteResponse.Merge(m, src) +func (m *CommitmentSource_FundingStreamReward) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommitmentSource_FundingStreamReward.Merge(m, src) } -func (m *TransactionByNoteResponse) XXX_Size() int { +func (m *CommitmentSource_FundingStreamReward) XXX_Size() int { return m.Size() } -func (m *TransactionByNoteResponse) XXX_DiscardUnknown() { - xxx_messageInfo_TransactionByNoteResponse.DiscardUnknown(m) +func (m *CommitmentSource_FundingStreamReward) XXX_DiscardUnknown() { + xxx_messageInfo_CommitmentSource_FundingStreamReward.DiscardUnknown(m) } -var xxx_messageInfo_TransactionByNoteResponse proto.InternalMessageInfo +var xxx_messageInfo_CommitmentSource_FundingStreamReward proto.InternalMessageInfo -func (m *TransactionByNoteResponse) GetNoteSource() *v1alpha11.NoteSource { +func (m *CommitmentSource_FundingStreamReward) GetEpochIndex() uint64 { if m != nil { - return m.NoteSource + return m.EpochIndex } - return nil + return 0 } -func init() { - proto.RegisterType((*Nullifier)(nil), "penumbra.core.component.sct.v1alpha1.Nullifier") - proto.RegisterType((*TransactionByNoteRequest)(nil), "penumbra.core.component.sct.v1alpha1.TransactionByNoteRequest") - proto.RegisterType((*TransactionByNoteResponse)(nil), "penumbra.core.component.sct.v1alpha1.TransactionByNoteResponse") +// The commitment was created through a `CommunityPoolOutput` in a governance-initated transaction. +type CommitmentSource_CommunityPoolOutput struct { } -func init() { - proto.RegisterFile("penumbra/core/component/sct/v1alpha1/sct.proto", fileDescriptor_e99589ee3b6c1a3a) +func (m *CommitmentSource_CommunityPoolOutput) Reset() { *m = CommitmentSource_CommunityPoolOutput{} } +func (m *CommitmentSource_CommunityPoolOutput) String() string { return proto.CompactTextString(m) } +func (*CommitmentSource_CommunityPoolOutput) ProtoMessage() {} +func (*CommitmentSource_CommunityPoolOutput) Descriptor() ([]byte, []int) { + return fileDescriptor_e99589ee3b6c1a3a, []int{0, 3} } - -var fileDescriptor_e99589ee3b6c1a3a = []byte{ - // 487 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x93, 0xcf, 0x8a, 0x13, 0x41, - 0x10, 0xc6, 0xd3, 0x83, 0x7f, 0x76, 0x3b, 0x8b, 0xe2, 0xe0, 0x21, 0x9b, 0xc3, 0xb0, 0x86, 0x45, - 0x72, 0xb1, 0xc7, 0x1d, 0x6f, 0x23, 0x28, 0x24, 0x07, 0xf1, 0xe0, 0x12, 0x33, 0xb2, 0x07, 0x19, - 0x58, 0x3a, 0x9d, 0xd2, 0x0c, 0x64, 0xba, 0xc7, 0xee, 0x9a, 0x40, 0x1e, 0x42, 0xf0, 0xe0, 0x13, - 0x08, 0x5e, 0x7c, 0x12, 0xf1, 0xb4, 0x47, 0x6f, 0x4a, 0x72, 0xf3, 0x29, 0xa4, 0x3b, 0x3b, 0x33, - 0x0b, 0x1a, 0x08, 0x7b, 0x09, 0x55, 0xf0, 0xfb, 0xbe, 0xfa, 0xaa, 0xd2, 0x43, 0x59, 0x01, 0xb2, - 0xcc, 0x27, 0x9a, 0x87, 0x42, 0x69, 0x08, 0x85, 0xca, 0x0b, 0x25, 0x41, 0x62, 0x68, 0x04, 0x86, - 0x8b, 0x13, 0x3e, 0x2f, 0x66, 0xfc, 0xc4, 0x36, 0xac, 0xd0, 0x0a, 0x95, 0x7f, 0x5c, 0xf1, 0xcc, - 0xf2, 0xac, 0xe6, 0x99, 0x45, 0x2a, 0xbe, 0x1b, 0x6d, 0x73, 0x15, 0x33, 0x9e, 0xc9, 0xc6, 0xd7, - 0xb5, 0x1b, 0xe7, 0xee, 0xc3, 0x46, 0xa3, 0x97, 0x05, 0xaa, 0x10, 0xaf, 0x26, 0xc0, 0x2a, 0x41, - 0xef, 0x01, 0xdd, 0x3f, 0x2d, 0xe7, 0xf3, 0xec, 0x5d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0xfd, - 0x5c, 0x07, 0x2d, 0xda, 0x17, 0x2a, 0xdf, 0xc9, 0x7e, 0xb0, 0x97, 0x08, 0x1c, 0xd9, 0xb7, 0x31, - 0x22, 0x6f, 0xd3, 0xf7, 0x19, 0xce, 0xca, 0x89, 0x45, 0x43, 0xa1, 0x4c, 0xae, 0x4c, 0xa8, 0x61, - 0xce, 0x97, 0xa0, 0xc3, 0x45, 0x54, 0x97, 0xee, 0x88, 0x26, 0xdc, 0xe5, 0xed, 0x3f, 0x35, 0x02, - 0xab, 0xfa, 0x8b, 0x77, 0x63, 0x34, 0x1c, 0x26, 0xdf, 0xbc, 0xe3, 0x51, 0x95, 0x6b, 0x68, 0x73, - 0x0d, 0xeb, 0x5c, 0x89, 0x40, 0x76, 0x76, 0x49, 0xff, 0x68, 0xb0, 0xd4, 0x62, 0x69, 0x8d, 0xa5, - 0x89, 0xc0, 0xb4, 0xc2, 0x56, 0xde, 0xe3, 0x5d, 0xb0, 0xf4, 0xc5, 0x68, 0xf0, 0x0a, 0x90, 0x4f, - 0x39, 0xf2, 0x3f, 0x5e, 0xbf, 0x92, 0xc4, 0xb1, 0xd5, 0xd8, 0xdf, 0x4b, 0x51, 0x1c, 0x27, 0x02, - 0xe3, 0xb8, 0x92, 0x4d, 0x6e, 0xb9, 0xaf, 0xe6, 0xc9, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x72, - 0x61, 0x55, 0xcf, 0xe9, 0x03, 0x00, 0x00, +func (m *CommitmentSource_CommunityPoolOutput) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CommitmentSource_CommunityPoolOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CommitmentSource_CommunityPoolOutput.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 *CommitmentSource_CommunityPoolOutput) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommitmentSource_CommunityPoolOutput.Merge(m, src) +} +func (m *CommitmentSource_CommunityPoolOutput) XXX_Size() int { + return m.Size() +} +func (m *CommitmentSource_CommunityPoolOutput) XXX_DiscardUnknown() { + xxx_messageInfo_CommitmentSource_CommunityPoolOutput.DiscardUnknown(m) } -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConn - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +var xxx_messageInfo_CommitmentSource_CommunityPoolOutput proto.InternalMessageInfo -// QueryServiceClient is the client API for QueryService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type QueryServiceClient interface { - // TODO: change to generic tx-by-commitment - TransactionByNote(ctx context.Context, in *TransactionByNoteRequest, opts ...grpc.CallOption) (*TransactionByNoteResponse, error) +// The commitment was created by an inbound ICS20 transfer. +type CommitmentSource_Ics20Transfer struct { + // The sequence number of the packet that triggered the transfer + PacketSeq uint64 `protobuf:"varint,1,opt,name=packet_seq,json=packetSeq,proto3" json:"packet_seq,omitempty"` + // The channel id the transfer happened on + ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` + // The sender address on the counterparty chain + Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"` } -type queryServiceClient struct { - cc grpc1.ClientConn +func (m *CommitmentSource_Ics20Transfer) Reset() { *m = CommitmentSource_Ics20Transfer{} } +func (m *CommitmentSource_Ics20Transfer) String() string { return proto.CompactTextString(m) } +func (*CommitmentSource_Ics20Transfer) ProtoMessage() {} +func (*CommitmentSource_Ics20Transfer) Descriptor() ([]byte, []int) { + return fileDescriptor_e99589ee3b6c1a3a, []int{0, 4} } - -func NewQueryServiceClient(cc grpc1.ClientConn) QueryServiceClient { - return &queryServiceClient{cc} +func (m *CommitmentSource_Ics20Transfer) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } - -func (c *queryServiceClient) TransactionByNote(ctx context.Context, in *TransactionByNoteRequest, opts ...grpc.CallOption) (*TransactionByNoteResponse, error) { - out := new(TransactionByNoteResponse) - err := c.cc.Invoke(ctx, "/penumbra.core.component.sct.v1alpha1.QueryService/TransactionByNote", in, out, opts...) - if err != nil { - return nil, err +func (m *CommitmentSource_Ics20Transfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CommitmentSource_Ics20Transfer.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil } - -// QueryServiceServer is the server API for QueryService service. -type QueryServiceServer interface { - // TODO: change to generic tx-by-commitment - TransactionByNote(context.Context, *TransactionByNoteRequest) (*TransactionByNoteResponse, error) +func (m *CommitmentSource_Ics20Transfer) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommitmentSource_Ics20Transfer.Merge(m, src) } - -// UnimplementedQueryServiceServer can be embedded to have forward compatible implementations. -type UnimplementedQueryServiceServer struct { +func (m *CommitmentSource_Ics20Transfer) XXX_Size() int { + return m.Size() } - -func (*UnimplementedQueryServiceServer) TransactionByNote(ctx context.Context, req *TransactionByNoteRequest) (*TransactionByNoteResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method TransactionByNote not implemented") +func (m *CommitmentSource_Ics20Transfer) XXX_DiscardUnknown() { + xxx_messageInfo_CommitmentSource_Ics20Transfer.DiscardUnknown(m) } -func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer) { - s.RegisterService(&_QueryService_serviceDesc, srv) -} +var xxx_messageInfo_CommitmentSource_Ics20Transfer proto.InternalMessageInfo -func _QueryService_TransactionByNote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TransactionByNoteRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(QueryServiceServer).TransactionByNote(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/penumbra.core.component.sct.v1alpha1.QueryService/TransactionByNote", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServiceServer).TransactionByNote(ctx, req.(*TransactionByNoteRequest)) +func (m *CommitmentSource_Ics20Transfer) GetPacketSeq() uint64 { + if m != nil { + return m.PacketSeq } - return interceptor(ctx, in, info, handler) + return 0 } -var _QueryService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "penumbra.core.component.sct.v1alpha1.QueryService", - HandlerType: (*QueryServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "TransactionByNote", - Handler: _QueryService_TransactionByNote_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "penumbra/core/component/sct/v1alpha1/sct.proto", +func (m *CommitmentSource_Ics20Transfer) GetChannelId() string { + if m != nil { + return m.ChannelId + } + return "" } -func (m *Nullifier) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *CommitmentSource_Ics20Transfer) GetSender() string { + if m != nil { + return m.Sender } - return dAtA[:n], nil + return "" } -func (m *Nullifier) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +type Nullifier struct { + Inner []byte `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` } -func (m *Nullifier) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Inner) > 0 { - i -= len(m.Inner) - copy(dAtA[i:], m.Inner) - i = encodeVarintSct(dAtA, i, uint64(len(m.Inner))) - i-- - dAtA[i] = 0xa +func (m *Nullifier) Reset() { *m = Nullifier{} } +func (m *Nullifier) String() string { return proto.CompactTextString(m) } +func (*Nullifier) ProtoMessage() {} +func (*Nullifier) Descriptor() ([]byte, []int) { + return fileDescriptor_e99589ee3b6c1a3a, []int{1} +} +func (m *Nullifier) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Nullifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Nullifier.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return len(dAtA) - i, nil +} +func (m *Nullifier) XXX_Merge(src proto.Message) { + xxx_messageInfo_Nullifier.Merge(m, src) +} +func (m *Nullifier) XXX_Size() int { + return m.Size() +} +func (m *Nullifier) XXX_DiscardUnknown() { + xxx_messageInfo_Nullifier.DiscardUnknown(m) } -func (m *TransactionByNoteRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +var xxx_messageInfo_Nullifier proto.InternalMessageInfo + +func (m *Nullifier) GetInner() []byte { + if m != nil { + return m.Inner } - return dAtA[:n], nil + return nil } -func (m *TransactionByNoteRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +// Records information about what transaction spent a nullifier. +type NullificationInfo struct { + Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + SpendHeight uint64 `protobuf:"varint,2,opt,name=spend_height,json=spendHeight,proto3" json:"spend_height,omitempty"` } -func (m *TransactionByNoteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.NoteCommitment != nil { - { - size, err := m.NoteCommitment.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintSct(dAtA, i, uint64(size)) +func (m *NullificationInfo) Reset() { *m = NullificationInfo{} } +func (m *NullificationInfo) String() string { return proto.CompactTextString(m) } +func (*NullificationInfo) ProtoMessage() {} +func (*NullificationInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_e99589ee3b6c1a3a, []int{2} +} +func (m *NullificationInfo) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NullificationInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NullificationInfo.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err } - i-- - dAtA[i] = 0x12 + return b[:n], nil } - if len(m.ChainId) > 0 { - i -= len(m.ChainId) - copy(dAtA[i:], m.ChainId) - i = encodeVarintSct(dAtA, i, uint64(len(m.ChainId))) - i-- - dAtA[i] = 0xa +} +func (m *NullificationInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_NullificationInfo.Merge(m, src) +} +func (m *NullificationInfo) XXX_Size() int { + return m.Size() +} +func (m *NullificationInfo) XXX_DiscardUnknown() { + xxx_messageInfo_NullificationInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_NullificationInfo proto.InternalMessageInfo + +func (m *NullificationInfo) GetId() []byte { + if m != nil { + return m.Id } - return len(dAtA) - i, nil + return nil } -func (m *TransactionByNoteResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *NullificationInfo) GetSpendHeight() uint64 { + if m != nil { + return m.SpendHeight } - return dAtA[:n], nil + return 0 } -func (m *TransactionByNoteResponse) MarshalTo(dAtA []byte) (int, error) { +// Event recording a new commitment added to the SCT. +type EventCommitment struct { + Commitment *v1alpha1.StateCommitment `protobuf:"bytes,1,opt,name=commitment,proto3" json:"commitment,omitempty"` + Position uint64 `protobuf:"varint,2,opt,name=position,proto3" json:"position,omitempty"` + Source *CommitmentSource `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` +} + +func (m *EventCommitment) Reset() { *m = EventCommitment{} } +func (m *EventCommitment) String() string { return proto.CompactTextString(m) } +func (*EventCommitment) ProtoMessage() {} +func (*EventCommitment) Descriptor() ([]byte, []int) { + return fileDescriptor_e99589ee3b6c1a3a, []int{3} +} +func (m *EventCommitment) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventCommitment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventCommitment.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 *EventCommitment) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventCommitment.Merge(m, src) +} +func (m *EventCommitment) XXX_Size() int { + return m.Size() +} +func (m *EventCommitment) XXX_DiscardUnknown() { + xxx_messageInfo_EventCommitment.DiscardUnknown(m) +} + +var xxx_messageInfo_EventCommitment proto.InternalMessageInfo + +func (m *EventCommitment) GetCommitment() *v1alpha1.StateCommitment { + if m != nil { + return m.Commitment + } + return nil +} + +func (m *EventCommitment) GetPosition() uint64 { + if m != nil { + return m.Position + } + return 0 +} + +func (m *EventCommitment) GetSource() *CommitmentSource { + if m != nil { + return m.Source + } + return nil +} + +// Event recording an SCT anchor (global root). +type EventAnchor struct { + Anchor *v1alpha1.MerkleRoot `protobuf:"bytes,1,opt,name=anchor,proto3" json:"anchor,omitempty"` + Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` +} + +func (m *EventAnchor) Reset() { *m = EventAnchor{} } +func (m *EventAnchor) String() string { return proto.CompactTextString(m) } +func (*EventAnchor) ProtoMessage() {} +func (*EventAnchor) Descriptor() ([]byte, []int) { + return fileDescriptor_e99589ee3b6c1a3a, []int{4} +} +func (m *EventAnchor) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventAnchor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventAnchor.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 *EventAnchor) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventAnchor.Merge(m, src) +} +func (m *EventAnchor) XXX_Size() int { + return m.Size() +} +func (m *EventAnchor) XXX_DiscardUnknown() { + xxx_messageInfo_EventAnchor.DiscardUnknown(m) +} + +var xxx_messageInfo_EventAnchor proto.InternalMessageInfo + +func (m *EventAnchor) GetAnchor() *v1alpha1.MerkleRoot { + if m != nil { + return m.Anchor + } + return nil +} + +func (m *EventAnchor) GetHeight() uint64 { + if m != nil { + return m.Height + } + return 0 +} + +// Event recording an SCT epoch root. +type EventEpochRoot struct { + Root *v1alpha1.MerkleRoot `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"` + Index uint64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` +} + +func (m *EventEpochRoot) Reset() { *m = EventEpochRoot{} } +func (m *EventEpochRoot) String() string { return proto.CompactTextString(m) } +func (*EventEpochRoot) ProtoMessage() {} +func (*EventEpochRoot) Descriptor() ([]byte, []int) { + return fileDescriptor_e99589ee3b6c1a3a, []int{5} +} +func (m *EventEpochRoot) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventEpochRoot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventEpochRoot.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 *EventEpochRoot) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventEpochRoot.Merge(m, src) +} +func (m *EventEpochRoot) XXX_Size() int { + return m.Size() +} +func (m *EventEpochRoot) XXX_DiscardUnknown() { + xxx_messageInfo_EventEpochRoot.DiscardUnknown(m) +} + +var xxx_messageInfo_EventEpochRoot proto.InternalMessageInfo + +func (m *EventEpochRoot) GetRoot() *v1alpha1.MerkleRoot { + if m != nil { + return m.Root + } + return nil +} + +func (m *EventEpochRoot) GetIndex() uint64 { + if m != nil { + return m.Index + } + return 0 +} + +// Event recording an SCT block root. +type EventBlockRoot struct { + Root *v1alpha1.MerkleRoot `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"` + Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` +} + +func (m *EventBlockRoot) Reset() { *m = EventBlockRoot{} } +func (m *EventBlockRoot) String() string { return proto.CompactTextString(m) } +func (*EventBlockRoot) ProtoMessage() {} +func (*EventBlockRoot) Descriptor() ([]byte, []int) { + return fileDescriptor_e99589ee3b6c1a3a, []int{6} +} +func (m *EventBlockRoot) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventBlockRoot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventBlockRoot.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 *EventBlockRoot) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventBlockRoot.Merge(m, src) +} +func (m *EventBlockRoot) XXX_Size() int { + return m.Size() +} +func (m *EventBlockRoot) XXX_DiscardUnknown() { + xxx_messageInfo_EventBlockRoot.DiscardUnknown(m) +} + +var xxx_messageInfo_EventBlockRoot proto.InternalMessageInfo + +func (m *EventBlockRoot) GetRoot() *v1alpha1.MerkleRoot { + if m != nil { + return m.Root + } + return nil +} + +func (m *EventBlockRoot) GetHeight() uint64 { + if m != nil { + return m.Height + } + return 0 +} + +func init() { + proto.RegisterType((*CommitmentSource)(nil), "penumbra.core.component.sct.v1alpha1.CommitmentSource") + proto.RegisterType((*CommitmentSource_Genesis)(nil), "penumbra.core.component.sct.v1alpha1.CommitmentSource.Genesis") + proto.RegisterType((*CommitmentSource_Transaction)(nil), "penumbra.core.component.sct.v1alpha1.CommitmentSource.Transaction") + proto.RegisterType((*CommitmentSource_FundingStreamReward)(nil), "penumbra.core.component.sct.v1alpha1.CommitmentSource.FundingStreamReward") + proto.RegisterType((*CommitmentSource_CommunityPoolOutput)(nil), "penumbra.core.component.sct.v1alpha1.CommitmentSource.CommunityPoolOutput") + proto.RegisterType((*CommitmentSource_Ics20Transfer)(nil), "penumbra.core.component.sct.v1alpha1.CommitmentSource.Ics20Transfer") + proto.RegisterType((*Nullifier)(nil), "penumbra.core.component.sct.v1alpha1.Nullifier") + proto.RegisterType((*NullificationInfo)(nil), "penumbra.core.component.sct.v1alpha1.NullificationInfo") + proto.RegisterType((*EventCommitment)(nil), "penumbra.core.component.sct.v1alpha1.EventCommitment") + proto.RegisterType((*EventAnchor)(nil), "penumbra.core.component.sct.v1alpha1.EventAnchor") + proto.RegisterType((*EventEpochRoot)(nil), "penumbra.core.component.sct.v1alpha1.EventEpochRoot") + proto.RegisterType((*EventBlockRoot)(nil), "penumbra.core.component.sct.v1alpha1.EventBlockRoot") +} + +func init() { + proto.RegisterFile("penumbra/core/component/sct/v1alpha1/sct.proto", fileDescriptor_e99589ee3b6c1a3a) +} + +var fileDescriptor_e99589ee3b6c1a3a = []byte{ + // 812 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xcb, 0x8e, 0x1b, 0x45, + 0x14, 0xb5, 0xcd, 0xe0, 0x8c, 0xaf, 0x27, 0x13, 0xa8, 0x49, 0x90, 0x65, 0x29, 0x86, 0x58, 0x11, + 0xf2, 0x86, 0xee, 0x89, 0x91, 0xb2, 0x30, 0x08, 0x81, 0x4d, 0x12, 0x0f, 0xd2, 0x04, 0xd3, 0x1d, + 0xb1, 0x88, 0x2c, 0xb5, 0x6a, 0xaa, 0xaf, 0xed, 0xd2, 0x74, 0x57, 0x75, 0xaa, 0xaa, 0x07, 0x66, + 0xc7, 0x27, 0xf0, 0x0d, 0x2c, 0xf9, 0x00, 0x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0x5f, 0x01, + 0x00, 0x00, 0xff, 0xff, 0xc7, 0xd6, 0x7d, 0xcb, 0xa2, 0x07, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// QueryServiceClient is the client API for QueryService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type QueryServiceClient interface { +} + +type queryServiceClient struct { + cc grpc1.ClientConn +} + +func NewQueryServiceClient(cc grpc1.ClientConn) QueryServiceClient { + return &queryServiceClient{cc} +} + +// QueryServiceServer is the server API for QueryService service. +type QueryServiceServer interface { +} + +// UnimplementedQueryServiceServer can be embedded to have forward compatible implementations. +type UnimplementedQueryServiceServer struct { +} + +func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer) { + s.RegisterService(&_QueryService_serviceDesc, srv) +} + +var _QueryService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "penumbra.core.component.sct.v1alpha1.QueryService", + HandlerType: (*QueryServiceServer)(nil), + Methods: []grpc.MethodDesc{}, + Streams: []grpc.StreamDesc{}, + Metadata: "penumbra/core/component/sct/v1alpha1/sct.proto", +} + +func (m *CommitmentSource) 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 *CommitmentSource) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *TransactionByNoteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CommitmentSource) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.NoteSource != nil { + if m.Source != nil { + { + size := m.Source.Size() + i -= size + if _, err := m.Source.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + } + } + return len(dAtA) - i, nil +} + +func (m *CommitmentSource_Transaction_) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CommitmentSource_Transaction_) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.Transaction != nil { + { + size, err := m.Transaction.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintSct(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} +func (m *CommitmentSource_Ics_20Transfer) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CommitmentSource_Ics_20Transfer) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.Ics_20Transfer != nil { + { + size, err := m.Ics_20Transfer.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintSct(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + return len(dAtA) - i, nil +} +func (m *CommitmentSource_FundingStreamReward_) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CommitmentSource_FundingStreamReward_) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.FundingStreamReward != nil { + { + size, err := m.FundingStreamReward.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintSct(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa2 + } + return len(dAtA) - i, nil +} +func (m *CommitmentSource_CommunityPoolOutput_) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CommitmentSource_CommunityPoolOutput_) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.CommunityPoolOutput != nil { { - size, err := m.NoteSource.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.CommunityPoolOutput.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintSct(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xf2 + } + return len(dAtA) - i, nil +} +func (m *CommitmentSource_Genesis_) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CommitmentSource_Genesis_) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.Genesis != nil { + { + size, err := m.Genesis.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintSct(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xc2 + } + return len(dAtA) - i, nil +} +func (m *CommitmentSource_Genesis) 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 *CommitmentSource_Genesis) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CommitmentSource_Genesis) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *CommitmentSource_Transaction) 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 *CommitmentSource_Transaction) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CommitmentSource_Transaction) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Id) > 0 { + i -= len(m.Id) + copy(dAtA[i:], m.Id) + i = encodeVarintSct(dAtA, i, uint64(len(m.Id))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CommitmentSource_FundingStreamReward) 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 *CommitmentSource_FundingStreamReward) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CommitmentSource_FundingStreamReward) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.EpochIndex != 0 { + i = encodeVarintSct(dAtA, i, uint64(m.EpochIndex)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *CommitmentSource_CommunityPoolOutput) 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 *CommitmentSource_CommunityPoolOutput) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CommitmentSource_CommunityPoolOutput) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *CommitmentSource_Ics20Transfer) 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 *CommitmentSource_Ics20Transfer) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CommitmentSource_Ics20Transfer) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Sender) > 0 { + i -= len(m.Sender) + copy(dAtA[i:], m.Sender) + i = encodeVarintSct(dAtA, i, uint64(len(m.Sender))) + i-- + dAtA[i] = 0x1a + } + if len(m.ChannelId) > 0 { + i -= len(m.ChannelId) + copy(dAtA[i:], m.ChannelId) + i = encodeVarintSct(dAtA, i, uint64(len(m.ChannelId))) + i-- + dAtA[i] = 0x12 + } + if m.PacketSeq != 0 { + i = encodeVarintSct(dAtA, i, uint64(m.PacketSeq)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *Nullifier) 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 *Nullifier) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Nullifier) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Inner) > 0 { + i -= len(m.Inner) + copy(dAtA[i:], m.Inner) + i = encodeVarintSct(dAtA, i, uint64(len(m.Inner))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *NullificationInfo) 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 *NullificationInfo) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *NullificationInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.SpendHeight != 0 { + i = encodeVarintSct(dAtA, i, uint64(m.SpendHeight)) + i-- + dAtA[i] = 0x10 + } + if len(m.Id) > 0 { + i -= len(m.Id) + copy(dAtA[i:], m.Id) + i = encodeVarintSct(dAtA, i, uint64(len(m.Id))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *EventCommitment) 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 *EventCommitment) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventCommitment) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Source != nil { + { + size, err := m.Source.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintSct(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.Position != 0 { + i = encodeVarintSct(dAtA, i, uint64(m.Position)) + i-- + dAtA[i] = 0x10 + } + if m.Commitment != nil { + { + size, err := m.Commitment.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintSct(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *EventAnchor) 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 *EventAnchor) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventAnchor) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Height != 0 { + i = encodeVarintSct(dAtA, i, uint64(m.Height)) + i-- + dAtA[i] = 0x10 + } + if m.Anchor != nil { + { + size, err := m.Anchor.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintSct(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *EventEpochRoot) 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 *EventEpochRoot) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventEpochRoot) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Index != 0 { + i = encodeVarintSct(dAtA, i, uint64(m.Index)) + i-- + dAtA[i] = 0x10 + } + if m.Root != nil { + { + size, err := m.Root.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintSct(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *EventBlockRoot) 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 *EventBlockRoot) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventBlockRoot) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Height != 0 { + i = encodeVarintSct(dAtA, i, uint64(m.Height)) + i-- + dAtA[i] = 0x10 + } + if m.Root != nil { + { + size, err := m.Root.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintSct(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintSct(dAtA []byte, offset int, v uint64) int { + offset -= sovSct(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *CommitmentSource) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Source != nil { + n += m.Source.Size() + } + return n +} + +func (m *CommitmentSource_Transaction_) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Transaction != nil { + l = m.Transaction.Size() + n += 1 + l + sovSct(uint64(l)) + } + return n +} +func (m *CommitmentSource_Ics_20Transfer) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Ics_20Transfer != nil { + l = m.Ics_20Transfer.Size() + n += 1 + l + sovSct(uint64(l)) + } + return n +} +func (m *CommitmentSource_FundingStreamReward_) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.FundingStreamReward != nil { + l = m.FundingStreamReward.Size() + n += 2 + l + sovSct(uint64(l)) + } + return n +} +func (m *CommitmentSource_CommunityPoolOutput_) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.CommunityPoolOutput != nil { + l = m.CommunityPoolOutput.Size() + n += 2 + l + sovSct(uint64(l)) + } + return n +} +func (m *CommitmentSource_Genesis_) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Genesis != nil { + l = m.Genesis.Size() + n += 2 + l + sovSct(uint64(l)) + } + return n +} +func (m *CommitmentSource_Genesis) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *CommitmentSource_Transaction) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Id) + if l > 0 { + n += 1 + l + sovSct(uint64(l)) + } + return n +} + +func (m *CommitmentSource_FundingStreamReward) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EpochIndex != 0 { + n += 1 + sovSct(uint64(m.EpochIndex)) + } + return n +} + +func (m *CommitmentSource_CommunityPoolOutput) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *CommitmentSource_Ics20Transfer) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.PacketSeq != 0 { + n += 1 + sovSct(uint64(m.PacketSeq)) + } + l = len(m.ChannelId) + if l > 0 { + n += 1 + l + sovSct(uint64(l)) + } + l = len(m.Sender) + if l > 0 { + n += 1 + l + sovSct(uint64(l)) + } + return n +} + +func (m *Nullifier) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Inner) + if l > 0 { + n += 1 + l + sovSct(uint64(l)) + } + return n +} + +func (m *NullificationInfo) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Id) + if l > 0 { + n += 1 + l + sovSct(uint64(l)) + } + if m.SpendHeight != 0 { + n += 1 + sovSct(uint64(m.SpendHeight)) + } + return n +} + +func (m *EventCommitment) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Commitment != nil { + l = m.Commitment.Size() + n += 1 + l + sovSct(uint64(l)) + } + if m.Position != 0 { + n += 1 + sovSct(uint64(m.Position)) + } + if m.Source != nil { + l = m.Source.Size() + n += 1 + l + sovSct(uint64(l)) + } + return n +} + +func (m *EventAnchor) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Anchor != nil { + l = m.Anchor.Size() + n += 1 + l + sovSct(uint64(l)) + } + if m.Height != 0 { + n += 1 + sovSct(uint64(m.Height)) + } + return n +} + +func (m *EventEpochRoot) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Root != nil { + l = m.Root.Size() + n += 1 + l + sovSct(uint64(l)) + } + if m.Index != 0 { + n += 1 + sovSct(uint64(m.Index)) + } + return n +} + +func (m *EventBlockRoot) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Root != nil { + l = m.Root.Size() + n += 1 + l + sovSct(uint64(l)) + } + if m.Height != 0 { + n += 1 + sovSct(uint64(m.Height)) + } + return n +} + +func sovSct(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozSct(x uint64) (n int) { + return sovSct(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *CommitmentSource) 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 ErrIntOverflowSct + } + 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: CommitmentSource: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CommitmentSource: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Transaction", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowSct + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthSct + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSct + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &CommitmentSource_Transaction{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Source = &CommitmentSource_Transaction_{v} + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Ics_20Transfer", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowSct + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthSct + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSct + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &CommitmentSource_Ics20Transfer{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Source = &CommitmentSource_Ics_20Transfer{v} + iNdEx = postIndex + case 20: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FundingStreamReward", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowSct + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthSct + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSct + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &CommitmentSource_FundingStreamReward{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Source = &CommitmentSource_FundingStreamReward_{v} + iNdEx = postIndex + case 30: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CommunityPoolOutput", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowSct + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthSct + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSct + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &CommitmentSource_CommunityPoolOutput{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Source = &CommitmentSource_CommunityPoolOutput_{v} + iNdEx = postIndex + case 40: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Genesis", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowSct + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthSct + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSct + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &CommitmentSource_Genesis{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Source = &CommitmentSource_Genesis_{v} + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipSct(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthSct + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CommitmentSource_Genesis) 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 ErrIntOverflowSct + } + 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: Genesis: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Genesis: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipSct(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthSct + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CommitmentSource_Transaction) 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 ErrIntOverflowSct + } + 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: Transaction: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Transaction: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowSct + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthSct + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthSct + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Id = append(m.Id[:0], dAtA[iNdEx:postIndex]...) + if m.Id == nil { + m.Id = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipSct(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthSct + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CommitmentSource_FundingStreamReward) 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 ErrIntOverflowSct + } + 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: FundingStreamReward: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: FundingStreamReward: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EpochIndex", wireType) + } + m.EpochIndex = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowSct + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.EpochIndex |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipSct(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthSct + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CommitmentSource_CommunityPoolOutput) 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 ErrIntOverflowSct + } + 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: CommunityPoolOutput: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CommunityPoolOutput: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipSct(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthSct + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CommitmentSource_Ics20Transfer) 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 ErrIntOverflowSct + } + 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: Ics20Transfer: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Ics20Transfer: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PacketSeq", wireType) + } + m.PacketSeq = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowSct + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.PacketSeq |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ChannelId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowSct + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthSct + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSct + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ChannelId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowSct + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthSct + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSct + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipSct(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthSct + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Nullifier) 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 ErrIntOverflowSct + } + 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: Nullifier: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Nullifier: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Inner", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowSct + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthSct + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthSct + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Inner = append(m.Inner[:0], dAtA[iNdEx:postIndex]...) + if m.Inner == nil { + m.Inner = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipSct(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthSct + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *NullificationInfo) 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 ErrIntOverflowSct + } + 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: NullificationInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: NullificationInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowSct + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthSct + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthSct + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Id = append(m.Id[:0], dAtA[iNdEx:postIndex]...) + if m.Id == nil { + m.Id = []byte{} + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SpendHeight", wireType) + } + m.SpendHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowSct + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.SpendHeight |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipSct(dAtA[iNdEx:]) if err != nil { - return 0, err + return err } - i -= size - i = encodeVarintSct(dAtA, i, uint64(size)) + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthSct + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func encodeVarintSct(dAtA []byte, offset int, v uint64) int { - offset -= sovSct(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *Nullifier) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Inner) - if l > 0 { - n += 1 + l + sovSct(uint64(l)) - } - return n -} - -func (m *TransactionByNoteRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ChainId) - if l > 0 { - n += 1 + l + sovSct(uint64(l)) - } - if m.NoteCommitment != nil { - l = m.NoteCommitment.Size() - n += 1 + l + sovSct(uint64(l)) } - return n -} -func (m *TransactionByNoteResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.NoteSource != nil { - l = m.NoteSource.Size() - n += 1 + l + sovSct(uint64(l)) + if iNdEx > l { + return io.ErrUnexpectedEOF } - return n -} - -func sovSct(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozSct(x uint64) (n int) { - return sovSct(uint64((x << 1) ^ uint64((int64(x) >> 63)))) + return nil } -func (m *Nullifier) Unmarshal(dAtA []byte) error { +func (m *EventCommitment) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -487,17 +2420,17 @@ func (m *Nullifier) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Nullifier: wiretype end group for non-group") + return fmt.Errorf("proto: EventCommitment: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Nullifier: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventCommitment: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Inner", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Commitment", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowSct @@ -507,24 +2440,81 @@ func (m *Nullifier) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + if msglen < 0 { return ErrInvalidLengthSct } - postIndex := iNdEx + byteLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthSct } if postIndex > l { return io.ErrUnexpectedEOF } - m.Inner = append(m.Inner[:0], dAtA[iNdEx:postIndex]...) - if m.Inner == nil { - m.Inner = []byte{} + if m.Commitment == nil { + m.Commitment = &v1alpha1.StateCommitment{} + } + if err := m.Commitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) + } + m.Position = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowSct + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Position |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowSct + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthSct + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSct + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Source == nil { + m.Source = &CommitmentSource{} + } + if err := m.Source.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } iNdEx = postIndex default: @@ -548,7 +2538,7 @@ func (m *Nullifier) Unmarshal(dAtA []byte) error { } return nil } -func (m *TransactionByNoteRequest) Unmarshal(dAtA []byte) error { +func (m *EventAnchor) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -571,17 +2561,17 @@ func (m *TransactionByNoteRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: TransactionByNoteRequest: wiretype end group for non-group") + return fmt.Errorf("proto: EventAnchor: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: TransactionByNoteRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventAnchor: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Anchor", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowSct @@ -591,27 +2581,100 @@ func (m *TransactionByNoteRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthSct } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthSct } if postIndex > l { return io.ErrUnexpectedEOF } - m.ChainId = string(dAtA[iNdEx:postIndex]) + if m.Anchor == nil { + m.Anchor = &v1alpha1.MerkleRoot{} + } + if err := m.Anchor.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType) + } + m.Height = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowSct + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Height |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipSct(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthSct + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EventEpochRoot) 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 ErrIntOverflowSct + } + 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: EventEpochRoot: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventEpochRoot: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NoteCommitment", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Root", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -638,13 +2701,32 @@ func (m *TransactionByNoteRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.NoteCommitment == nil { - m.NoteCommitment = &v1alpha1.StateCommitment{} + if m.Root == nil { + m.Root = &v1alpha1.MerkleRoot{} } - if err := m.NoteCommitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Root.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) + } + m.Index = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowSct + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Index |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipSct(dAtA[iNdEx:]) @@ -666,7 +2748,7 @@ func (m *TransactionByNoteRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *TransactionByNoteResponse) Unmarshal(dAtA []byte) error { +func (m *EventBlockRoot) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -689,15 +2771,15 @@ func (m *TransactionByNoteResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: TransactionByNoteResponse: wiretype end group for non-group") + return fmt.Errorf("proto: EventBlockRoot: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: TransactionByNoteResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventBlockRoot: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NoteSource", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Root", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -724,13 +2806,32 @@ func (m *TransactionByNoteResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.NoteSource == nil { - m.NoteSource = &v1alpha11.NoteSource{} + if m.Root == nil { + m.Root = &v1alpha1.MerkleRoot{} } - if err := m.NoteSource.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Root.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType) + } + m.Height = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowSct + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Height |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipSct(dAtA[iNdEx:]) diff --git a/relayer/chains/penumbra/core/component/shielded_pool/v1alpha1/shielded_pool.pb.go b/relayer/chains/penumbra/core/component/shielded_pool/v1alpha1/shielded_pool.pb.go index b037b1e63..2c1b00690 100644 --- a/relayer/chains/penumbra/core/component/shielded_pool/v1alpha1/shielded_pool.pb.go +++ b/relayer/chains/penumbra/core/component/shielded_pool/v1alpha1/shielded_pool.pb.go @@ -9,8 +9,9 @@ import ( grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" v1alpha1 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/asset/v1alpha1" + v1alpha14 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/sct/v1alpha1" v1alpha11 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/keys/v1alpha1" - v1alpha14 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/num/v1alpha1" + v1alpha15 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/num/v1alpha1" v1alpha13 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/crypto/decaf377_rdsa/v1alpha1" v1alpha12 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/crypto/tct/v1alpha1" grpc "google.golang.org/grpc" @@ -465,7 +466,7 @@ func (m *Spend) GetProof() *ZKSpendProof { // ABCI Event recording a spend. type EventSpend struct { - Nullifier []byte `protobuf:"bytes,1,opt,name=nullifier,proto3" json:"nullifier,omitempty"` + Nullifier *v1alpha14.Nullifier `protobuf:"bytes,1,opt,name=nullifier,proto3" json:"nullifier,omitempty"` } func (m *EventSpend) Reset() { *m = EventSpend{} } @@ -501,7 +502,7 @@ func (m *EventSpend) XXX_DiscardUnknown() { var xxx_messageInfo_EventSpend proto.InternalMessageInfo -func (m *EventSpend) GetNullifier() []byte { +func (m *EventSpend) GetNullifier() *v1alpha14.Nullifier { if m != nil { return m.Nullifier } @@ -560,9 +561,9 @@ type SpendBody struct { // A commitment to the value of the input note. BalanceCommitment *v1alpha1.BalanceCommitment `protobuf:"bytes,1,opt,name=balance_commitment,json=balanceCommitment,proto3" json:"balance_commitment,omitempty"` // The nullifier of the input note. - Nullifier []byte `protobuf:"bytes,3,opt,name=nullifier,proto3" json:"nullifier,omitempty"` + Nullifier *v1alpha14.Nullifier `protobuf:"bytes,6,opt,name=nullifier,proto3" json:"nullifier,omitempty"` // The randomized validating key for the spend authorization signature. - Rk []byte `protobuf:"bytes,4,opt,name=rk,proto3" json:"rk,omitempty"` + Rk *v1alpha13.SpendVerificationKey `protobuf:"bytes,4,opt,name=rk,proto3" json:"rk,omitempty"` } func (m *SpendBody) Reset() { *m = SpendBody{} } @@ -605,14 +606,14 @@ func (m *SpendBody) GetBalanceCommitment() *v1alpha1.BalanceCommitment { return nil } -func (m *SpendBody) GetNullifier() []byte { +func (m *SpendBody) GetNullifier() *v1alpha14.Nullifier { if m != nil { return m.Nullifier } return nil } -func (m *SpendBody) GetRk() []byte { +func (m *SpendBody) GetRk() *v1alpha13.SpendVerificationKey { if m != nil { return m.Rk } @@ -1451,7 +1452,7 @@ func (m *GenesisContent) GetAllocations() []*GenesisContent_Allocation { } type GenesisContent_Allocation struct { - Amount *v1alpha14.Amount `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` + Amount *v1alpha15.Amount `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` Address *v1alpha11.Address `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` } @@ -1489,7 +1490,7 @@ func (m *GenesisContent_Allocation) XXX_DiscardUnknown() { var xxx_messageInfo_GenesisContent_Allocation proto.InternalMessageInfo -func (m *GenesisContent_Allocation) GetAmount() *v1alpha14.Amount { +func (m *GenesisContent_Allocation) GetAmount() *v1alpha15.Amount { if m != nil { return m.Amount } @@ -1543,97 +1544,99 @@ func init() { } var fileDescriptor_aa12195337df7d3c = []byte{ - // 1432 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0xcb, 0x6e, 0xdb, 0x46, - 0x17, 0x36, 0xe5, 0xfb, 0x91, 0xac, 0x24, 0x83, 0x7f, 0xe1, 0x08, 0x3f, 0x8c, 0x40, 0xb9, 0x54, - 0x68, 0x11, 0x09, 0x51, 0xda, 0xa6, 0x51, 0x9a, 0x20, 0x96, 0x52, 0xc4, 0x86, 0x1a, 0x47, 0xa5, - 0x10, 0xb7, 0x70, 0xdd, 0x10, 0x23, 0x71, 0x62, 0x11, 0x22, 0x39, 0x0c, 0x39, 0x94, 0xab, 0xee, - 0xba, 0xef, 0xa2, 0xbb, 0xa2, 0x9b, 0x00, 0xbd, 0xa0, 0x28, 0x02, 0xf4, 0x01, 0xfa, 0x06, 0x45, - 0x57, 0x41, 0x57, 0x5d, 0x16, 0xce, 0xae, 0xbb, 0xbc, 0x41, 0x31, 0x17, 0x52, 0xa4, 0xec, 0x18, - 0x91, 0xe2, 0xa2, 0x1b, 0x83, 0x73, 0xf8, 0x9d, 0xef, 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1b, 0xe1, 0x0f, 0x32, 0xd7, 0x27, 0xc2, 0xef, 0xde, 0x6d, 0xd5, 0xa3, - 0x4d, 0xf8, 0x3b, 0x73, 0x25, 0xf2, 0xad, 0xd5, 0xb8, 0x33, 0xff, 0xab, 0xbc, 0x6b, 0xb5, 0xa4, - 0x7b, 0xad, 0x16, 0xf9, 0x77, 0x16, 0xc4, 0x8f, 0x31, 0x57, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, - 0xa2, 0x73, 0x90, 0x01, 0xde, 0x12, 0x00, 0x00, + // 1465 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0x4b, 0x6f, 0xdb, 0x46, + 0x10, 0x36, 0xe5, 0xf7, 0x48, 0x56, 0x92, 0x45, 0x0f, 0x8e, 0x0e, 0x46, 0xa0, 0x3c, 0x6a, 0xa0, + 0x88, 0x84, 0x38, 0x6d, 0xd3, 0x28, 0x4d, 0x10, 0xcb, 0x29, 0x62, 0xc3, 0x89, 0xa3, 0xae, 0x10, + 0xb7, 0x70, 0xdc, 0x08, 0x2b, 0x71, 0x6d, 0x11, 0x22, 0xb9, 0x0c, 0xb9, 0x94, 0xab, 0xde, 0x7a, + 0xeb, 0xa1, 0x87, 0xde, 0x7a, 0x0b, 0xd0, 0x07, 0x8a, 0x22, 0x40, 0x7f, 0x40, 0xff, 0x41, 0xd1, + 0x53, 0xd0, 0x53, 0x8f, 0x85, 0x73, 0xeb, 0x2d, 0xff, 0xa0, 0xd8, 0x07, 0x29, 0x52, 0x7e, 0x34, + 0x92, 0x5d, 0xf4, 0x22, 0x70, 0x87, 0xdf, 0x7c, 0x33, 0x3b, 0x33, 0xfc, 0xb8, 0x14, 0x54, 0x3d, + 0xea, 0x86, 0x4e, 0xd3, 0x27, 0xe5, 0x16, 0xf3, 0x69, 0xb9, 0xc5, 0x1c, 0x8f, 0xb9, 0xd4, 0xe5, + 0xe5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x8c, 0xdf, 0x29, 0xfe, 0x31, 0xae, 0x4b, 0x21, 0x65, 0xf1, 0x33, 0x98, 0xee, 0x5a, + 0x81, 0xd5, 0xb4, 0x23, 0x61, 0x5c, 0x1e, 0x69, 0xb2, 0x05, 0x57, 0x69, 0x53, 0x11, 0xad, 0x8e, + 0xe1, 0x88, 0x13, 0x6d, 0xc1, 0x14, 0xf3, 0xc8, 0xb3, 0x90, 0xea, 0x21, 0xbf, 0x3b, 0x3a, 0xfb, + 0x23, 0xc9, 0xb3, 0x3a, 0x86, 0x35, 0x63, 0xe1, 0x47, 0x03, 0xa6, 0x75, 0x48, 0xb4, 0x0e, 0x93, + 0x81, 0x40, 0xea, 0x4d, 0xbc, 0x37, 0x52, 0x18, 0xac, 0x38, 0xd0, 0x03, 0x98, 0x90, 0x92, 0xa6, + 0x52, 0xfe, 0x60, 0x14, 0x49, 0x93, 0x12, 0x2f, 0x59, 0x0a, 0x8f, 0x61, 0x4a, 0xa5, 0x7e, 0xaa, + 0x49, 0x56, 0x73, 0x00, 0xf2, 0xa2, 0xd1, 0xb5, 0xe8, 0x5e, 0xf1, 0xeb, 0x68, 0xbe, 0x6b, 0x36, + 0x71, 0xd1, 0xaa, 0xde, 0x80, 0x8a, 0xf3, 0xee, 0x28, 0x1b, 0x50, 0xc9, 0xa3, 0x02, 0xcc, 0x78, + 0x2c, 0xb0, 0xc4, 0xfc, 0xc8, 0x72, 0x4c, 0xe0, 0x78, 0x8d, 0x16, 0x00, 0x7c, 0xe2, 0x9a, 0xcc, + 0xb1, 0xbe, 0xa0, 0xbe, 0x14, 0x9c, 0x1c, 0x4e, 0x58, 0xd0, 0x65, 0xc8, 0xcb, 0x77, 0x67, 0xa3, + 0x69, 0x5b, 0xae, 0x69, 0xb9, 0xbb, 0x72, 0x84, 0x73, 0x78, 0x4e, 0x5a, 0xab, 0xda, 0x88, 0x16, + 0xe1, 0xac, 0xd4, 0x99, 0x18, 0xd6, 0xf0, 0xe7, 0x27, 0x25, 0x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df, 0xfb, 0xf8, 0x6d, 0x81, 0xdf, + 0x8e, 0xf1, 0xdb, 0x49, 0xfc, 0x76, 0x84, 0xdf, 0xcf, 0xdc, 0x1c, 0x0a, 0xbf, 0x7d, 0xbf, 0x56, + 0x8d, 0x9a, 0xf0, 0x77, 0xe6, 0x5a, 0xe4, 0x5b, 0xa9, 0x08, 0x67, 0xf1, 0xab, 0xbd, 0x2b, 0x95, + 0xa4, 0x7b, 0xa5, 0x12, 0xf9, 0x37, 0xa7, 0xe4, 0x9f, 0x45, 0xd7, 0xff, 0x09, 0x00, 0x00, 0xff, + 0xff, 0x31, 0x43, 0x7e, 0x0b, 0xae, 0x13, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2077,10 +2080,15 @@ func (m *EventSpend) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if len(m.Nullifier) > 0 { - i -= len(m.Nullifier) - copy(dAtA[i:], m.Nullifier) - i = encodeVarintShieldedPool(dAtA, i, uint64(len(m.Nullifier))) + if m.Nullifier != nil { + { + size, err := m.Nullifier.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintShieldedPool(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0xa } @@ -2142,19 +2150,29 @@ func (m *SpendBody) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if len(m.Rk) > 0 { - i -= len(m.Rk) - copy(dAtA[i:], m.Rk) - i = encodeVarintShieldedPool(dAtA, i, uint64(len(m.Rk))) + if m.Nullifier != nil { + { + size, err := m.Nullifier.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintShieldedPool(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x22 + dAtA[i] = 0x32 } - if len(m.Nullifier) > 0 { - i -= len(m.Nullifier) - copy(dAtA[i:], m.Nullifier) - i = encodeVarintShieldedPool(dAtA, i, uint64(len(m.Nullifier))) + if m.Rk != nil { + { + size, err := m.Rk.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintShieldedPool(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x1a + dAtA[i] = 0x22 } if m.BalanceCommitment != nil { { @@ -3067,8 +3085,8 @@ func (m *EventSpend) Size() (n int) { } var l int _ = l - l = len(m.Nullifier) - if l > 0 { + if m.Nullifier != nil { + l = m.Nullifier.Size() n += 1 + l + sovShieldedPool(uint64(l)) } return n @@ -3097,12 +3115,12 @@ func (m *SpendBody) Size() (n int) { l = m.BalanceCommitment.Size() n += 1 + l + sovShieldedPool(uint64(l)) } - l = len(m.Nullifier) - if l > 0 { + if m.Rk != nil { + l = m.Rk.Size() n += 1 + l + sovShieldedPool(uint64(l)) } - l = len(m.Rk) - if l > 0 { + if m.Nullifier != nil { + l = m.Nullifier.Size() n += 1 + l + sovShieldedPool(uint64(l)) } return n @@ -4418,7 +4436,7 @@ func (m *EventSpend) Unmarshal(dAtA []byte) error { if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Nullifier", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowShieldedPool @@ -4428,24 +4446,26 @@ func (m *EventSpend) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + if msglen < 0 { return ErrInvalidLengthShieldedPool } - postIndex := iNdEx + byteLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthShieldedPool } if postIndex > l { return io.ErrUnexpectedEOF } - m.Nullifier = append(m.Nullifier[:0], dAtA[iNdEx:postIndex]...) if m.Nullifier == nil { - m.Nullifier = []byte{} + m.Nullifier = &v1alpha14.Nullifier{} + } + if err := m.Nullifier.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } iNdEx = postIndex default: @@ -4620,11 +4640,11 @@ func (m *SpendBody) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 3: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Nullifier", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Rk", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowShieldedPool @@ -4634,31 +4654,33 @@ func (m *SpendBody) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + if msglen < 0 { return ErrInvalidLengthShieldedPool } - postIndex := iNdEx + byteLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthShieldedPool } if postIndex > l { return io.ErrUnexpectedEOF } - m.Nullifier = append(m.Nullifier[:0], dAtA[iNdEx:postIndex]...) - if m.Nullifier == nil { - m.Nullifier = []byte{} + if m.Rk == nil { + m.Rk = &v1alpha13.SpendVerificationKey{} + } + if err := m.Rk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } iNdEx = postIndex - case 4: + case 6: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Rk", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Nullifier", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowShieldedPool @@ -4668,24 +4690,26 @@ func (m *SpendBody) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + if msglen < 0 { return ErrInvalidLengthShieldedPool } - postIndex := iNdEx + byteLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthShieldedPool } if postIndex > l { return io.ErrUnexpectedEOF } - m.Rk = append(m.Rk[:0], dAtA[iNdEx:postIndex]...) - if m.Rk == nil { - m.Rk = []byte{} + if m.Nullifier == nil { + m.Nullifier = &v1alpha14.Nullifier{} + } + if err := m.Nullifier.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } iNdEx = postIndex default: @@ -6559,7 +6583,7 @@ func (m *GenesisContent_Allocation) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Amount == nil { - m.Amount = &v1alpha14.Amount{} + m.Amount = &v1alpha15.Amount{} } if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err diff --git a/relayer/chains/penumbra/core/component/stake/v1alpha1/stake.pb.go b/relayer/chains/penumbra/core/component/stake/v1alpha1/stake.pb.go index 4fc2c4807..1150e0781 100644 --- a/relayer/chains/penumbra/core/component/stake/v1alpha1/stake.pb.go +++ b/relayer/chains/penumbra/core/component/stake/v1alpha1/stake.pb.go @@ -317,7 +317,7 @@ type FundingStream struct { // Types that are valid to be assigned to Recipient: // // *FundingStream_ToAddress_ - // *FundingStream_ToDao_ + // *FundingStream_ToCommunityPool_ Recipient isFundingStream_Recipient `protobuf_oneof:"recipient"` } @@ -363,12 +363,12 @@ type isFundingStream_Recipient interface { type FundingStream_ToAddress_ struct { ToAddress *FundingStream_ToAddress `protobuf:"bytes,1,opt,name=to_address,json=toAddress,proto3,oneof" json:"to_address,omitempty"` } -type FundingStream_ToDao_ struct { - ToDao *FundingStream_ToDao `protobuf:"bytes,2,opt,name=to_dao,json=toDao,proto3,oneof" json:"to_dao,omitempty"` +type FundingStream_ToCommunityPool_ struct { + ToCommunityPool *FundingStream_ToCommunityPool `protobuf:"bytes,2,opt,name=to_community_pool,json=toCommunityPool,proto3,oneof" json:"to_community_pool,omitempty"` } -func (*FundingStream_ToAddress_) isFundingStream_Recipient() {} -func (*FundingStream_ToDao_) isFundingStream_Recipient() {} +func (*FundingStream_ToAddress_) isFundingStream_Recipient() {} +func (*FundingStream_ToCommunityPool_) isFundingStream_Recipient() {} func (m *FundingStream) GetRecipient() isFundingStream_Recipient { if m != nil { @@ -384,9 +384,9 @@ func (m *FundingStream) GetToAddress() *FundingStream_ToAddress { return nil } -func (m *FundingStream) GetToDao() *FundingStream_ToDao { - if x, ok := m.GetRecipient().(*FundingStream_ToDao_); ok { - return x.ToDao +func (m *FundingStream) GetToCommunityPool() *FundingStream_ToCommunityPool { + if x, ok := m.GetRecipient().(*FundingStream_ToCommunityPool_); ok { + return x.ToCommunityPool } return nil } @@ -395,7 +395,7 @@ func (m *FundingStream) GetToDao() *FundingStream_ToDao { func (*FundingStream) XXX_OneofWrappers() []interface{} { return []interface{}{ (*FundingStream_ToAddress_)(nil), - (*FundingStream_ToDao_)(nil), + (*FundingStream_ToCommunityPool_)(nil), } } @@ -454,24 +454,24 @@ func (m *FundingStream_ToAddress) GetRateBps() uint32 { return 0 } -type FundingStream_ToDao struct { +type FundingStream_ToCommunityPool struct { // The portion of the staking reward for the entire delegation pool // allocated to this funding stream, specified in basis points. RateBps uint32 `protobuf:"varint,2,opt,name=rate_bps,json=rateBps,proto3" json:"rate_bps,omitempty"` } -func (m *FundingStream_ToDao) Reset() { *m = FundingStream_ToDao{} } -func (m *FundingStream_ToDao) String() string { return proto.CompactTextString(m) } -func (*FundingStream_ToDao) ProtoMessage() {} -func (*FundingStream_ToDao) Descriptor() ([]byte, []int) { +func (m *FundingStream_ToCommunityPool) Reset() { *m = FundingStream_ToCommunityPool{} } +func (m *FundingStream_ToCommunityPool) String() string { return proto.CompactTextString(m) } +func (*FundingStream_ToCommunityPool) ProtoMessage() {} +func (*FundingStream_ToCommunityPool) Descriptor() ([]byte, []int) { return fileDescriptor_b49c30b9d712baf6, []int{3, 1} } -func (m *FundingStream_ToDao) XXX_Unmarshal(b []byte) error { +func (m *FundingStream_ToCommunityPool) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *FundingStream_ToDao) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *FundingStream_ToCommunityPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_FundingStream_ToDao.Marshal(b, m, deterministic) + return xxx_messageInfo_FundingStream_ToCommunityPool.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -481,19 +481,19 @@ func (m *FundingStream_ToDao) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *FundingStream_ToDao) XXX_Merge(src proto.Message) { - xxx_messageInfo_FundingStream_ToDao.Merge(m, src) +func (m *FundingStream_ToCommunityPool) XXX_Merge(src proto.Message) { + xxx_messageInfo_FundingStream_ToCommunityPool.Merge(m, src) } -func (m *FundingStream_ToDao) XXX_Size() int { +func (m *FundingStream_ToCommunityPool) XXX_Size() int { return m.Size() } -func (m *FundingStream_ToDao) XXX_DiscardUnknown() { - xxx_messageInfo_FundingStream_ToDao.DiscardUnknown(m) +func (m *FundingStream_ToCommunityPool) XXX_DiscardUnknown() { + xxx_messageInfo_FundingStream_ToCommunityPool.DiscardUnknown(m) } -var xxx_messageInfo_FundingStream_ToDao proto.InternalMessageInfo +var xxx_messageInfo_FundingStream_ToCommunityPool proto.InternalMessageInfo -func (m *FundingStream_ToDao) GetRateBps() uint32 { +func (m *FundingStream_ToCommunityPool) GetRateBps() uint32 { if m != nil { return m.RateBps } @@ -2072,7 +2072,7 @@ func init() { proto.RegisterType((*ValidatorList)(nil), "penumbra.core.component.stake.v1alpha1.ValidatorList") proto.RegisterType((*FundingStream)(nil), "penumbra.core.component.stake.v1alpha1.FundingStream") proto.RegisterType((*FundingStream_ToAddress)(nil), "penumbra.core.component.stake.v1alpha1.FundingStream.ToAddress") - proto.RegisterType((*FundingStream_ToDao)(nil), "penumbra.core.component.stake.v1alpha1.FundingStream.ToDao") + proto.RegisterType((*FundingStream_ToCommunityPool)(nil), "penumbra.core.component.stake.v1alpha1.FundingStream.ToCommunityPool") proto.RegisterType((*RateData)(nil), "penumbra.core.component.stake.v1alpha1.RateData") proto.RegisterType((*BaseRateData)(nil), "penumbra.core.component.stake.v1alpha1.BaseRateData") proto.RegisterType((*ValidatorStatus)(nil), "penumbra.core.component.stake.v1alpha1.ValidatorStatus") @@ -2106,141 +2106,141 @@ func init() { } var fileDescriptor_b49c30b9d712baf6 = []byte{ - // 2129 bytes of a gzipped FileDescriptorProto + // 2141 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x59, 0xcd, 0x6f, 0x1b, 0xc7, - 0x15, 0xd7, 0x52, 0xd4, 0xd7, 0x23, 0x29, 0xd1, 0xe3, 0x2f, 0x5a, 0xb1, 0x65, 0x65, 0x1d, 0x38, - 0x8a, 0x5b, 0x50, 0x31, 0x9b, 0x0f, 0x40, 0x69, 0x1b, 0x8b, 0x1f, 0xb1, 0x59, 0x5b, 0x12, 0xbd, - 0x94, 0x9d, 0xd6, 0x15, 0xb2, 0x1e, 0x72, 0x47, 0xe4, 0xd4, 0xdc, 0x59, 0x66, 0x67, 0x28, 0x59, - 0xb7, 0xf4, 0x50, 0xe4, 0x56, 0x14, 0x05, 0x0a, 0xf4, 0xda, 0x1c, 0x73, 0xe9, 0xa1, 0xb7, 0x5e, - 0x8a, 0xa2, 0x28, 0x50, 0xf4, 0x94, 0x4b, 0x81, 0x02, 0xbd, 0x14, 0x76, 0x81, 0x02, 0xbd, 0xb4, - 0x7f, 0x42, 0x31, 0xb3, 0xb3, 0xbb, 0x24, 0x45, 0x3b, 0x14, 0xed, 0x06, 0xe9, 0x85, 0xd8, 0xf7, - 0xe6, 0xf7, 0xde, 0xbc, 0x79, 0x33, 0xef, 0xcd, 0x7b, 0x43, 0x28, 0x74, 0x09, 0xeb, 0xb9, 0x0d, - 0x1f, 0xaf, 0x37, 0x3d, 0x9f, 0xac, 0x37, 0x3d, 0xb7, 0xeb, 0x31, 0xc2, 0xc4, 0x3a, 0x17, 0xf8, - 0x11, 0x59, 0x3f, 0xb8, 0x8e, 0x3b, 0xdd, 0x36, 0xbe, 0x1e, 0x90, 0xf9, 0xae, 0xef, 0x09, 0x0f, - 0x5d, 0x0d, 0x65, 0xf2, 0x52, 0x26, 0x1f, 0xc9, 0xe4, 0x03, 0x50, 0x28, 0xb3, 0xbc, 0x36, 0xa8, - 0x1b, 0x73, 0x4e, 0x44, 0xac, 0x51, 0x91, 0x81, 0xc6, 0xe5, 0xab, 0x83, 0xc8, 0x47, 0xe4, 0x88, - 0xc7, 0x40, 0x49, 0x69, 0xdc, 0x6b, 0x83, 0x38, 0xd6, 0x73, 0x63, 0x18, 0xeb, 0xb9, 0x01, 0xca, - 0xcc, 0xc3, 0xb9, 0x07, 0xb7, 0xef, 0x31, 0x87, 0x74, 0x48, 0x0b, 0x0b, 0x52, 0xea, 0x60, 0xea, - 0xd6, 0x7c, 0xcf, 0xdb, 0x47, 0x67, 0x60, 0x86, 0x32, 0x46, 0xfc, 0x9c, 0xb1, 0x6a, 0xac, 0xa5, - 0xad, 0x80, 0x30, 0xff, 0x30, 0x0d, 0x0b, 0xf7, 0x71, 0x87, 0x3a, 0x58, 0x78, 0x3e, 0xba, 0x0d, - 0x69, 0xea, 0x10, 0x26, 0xa8, 0x38, 0xb2, 0x1f, 0x91, 0x23, 0x05, 0x4d, 0x15, 0xd6, 0xf2, 0x83, - 0x8b, 0x56, 0x46, 0x85, 0x73, 0xe7, 0xab, 0x5a, 0xe0, 0x36, 0x39, 0xb2, 0x52, 0x34, 0x26, 0xd0, - 0x15, 0xc8, 0x34, 0x3d, 0xc6, 0x09, 0xe3, 0x3d, 0xae, 0xb4, 0x25, 0xd4, 0xc4, 0xe9, 0x88, 0x29, - 0x41, 0x08, 0x92, 0x0c, 0xbb, 0x24, 0x37, 0xbd, 0x6a, 0xac, 0x2d, 0x58, 0xea, 0x1b, 0xe5, 0x60, - 0xee, 0x90, 0x34, 0x38, 0x15, 0x24, 0x97, 0x54, 0xec, 0x90, 0x44, 0xab, 0x90, 0x72, 0x08, 0x6f, - 0xfa, 0xb4, 0x2b, 0xa8, 0xc7, 0x72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 0x01, 0x51, 0x17, 0x58, 0xf4, 0xf8, 0xcb, 0xf5, 0xfb, 0x1d, 0x98, 0xe1, 0x22, - 0xb4, 0x36, 0x55, 0x78, 0x67, 0xdc, 0x93, 0x39, 0x60, 0x14, 0xb1, 0x02, 0x25, 0xe8, 0x55, 0x48, - 0x1f, 0x78, 0x42, 0x66, 0xa6, 0xae, 0x77, 0x48, 0x7c, 0xbd, 0xac, 0x54, 0xc0, 0xab, 0x49, 0x16, - 0xfa, 0x01, 0x64, 0x1a, 0x5e, 0x98, 0xbd, 0xc2, 0xfd, 0x4b, 0x15, 0xde, 0x1a, 0x77, 0xe2, 0xa2, - 0xa7, 0x43, 0x42, 0x4e, 0x9b, 0x6e, 0xf4, 0x51, 0xe6, 0xaf, 0x13, 0x90, 0xee, 0x1f, 0x46, 0x3f, - 0x0c, 0x17, 0x27, 0x5d, 0xb4, 0x58, 0xa8, 0x4c, 0x32, 0xc7, 0x00, 0x51, 0x61, 0x3d, 0x37, 0x5c, - 0xeb, 0xeb, 0xb0, 0xd4, 0x63, 0xe1, 0x52, 0xd4, 0x51, 0x08, 0x77, 0x3c, 0x62, 0x57, 0x24, 0xd7, - 0xfc, 0xa5, 0x01, 0xd9, 0x61, 0x25, 0xc8, 0x84, 0x95, 0xe2, 0xce, 0x76, 0xb9, 0xba, 0x7d, 0xd3, - 0xae, 0xef, 0x6e, 0xee, 0x56, 0xec, 0xca, 0xf6, 0xbd, 0x2d, 0xfb, 0xde, 0x76, 0xbd, 0x56, 0x29, - 0x55, 0x3f, 0xa8, 0x56, 0xca, 0xd9, 0x29, 0x74, 0x09, 0x2e, 0x8c, 0xc0, 0x48, 0x56, 0xa5, 0x9c, - 0x35, 0xd0, 0x2a, 0x5c, 0x1c, 0xa9, 0x42, 0x33, 0xb3, 0x09, 0x74, 0x19, 0x5e, 0x79, 0x26, 0xa2, - 0x52, 0xce, 0x4e, 0x9b, 0x7f, 0x4b, 0xc0, 0xe2, 0xe0, 0x4e, 0x22, 0x7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0x72, 0xb9, 0xf1, 0x45, 0xe2, 0x5a, 0x3d, 0xb0, 0xaf, 0x2c, + 0xec, 0x2b, 0x87, 0xf6, 0x49, 0x7b, 0x0a, 0x0f, 0x14, 0xfe, 0xcf, 0x11, 0x70, 0x4f, 0x00, 0xf7, + 0x42, 0xe0, 0x9e, 0x04, 0xee, 0x05, 0xc0, 0xa7, 0x89, 0xe2, 0x78, 0xc0, 0xbd, 0x5b, 0xf5, 0xd2, + 0x16, 0xe6, 0x96, 0xb8, 0x03, 0xfe, 0x95, 0xb8, 0x1e, 0x08, 0x6d, 0x6c, 0x08, 0x29, 0xf1, 0x57, + 0x89, 0x6d, 0x6c, 0x48, 0xb9, 0x8d, 0x8d, 0x40, 0xb0, 0x39, 0x2b, 0xff, 0x43, 0xf8, 0xed, 0xff, + 0x06, 0x00, 0x00, 0xff, 0xff, 0x89, 0x5e, 0xeb, 0x27, 0xf7, 0x1c, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2685,16 +2685,16 @@ func (m *FundingStream_ToAddress_) MarshalToSizedBuffer(dAtA []byte) (int, error } return len(dAtA) - i, nil } -func (m *FundingStream_ToDao_) MarshalTo(dAtA []byte) (int, error) { +func (m *FundingStream_ToCommunityPool_) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *FundingStream_ToDao_) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *FundingStream_ToCommunityPool_) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) - if m.ToDao != nil { + if m.ToCommunityPool != nil { { - size, err := m.ToDao.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.ToCommunityPool.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -2741,7 +2741,7 @@ func (m *FundingStream_ToAddress) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *FundingStream_ToDao) Marshal() (dAtA []byte, err error) { +func (m *FundingStream_ToCommunityPool) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -2751,12 +2751,12 @@ func (m *FundingStream_ToDao) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *FundingStream_ToDao) MarshalTo(dAtA []byte) (int, error) { +func (m *FundingStream_ToCommunityPool) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *FundingStream_ToDao) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *FundingStream_ToCommunityPool) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -4091,14 +4091,14 @@ func (m *FundingStream_ToAddress_) Size() (n int) { } return n } -func (m *FundingStream_ToDao_) Size() (n int) { +func (m *FundingStream_ToCommunityPool_) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.ToDao != nil { - l = m.ToDao.Size() + if m.ToCommunityPool != nil { + l = m.ToCommunityPool.Size() n += 1 + l + sovStake(uint64(l)) } return n @@ -4119,7 +4119,7 @@ func (m *FundingStream_ToAddress) Size() (n int) { return n } -func (m *FundingStream_ToDao) Size() (n int) { +func (m *FundingStream_ToCommunityPool) Size() (n int) { if m == nil { return 0 } @@ -5192,7 +5192,7 @@ func (m *FundingStream) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ToDao", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ToCommunityPool", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -5219,11 +5219,11 @@ func (m *FundingStream) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &FundingStream_ToDao{} + v := &FundingStream_ToCommunityPool{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.Recipient = &FundingStream_ToDao_{v} + m.Recipient = &FundingStream_ToCommunityPool_{v} iNdEx = postIndex default: iNdEx = preIndex @@ -5347,7 +5347,7 @@ func (m *FundingStream_ToAddress) Unmarshal(dAtA []byte) error { } return nil } -func (m *FundingStream_ToDao) Unmarshal(dAtA []byte) error { +func (m *FundingStream_ToCommunityPool) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -5370,10 +5370,10 @@ func (m *FundingStream_ToDao) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ToDao: wiretype end group for non-group") + return fmt.Errorf("proto: ToCommunityPool: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ToDao: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ToCommunityPool: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 2: diff --git a/relayer/chains/penumbra/core/keys/v1alpha1/keys.pb.go b/relayer/chains/penumbra/core/keys/v1alpha1/keys.pb.go index c70c76083..f31738fd9 100644 --- a/relayer/chains/penumbra/core/keys/v1alpha1/keys.pb.go +++ b/relayer/chains/penumbra/core/keys/v1alpha1/keys.pb.go @@ -363,50 +363,6 @@ func (m *SpendKey) GetInner() []byte { return nil } -type SpendVerificationKey struct { - Inner []byte `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` -} - -func (m *SpendVerificationKey) Reset() { *m = SpendVerificationKey{} } -func (m *SpendVerificationKey) String() string { return proto.CompactTextString(m) } -func (*SpendVerificationKey) ProtoMessage() {} -func (*SpendVerificationKey) Descriptor() ([]byte, []int) { - return fileDescriptor_1a822d221e23f7f7, []int{4} -} -func (m *SpendVerificationKey) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *SpendVerificationKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_SpendVerificationKey.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 *SpendVerificationKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpendVerificationKey.Merge(m, src) -} -func (m *SpendVerificationKey) XXX_Size() int { - return m.Size() -} -func (m *SpendVerificationKey) XXX_DiscardUnknown() { - xxx_messageInfo_SpendVerificationKey.DiscardUnknown(m) -} - -var xxx_messageInfo_SpendVerificationKey proto.InternalMessageInfo - -func (m *SpendVerificationKey) GetInner() []byte { - if m != nil { - return m.Inner - } - return nil -} - type FullViewingKey struct { Inner []byte `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` } @@ -415,7 +371,7 @@ func (m *FullViewingKey) Reset() { *m = FullViewingKey{} } func (m *FullViewingKey) String() string { return proto.CompactTextString(m) } func (*FullViewingKey) ProtoMessage() {} func (*FullViewingKey) Descriptor() ([]byte, []int) { - return fileDescriptor_1a822d221e23f7f7, []int{5} + return fileDescriptor_1a822d221e23f7f7, []int{4} } func (m *FullViewingKey) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -459,7 +415,7 @@ func (m *WalletId) Reset() { *m = WalletId{} } func (m *WalletId) String() string { return proto.CompactTextString(m) } func (*WalletId) ProtoMessage() {} func (*WalletId) Descriptor() ([]byte, []int) { - return fileDescriptor_1a822d221e23f7f7, []int{6} + return fileDescriptor_1a822d221e23f7f7, []int{5} } func (m *WalletId) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -503,7 +459,7 @@ func (m *Diversifier) Reset() { *m = Diversifier{} } func (m *Diversifier) String() string { return proto.CompactTextString(m) } func (*Diversifier) ProtoMessage() {} func (*Diversifier) Descriptor() ([]byte, []int) { - return fileDescriptor_1a822d221e23f7f7, []int{7} + return fileDescriptor_1a822d221e23f7f7, []int{6} } func (m *Diversifier) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -548,7 +504,7 @@ func (m *AddressIndex) Reset() { *m = AddressIndex{} } func (m *AddressIndex) String() string { return proto.CompactTextString(m) } func (*AddressIndex) ProtoMessage() {} func (*AddressIndex) Descriptor() ([]byte, []int) { - return fileDescriptor_1a822d221e23f7f7, []int{8} + return fileDescriptor_1a822d221e23f7f7, []int{7} } func (m *AddressIndex) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -600,7 +556,7 @@ func (m *IdentityKey) Reset() { *m = IdentityKey{} } func (m *IdentityKey) String() string { return proto.CompactTextString(m) } func (*IdentityKey) ProtoMessage() {} func (*IdentityKey) Descriptor() ([]byte, []int) { - return fileDescriptor_1a822d221e23f7f7, []int{9} + return fileDescriptor_1a822d221e23f7f7, []int{8} } func (m *IdentityKey) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -645,7 +601,7 @@ func (m *GovernanceKey) Reset() { *m = GovernanceKey{} } func (m *GovernanceKey) String() string { return proto.CompactTextString(m) } func (*GovernanceKey) ProtoMessage() {} func (*GovernanceKey) Descriptor() ([]byte, []int) { - return fileDescriptor_1a822d221e23f7f7, []int{10} + return fileDescriptor_1a822d221e23f7f7, []int{9} } func (m *GovernanceKey) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -689,7 +645,7 @@ func (m *ConsensusKey) Reset() { *m = ConsensusKey{} } func (m *ConsensusKey) String() string { return proto.CompactTextString(m) } func (*ConsensusKey) ProtoMessage() {} func (*ConsensusKey) Descriptor() ([]byte, []int) { - return fileDescriptor_1a822d221e23f7f7, []int{11} + return fileDescriptor_1a822d221e23f7f7, []int{10} } func (m *ConsensusKey) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -732,7 +688,6 @@ func init() { proto.RegisterType((*AddressView_Opaque)(nil), "penumbra.core.keys.v1alpha1.AddressView.Opaque") proto.RegisterType((*PayloadKey)(nil), "penumbra.core.keys.v1alpha1.PayloadKey") proto.RegisterType((*SpendKey)(nil), "penumbra.core.keys.v1alpha1.SpendKey") - proto.RegisterType((*SpendVerificationKey)(nil), "penumbra.core.keys.v1alpha1.SpendVerificationKey") proto.RegisterType((*FullViewingKey)(nil), "penumbra.core.keys.v1alpha1.FullViewingKey") proto.RegisterType((*WalletId)(nil), "penumbra.core.keys.v1alpha1.WalletId") proto.RegisterType((*Diversifier)(nil), "penumbra.core.keys.v1alpha1.Diversifier") @@ -747,45 +702,44 @@ func init() { } var fileDescriptor_1a822d221e23f7f7 = []byte{ - // 604 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x94, 0xcd, 0x6e, 0xd3, 0x40, - 0x10, 0xc7, 0x63, 0x57, 0x34, 0xed, 0x24, 0xed, 0xc1, 0xea, 0x21, 0x6a, 0x85, 0x5b, 0x99, 0x52, - 0x8a, 0x84, 0x6c, 0x9a, 0xde, 0x82, 0xc4, 0x47, 0x8a, 0x68, 0xa2, 0x82, 0x88, 0x0c, 0x0a, 0x12, - 0x8a, 0x54, 0x6d, 0xec, 0x69, 0xb2, 0x8a, 0xb3, 0x1b, 0x76, 0x1d, 0x07, 0xf3, 0x14, 0x3c, 0x03, - 0x37, 0x78, 0x12, 0xc4, 0x01, 0x95, 0x1b, 0x47, 0x94, 0xde, 0x78, 0x0a, 0xb4, 0xfe, 0x28, 0x3d, - 0x10, 0xab, 0x12, 0xb7, 0x1d, 0xcf, 0xef, 0xff, 0x9f, 0xd9, 0x1d, 0x6b, 0x60, 0x6f, 0x82, 0x6c, - 0x3a, 0xee, 0x0b, 0xe2, 0x78, 0x5c, 0xa0, 0x33, 0xc2, 0x58, 0x3a, 0xd1, 0x01, 0x09, 0x26, 0x43, - 0x72, 0x90, 0x44, 0xf6, 0x44, 0xf0, 0x90, 0x1b, 0x5b, 0x39, 0x67, 0x2b, 0xce, 0x4e, 0x32, 0x39, - 0x67, 0x3d, 0x86, 0xf2, 0x13, 0xdf, 0x17, 0x28, 0xa5, 0xb1, 0x01, 0x37, 0x28, 0x63, 0x28, 0x6a, - 0xda, 0x8e, 0xb6, 0x5f, 0x75,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cb, 0xa3, 0x37, 0x24, 0x94, 0x49, 0xa7, 0x60, 0xc5, 0x3c, 0x50, 0x51, 0x1e, 0x7c, - 0xd2, 0x97, 0x3a, 0x47, 0x27, 0x5f, 0xf4, 0xad, 0x4e, 0xde, 0xc6, 0x91, 0x6a, 0x43, 0xd5, 0xb5, - 0xbb, 0x19, 0xf3, 0xed, 0x6f, 0xb6, 0xa7, 0xb2, 0x3d, 0x95, 0xed, 0xe5, 0xd9, 0xb9, 0x7e, 0xa7, - 0x20, 0xdb, 0x3b, 0xee, 0x34, 0x5f, 0x60, 0x48, 0x7c, 0x12, 0x92, 0xdf, 0xba, 0x99, 0x93, 0x8d, - 0x86, 0x42, 0x1b, 0x0d, 0xc5, 0x36, 0x1a, 0x39, 0xdc, 0x5f, 0x4e, 0x16, 0xdf, 0xe1, 0x9f, 0x00, - 0x00, 0x00, 0xff, 0xff, 0x44, 0x02, 0x91, 0x1c, 0x22, 0x05, 0x00, 0x00, + // 590 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x94, 0xcf, 0x6e, 0xd3, 0x4e, + 0x10, 0xc7, 0x63, 0x57, 0xbf, 0xa6, 0x9d, 0xa4, 0x3d, 0x58, 0xbf, 0x43, 0xd4, 0x0a, 0xb7, 0x32, + 0xa5, 0x94, 0x8b, 0x4d, 0xd3, 0x5b, 0x90, 0xf8, 0x93, 0x22, 0x9a, 0xa8, 0x20, 0x22, 0x83, 0x8a, + 0x84, 0x22, 0x55, 0x1b, 0x7b, 0x48, 0x56, 0xb1, 0x77, 0xc3, 0xae, 0xed, 0x60, 0x9e, 0x82, 0x67, + 0xe0, 0x06, 0x4f, 0x82, 0x38, 0xa0, 0x72, 0xe3, 0x88, 0xd2, 0x1b, 0x4f, 0x81, 0xd6, 0x7f, 0x4a, + 0x0f, 0xd4, 0xaa, 0xc4, 0x6d, 0x67, 0xe7, 0xf3, 0xfd, 0xce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ec, 0xdc, 0xac, 0xfd, 0x38, 0x37, 0x6b, 0xb0, 0xe5, + 0xf1, 0xb0, 0xea, 0x06, 0xbb, 0xab, 0xc7, 0x98, 0xca, 0x81, 0xfa, 0xbd, 0x07, 0xda, 0xeb, 0x97, + 0x63, 0x1a, 0x4d, 0xe2, 0x91, 0xed, 0xf1, 0xd0, 0xf1, 0xb8, 0x0c, 0xb9, 0x74, 0x04, 0x06, 0x24, + 0x45, 0xe1, 0x24, 0xed, 0x8b, 0xa5, 0x37, 0x21, 0x94, 0x49, 0xa7, 0xe2, 0xd1, 0xb8, 0xa7, 0xa2, + 0x32, 0xf8, 0xa8, 0x2f, 0x0d, 0x0e, 0x8f, 0x3f, 0xeb, 0x9b, 0x83, 0xb2, 0x8d, 0x43, 0xd5, 0x86, + 0xaa, 0x6b, 0x9f, 0x14, 0xcc, 0xd7, 0x3f, 0xd9, 0xa1, 0xca, 0x0e, 0x55, 0x76, 0x58, 0x66, 0x17, + 0xfa, 0xed, 0x8a, 0xec, 0xf0, 0x68, 0xd0, 0x7d, 0x86, 0x11, 0xf1, 0x49, 0x44, 0x7e, 0xe9, 0x66, + 0x49, 0x76, 0x3a, 0x0a, 0xed, 0x74, 0x14, 0xdb, 0xe9, 0x94, 0xf0, 0x68, 0x39, 0x7b, 0xca, 0x0e, + 0x7e, 0x07, 0x00, 0x00, 0xff, 0xff, 0x5e, 0xb3, 0x0c, 0xd4, 0xf4, 0x04, 0x00, 0x00, } func (m *Address) Marshal() (dAtA []byte, err error) { @@ -1053,36 +1007,6 @@ func (m *SpendKey) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *SpendVerificationKey) 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 *SpendVerificationKey) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SpendVerificationKey) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Inner) > 0 { - i -= len(m.Inner) - copy(dAtA[i:], m.Inner) - i = encodeVarintKeys(dAtA, i, uint64(len(m.Inner))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - func (m *FullViewingKey) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -1422,19 +1346,6 @@ func (m *SpendKey) Size() (n int) { return n } -func (m *SpendVerificationKey) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Inner) - if l > 0 { - n += 1 + l + sovKeys(uint64(l)) - } - return n -} - func (m *FullViewingKey) Size() (n int) { if m == nil { return 0 @@ -2183,90 +2094,6 @@ func (m *SpendKey) Unmarshal(dAtA []byte) error { } return nil } -func (m *SpendVerificationKey) 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 ErrIntOverflowKeys - } - 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: SpendVerificationKey: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SpendVerificationKey: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Inner", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowKeys - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthKeys - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthKeys - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Inner = append(m.Inner[:0], dAtA[iNdEx:postIndex]...) - if m.Inner == nil { - m.Inner = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipKeys(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthKeys - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} func (m *FullViewingKey) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 diff --git a/relayer/chains/penumbra/core/transaction/v1alpha1/transaction.pb.go b/relayer/chains/penumbra/core/transaction/v1alpha1/transaction.pb.go index 28cd077a8..0c4272ed9 100644 --- a/relayer/chains/penumbra/core/transaction/v1alpha1/transaction.pb.go +++ b/relayer/chains/penumbra/core/transaction/v1alpha1/transaction.pb.go @@ -6,18 +6,19 @@ package transactionv1alpha1 import ( fmt "fmt" proto "github.com/cosmos/gogoproto/proto" - v1alpha19 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/asset/v1alpha1" - v1alpha14 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/dex/v1alpha1" - v1alpha11 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/fee/v1alpha1" - v1alpha17 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/governance/v1alpha1" - v1alpha16 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/ibc/v1alpha1" - v1alpha110 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/sct/v1alpha1" - v1alpha13 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/shielded_pool/v1alpha1" - v1alpha15 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/stake/v1alpha1" - v1alpha18 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/keys/v1alpha1" - v1alpha12 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/crypto/decaf377_fmd/v1alpha1" - v1alpha111 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/crypto/decaf377_rdsa/v1alpha1" - v1alpha1 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/crypto/tct/v1alpha1" + v1alpha110 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/asset/v1alpha1" + v1alpha15 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/dex/v1alpha1" + v1alpha12 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/fee/v1alpha1" + v1alpha18 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/governance/v1alpha1" + v1alpha17 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/ibc/v1alpha1" + v1alpha112 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/sct/v1alpha1" + v1alpha14 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/shielded_pool/v1alpha1" + v1alpha16 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/stake/v1alpha1" + v1alpha19 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/keys/v1alpha1" + v1alpha111 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/txhash/v1alpha1" + v1alpha13 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/crypto/decaf377_fmd/v1alpha1" + v1alpha1 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/crypto/decaf377_rdsa/v1alpha1" + v1alpha11 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/crypto/tct/v1alpha1" io "io" math "math" math_bits "math/bits" @@ -38,10 +39,10 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package type Transaction struct { Body *TransactionBody `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // The binding signature is stored separately from the transaction body that it signs. - BindingSig []byte `protobuf:"bytes,2,opt,name=binding_sig,json=bindingSig,proto3" json:"binding_sig,omitempty"` + BindingSig *v1alpha1.BindingSignature `protobuf:"bytes,2,opt,name=binding_sig,json=bindingSig,proto3" json:"binding_sig,omitempty"` // The root of some previous state of the state commitment tree, used as an anchor for all // ZK state transition proofs. - Anchor *v1alpha1.MerkleRoot `protobuf:"bytes,3,opt,name=anchor,proto3" json:"anchor,omitempty"` + Anchor *v1alpha11.MerkleRoot `protobuf:"bytes,3,opt,name=anchor,proto3" json:"anchor,omitempty"` } func (m *Transaction) Reset() { *m = Transaction{} } @@ -84,84 +85,39 @@ func (m *Transaction) GetBody() *TransactionBody { return nil } -func (m *Transaction) GetBindingSig() []byte { +func (m *Transaction) GetBindingSig() *v1alpha1.BindingSignature { if m != nil { return m.BindingSig } return nil } -func (m *Transaction) GetAnchor() *v1alpha1.MerkleRoot { +func (m *Transaction) GetAnchor() *v1alpha11.MerkleRoot { if m != nil { return m.Anchor } return nil } -// A transaction ID, the Sha256 hash of a transaction. -type Id struct { - Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` -} - -func (m *Id) Reset() { *m = Id{} } -func (m *Id) String() string { return proto.CompactTextString(m) } -func (*Id) ProtoMessage() {} -func (*Id) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{1} -} -func (m *Id) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Id) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Id.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 *Id) XXX_Merge(src proto.Message) { - xxx_messageInfo_Id.Merge(m, src) -} -func (m *Id) XXX_Size() int { - return m.Size() -} -func (m *Id) XXX_DiscardUnknown() { - xxx_messageInfo_Id.DiscardUnknown(m) -} - -var xxx_messageInfo_Id proto.InternalMessageInfo - -func (m *Id) GetHash() []byte { - if m != nil { - return m.Hash - } - return nil -} - // The body of a transaction. type TransactionBody struct { // A list of actions (state changes) performed by this transaction. Actions []*Action `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"` // Parameters determining if a transaction should be accepted by this chain. TransactionParameters *TransactionParameters `protobuf:"bytes,2,opt,name=transaction_parameters,json=transactionParameters,proto3" json:"transaction_parameters,omitempty"` - // The transaction fee. - Fee *v1alpha11.Fee `protobuf:"bytes,3,opt,name=fee,proto3" json:"fee,omitempty"` // Detection data for use with Fuzzy Message Detection DetectionData *DetectionData `protobuf:"bytes,4,opt,name=detection_data,json=detectionData,proto3" json:"detection_data,omitempty"` - // Sub-message containing memo ciphertext if a memo was added to the transaction. - MemoData *MemoData `protobuf:"bytes,5,opt,name=memo_data,json=memoData,proto3" json:"memo_data,omitempty"` + // The encrypted memo for this transaction. + // + // This field will be present if and only if the transaction has outputs. + Memo *MemoCiphertext `protobuf:"bytes,5,opt,name=memo,proto3" json:"memo,omitempty"` } func (m *TransactionBody) Reset() { *m = TransactionBody{} } func (m *TransactionBody) String() string { return proto.CompactTextString(m) } func (*TransactionBody) ProtoMessage() {} func (*TransactionBody) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{2} + return fileDescriptor_cd20ea79758052c4, []int{1} } func (m *TransactionBody) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -204,13 +160,6 @@ func (m *TransactionBody) GetTransactionParameters() *TransactionParameters { return nil } -func (m *TransactionBody) GetFee() *v1alpha11.Fee { - if m != nil { - return m.Fee - } - return nil -} - func (m *TransactionBody) GetDetectionData() *DetectionData { if m != nil { return m.DetectionData @@ -218,56 +167,9 @@ func (m *TransactionBody) GetDetectionData() *DetectionData { return nil } -func (m *TransactionBody) GetMemoData() *MemoData { - if m != nil { - return m.MemoData - } - return nil -} - -// Represents the encrypted memo data. -type MemoData struct { - // The encrypted data. It will only be populated if there are - // outputs in the actions of the transaction. 528 bytes. - EncryptedMemo []byte `protobuf:"bytes,1,opt,name=encrypted_memo,json=encryptedMemo,proto3" json:"encrypted_memo,omitempty"` -} - -func (m *MemoData) Reset() { *m = MemoData{} } -func (m *MemoData) String() string { return proto.CompactTextString(m) } -func (*MemoData) ProtoMessage() {} -func (*MemoData) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{3} -} -func (m *MemoData) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MemoData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MemoData.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 *MemoData) XXX_Merge(src proto.Message) { - xxx_messageInfo_MemoData.Merge(m, src) -} -func (m *MemoData) XXX_Size() int { - return m.Size() -} -func (m *MemoData) XXX_DiscardUnknown() { - xxx_messageInfo_MemoData.DiscardUnknown(m) -} - -var xxx_messageInfo_MemoData proto.InternalMessageInfo - -func (m *MemoData) GetEncryptedMemo() []byte { +func (m *TransactionBody) GetMemo() *MemoCiphertext { if m != nil { - return m.EncryptedMemo + return m.Memo } return nil } @@ -281,13 +183,15 @@ type TransactionParameters struct { // The chain this transaction is intended for. Including this prevents // replaying a transaction on one chain onto a different chain. ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` + // The transaction fee. + Fee *v1alpha12.Fee `protobuf:"bytes,3,opt,name=fee,proto3" json:"fee,omitempty"` } func (m *TransactionParameters) Reset() { *m = TransactionParameters{} } func (m *TransactionParameters) String() string { return proto.CompactTextString(m) } func (*TransactionParameters) ProtoMessage() {} func (*TransactionParameters) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{4} + return fileDescriptor_cd20ea79758052c4, []int{2} } func (m *TransactionParameters) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -330,17 +234,24 @@ func (m *TransactionParameters) GetChainId() string { return "" } +func (m *TransactionParameters) GetFee() *v1alpha12.Fee { + if m != nil { + return m.Fee + } + return nil +} + // Detection data used by a detection server performing Fuzzy Message Detection. type DetectionData struct { // A list of clues for use with Fuzzy Message Detection. - FmdClues []*v1alpha12.Clue `protobuf:"bytes,4,rep,name=fmd_clues,json=fmdClues,proto3" json:"fmd_clues,omitempty"` + FmdClues []*v1alpha13.Clue `protobuf:"bytes,4,rep,name=fmd_clues,json=fmdClues,proto3" json:"fmd_clues,omitempty"` } func (m *DetectionData) Reset() { *m = DetectionData{} } func (m *DetectionData) String() string { return proto.CompactTextString(m) } func (*DetectionData) ProtoMessage() {} func (*DetectionData) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{5} + return fileDescriptor_cd20ea79758052c4, []int{3} } func (m *DetectionData) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -369,7 +280,7 @@ func (m *DetectionData) XXX_DiscardUnknown() { var xxx_messageInfo_DetectionData proto.InternalMessageInfo -func (m *DetectionData) GetFmdClues() []*v1alpha12.Clue { +func (m *DetectionData) GetFmdClues() []*v1alpha13.Clue { if m != nil { return m.FmdClues } @@ -397,9 +308,9 @@ type Action struct { // *Action_Delegate // *Action_Undelegate // *Action_UndelegateClaim - // *Action_DaoSpend - // *Action_DaoOutput - // *Action_DaoDeposit + // *Action_CommunityPoolSpend + // *Action_CommunityPoolOutput + // *Action_CommunityPoolDeposit // *Action_Ics20Withdrawal Action isAction_Action `protobuf_oneof:"action"` } @@ -408,7 +319,7 @@ func (m *Action) Reset() { *m = Action{} } func (m *Action) String() string { return proto.CompactTextString(m) } func (*Action) ProtoMessage() {} func (*Action) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{6} + return fileDescriptor_cd20ea79758052c4, []int{4} } func (m *Action) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -444,70 +355,70 @@ type isAction_Action interface { } type Action_Spend struct { - Spend *v1alpha13.Spend `protobuf:"bytes,1,opt,name=spend,proto3,oneof" json:"spend,omitempty"` + Spend *v1alpha14.Spend `protobuf:"bytes,1,opt,name=spend,proto3,oneof" json:"spend,omitempty"` } type Action_Output struct { - Output *v1alpha13.Output `protobuf:"bytes,2,opt,name=output,proto3,oneof" json:"output,omitempty"` + Output *v1alpha14.Output `protobuf:"bytes,2,opt,name=output,proto3,oneof" json:"output,omitempty"` } type Action_Swap struct { - Swap *v1alpha14.Swap `protobuf:"bytes,3,opt,name=swap,proto3,oneof" json:"swap,omitempty"` + Swap *v1alpha15.Swap `protobuf:"bytes,3,opt,name=swap,proto3,oneof" json:"swap,omitempty"` } type Action_SwapClaim struct { - SwapClaim *v1alpha14.SwapClaim `protobuf:"bytes,4,opt,name=swap_claim,json=swapClaim,proto3,oneof" json:"swap_claim,omitempty"` + SwapClaim *v1alpha15.SwapClaim `protobuf:"bytes,4,opt,name=swap_claim,json=swapClaim,proto3,oneof" json:"swap_claim,omitempty"` } type Action_ValidatorDefinition struct { - ValidatorDefinition *v1alpha15.ValidatorDefinition `protobuf:"bytes,16,opt,name=validator_definition,json=validatorDefinition,proto3,oneof" json:"validator_definition,omitempty"` + ValidatorDefinition *v1alpha16.ValidatorDefinition `protobuf:"bytes,16,opt,name=validator_definition,json=validatorDefinition,proto3,oneof" json:"validator_definition,omitempty"` } type Action_IbcRelayAction struct { - IbcRelayAction *v1alpha16.IbcRelay `protobuf:"bytes,17,opt,name=ibc_relay_action,json=ibcRelayAction,proto3,oneof" json:"ibc_relay_action,omitempty"` + IbcRelayAction *v1alpha17.IbcRelay `protobuf:"bytes,17,opt,name=ibc_relay_action,json=ibcRelayAction,proto3,oneof" json:"ibc_relay_action,omitempty"` } type Action_ProposalSubmit struct { - ProposalSubmit *v1alpha17.ProposalSubmit `protobuf:"bytes,18,opt,name=proposal_submit,json=proposalSubmit,proto3,oneof" json:"proposal_submit,omitempty"` + ProposalSubmit *v1alpha18.ProposalSubmit `protobuf:"bytes,18,opt,name=proposal_submit,json=proposalSubmit,proto3,oneof" json:"proposal_submit,omitempty"` } type Action_ProposalWithdraw struct { - ProposalWithdraw *v1alpha17.ProposalWithdraw `protobuf:"bytes,19,opt,name=proposal_withdraw,json=proposalWithdraw,proto3,oneof" json:"proposal_withdraw,omitempty"` + ProposalWithdraw *v1alpha18.ProposalWithdraw `protobuf:"bytes,19,opt,name=proposal_withdraw,json=proposalWithdraw,proto3,oneof" json:"proposal_withdraw,omitempty"` } type Action_ValidatorVote struct { - ValidatorVote *v1alpha17.ValidatorVote `protobuf:"bytes,20,opt,name=validator_vote,json=validatorVote,proto3,oneof" json:"validator_vote,omitempty"` + ValidatorVote *v1alpha18.ValidatorVote `protobuf:"bytes,20,opt,name=validator_vote,json=validatorVote,proto3,oneof" json:"validator_vote,omitempty"` } type Action_DelegatorVote struct { - DelegatorVote *v1alpha17.DelegatorVote `protobuf:"bytes,21,opt,name=delegator_vote,json=delegatorVote,proto3,oneof" json:"delegator_vote,omitempty"` + DelegatorVote *v1alpha18.DelegatorVote `protobuf:"bytes,21,opt,name=delegator_vote,json=delegatorVote,proto3,oneof" json:"delegator_vote,omitempty"` } type Action_ProposalDepositClaim struct { - ProposalDepositClaim *v1alpha17.ProposalDepositClaim `protobuf:"bytes,22,opt,name=proposal_deposit_claim,json=proposalDepositClaim,proto3,oneof" json:"proposal_deposit_claim,omitempty"` + ProposalDepositClaim *v1alpha18.ProposalDepositClaim `protobuf:"bytes,22,opt,name=proposal_deposit_claim,json=proposalDepositClaim,proto3,oneof" json:"proposal_deposit_claim,omitempty"` } type Action_PositionOpen struct { - PositionOpen *v1alpha14.PositionOpen `protobuf:"bytes,30,opt,name=position_open,json=positionOpen,proto3,oneof" json:"position_open,omitempty"` + PositionOpen *v1alpha15.PositionOpen `protobuf:"bytes,30,opt,name=position_open,json=positionOpen,proto3,oneof" json:"position_open,omitempty"` } type Action_PositionClose struct { - PositionClose *v1alpha14.PositionClose `protobuf:"bytes,31,opt,name=position_close,json=positionClose,proto3,oneof" json:"position_close,omitempty"` + PositionClose *v1alpha15.PositionClose `protobuf:"bytes,31,opt,name=position_close,json=positionClose,proto3,oneof" json:"position_close,omitempty"` } type Action_PositionWithdraw struct { - PositionWithdraw *v1alpha14.PositionWithdraw `protobuf:"bytes,32,opt,name=position_withdraw,json=positionWithdraw,proto3,oneof" json:"position_withdraw,omitempty"` + PositionWithdraw *v1alpha15.PositionWithdraw `protobuf:"bytes,32,opt,name=position_withdraw,json=positionWithdraw,proto3,oneof" json:"position_withdraw,omitempty"` } type Action_PositionRewardClaim struct { - PositionRewardClaim *v1alpha14.PositionRewardClaim `protobuf:"bytes,34,opt,name=position_reward_claim,json=positionRewardClaim,proto3,oneof" json:"position_reward_claim,omitempty"` + PositionRewardClaim *v1alpha15.PositionRewardClaim `protobuf:"bytes,34,opt,name=position_reward_claim,json=positionRewardClaim,proto3,oneof" json:"position_reward_claim,omitempty"` } type Action_Delegate struct { - Delegate *v1alpha15.Delegate `protobuf:"bytes,40,opt,name=delegate,proto3,oneof" json:"delegate,omitempty"` + Delegate *v1alpha16.Delegate `protobuf:"bytes,40,opt,name=delegate,proto3,oneof" json:"delegate,omitempty"` } type Action_Undelegate struct { - Undelegate *v1alpha15.Undelegate `protobuf:"bytes,41,opt,name=undelegate,proto3,oneof" json:"undelegate,omitempty"` + Undelegate *v1alpha16.Undelegate `protobuf:"bytes,41,opt,name=undelegate,proto3,oneof" json:"undelegate,omitempty"` } type Action_UndelegateClaim struct { - UndelegateClaim *v1alpha15.UndelegateClaim `protobuf:"bytes,42,opt,name=undelegate_claim,json=undelegateClaim,proto3,oneof" json:"undelegate_claim,omitempty"` + UndelegateClaim *v1alpha16.UndelegateClaim `protobuf:"bytes,42,opt,name=undelegate_claim,json=undelegateClaim,proto3,oneof" json:"undelegate_claim,omitempty"` } -type Action_DaoSpend struct { - DaoSpend *v1alpha17.DaoSpend `protobuf:"bytes,50,opt,name=dao_spend,json=daoSpend,proto3,oneof" json:"dao_spend,omitempty"` +type Action_CommunityPoolSpend struct { + CommunityPoolSpend *v1alpha18.CommunityPoolSpend `protobuf:"bytes,50,opt,name=community_pool_spend,json=communityPoolSpend,proto3,oneof" json:"community_pool_spend,omitempty"` } -type Action_DaoOutput struct { - DaoOutput *v1alpha17.DaoOutput `protobuf:"bytes,51,opt,name=dao_output,json=daoOutput,proto3,oneof" json:"dao_output,omitempty"` +type Action_CommunityPoolOutput struct { + CommunityPoolOutput *v1alpha18.CommunityPoolOutput `protobuf:"bytes,51,opt,name=community_pool_output,json=communityPoolOutput,proto3,oneof" json:"community_pool_output,omitempty"` } -type Action_DaoDeposit struct { - DaoDeposit *v1alpha17.DaoDeposit `protobuf:"bytes,52,opt,name=dao_deposit,json=daoDeposit,proto3,oneof" json:"dao_deposit,omitempty"` +type Action_CommunityPoolDeposit struct { + CommunityPoolDeposit *v1alpha18.CommunityPoolDeposit `protobuf:"bytes,52,opt,name=community_pool_deposit,json=communityPoolDeposit,proto3,oneof" json:"community_pool_deposit,omitempty"` } type Action_Ics20Withdrawal struct { - Ics20Withdrawal *v1alpha16.Ics20Withdrawal `protobuf:"bytes,200,opt,name=ics20_withdrawal,json=ics20Withdrawal,proto3,oneof" json:"ics20_withdrawal,omitempty"` + Ics20Withdrawal *v1alpha17.Ics20Withdrawal `protobuf:"bytes,200,opt,name=ics20_withdrawal,json=ics20Withdrawal,proto3,oneof" json:"ics20_withdrawal,omitempty"` } func (*Action_Spend) isAction_Action() {} @@ -528,9 +439,9 @@ func (*Action_PositionRewardClaim) isAction_Action() {} func (*Action_Delegate) isAction_Action() {} func (*Action_Undelegate) isAction_Action() {} func (*Action_UndelegateClaim) isAction_Action() {} -func (*Action_DaoSpend) isAction_Action() {} -func (*Action_DaoOutput) isAction_Action() {} -func (*Action_DaoDeposit) isAction_Action() {} +func (*Action_CommunityPoolSpend) isAction_Action() {} +func (*Action_CommunityPoolOutput) isAction_Action() {} +func (*Action_CommunityPoolDeposit) isAction_Action() {} func (*Action_Ics20Withdrawal) isAction_Action() {} func (m *Action) GetAction() isAction_Action { @@ -540,154 +451,154 @@ func (m *Action) GetAction() isAction_Action { return nil } -func (m *Action) GetSpend() *v1alpha13.Spend { +func (m *Action) GetSpend() *v1alpha14.Spend { if x, ok := m.GetAction().(*Action_Spend); ok { return x.Spend } return nil } -func (m *Action) GetOutput() *v1alpha13.Output { +func (m *Action) GetOutput() *v1alpha14.Output { if x, ok := m.GetAction().(*Action_Output); ok { return x.Output } return nil } -func (m *Action) GetSwap() *v1alpha14.Swap { +func (m *Action) GetSwap() *v1alpha15.Swap { if x, ok := m.GetAction().(*Action_Swap); ok { return x.Swap } return nil } -func (m *Action) GetSwapClaim() *v1alpha14.SwapClaim { +func (m *Action) GetSwapClaim() *v1alpha15.SwapClaim { if x, ok := m.GetAction().(*Action_SwapClaim); ok { return x.SwapClaim } return nil } -func (m *Action) GetValidatorDefinition() *v1alpha15.ValidatorDefinition { +func (m *Action) GetValidatorDefinition() *v1alpha16.ValidatorDefinition { if x, ok := m.GetAction().(*Action_ValidatorDefinition); ok { return x.ValidatorDefinition } return nil } -func (m *Action) GetIbcRelayAction() *v1alpha16.IbcRelay { +func (m *Action) GetIbcRelayAction() *v1alpha17.IbcRelay { if x, ok := m.GetAction().(*Action_IbcRelayAction); ok { return x.IbcRelayAction } return nil } -func (m *Action) GetProposalSubmit() *v1alpha17.ProposalSubmit { +func (m *Action) GetProposalSubmit() *v1alpha18.ProposalSubmit { if x, ok := m.GetAction().(*Action_ProposalSubmit); ok { return x.ProposalSubmit } return nil } -func (m *Action) GetProposalWithdraw() *v1alpha17.ProposalWithdraw { +func (m *Action) GetProposalWithdraw() *v1alpha18.ProposalWithdraw { if x, ok := m.GetAction().(*Action_ProposalWithdraw); ok { return x.ProposalWithdraw } return nil } -func (m *Action) GetValidatorVote() *v1alpha17.ValidatorVote { +func (m *Action) GetValidatorVote() *v1alpha18.ValidatorVote { if x, ok := m.GetAction().(*Action_ValidatorVote); ok { return x.ValidatorVote } return nil } -func (m *Action) GetDelegatorVote() *v1alpha17.DelegatorVote { +func (m *Action) GetDelegatorVote() *v1alpha18.DelegatorVote { if x, ok := m.GetAction().(*Action_DelegatorVote); ok { return x.DelegatorVote } return nil } -func (m *Action) GetProposalDepositClaim() *v1alpha17.ProposalDepositClaim { +func (m *Action) GetProposalDepositClaim() *v1alpha18.ProposalDepositClaim { if x, ok := m.GetAction().(*Action_ProposalDepositClaim); ok { return x.ProposalDepositClaim } return nil } -func (m *Action) GetPositionOpen() *v1alpha14.PositionOpen { +func (m *Action) GetPositionOpen() *v1alpha15.PositionOpen { if x, ok := m.GetAction().(*Action_PositionOpen); ok { return x.PositionOpen } return nil } -func (m *Action) GetPositionClose() *v1alpha14.PositionClose { +func (m *Action) GetPositionClose() *v1alpha15.PositionClose { if x, ok := m.GetAction().(*Action_PositionClose); ok { return x.PositionClose } return nil } -func (m *Action) GetPositionWithdraw() *v1alpha14.PositionWithdraw { +func (m *Action) GetPositionWithdraw() *v1alpha15.PositionWithdraw { if x, ok := m.GetAction().(*Action_PositionWithdraw); ok { return x.PositionWithdraw } return nil } -func (m *Action) GetPositionRewardClaim() *v1alpha14.PositionRewardClaim { +func (m *Action) GetPositionRewardClaim() *v1alpha15.PositionRewardClaim { if x, ok := m.GetAction().(*Action_PositionRewardClaim); ok { return x.PositionRewardClaim } return nil } -func (m *Action) GetDelegate() *v1alpha15.Delegate { +func (m *Action) GetDelegate() *v1alpha16.Delegate { if x, ok := m.GetAction().(*Action_Delegate); ok { return x.Delegate } return nil } -func (m *Action) GetUndelegate() *v1alpha15.Undelegate { +func (m *Action) GetUndelegate() *v1alpha16.Undelegate { if x, ok := m.GetAction().(*Action_Undelegate); ok { return x.Undelegate } return nil } -func (m *Action) GetUndelegateClaim() *v1alpha15.UndelegateClaim { +func (m *Action) GetUndelegateClaim() *v1alpha16.UndelegateClaim { if x, ok := m.GetAction().(*Action_UndelegateClaim); ok { return x.UndelegateClaim } return nil } -func (m *Action) GetDaoSpend() *v1alpha17.DaoSpend { - if x, ok := m.GetAction().(*Action_DaoSpend); ok { - return x.DaoSpend +func (m *Action) GetCommunityPoolSpend() *v1alpha18.CommunityPoolSpend { + if x, ok := m.GetAction().(*Action_CommunityPoolSpend); ok { + return x.CommunityPoolSpend } return nil } -func (m *Action) GetDaoOutput() *v1alpha17.DaoOutput { - if x, ok := m.GetAction().(*Action_DaoOutput); ok { - return x.DaoOutput +func (m *Action) GetCommunityPoolOutput() *v1alpha18.CommunityPoolOutput { + if x, ok := m.GetAction().(*Action_CommunityPoolOutput); ok { + return x.CommunityPoolOutput } return nil } -func (m *Action) GetDaoDeposit() *v1alpha17.DaoDeposit { - if x, ok := m.GetAction().(*Action_DaoDeposit); ok { - return x.DaoDeposit +func (m *Action) GetCommunityPoolDeposit() *v1alpha18.CommunityPoolDeposit { + if x, ok := m.GetAction().(*Action_CommunityPoolDeposit); ok { + return x.CommunityPoolDeposit } return nil } -func (m *Action) GetIcs20Withdrawal() *v1alpha16.Ics20Withdrawal { +func (m *Action) GetIcs20Withdrawal() *v1alpha17.Ics20Withdrawal { if x, ok := m.GetAction().(*Action_Ics20Withdrawal); ok { return x.Ics20Withdrawal } @@ -715,9 +626,9 @@ func (*Action) XXX_OneofWrappers() []interface{} { (*Action_Delegate)(nil), (*Action_Undelegate)(nil), (*Action_UndelegateClaim)(nil), - (*Action_DaoSpend)(nil), - (*Action_DaoOutput)(nil), - (*Action_DaoDeposit)(nil), + (*Action_CommunityPoolSpend)(nil), + (*Action_CommunityPoolOutput)(nil), + (*Action_CommunityPoolDeposit)(nil), (*Action_Ics20Withdrawal)(nil), } } @@ -729,20 +640,20 @@ type TransactionPerspective struct { SpendNullifiers []*NullifierWithNote `protobuf:"bytes,2,rep,name=spend_nullifiers,json=spendNullifiers,proto3" json:"spend_nullifiers,omitempty"` // The openings of note commitments referred to in the transaction // but not included in the transaction. - AdviceNotes []*v1alpha13.Note `protobuf:"bytes,3,rep,name=advice_notes,json=adviceNotes,proto3" json:"advice_notes,omitempty"` + AdviceNotes []*v1alpha14.Note `protobuf:"bytes,3,rep,name=advice_notes,json=adviceNotes,proto3" json:"advice_notes,omitempty"` // Any relevant address views. - AddressViews []*v1alpha18.AddressView `protobuf:"bytes,4,rep,name=address_views,json=addressViews,proto3" json:"address_views,omitempty"` + AddressViews []*v1alpha19.AddressView `protobuf:"bytes,4,rep,name=address_views,json=addressViews,proto3" json:"address_views,omitempty"` // Any relevant denoms for viewed assets. - Denoms []*v1alpha19.DenomMetadata `protobuf:"bytes,5,rep,name=denoms,proto3" json:"denoms,omitempty"` + Denoms []*v1alpha110.DenomMetadata `protobuf:"bytes,5,rep,name=denoms,proto3" json:"denoms,omitempty"` // The transaction ID associated with this TransactionPerspective - TransactionId *Id `protobuf:"bytes,6,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` + TransactionId *v1alpha111.TransactionId `protobuf:"bytes,6,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` } func (m *TransactionPerspective) Reset() { *m = TransactionPerspective{} } func (m *TransactionPerspective) String() string { return proto.CompactTextString(m) } func (*TransactionPerspective) ProtoMessage() {} func (*TransactionPerspective) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{7} + return fileDescriptor_cd20ea79758052c4, []int{5} } func (m *TransactionPerspective) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -785,28 +696,28 @@ func (m *TransactionPerspective) GetSpendNullifiers() []*NullifierWithNote { return nil } -func (m *TransactionPerspective) GetAdviceNotes() []*v1alpha13.Note { +func (m *TransactionPerspective) GetAdviceNotes() []*v1alpha14.Note { if m != nil { return m.AdviceNotes } return nil } -func (m *TransactionPerspective) GetAddressViews() []*v1alpha18.AddressView { +func (m *TransactionPerspective) GetAddressViews() []*v1alpha19.AddressView { if m != nil { return m.AddressViews } return nil } -func (m *TransactionPerspective) GetDenoms() []*v1alpha19.DenomMetadata { +func (m *TransactionPerspective) GetDenoms() []*v1alpha110.DenomMetadata { if m != nil { return m.Denoms } return nil } -func (m *TransactionPerspective) GetTransactionId() *Id { +func (m *TransactionPerspective) GetTransactionId() *v1alpha111.TransactionId { if m != nil { return m.TransactionId } @@ -814,15 +725,15 @@ func (m *TransactionPerspective) GetTransactionId() *Id { } type PayloadKeyWithCommitment struct { - PayloadKey *v1alpha18.PayloadKey `protobuf:"bytes,1,opt,name=payload_key,json=payloadKey,proto3" json:"payload_key,omitempty"` - Commitment *v1alpha1.StateCommitment `protobuf:"bytes,2,opt,name=commitment,proto3" json:"commitment,omitempty"` + PayloadKey *v1alpha19.PayloadKey `protobuf:"bytes,1,opt,name=payload_key,json=payloadKey,proto3" json:"payload_key,omitempty"` + Commitment *v1alpha11.StateCommitment `protobuf:"bytes,2,opt,name=commitment,proto3" json:"commitment,omitempty"` } func (m *PayloadKeyWithCommitment) Reset() { *m = PayloadKeyWithCommitment{} } func (m *PayloadKeyWithCommitment) String() string { return proto.CompactTextString(m) } func (*PayloadKeyWithCommitment) ProtoMessage() {} func (*PayloadKeyWithCommitment) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{8} + return fileDescriptor_cd20ea79758052c4, []int{6} } func (m *PayloadKeyWithCommitment) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -851,14 +762,14 @@ func (m *PayloadKeyWithCommitment) XXX_DiscardUnknown() { var xxx_messageInfo_PayloadKeyWithCommitment proto.InternalMessageInfo -func (m *PayloadKeyWithCommitment) GetPayloadKey() *v1alpha18.PayloadKey { +func (m *PayloadKeyWithCommitment) GetPayloadKey() *v1alpha19.PayloadKey { if m != nil { return m.PayloadKey } return nil } -func (m *PayloadKeyWithCommitment) GetCommitment() *v1alpha1.StateCommitment { +func (m *PayloadKeyWithCommitment) GetCommitment() *v1alpha11.StateCommitment { if m != nil { return m.Commitment } @@ -866,15 +777,15 @@ func (m *PayloadKeyWithCommitment) GetCommitment() *v1alpha1.StateCommitment { } type NullifierWithNote struct { - Nullifier *v1alpha110.Nullifier `protobuf:"bytes,1,opt,name=nullifier,proto3" json:"nullifier,omitempty"` - Note *v1alpha13.Note `protobuf:"bytes,2,opt,name=note,proto3" json:"note,omitempty"` + Nullifier *v1alpha112.Nullifier `protobuf:"bytes,1,opt,name=nullifier,proto3" json:"nullifier,omitempty"` + Note *v1alpha14.Note `protobuf:"bytes,2,opt,name=note,proto3" json:"note,omitempty"` } func (m *NullifierWithNote) Reset() { *m = NullifierWithNote{} } func (m *NullifierWithNote) String() string { return proto.CompactTextString(m) } func (*NullifierWithNote) ProtoMessage() {} func (*NullifierWithNote) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{9} + return fileDescriptor_cd20ea79758052c4, []int{7} } func (m *NullifierWithNote) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -903,14 +814,14 @@ func (m *NullifierWithNote) XXX_DiscardUnknown() { var xxx_messageInfo_NullifierWithNote proto.InternalMessageInfo -func (m *NullifierWithNote) GetNullifier() *v1alpha110.Nullifier { +func (m *NullifierWithNote) GetNullifier() *v1alpha112.Nullifier { if m != nil { return m.Nullifier } return nil } -func (m *NullifierWithNote) GetNote() *v1alpha13.Note { +func (m *NullifierWithNote) GetNote() *v1alpha14.Note { if m != nil { return m.Note } @@ -922,17 +833,17 @@ type TransactionView struct { // View of the transaction body BodyView *TransactionBodyView `protobuf:"bytes,1,opt,name=body_view,json=bodyView,proto3" json:"body_view,omitempty"` // The binding signature is stored separately from the transaction body that it signs. - BindingSig []byte `protobuf:"bytes,2,opt,name=binding_sig,json=bindingSig,proto3" json:"binding_sig,omitempty"` + BindingSig *v1alpha1.BindingSignature `protobuf:"bytes,2,opt,name=binding_sig,json=bindingSig,proto3" json:"binding_sig,omitempty"` // The root of some previous state of the state commitment tree, used as an anchor for all // ZK state transition proofs. - Anchor *v1alpha1.MerkleRoot `protobuf:"bytes,3,opt,name=anchor,proto3" json:"anchor,omitempty"` + Anchor *v1alpha11.MerkleRoot `protobuf:"bytes,3,opt,name=anchor,proto3" json:"anchor,omitempty"` } func (m *TransactionView) Reset() { *m = TransactionView{} } func (m *TransactionView) String() string { return proto.CompactTextString(m) } func (*TransactionView) ProtoMessage() {} func (*TransactionView) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{10} + return fileDescriptor_cd20ea79758052c4, []int{8} } func (m *TransactionView) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -968,14 +879,14 @@ func (m *TransactionView) GetBodyView() *TransactionBodyView { return nil } -func (m *TransactionView) GetBindingSig() []byte { +func (m *TransactionView) GetBindingSig() *v1alpha1.BindingSignature { if m != nil { return m.BindingSig } return nil } -func (m *TransactionView) GetAnchor() *v1alpha1.MerkleRoot { +func (m *TransactionView) GetAnchor() *v1alpha11.MerkleRoot { if m != nil { return m.Anchor } @@ -987,8 +898,6 @@ type TransactionBodyView struct { ActionViews []*ActionView `protobuf:"bytes,1,rep,name=action_views,json=actionViews,proto3" json:"action_views,omitempty"` // Transaction parameters. TransactionParameters *TransactionParameters `protobuf:"bytes,2,opt,name=transaction_parameters,json=transactionParameters,proto3" json:"transaction_parameters,omitempty"` - // The transaction fee. - Fee *v1alpha11.Fee `protobuf:"bytes,3,opt,name=fee,proto3" json:"fee,omitempty"` // The detection data in this transaction, only populated if // there are outputs in the actions of this transaction. DetectionData *DetectionData `protobuf:"bytes,4,opt,name=detection_data,json=detectionData,proto3" json:"detection_data,omitempty"` @@ -1001,7 +910,7 @@ func (m *TransactionBodyView) Reset() { *m = TransactionBodyView{} } func (m *TransactionBodyView) String() string { return proto.CompactTextString(m) } func (*TransactionBodyView) ProtoMessage() {} func (*TransactionBodyView) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{11} + return fileDescriptor_cd20ea79758052c4, []int{9} } func (m *TransactionBodyView) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1044,13 +953,6 @@ func (m *TransactionBodyView) GetTransactionParameters() *TransactionParameters return nil } -func (m *TransactionBodyView) GetFee() *v1alpha11.Fee { - if m != nil { - return m.Fee - } - return nil -} - func (m *TransactionBodyView) GetDetectionData() *DetectionData { if m != nil { return m.DetectionData @@ -1085,9 +987,9 @@ type ActionView struct { // *ActionView_PositionRewardClaim // *ActionView_Delegate // *ActionView_Undelegate - // *ActionView_DaoSpend - // *ActionView_DaoOutput - // *ActionView_DaoDeposit + // *ActionView_CommunityPoolSpend + // *ActionView_CommunityPoolOutput + // *ActionView_CommunityPoolDeposit // *ActionView_UndelegateClaim // *ActionView_Ics20Withdrawal ActionView isActionView_ActionView `protobuf_oneof:"action_view"` @@ -1097,7 +999,7 @@ func (m *ActionView) Reset() { *m = ActionView{} } func (m *ActionView) String() string { return proto.CompactTextString(m) } func (*ActionView) ProtoMessage() {} func (*ActionView) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{12} + return fileDescriptor_cd20ea79758052c4, []int{10} } func (m *ActionView) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1133,70 +1035,70 @@ type isActionView_ActionView interface { } type ActionView_Spend struct { - Spend *v1alpha13.SpendView `protobuf:"bytes,1,opt,name=spend,proto3,oneof" json:"spend,omitempty"` + Spend *v1alpha14.SpendView `protobuf:"bytes,1,opt,name=spend,proto3,oneof" json:"spend,omitempty"` } type ActionView_Output struct { - Output *v1alpha13.OutputView `protobuf:"bytes,2,opt,name=output,proto3,oneof" json:"output,omitempty"` + Output *v1alpha14.OutputView `protobuf:"bytes,2,opt,name=output,proto3,oneof" json:"output,omitempty"` } type ActionView_Swap struct { - Swap *v1alpha14.SwapView `protobuf:"bytes,3,opt,name=swap,proto3,oneof" json:"swap,omitempty"` + Swap *v1alpha15.SwapView `protobuf:"bytes,3,opt,name=swap,proto3,oneof" json:"swap,omitempty"` } type ActionView_SwapClaim struct { - SwapClaim *v1alpha14.SwapClaimView `protobuf:"bytes,4,opt,name=swap_claim,json=swapClaim,proto3,oneof" json:"swap_claim,omitempty"` + SwapClaim *v1alpha15.SwapClaimView `protobuf:"bytes,4,opt,name=swap_claim,json=swapClaim,proto3,oneof" json:"swap_claim,omitempty"` } type ActionView_ValidatorDefinition struct { - ValidatorDefinition *v1alpha15.ValidatorDefinition `protobuf:"bytes,16,opt,name=validator_definition,json=validatorDefinition,proto3,oneof" json:"validator_definition,omitempty"` + ValidatorDefinition *v1alpha16.ValidatorDefinition `protobuf:"bytes,16,opt,name=validator_definition,json=validatorDefinition,proto3,oneof" json:"validator_definition,omitempty"` } type ActionView_IbcRelayAction struct { - IbcRelayAction *v1alpha16.IbcRelay `protobuf:"bytes,17,opt,name=ibc_relay_action,json=ibcRelayAction,proto3,oneof" json:"ibc_relay_action,omitempty"` + IbcRelayAction *v1alpha17.IbcRelay `protobuf:"bytes,17,opt,name=ibc_relay_action,json=ibcRelayAction,proto3,oneof" json:"ibc_relay_action,omitempty"` } type ActionView_ProposalSubmit struct { - ProposalSubmit *v1alpha17.ProposalSubmit `protobuf:"bytes,18,opt,name=proposal_submit,json=proposalSubmit,proto3,oneof" json:"proposal_submit,omitempty"` + ProposalSubmit *v1alpha18.ProposalSubmit `protobuf:"bytes,18,opt,name=proposal_submit,json=proposalSubmit,proto3,oneof" json:"proposal_submit,omitempty"` } type ActionView_ProposalWithdraw struct { - ProposalWithdraw *v1alpha17.ProposalWithdraw `protobuf:"bytes,19,opt,name=proposal_withdraw,json=proposalWithdraw,proto3,oneof" json:"proposal_withdraw,omitempty"` + ProposalWithdraw *v1alpha18.ProposalWithdraw `protobuf:"bytes,19,opt,name=proposal_withdraw,json=proposalWithdraw,proto3,oneof" json:"proposal_withdraw,omitempty"` } type ActionView_ValidatorVote struct { - ValidatorVote *v1alpha17.ValidatorVote `protobuf:"bytes,20,opt,name=validator_vote,json=validatorVote,proto3,oneof" json:"validator_vote,omitempty"` + ValidatorVote *v1alpha18.ValidatorVote `protobuf:"bytes,20,opt,name=validator_vote,json=validatorVote,proto3,oneof" json:"validator_vote,omitempty"` } type ActionView_DelegatorVote struct { - DelegatorVote *v1alpha17.DelegatorVoteView `protobuf:"bytes,21,opt,name=delegator_vote,json=delegatorVote,proto3,oneof" json:"delegator_vote,omitempty"` + DelegatorVote *v1alpha18.DelegatorVoteView `protobuf:"bytes,21,opt,name=delegator_vote,json=delegatorVote,proto3,oneof" json:"delegator_vote,omitempty"` } type ActionView_ProposalDepositClaim struct { - ProposalDepositClaim *v1alpha17.ProposalDepositClaim `protobuf:"bytes,22,opt,name=proposal_deposit_claim,json=proposalDepositClaim,proto3,oneof" json:"proposal_deposit_claim,omitempty"` + ProposalDepositClaim *v1alpha18.ProposalDepositClaim `protobuf:"bytes,22,opt,name=proposal_deposit_claim,json=proposalDepositClaim,proto3,oneof" json:"proposal_deposit_claim,omitempty"` } type ActionView_PositionOpen struct { - PositionOpen *v1alpha14.PositionOpen `protobuf:"bytes,30,opt,name=position_open,json=positionOpen,proto3,oneof" json:"position_open,omitempty"` + PositionOpen *v1alpha15.PositionOpen `protobuf:"bytes,30,opt,name=position_open,json=positionOpen,proto3,oneof" json:"position_open,omitempty"` } type ActionView_PositionClose struct { - PositionClose *v1alpha14.PositionClose `protobuf:"bytes,31,opt,name=position_close,json=positionClose,proto3,oneof" json:"position_close,omitempty"` + PositionClose *v1alpha15.PositionClose `protobuf:"bytes,31,opt,name=position_close,json=positionClose,proto3,oneof" json:"position_close,omitempty"` } type ActionView_PositionWithdraw struct { - PositionWithdraw *v1alpha14.PositionWithdraw `protobuf:"bytes,32,opt,name=position_withdraw,json=positionWithdraw,proto3,oneof" json:"position_withdraw,omitempty"` + PositionWithdraw *v1alpha15.PositionWithdraw `protobuf:"bytes,32,opt,name=position_withdraw,json=positionWithdraw,proto3,oneof" json:"position_withdraw,omitempty"` } type ActionView_PositionRewardClaim struct { - PositionRewardClaim *v1alpha14.PositionRewardClaim `protobuf:"bytes,34,opt,name=position_reward_claim,json=positionRewardClaim,proto3,oneof" json:"position_reward_claim,omitempty"` + PositionRewardClaim *v1alpha15.PositionRewardClaim `protobuf:"bytes,34,opt,name=position_reward_claim,json=positionRewardClaim,proto3,oneof" json:"position_reward_claim,omitempty"` } type ActionView_Delegate struct { - Delegate *v1alpha15.Delegate `protobuf:"bytes,41,opt,name=delegate,proto3,oneof" json:"delegate,omitempty"` + Delegate *v1alpha16.Delegate `protobuf:"bytes,41,opt,name=delegate,proto3,oneof" json:"delegate,omitempty"` } type ActionView_Undelegate struct { - Undelegate *v1alpha15.Undelegate `protobuf:"bytes,42,opt,name=undelegate,proto3,oneof" json:"undelegate,omitempty"` + Undelegate *v1alpha16.Undelegate `protobuf:"bytes,42,opt,name=undelegate,proto3,oneof" json:"undelegate,omitempty"` } -type ActionView_DaoSpend struct { - DaoSpend *v1alpha17.DaoSpend `protobuf:"bytes,50,opt,name=dao_spend,json=daoSpend,proto3,oneof" json:"dao_spend,omitempty"` +type ActionView_CommunityPoolSpend struct { + CommunityPoolSpend *v1alpha18.CommunityPoolSpend `protobuf:"bytes,50,opt,name=community_pool_spend,json=communityPoolSpend,proto3,oneof" json:"community_pool_spend,omitempty"` } -type ActionView_DaoOutput struct { - DaoOutput *v1alpha17.DaoOutput `protobuf:"bytes,51,opt,name=dao_output,json=daoOutput,proto3,oneof" json:"dao_output,omitempty"` +type ActionView_CommunityPoolOutput struct { + CommunityPoolOutput *v1alpha18.CommunityPoolOutput `protobuf:"bytes,51,opt,name=community_pool_output,json=communityPoolOutput,proto3,oneof" json:"community_pool_output,omitempty"` } -type ActionView_DaoDeposit struct { - DaoDeposit *v1alpha17.DaoDeposit `protobuf:"bytes,52,opt,name=dao_deposit,json=daoDeposit,proto3,oneof" json:"dao_deposit,omitempty"` +type ActionView_CommunityPoolDeposit struct { + CommunityPoolDeposit *v1alpha18.CommunityPoolDeposit `protobuf:"bytes,52,opt,name=community_pool_deposit,json=communityPoolDeposit,proto3,oneof" json:"community_pool_deposit,omitempty"` } type ActionView_UndelegateClaim struct { - UndelegateClaim *v1alpha15.UndelegateClaim `protobuf:"bytes,43,opt,name=undelegate_claim,json=undelegateClaim,proto3,oneof" json:"undelegate_claim,omitempty"` + UndelegateClaim *v1alpha16.UndelegateClaim `protobuf:"bytes,43,opt,name=undelegate_claim,json=undelegateClaim,proto3,oneof" json:"undelegate_claim,omitempty"` } type ActionView_Ics20Withdrawal struct { - Ics20Withdrawal *v1alpha16.Ics20Withdrawal `protobuf:"bytes,200,opt,name=ics20_withdrawal,json=ics20Withdrawal,proto3,oneof" json:"ics20_withdrawal,omitempty"` + Ics20Withdrawal *v1alpha17.Ics20Withdrawal `protobuf:"bytes,200,opt,name=ics20_withdrawal,json=ics20Withdrawal,proto3,oneof" json:"ics20_withdrawal,omitempty"` } func (*ActionView_Spend) isActionView_ActionView() {} @@ -1216,9 +1118,9 @@ func (*ActionView_PositionWithdraw) isActionView_ActionView() {} func (*ActionView_PositionRewardClaim) isActionView_ActionView() {} func (*ActionView_Delegate) isActionView_ActionView() {} func (*ActionView_Undelegate) isActionView_ActionView() {} -func (*ActionView_DaoSpend) isActionView_ActionView() {} -func (*ActionView_DaoOutput) isActionView_ActionView() {} -func (*ActionView_DaoDeposit) isActionView_ActionView() {} +func (*ActionView_CommunityPoolSpend) isActionView_ActionView() {} +func (*ActionView_CommunityPoolOutput) isActionView_ActionView() {} +func (*ActionView_CommunityPoolDeposit) isActionView_ActionView() {} func (*ActionView_UndelegateClaim) isActionView_ActionView() {} func (*ActionView_Ics20Withdrawal) isActionView_ActionView() {} @@ -1229,154 +1131,154 @@ func (m *ActionView) GetActionView() isActionView_ActionView { return nil } -func (m *ActionView) GetSpend() *v1alpha13.SpendView { +func (m *ActionView) GetSpend() *v1alpha14.SpendView { if x, ok := m.GetActionView().(*ActionView_Spend); ok { return x.Spend } return nil } -func (m *ActionView) GetOutput() *v1alpha13.OutputView { +func (m *ActionView) GetOutput() *v1alpha14.OutputView { if x, ok := m.GetActionView().(*ActionView_Output); ok { return x.Output } return nil } -func (m *ActionView) GetSwap() *v1alpha14.SwapView { +func (m *ActionView) GetSwap() *v1alpha15.SwapView { if x, ok := m.GetActionView().(*ActionView_Swap); ok { return x.Swap } return nil } -func (m *ActionView) GetSwapClaim() *v1alpha14.SwapClaimView { +func (m *ActionView) GetSwapClaim() *v1alpha15.SwapClaimView { if x, ok := m.GetActionView().(*ActionView_SwapClaim); ok { return x.SwapClaim } return nil } -func (m *ActionView) GetValidatorDefinition() *v1alpha15.ValidatorDefinition { +func (m *ActionView) GetValidatorDefinition() *v1alpha16.ValidatorDefinition { if x, ok := m.GetActionView().(*ActionView_ValidatorDefinition); ok { return x.ValidatorDefinition } return nil } -func (m *ActionView) GetIbcRelayAction() *v1alpha16.IbcRelay { +func (m *ActionView) GetIbcRelayAction() *v1alpha17.IbcRelay { if x, ok := m.GetActionView().(*ActionView_IbcRelayAction); ok { return x.IbcRelayAction } return nil } -func (m *ActionView) GetProposalSubmit() *v1alpha17.ProposalSubmit { +func (m *ActionView) GetProposalSubmit() *v1alpha18.ProposalSubmit { if x, ok := m.GetActionView().(*ActionView_ProposalSubmit); ok { return x.ProposalSubmit } return nil } -func (m *ActionView) GetProposalWithdraw() *v1alpha17.ProposalWithdraw { +func (m *ActionView) GetProposalWithdraw() *v1alpha18.ProposalWithdraw { if x, ok := m.GetActionView().(*ActionView_ProposalWithdraw); ok { return x.ProposalWithdraw } return nil } -func (m *ActionView) GetValidatorVote() *v1alpha17.ValidatorVote { +func (m *ActionView) GetValidatorVote() *v1alpha18.ValidatorVote { if x, ok := m.GetActionView().(*ActionView_ValidatorVote); ok { return x.ValidatorVote } return nil } -func (m *ActionView) GetDelegatorVote() *v1alpha17.DelegatorVoteView { +func (m *ActionView) GetDelegatorVote() *v1alpha18.DelegatorVoteView { if x, ok := m.GetActionView().(*ActionView_DelegatorVote); ok { return x.DelegatorVote } return nil } -func (m *ActionView) GetProposalDepositClaim() *v1alpha17.ProposalDepositClaim { +func (m *ActionView) GetProposalDepositClaim() *v1alpha18.ProposalDepositClaim { if x, ok := m.GetActionView().(*ActionView_ProposalDepositClaim); ok { return x.ProposalDepositClaim } return nil } -func (m *ActionView) GetPositionOpen() *v1alpha14.PositionOpen { +func (m *ActionView) GetPositionOpen() *v1alpha15.PositionOpen { if x, ok := m.GetActionView().(*ActionView_PositionOpen); ok { return x.PositionOpen } return nil } -func (m *ActionView) GetPositionClose() *v1alpha14.PositionClose { +func (m *ActionView) GetPositionClose() *v1alpha15.PositionClose { if x, ok := m.GetActionView().(*ActionView_PositionClose); ok { return x.PositionClose } return nil } -func (m *ActionView) GetPositionWithdraw() *v1alpha14.PositionWithdraw { +func (m *ActionView) GetPositionWithdraw() *v1alpha15.PositionWithdraw { if x, ok := m.GetActionView().(*ActionView_PositionWithdraw); ok { return x.PositionWithdraw } return nil } -func (m *ActionView) GetPositionRewardClaim() *v1alpha14.PositionRewardClaim { +func (m *ActionView) GetPositionRewardClaim() *v1alpha15.PositionRewardClaim { if x, ok := m.GetActionView().(*ActionView_PositionRewardClaim); ok { return x.PositionRewardClaim } return nil } -func (m *ActionView) GetDelegate() *v1alpha15.Delegate { +func (m *ActionView) GetDelegate() *v1alpha16.Delegate { if x, ok := m.GetActionView().(*ActionView_Delegate); ok { return x.Delegate } return nil } -func (m *ActionView) GetUndelegate() *v1alpha15.Undelegate { +func (m *ActionView) GetUndelegate() *v1alpha16.Undelegate { if x, ok := m.GetActionView().(*ActionView_Undelegate); ok { return x.Undelegate } return nil } -func (m *ActionView) GetDaoSpend() *v1alpha17.DaoSpend { - if x, ok := m.GetActionView().(*ActionView_DaoSpend); ok { - return x.DaoSpend +func (m *ActionView) GetCommunityPoolSpend() *v1alpha18.CommunityPoolSpend { + if x, ok := m.GetActionView().(*ActionView_CommunityPoolSpend); ok { + return x.CommunityPoolSpend } return nil } -func (m *ActionView) GetDaoOutput() *v1alpha17.DaoOutput { - if x, ok := m.GetActionView().(*ActionView_DaoOutput); ok { - return x.DaoOutput +func (m *ActionView) GetCommunityPoolOutput() *v1alpha18.CommunityPoolOutput { + if x, ok := m.GetActionView().(*ActionView_CommunityPoolOutput); ok { + return x.CommunityPoolOutput } return nil } -func (m *ActionView) GetDaoDeposit() *v1alpha17.DaoDeposit { - if x, ok := m.GetActionView().(*ActionView_DaoDeposit); ok { - return x.DaoDeposit +func (m *ActionView) GetCommunityPoolDeposit() *v1alpha18.CommunityPoolDeposit { + if x, ok := m.GetActionView().(*ActionView_CommunityPoolDeposit); ok { + return x.CommunityPoolDeposit } return nil } -func (m *ActionView) GetUndelegateClaim() *v1alpha15.UndelegateClaim { +func (m *ActionView) GetUndelegateClaim() *v1alpha16.UndelegateClaim { if x, ok := m.GetActionView().(*ActionView_UndelegateClaim); ok { return x.UndelegateClaim } return nil } -func (m *ActionView) GetIcs20Withdrawal() *v1alpha16.Ics20Withdrawal { +func (m *ActionView) GetIcs20Withdrawal() *v1alpha17.Ics20Withdrawal { if x, ok := m.GetActionView().(*ActionView_Ics20Withdrawal); ok { return x.Ics20Withdrawal } @@ -1403,76 +1305,31 @@ func (*ActionView) XXX_OneofWrappers() []interface{} { (*ActionView_PositionRewardClaim)(nil), (*ActionView_Delegate)(nil), (*ActionView_Undelegate)(nil), - (*ActionView_DaoSpend)(nil), - (*ActionView_DaoOutput)(nil), - (*ActionView_DaoDeposit)(nil), + (*ActionView_CommunityPoolSpend)(nil), + (*ActionView_CommunityPoolOutput)(nil), + (*ActionView_CommunityPoolDeposit)(nil), (*ActionView_UndelegateClaim)(nil), (*ActionView_Ics20Withdrawal)(nil), } } -// An authorization hash for a Penumbra transaction. -type EffectHash struct { - Inner []byte `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` -} - -func (m *EffectHash) Reset() { *m = EffectHash{} } -func (m *EffectHash) String() string { return proto.CompactTextString(m) } -func (*EffectHash) ProtoMessage() {} -func (*EffectHash) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{13} -} -func (m *EffectHash) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *EffectHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_EffectHash.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 *EffectHash) XXX_Merge(src proto.Message) { - xxx_messageInfo_EffectHash.Merge(m, src) -} -func (m *EffectHash) XXX_Size() int { - return m.Size() -} -func (m *EffectHash) XXX_DiscardUnknown() { - xxx_messageInfo_EffectHash.DiscardUnknown(m) -} - -var xxx_messageInfo_EffectHash proto.InternalMessageInfo - -func (m *EffectHash) GetInner() []byte { - if m != nil { - return m.Inner - } - return nil -} - // The data required to authorize a transaction plan. type AuthorizationData struct { // The computed auth hash for the approved transaction plan. - EffectHash *EffectHash `protobuf:"bytes,1,opt,name=effect_hash,json=effectHash,proto3" json:"effect_hash,omitempty"` + EffectHash *v1alpha111.EffectHash `protobuf:"bytes,1,opt,name=effect_hash,json=effectHash,proto3" json:"effect_hash,omitempty"` // The required spend authorizations, returned in the same order as the // Spend actions in the original request. - SpendAuths []*v1alpha111.SpendAuthSignature `protobuf:"bytes,2,rep,name=spend_auths,json=spendAuths,proto3" json:"spend_auths,omitempty"` + SpendAuths []*v1alpha1.SpendAuthSignature `protobuf:"bytes,2,rep,name=spend_auths,json=spendAuths,proto3" json:"spend_auths,omitempty"` // The required delegator vote authorizations, returned in the same order as the // DelegatorVote actions in the original request. - DelegatorVoteAuths []*v1alpha111.SpendAuthSignature `protobuf:"bytes,3,rep,name=delegator_vote_auths,json=delegatorVoteAuths,proto3" json:"delegator_vote_auths,omitempty"` + DelegatorVoteAuths []*v1alpha1.SpendAuthSignature `protobuf:"bytes,3,rep,name=delegator_vote_auths,json=delegatorVoteAuths,proto3" json:"delegator_vote_auths,omitempty"` } func (m *AuthorizationData) Reset() { *m = AuthorizationData{} } func (m *AuthorizationData) String() string { return proto.CompactTextString(m) } func (*AuthorizationData) ProtoMessage() {} func (*AuthorizationData) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{14} + return fileDescriptor_cd20ea79758052c4, []int{11} } func (m *AuthorizationData) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1501,21 +1358,21 @@ func (m *AuthorizationData) XXX_DiscardUnknown() { var xxx_messageInfo_AuthorizationData proto.InternalMessageInfo -func (m *AuthorizationData) GetEffectHash() *EffectHash { +func (m *AuthorizationData) GetEffectHash() *v1alpha111.EffectHash { if m != nil { return m.EffectHash } return nil } -func (m *AuthorizationData) GetSpendAuths() []*v1alpha111.SpendAuthSignature { +func (m *AuthorizationData) GetSpendAuths() []*v1alpha1.SpendAuthSignature { if m != nil { return m.SpendAuths } return nil } -func (m *AuthorizationData) GetDelegatorVoteAuths() []*v1alpha111.SpendAuthSignature { +func (m *AuthorizationData) GetDelegatorVoteAuths() []*v1alpha1.SpendAuthSignature { if m != nil { return m.DelegatorVoteAuths } @@ -1525,17 +1382,17 @@ func (m *AuthorizationData) GetDelegatorVoteAuths() []*v1alpha111.SpendAuthSigna // The data required for proving when building a transaction from a plan. type WitnessData struct { // The anchor for the state transition proofs. - Anchor *v1alpha1.MerkleRoot `protobuf:"bytes,1,opt,name=anchor,proto3" json:"anchor,omitempty"` + Anchor *v1alpha11.MerkleRoot `protobuf:"bytes,1,opt,name=anchor,proto3" json:"anchor,omitempty"` // The auth paths for the notes the transaction spends, in the // same order as the spends in the transaction plan. - StateCommitmentProofs []*v1alpha1.StateCommitmentProof `protobuf:"bytes,2,rep,name=state_commitment_proofs,json=stateCommitmentProofs,proto3" json:"state_commitment_proofs,omitempty"` + StateCommitmentProofs []*v1alpha11.StateCommitmentProof `protobuf:"bytes,2,rep,name=state_commitment_proofs,json=stateCommitmentProofs,proto3" json:"state_commitment_proofs,omitempty"` } func (m *WitnessData) Reset() { *m = WitnessData{} } func (m *WitnessData) String() string { return proto.CompactTextString(m) } func (*WitnessData) ProtoMessage() {} func (*WitnessData) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{15} + return fileDescriptor_cd20ea79758052c4, []int{12} } func (m *WitnessData) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1564,14 +1421,14 @@ func (m *WitnessData) XXX_DiscardUnknown() { var xxx_messageInfo_WitnessData proto.InternalMessageInfo -func (m *WitnessData) GetAnchor() *v1alpha1.MerkleRoot { +func (m *WitnessData) GetAnchor() *v1alpha11.MerkleRoot { if m != nil { return m.Anchor } return nil } -func (m *WitnessData) GetStateCommitmentProofs() []*v1alpha1.StateCommitmentProof { +func (m *WitnessData) GetStateCommitmentProofs() []*v1alpha11.StateCommitmentProof { if m != nil { return m.StateCommitmentProofs } @@ -1580,25 +1437,25 @@ func (m *WitnessData) GetStateCommitmentProofs() []*v1alpha1.StateCommitmentProo // Describes a planned transaction. Permits clients to prepare a transaction // prior submission, so that a user can review it prior to authorizing its execution. +// +// The `TransactionPlan` is a fully determined bundle binding all of a transaction's effects. +// The only thing it does not include is the witness data used for proving. type TransactionPlan struct { - // The planner interface(s) for Actions to be performed, such as a Spend, Swap, - // or Delegation. See the ActionPlan docs for a full list of options. + // The sequence of actions planned for this transaction. Actions []*ActionPlan `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"` - // Time, as block height, after which TransactionPlan should be considered invalid. - ExpiryHeight uint64 `protobuf:"varint,2,opt,name=expiry_height,json=expiryHeight,proto3" json:"expiry_height,omitempty"` - // The name of the network for which this TransactionPlan was built. - ChainId string `protobuf:"bytes,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` - Fee *v1alpha11.Fee `protobuf:"bytes,4,opt,name=fee,proto3" json:"fee,omitempty"` - CluePlans []*CluePlan `protobuf:"bytes,5,rep,name=clue_plans,json=cluePlans,proto3" json:"clue_plans,omitempty"` - // Planning interface for constructing an optional Memo for the Transaction. - MemoPlan *MemoPlan `protobuf:"bytes,6,opt,name=memo_plan,json=memoPlan,proto3" json:"memo_plan,omitempty"` + // Parameters determining if a transaction should be accepted by this chain. + TransactionParameters *TransactionParameters `protobuf:"bytes,2,opt,name=transaction_parameters,json=transactionParameters,proto3" json:"transaction_parameters,omitempty"` + // Detection data for use with Fuzzy Message Detection + DetectionData *DetectionDataPlan `protobuf:"bytes,4,opt,name=detection_data,json=detectionData,proto3" json:"detection_data,omitempty"` + // The memo plan for this transaction. + Memo *MemoPlan `protobuf:"bytes,5,opt,name=memo,proto3" json:"memo,omitempty"` } func (m *TransactionPlan) Reset() { *m = TransactionPlan{} } func (m *TransactionPlan) String() string { return proto.CompactTextString(m) } func (*TransactionPlan) ProtoMessage() {} func (*TransactionPlan) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{16} + return fileDescriptor_cd20ea79758052c4, []int{13} } func (m *TransactionPlan) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1634,37 +1491,67 @@ func (m *TransactionPlan) GetActions() []*ActionPlan { return nil } -func (m *TransactionPlan) GetExpiryHeight() uint64 { +func (m *TransactionPlan) GetTransactionParameters() *TransactionParameters { if m != nil { - return m.ExpiryHeight + return m.TransactionParameters } - return 0 + return nil } -func (m *TransactionPlan) GetChainId() string { +func (m *TransactionPlan) GetDetectionData() *DetectionDataPlan { if m != nil { - return m.ChainId + return m.DetectionData } - return "" + return nil } -func (m *TransactionPlan) GetFee() *v1alpha11.Fee { +func (m *TransactionPlan) GetMemo() *MemoPlan { if m != nil { - return m.Fee + return m.Memo } return nil } -func (m *TransactionPlan) GetCluePlans() []*CluePlan { - if m != nil { - return m.CluePlans +type DetectionDataPlan struct { + CluePlans []*CluePlan `protobuf:"bytes,5,rep,name=clue_plans,json=cluePlans,proto3" json:"clue_plans,omitempty"` +} + +func (m *DetectionDataPlan) Reset() { *m = DetectionDataPlan{} } +func (m *DetectionDataPlan) String() string { return proto.CompactTextString(m) } +func (*DetectionDataPlan) ProtoMessage() {} +func (*DetectionDataPlan) Descriptor() ([]byte, []int) { + return fileDescriptor_cd20ea79758052c4, []int{14} +} +func (m *DetectionDataPlan) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DetectionDataPlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DetectionDataPlan.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return nil } +func (m *DetectionDataPlan) XXX_Merge(src proto.Message) { + xxx_messageInfo_DetectionDataPlan.Merge(m, src) +} +func (m *DetectionDataPlan) XXX_Size() int { + return m.Size() +} +func (m *DetectionDataPlan) XXX_DiscardUnknown() { + xxx_messageInfo_DetectionDataPlan.DiscardUnknown(m) +} + +var xxx_messageInfo_DetectionDataPlan proto.InternalMessageInfo -func (m *TransactionPlan) GetMemoPlan() *MemoPlan { +func (m *DetectionDataPlan) GetCluePlans() []*CluePlan { if m != nil { - return m.MemoPlan + return m.CluePlans } return nil } @@ -1695,9 +1582,9 @@ type ActionPlan struct { // *ActionPlan_Delegate // *ActionPlan_Undelegate // *ActionPlan_UndelegateClaim - // *ActionPlan_DaoSpend - // *ActionPlan_DaoOutput - // *ActionPlan_DaoDeposit + // *ActionPlan_CommunityPoolSpend + // *ActionPlan_CommunityPoolOutput + // *ActionPlan_CommunityPoolDeposit Action isActionPlan_Action `protobuf_oneof:"action"` } @@ -1705,7 +1592,7 @@ func (m *ActionPlan) Reset() { *m = ActionPlan{} } func (m *ActionPlan) String() string { return proto.CompactTextString(m) } func (*ActionPlan) ProtoMessage() {} func (*ActionPlan) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{17} + return fileDescriptor_cd20ea79758052c4, []int{15} } func (m *ActionPlan) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1741,70 +1628,70 @@ type isActionPlan_Action interface { } type ActionPlan_Spend struct { - Spend *v1alpha13.SpendPlan `protobuf:"bytes,1,opt,name=spend,proto3,oneof" json:"spend,omitempty"` + Spend *v1alpha14.SpendPlan `protobuf:"bytes,1,opt,name=spend,proto3,oneof" json:"spend,omitempty"` } type ActionPlan_Output struct { - Output *v1alpha13.OutputPlan `protobuf:"bytes,2,opt,name=output,proto3,oneof" json:"output,omitempty"` + Output *v1alpha14.OutputPlan `protobuf:"bytes,2,opt,name=output,proto3,oneof" json:"output,omitempty"` } type ActionPlan_Swap struct { - Swap *v1alpha14.SwapPlan `protobuf:"bytes,3,opt,name=swap,proto3,oneof" json:"swap,omitempty"` + Swap *v1alpha15.SwapPlan `protobuf:"bytes,3,opt,name=swap,proto3,oneof" json:"swap,omitempty"` } type ActionPlan_SwapClaim struct { - SwapClaim *v1alpha14.SwapClaimPlan `protobuf:"bytes,4,opt,name=swap_claim,json=swapClaim,proto3,oneof" json:"swap_claim,omitempty"` + SwapClaim *v1alpha15.SwapClaimPlan `protobuf:"bytes,4,opt,name=swap_claim,json=swapClaim,proto3,oneof" json:"swap_claim,omitempty"` } type ActionPlan_ValidatorDefinition struct { - ValidatorDefinition *v1alpha15.ValidatorDefinition `protobuf:"bytes,16,opt,name=validator_definition,json=validatorDefinition,proto3,oneof" json:"validator_definition,omitempty"` + ValidatorDefinition *v1alpha16.ValidatorDefinition `protobuf:"bytes,16,opt,name=validator_definition,json=validatorDefinition,proto3,oneof" json:"validator_definition,omitempty"` } type ActionPlan_IbcRelayAction struct { - IbcRelayAction *v1alpha16.IbcRelay `protobuf:"bytes,17,opt,name=ibc_relay_action,json=ibcRelayAction,proto3,oneof" json:"ibc_relay_action,omitempty"` + IbcRelayAction *v1alpha17.IbcRelay `protobuf:"bytes,17,opt,name=ibc_relay_action,json=ibcRelayAction,proto3,oneof" json:"ibc_relay_action,omitempty"` } type ActionPlan_ProposalSubmit struct { - ProposalSubmit *v1alpha17.ProposalSubmit `protobuf:"bytes,18,opt,name=proposal_submit,json=proposalSubmit,proto3,oneof" json:"proposal_submit,omitempty"` + ProposalSubmit *v1alpha18.ProposalSubmit `protobuf:"bytes,18,opt,name=proposal_submit,json=proposalSubmit,proto3,oneof" json:"proposal_submit,omitempty"` } type ActionPlan_ProposalWithdraw struct { - ProposalWithdraw *v1alpha17.ProposalWithdraw `protobuf:"bytes,19,opt,name=proposal_withdraw,json=proposalWithdraw,proto3,oneof" json:"proposal_withdraw,omitempty"` + ProposalWithdraw *v1alpha18.ProposalWithdraw `protobuf:"bytes,19,opt,name=proposal_withdraw,json=proposalWithdraw,proto3,oneof" json:"proposal_withdraw,omitempty"` } type ActionPlan_ValidatorVote struct { - ValidatorVote *v1alpha17.ValidatorVote `protobuf:"bytes,20,opt,name=validator_vote,json=validatorVote,proto3,oneof" json:"validator_vote,omitempty"` + ValidatorVote *v1alpha18.ValidatorVote `protobuf:"bytes,20,opt,name=validator_vote,json=validatorVote,proto3,oneof" json:"validator_vote,omitempty"` } type ActionPlan_DelegatorVote struct { - DelegatorVote *v1alpha17.DelegatorVotePlan `protobuf:"bytes,21,opt,name=delegator_vote,json=delegatorVote,proto3,oneof" json:"delegator_vote,omitempty"` + DelegatorVote *v1alpha18.DelegatorVotePlan `protobuf:"bytes,21,opt,name=delegator_vote,json=delegatorVote,proto3,oneof" json:"delegator_vote,omitempty"` } type ActionPlan_ProposalDepositClaim struct { - ProposalDepositClaim *v1alpha17.ProposalDepositClaim `protobuf:"bytes,22,opt,name=proposal_deposit_claim,json=proposalDepositClaim,proto3,oneof" json:"proposal_deposit_claim,omitempty"` + ProposalDepositClaim *v1alpha18.ProposalDepositClaim `protobuf:"bytes,22,opt,name=proposal_deposit_claim,json=proposalDepositClaim,proto3,oneof" json:"proposal_deposit_claim,omitempty"` } type ActionPlan_Withdrawal struct { - Withdrawal *v1alpha16.Ics20Withdrawal `protobuf:"bytes,23,opt,name=withdrawal,proto3,oneof" json:"withdrawal,omitempty"` + Withdrawal *v1alpha17.Ics20Withdrawal `protobuf:"bytes,23,opt,name=withdrawal,proto3,oneof" json:"withdrawal,omitempty"` } type ActionPlan_PositionOpen struct { - PositionOpen *v1alpha14.PositionOpen `protobuf:"bytes,30,opt,name=position_open,json=positionOpen,proto3,oneof" json:"position_open,omitempty"` + PositionOpen *v1alpha15.PositionOpen `protobuf:"bytes,30,opt,name=position_open,json=positionOpen,proto3,oneof" json:"position_open,omitempty"` } type ActionPlan_PositionClose struct { - PositionClose *v1alpha14.PositionClose `protobuf:"bytes,31,opt,name=position_close,json=positionClose,proto3,oneof" json:"position_close,omitempty"` + PositionClose *v1alpha15.PositionClose `protobuf:"bytes,31,opt,name=position_close,json=positionClose,proto3,oneof" json:"position_close,omitempty"` } type ActionPlan_PositionWithdraw struct { - PositionWithdraw *v1alpha14.PositionWithdrawPlan `protobuf:"bytes,32,opt,name=position_withdraw,json=positionWithdraw,proto3,oneof" json:"position_withdraw,omitempty"` + PositionWithdraw *v1alpha15.PositionWithdrawPlan `protobuf:"bytes,32,opt,name=position_withdraw,json=positionWithdraw,proto3,oneof" json:"position_withdraw,omitempty"` } type ActionPlan_PositionRewardClaim struct { - PositionRewardClaim *v1alpha14.PositionRewardClaimPlan `protobuf:"bytes,34,opt,name=position_reward_claim,json=positionRewardClaim,proto3,oneof" json:"position_reward_claim,omitempty"` + PositionRewardClaim *v1alpha15.PositionRewardClaimPlan `protobuf:"bytes,34,opt,name=position_reward_claim,json=positionRewardClaim,proto3,oneof" json:"position_reward_claim,omitempty"` } type ActionPlan_Delegate struct { - Delegate *v1alpha15.Delegate `protobuf:"bytes,40,opt,name=delegate,proto3,oneof" json:"delegate,omitempty"` + Delegate *v1alpha16.Delegate `protobuf:"bytes,40,opt,name=delegate,proto3,oneof" json:"delegate,omitempty"` } type ActionPlan_Undelegate struct { - Undelegate *v1alpha15.Undelegate `protobuf:"bytes,41,opt,name=undelegate,proto3,oneof" json:"undelegate,omitempty"` + Undelegate *v1alpha16.Undelegate `protobuf:"bytes,41,opt,name=undelegate,proto3,oneof" json:"undelegate,omitempty"` } type ActionPlan_UndelegateClaim struct { - UndelegateClaim *v1alpha15.UndelegateClaimPlan `protobuf:"bytes,42,opt,name=undelegate_claim,json=undelegateClaim,proto3,oneof" json:"undelegate_claim,omitempty"` + UndelegateClaim *v1alpha16.UndelegateClaimPlan `protobuf:"bytes,42,opt,name=undelegate_claim,json=undelegateClaim,proto3,oneof" json:"undelegate_claim,omitempty"` } -type ActionPlan_DaoSpend struct { - DaoSpend *v1alpha17.DaoSpend `protobuf:"bytes,50,opt,name=dao_spend,json=daoSpend,proto3,oneof" json:"dao_spend,omitempty"` +type ActionPlan_CommunityPoolSpend struct { + CommunityPoolSpend *v1alpha18.CommunityPoolSpend `protobuf:"bytes,50,opt,name=community_pool_spend,json=communityPoolSpend,proto3,oneof" json:"community_pool_spend,omitempty"` } -type ActionPlan_DaoOutput struct { - DaoOutput *v1alpha17.DaoOutput `protobuf:"bytes,51,opt,name=dao_output,json=daoOutput,proto3,oneof" json:"dao_output,omitempty"` +type ActionPlan_CommunityPoolOutput struct { + CommunityPoolOutput *v1alpha18.CommunityPoolOutput `protobuf:"bytes,51,opt,name=community_pool_output,json=communityPoolOutput,proto3,oneof" json:"community_pool_output,omitempty"` } -type ActionPlan_DaoDeposit struct { - DaoDeposit *v1alpha17.DaoDeposit `protobuf:"bytes,52,opt,name=dao_deposit,json=daoDeposit,proto3,oneof" json:"dao_deposit,omitempty"` +type ActionPlan_CommunityPoolDeposit struct { + CommunityPoolDeposit *v1alpha18.CommunityPoolDeposit `protobuf:"bytes,52,opt,name=community_pool_deposit,json=communityPoolDeposit,proto3,oneof" json:"community_pool_deposit,omitempty"` } func (*ActionPlan_Spend) isActionPlan_Action() {} @@ -1826,9 +1713,9 @@ func (*ActionPlan_PositionRewardClaim) isActionPlan_Action() {} func (*ActionPlan_Delegate) isActionPlan_Action() {} func (*ActionPlan_Undelegate) isActionPlan_Action() {} func (*ActionPlan_UndelegateClaim) isActionPlan_Action() {} -func (*ActionPlan_DaoSpend) isActionPlan_Action() {} -func (*ActionPlan_DaoOutput) isActionPlan_Action() {} -func (*ActionPlan_DaoDeposit) isActionPlan_Action() {} +func (*ActionPlan_CommunityPoolSpend) isActionPlan_Action() {} +func (*ActionPlan_CommunityPoolOutput) isActionPlan_Action() {} +func (*ActionPlan_CommunityPoolDeposit) isActionPlan_Action() {} func (m *ActionPlan) GetAction() isActionPlan_Action { if m != nil { @@ -1837,156 +1724,156 @@ func (m *ActionPlan) GetAction() isActionPlan_Action { return nil } -func (m *ActionPlan) GetSpend() *v1alpha13.SpendPlan { +func (m *ActionPlan) GetSpend() *v1alpha14.SpendPlan { if x, ok := m.GetAction().(*ActionPlan_Spend); ok { return x.Spend } return nil } -func (m *ActionPlan) GetOutput() *v1alpha13.OutputPlan { +func (m *ActionPlan) GetOutput() *v1alpha14.OutputPlan { if x, ok := m.GetAction().(*ActionPlan_Output); ok { return x.Output } return nil } -func (m *ActionPlan) GetSwap() *v1alpha14.SwapPlan { +func (m *ActionPlan) GetSwap() *v1alpha15.SwapPlan { if x, ok := m.GetAction().(*ActionPlan_Swap); ok { return x.Swap } return nil } -func (m *ActionPlan) GetSwapClaim() *v1alpha14.SwapClaimPlan { +func (m *ActionPlan) GetSwapClaim() *v1alpha15.SwapClaimPlan { if x, ok := m.GetAction().(*ActionPlan_SwapClaim); ok { return x.SwapClaim } return nil } -func (m *ActionPlan) GetValidatorDefinition() *v1alpha15.ValidatorDefinition { +func (m *ActionPlan) GetValidatorDefinition() *v1alpha16.ValidatorDefinition { if x, ok := m.GetAction().(*ActionPlan_ValidatorDefinition); ok { return x.ValidatorDefinition } return nil } -func (m *ActionPlan) GetIbcRelayAction() *v1alpha16.IbcRelay { +func (m *ActionPlan) GetIbcRelayAction() *v1alpha17.IbcRelay { if x, ok := m.GetAction().(*ActionPlan_IbcRelayAction); ok { return x.IbcRelayAction } return nil } -func (m *ActionPlan) GetProposalSubmit() *v1alpha17.ProposalSubmit { +func (m *ActionPlan) GetProposalSubmit() *v1alpha18.ProposalSubmit { if x, ok := m.GetAction().(*ActionPlan_ProposalSubmit); ok { return x.ProposalSubmit } return nil } -func (m *ActionPlan) GetProposalWithdraw() *v1alpha17.ProposalWithdraw { +func (m *ActionPlan) GetProposalWithdraw() *v1alpha18.ProposalWithdraw { if x, ok := m.GetAction().(*ActionPlan_ProposalWithdraw); ok { return x.ProposalWithdraw } return nil } -func (m *ActionPlan) GetValidatorVote() *v1alpha17.ValidatorVote { +func (m *ActionPlan) GetValidatorVote() *v1alpha18.ValidatorVote { if x, ok := m.GetAction().(*ActionPlan_ValidatorVote); ok { return x.ValidatorVote } return nil } -func (m *ActionPlan) GetDelegatorVote() *v1alpha17.DelegatorVotePlan { +func (m *ActionPlan) GetDelegatorVote() *v1alpha18.DelegatorVotePlan { if x, ok := m.GetAction().(*ActionPlan_DelegatorVote); ok { return x.DelegatorVote } return nil } -func (m *ActionPlan) GetProposalDepositClaim() *v1alpha17.ProposalDepositClaim { +func (m *ActionPlan) GetProposalDepositClaim() *v1alpha18.ProposalDepositClaim { if x, ok := m.GetAction().(*ActionPlan_ProposalDepositClaim); ok { return x.ProposalDepositClaim } return nil } -func (m *ActionPlan) GetWithdrawal() *v1alpha16.Ics20Withdrawal { +func (m *ActionPlan) GetWithdrawal() *v1alpha17.Ics20Withdrawal { if x, ok := m.GetAction().(*ActionPlan_Withdrawal); ok { return x.Withdrawal } return nil } -func (m *ActionPlan) GetPositionOpen() *v1alpha14.PositionOpen { +func (m *ActionPlan) GetPositionOpen() *v1alpha15.PositionOpen { if x, ok := m.GetAction().(*ActionPlan_PositionOpen); ok { return x.PositionOpen } return nil } -func (m *ActionPlan) GetPositionClose() *v1alpha14.PositionClose { +func (m *ActionPlan) GetPositionClose() *v1alpha15.PositionClose { if x, ok := m.GetAction().(*ActionPlan_PositionClose); ok { return x.PositionClose } return nil } -func (m *ActionPlan) GetPositionWithdraw() *v1alpha14.PositionWithdrawPlan { +func (m *ActionPlan) GetPositionWithdraw() *v1alpha15.PositionWithdrawPlan { if x, ok := m.GetAction().(*ActionPlan_PositionWithdraw); ok { return x.PositionWithdraw } return nil } -func (m *ActionPlan) GetPositionRewardClaim() *v1alpha14.PositionRewardClaimPlan { +func (m *ActionPlan) GetPositionRewardClaim() *v1alpha15.PositionRewardClaimPlan { if x, ok := m.GetAction().(*ActionPlan_PositionRewardClaim); ok { return x.PositionRewardClaim } return nil } -func (m *ActionPlan) GetDelegate() *v1alpha15.Delegate { +func (m *ActionPlan) GetDelegate() *v1alpha16.Delegate { if x, ok := m.GetAction().(*ActionPlan_Delegate); ok { return x.Delegate } return nil } -func (m *ActionPlan) GetUndelegate() *v1alpha15.Undelegate { +func (m *ActionPlan) GetUndelegate() *v1alpha16.Undelegate { if x, ok := m.GetAction().(*ActionPlan_Undelegate); ok { return x.Undelegate } return nil } -func (m *ActionPlan) GetUndelegateClaim() *v1alpha15.UndelegateClaimPlan { +func (m *ActionPlan) GetUndelegateClaim() *v1alpha16.UndelegateClaimPlan { if x, ok := m.GetAction().(*ActionPlan_UndelegateClaim); ok { return x.UndelegateClaim } return nil } -func (m *ActionPlan) GetDaoSpend() *v1alpha17.DaoSpend { - if x, ok := m.GetAction().(*ActionPlan_DaoSpend); ok { - return x.DaoSpend +func (m *ActionPlan) GetCommunityPoolSpend() *v1alpha18.CommunityPoolSpend { + if x, ok := m.GetAction().(*ActionPlan_CommunityPoolSpend); ok { + return x.CommunityPoolSpend } return nil } -func (m *ActionPlan) GetDaoOutput() *v1alpha17.DaoOutput { - if x, ok := m.GetAction().(*ActionPlan_DaoOutput); ok { - return x.DaoOutput +func (m *ActionPlan) GetCommunityPoolOutput() *v1alpha18.CommunityPoolOutput { + if x, ok := m.GetAction().(*ActionPlan_CommunityPoolOutput); ok { + return x.CommunityPoolOutput } return nil } -func (m *ActionPlan) GetDaoDeposit() *v1alpha17.DaoDeposit { - if x, ok := m.GetAction().(*ActionPlan_DaoDeposit); ok { - return x.DaoDeposit +func (m *ActionPlan) GetCommunityPoolDeposit() *v1alpha18.CommunityPoolDeposit { + if x, ok := m.GetAction().(*ActionPlan_CommunityPoolDeposit); ok { + return x.CommunityPoolDeposit } return nil } @@ -2013,16 +1900,16 @@ func (*ActionPlan) XXX_OneofWrappers() []interface{} { (*ActionPlan_Delegate)(nil), (*ActionPlan_Undelegate)(nil), (*ActionPlan_UndelegateClaim)(nil), - (*ActionPlan_DaoSpend)(nil), - (*ActionPlan_DaoOutput)(nil), - (*ActionPlan_DaoDeposit)(nil), + (*ActionPlan_CommunityPoolSpend)(nil), + (*ActionPlan_CommunityPoolOutput)(nil), + (*ActionPlan_CommunityPoolDeposit)(nil), } } // Describes a plan for forming a `Clue`. type CluePlan struct { // The address. - Address *v1alpha18.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Address *v1alpha19.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // The random seed to use for the clue plan. Rseed []byte `protobuf:"bytes,2,opt,name=rseed,proto3" json:"rseed,omitempty"` // The bits of precision. @@ -2033,7 +1920,7 @@ func (m *CluePlan) Reset() { *m = CluePlan{} } func (m *CluePlan) String() string { return proto.CompactTextString(m) } func (*CluePlan) ProtoMessage() {} func (*CluePlan) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{18} + return fileDescriptor_cd20ea79758052c4, []int{16} } func (m *CluePlan) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2062,7 +1949,7 @@ func (m *CluePlan) XXX_DiscardUnknown() { var xxx_messageInfo_CluePlan proto.InternalMessageInfo -func (m *CluePlan) GetAddress() *v1alpha18.Address { +func (m *CluePlan) GetAddress() *v1alpha19.Address { if m != nil { return m.Address } @@ -2083,7 +1970,7 @@ func (m *CluePlan) GetPrecisionBits() uint64 { return 0 } -// Describes a plan for forming a `Memo`. +// Describes a plan for forming the transaction memo. type MemoPlan struct { // The plaintext. Plaintext *MemoPlaintext `protobuf:"bytes,1,opt,name=plaintext,proto3" json:"plaintext,omitempty"` @@ -2095,7 +1982,7 @@ func (m *MemoPlan) Reset() { *m = MemoPlan{} } func (m *MemoPlan) String() string { return proto.CompactTextString(m) } func (*MemoPlan) ProtoMessage() {} func (*MemoPlan) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{19} + return fileDescriptor_cd20ea79758052c4, []int{17} } func (m *MemoPlan) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2138,7 +2025,9 @@ func (m *MemoPlan) GetKey() []byte { return nil } +// The encrypted memo data describing information about the purpose of a transaction. type MemoCiphertext struct { + // The encrypted data. 528 bytes. Inner []byte `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` } @@ -2146,7 +2035,7 @@ func (m *MemoCiphertext) Reset() { *m = MemoCiphertext{} } func (m *MemoCiphertext) String() string { return proto.CompactTextString(m) } func (*MemoCiphertext) ProtoMessage() {} func (*MemoCiphertext) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{20} + return fileDescriptor_cd20ea79758052c4, []int{18} } func (m *MemoCiphertext) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2182,16 +2071,22 @@ func (m *MemoCiphertext) GetInner() []byte { return nil } +// The plaintext describing information about the purpose of a transaction. type MemoPlaintext struct { - ReturnAddress *v1alpha18.Address `protobuf:"bytes,1,opt,name=return_address,json=returnAddress,proto3" json:"return_address,omitempty"` - Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` + // The sender's return address. + // + // This should always be a valid address; the sender is responsible for ensuring + // that if the receiver returns funds to this address, they will not be lost. + ReturnAddress *v1alpha19.Address `protobuf:"bytes,1,opt,name=return_address,json=returnAddress,proto3" json:"return_address,omitempty"` + // Free-form text, up to 432 bytes long. + Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` } func (m *MemoPlaintext) Reset() { *m = MemoPlaintext{} } func (m *MemoPlaintext) String() string { return proto.CompactTextString(m) } func (*MemoPlaintext) ProtoMessage() {} func (*MemoPlaintext) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{21} + return fileDescriptor_cd20ea79758052c4, []int{19} } func (m *MemoPlaintext) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2220,7 +2115,7 @@ func (m *MemoPlaintext) XXX_DiscardUnknown() { var xxx_messageInfo_MemoPlaintext proto.InternalMessageInfo -func (m *MemoPlaintext) GetReturnAddress() *v1alpha18.Address { +func (m *MemoPlaintext) GetReturnAddress() *v1alpha19.Address { if m != nil { return m.ReturnAddress } @@ -2235,7 +2130,7 @@ func (m *MemoPlaintext) GetText() string { } type MemoPlaintextView struct { - ReturnAddress *v1alpha18.AddressView `protobuf:"bytes,1,opt,name=return_address,json=returnAddress,proto3" json:"return_address,omitempty"` + ReturnAddress *v1alpha19.AddressView `protobuf:"bytes,1,opt,name=return_address,json=returnAddress,proto3" json:"return_address,omitempty"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` } @@ -2243,7 +2138,7 @@ func (m *MemoPlaintextView) Reset() { *m = MemoPlaintextView{} } func (m *MemoPlaintextView) String() string { return proto.CompactTextString(m) } func (*MemoPlaintextView) ProtoMessage() {} func (*MemoPlaintextView) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{22} + return fileDescriptor_cd20ea79758052c4, []int{20} } func (m *MemoPlaintextView) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2272,7 +2167,7 @@ func (m *MemoPlaintextView) XXX_DiscardUnknown() { var xxx_messageInfo_MemoPlaintextView proto.InternalMessageInfo -func (m *MemoPlaintextView) GetReturnAddress() *v1alpha18.AddressView { +func (m *MemoPlaintextView) GetReturnAddress() *v1alpha19.AddressView { if m != nil { return m.ReturnAddress } @@ -2298,7 +2193,7 @@ func (m *MemoView) Reset() { *m = MemoView{} } func (m *MemoView) String() string { return proto.CompactTextString(m) } func (*MemoView) ProtoMessage() {} func (*MemoView) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{23} + return fileDescriptor_cd20ea79758052c4, []int{21} } func (m *MemoView) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2381,7 +2276,7 @@ func (m *MemoView_Visible) Reset() { *m = MemoView_Visible{} } func (m *MemoView_Visible) String() string { return proto.CompactTextString(m) } func (*MemoView_Visible) ProtoMessage() {} func (*MemoView_Visible) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{23, 0} + return fileDescriptor_cd20ea79758052c4, []int{21, 0} } func (m *MemoView_Visible) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2432,7 +2327,7 @@ func (m *MemoView_Opaque) Reset() { *m = MemoView_Opaque{} } func (m *MemoView_Opaque) String() string { return proto.CompactTextString(m) } func (*MemoView_Opaque) ProtoMessage() {} func (*MemoView_Opaque) Descriptor() ([]byte, []int) { - return fileDescriptor_cd20ea79758052c4, []int{23, 1} + return fileDescriptor_cd20ea79758052c4, []int{21, 1} } func (m *MemoView_Opaque) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2470,9 +2365,7 @@ func (m *MemoView_Opaque) GetCiphertext() *MemoCiphertext { func init() { proto.RegisterType((*Transaction)(nil), "penumbra.core.transaction.v1alpha1.Transaction") - proto.RegisterType((*Id)(nil), "penumbra.core.transaction.v1alpha1.Id") proto.RegisterType((*TransactionBody)(nil), "penumbra.core.transaction.v1alpha1.TransactionBody") - proto.RegisterType((*MemoData)(nil), "penumbra.core.transaction.v1alpha1.MemoData") proto.RegisterType((*TransactionParameters)(nil), "penumbra.core.transaction.v1alpha1.TransactionParameters") proto.RegisterType((*DetectionData)(nil), "penumbra.core.transaction.v1alpha1.DetectionData") proto.RegisterType((*Action)(nil), "penumbra.core.transaction.v1alpha1.Action") @@ -2482,10 +2375,10 @@ func init() { proto.RegisterType((*TransactionView)(nil), "penumbra.core.transaction.v1alpha1.TransactionView") proto.RegisterType((*TransactionBodyView)(nil), "penumbra.core.transaction.v1alpha1.TransactionBodyView") proto.RegisterType((*ActionView)(nil), "penumbra.core.transaction.v1alpha1.ActionView") - proto.RegisterType((*EffectHash)(nil), "penumbra.core.transaction.v1alpha1.EffectHash") proto.RegisterType((*AuthorizationData)(nil), "penumbra.core.transaction.v1alpha1.AuthorizationData") proto.RegisterType((*WitnessData)(nil), "penumbra.core.transaction.v1alpha1.WitnessData") proto.RegisterType((*TransactionPlan)(nil), "penumbra.core.transaction.v1alpha1.TransactionPlan") + proto.RegisterType((*DetectionDataPlan)(nil), "penumbra.core.transaction.v1alpha1.DetectionDataPlan") proto.RegisterType((*ActionPlan)(nil), "penumbra.core.transaction.v1alpha1.ActionPlan") proto.RegisterType((*CluePlan)(nil), "penumbra.core.transaction.v1alpha1.CluePlan") proto.RegisterType((*MemoPlan)(nil), "penumbra.core.transaction.v1alpha1.MemoPlan") @@ -2502,156 +2395,156 @@ func init() { } var fileDescriptor_cd20ea79758052c4 = []byte{ - // 2372 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0xcd, 0x73, 0x1b, 0x49, - 0x15, 0x97, 0x2c, 0xc5, 0xb1, 0x9f, 0x2c, 0xc7, 0xee, 0x7c, 0xac, 0xc8, 0xc1, 0x9b, 0x1a, 0x48, - 0x70, 0xb2, 0x20, 0x6f, 0xec, 0x40, 0x58, 0x65, 0x77, 0x6b, 0x63, 0x1b, 0x56, 0xae, 0x94, 0x63, - 0xed, 0xd8, 0xc4, 0x6c, 0x70, 0xd5, 0xd0, 0x9a, 0x69, 0x59, 0x4d, 0x46, 0xd3, 0xc3, 0x74, 0x4b, - 0x8e, 0xf9, 0x07, 0xb8, 0x72, 0xe3, 0xce, 0x11, 0xa8, 0xa2, 0x0a, 0x4e, 0x14, 0x70, 0xdf, 0x5a, - 0x2e, 0x7b, 0xa1, 0x8a, 0xe2, 0x04, 0xc9, 0x8d, 0x13, 0x7f, 0x02, 0xd5, 0x3d, 0x3d, 0x5f, 0xb6, - 0x14, 0x7d, 0xc4, 0xa4, 0x76, 0xab, 0x7c, 0x4a, 0xf7, 0x4b, 0xbf, 0xdf, 0xeb, 0x7e, 0xfd, 0xa6, - 0xfb, 0xf7, 0x73, 0x0b, 0xee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, - 0xab, 0x20, 0x64, 0x1c, 0x3f, 0x63, 0x41, 0x2e, 0x2c, 0xc6, 0x71, 0x8e, 0xa8, 0x68, 0x3b, 0x01, - 0x3e, 0xaa, 0x5c, 0x56, 0x91, 0x3e, 0x98, 0x28, 0xd2, 0xbe, 0x06, 0xa9, 0xe7, 0xcc, 0x05, 0xff, - 0x84, 0x0d, 0xd9, 0x30, 0x9f, 0xec, 0x51, 0x8f, 0x09, 0x52, 0xb9, 0xa2, 0x42, 0xd5, 0xc6, 0x0a, - 0x15, 0x6f, 0xd1, 0x13, 0x26, 0x48, 0x3d, 0x67, 0x96, 0x7b, 0x69, 0x83, 0x0c, 0xe2, 0x10, 0x97, - 0x1c, 0x26, 0x41, 0xae, 0x4e, 0x10, 0x64, 0x33, 0x82, 0x88, 0x82, 0x38, 0x69, 0x03, 0x3a, 0x86, - 0x6b, 0x71, 0xde, 0x1c, 0xe2, 0x33, 0x4e, 0x85, 0xae, 0xe5, 0x6b, 0x2a, 0xd8, 0xc3, 0x89, 0x92, - 0xb7, 0x19, 0x22, 0x45, 0xd5, 0x7d, 0xc5, 0xef, 0x63, 0x47, 0x9f, 0x42, 0x59, 0xf5, 0xe4, 0x99, - 0xcd, 0x7c, 0xe2, 0x55, 0x96, 0x54, 0xc4, 0xd5, 0xd1, 0xbe, 0x9e, 0x86, 0x76, 0xdd, 0xf1, 0x89, - 0x2c, 0xec, 0x39, 0x3f, 0xd5, 0x47, 0x07, 0x30, 0x1f, 0x43, 0xdb, 0x2e, 0xe3, 0xa4, 0xf2, 0x76, - 0xdf, 0x8b, 0x7e, 0x08, 0xf6, 0x86, 0x74, 0x95, 0x39, 0xf3, 0xd3, 0x06, 0x44, 0x60, 0x31, 0x46, - 0x8f, 0x6b, 0xed, 0xc6, 0x90, 0x23, 0xa9, 0x6f, 0x80, 0x4c, 0x91, 0x9d, 0xb0, 0x21, 0x06, 0x57, - 0xe3, 0x30, 0x01, 0x39, 0xc2, 0x81, 0xa3, 0x77, 0xc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1f, 0x51, 0x1d, 0x4a, 0xa9, 0xda, 0xd0, 0x8c, 0xf3, 0x9b, 0xaf, 0x5c, - 0x7d, 0x82, 0x65, 0x42, 0x52, 0x05, 0x68, 0x1b, 0xc0, 0x8e, 0x71, 0x35, 0xd5, 0xfc, 0xf6, 0xab, - 0x55, 0xdb, 0xae, 0x90, 0x07, 0x47, 0x52, 0x54, 0x29, 0x00, 0xe3, 0x77, 0x79, 0x58, 0x3c, 0x55, - 0x18, 0x68, 0x1b, 0x66, 0xe3, 0x1a, 0xd3, 0x93, 0x1d, 0x4c, 0x1b, 0x79, 0x3a, 0x56, 0x8c, 0x65, - 0x26, 0x08, 0xa8, 0x0e, 0x45, 0x59, 0x4f, 0x7a, 0xb6, 0x93, 0x95, 0x93, 0x42, 0x30, 0x3e, 0xcf, - 0x67, 0x34, 0xa5, 0xac, 0x06, 0x79, 0x18, 0x4a, 0xb1, 0xab, 0x0a, 0x4b, 0x4f, 0xf6, 0xfe, 0x04, - 0x92, 0x59, 0x95, 0xd9, 0x4c, 0x53, 0xb7, 0xde, 0x84, 0x74, 0xfe, 0x4b, 0x01, 0x2e, 0xf7, 0x99, - 0x04, 0xfa, 0x04, 0xe6, 0x74, 0x4d, 0x86, 0xdf, 0x4a, 0x78, 0x90, 0x54, 0x47, 0x57, 0xca, 0x6a, - 0x29, 0xa5, 0x24, 0x45, 0xe7, 0x8a, 0xf9, 0x94, 0x62, 0x56, 0xc5, 0x32, 0xa6, 0x62, 0x0e, 0x2b, - 0xa4, 0xa3, 0x5b, 0xc6, 0x3f, 0x17, 0x00, 0x92, 0x7c, 0xa3, 0x4f, 0xb2, 0x72, 0xf2, 0xbd, 0x89, - 0xe4, 0xa4, 0x44, 0x4a, 0x24, 0xe5, 0xde, 0x09, 0x49, 0x59, 0x9b, 0x4c, 0x52, 0x6a, 0xd0, 0x48, - 0x56, 0x6e, 0x66, 0x64, 0x65, 0x75, 0x74, 0x39, 0xa8, 0x71, 0x42, 0x69, 0xb9, 0xd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f, 0xe8, 0xa1, 0x9f, 0x27, 0x83, 0x0e, 0xe4, 0xa0, 0x83, 0xd4, - 0xa0, 0x83, 0x68, 0xd0, 0x8b, 0xa9, 0xea, 0xf0, 0x41, 0x07, 0x1f, 0x37, 0xd6, 0xa3, 0xa7, 0xd9, - 0xff, 0x4c, 0xdd, 0x8c, 0x1c, 0x6a, 0x35, 0xe9, 0x51, 0xab, 0xa5, 0x5c, 0x6a, 0xb5, 0xc8, 0xa7, - 0x39, 0xad, 0x7e, 0x37, 0xbb, 0xf6, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x2f, 0x12, 0x32, 0xf8, - 0xf9, 0x2d, 0x00, 0x00, + // 2370 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0xcf, 0x73, 0x1c, 0x47, + 0xf5, 0xdf, 0x95, 0x64, 0x59, 0x7a, 0xab, 0x95, 0xa5, 0xb6, 0xe4, 0xec, 0xd7, 0x07, 0x7d, 0x5d, + 0x0b, 0x31, 0xb2, 0x03, 0xab, 0x58, 0x72, 0x70, 0xb2, 0x4e, 0x82, 0x2d, 0x89, 0x64, 0x8d, 0x4b, + 0xf6, 0x66, 0x24, 0x6c, 0x1c, 0x54, 0x35, 0xe9, 0x9d, 0xe9, 0xd5, 0x36, 0x9e, 0x9d, 0x1e, 0xa6, + 0x7b, 0x57, 0x5a, 0xce, 0x54, 0x71, 0xe5, 0xc0, 0x89, 0x2a, 0x2e, 0x1c, 0x53, 0x9c, 0xc2, 0x81, + 0x03, 0xff, 0x40, 0x0a, 0x2e, 0x39, 0x72, 0x04, 0xfb, 0x06, 0xc5, 0x89, 0x3f, 0x00, 0xaa, 0x7b, + 0x7a, 0x7e, 0xed, 0x0f, 0xef, 0x0f, 0x0b, 0x27, 0xa1, 0x74, 0xd2, 0xf4, 0x53, 0xbf, 0xcf, 0xa7, + 0xfb, 0xf5, 0x9b, 0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 0x10, + 0x13, 0x83, 0x29, 0x3d, 0xd2, 0x5d, 0xff, 0x14, 0x77, 0x3a, 0x94, 0x9d, 0x0e, 0x13, 0x9d, 0x0e, + 0xc3, 0x4e, 0xcf, 0xa6, 0x4a, 0xc3, 0x3b, 0x1d, 0x7e, 0x58, 0xdd, 0x0e, 0x6f, 0xa3, 0xff, 0x3e, + 0xf5, 0x7a, 0xe8, 0x50, 0x2e, 0x4b, 0x8f, 0x72, 0x39, 0xe1, 0x52, 0x2e, 0x87, 0x3e, 0xb5, 0x59, + 0xf5, 0xc9, 0xf1, 0xd6, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xba, 0x81, 0x9e, 0x96, 0x60, 0x2f, + 0x00, 0x00, } func (m *Transaction) Marshal() (dAtA []byte, err error) { @@ -2686,10 +2579,15 @@ func (m *Transaction) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x1a } - if len(m.BindingSig) > 0 { - i -= len(m.BindingSig) - copy(dAtA[i:], m.BindingSig) - i = encodeVarintTransaction(dAtA, i, uint64(len(m.BindingSig))) + if m.BindingSig != nil { + { + size, err := m.BindingSig.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTransaction(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0x12 } @@ -2708,36 +2606,6 @@ func (m *Transaction) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *Id) 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 *Id) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Id) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Hash) > 0 { - i -= len(m.Hash) - copy(dAtA[i:], m.Hash) - i = encodeVarintTransaction(dAtA, i, uint64(len(m.Hash))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - func (m *TransactionBody) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -2758,9 +2626,9 @@ func (m *TransactionBody) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if m.MemoData != nil { + if m.Memo != nil { { - size, err := m.MemoData.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Memo.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -2782,18 +2650,6 @@ func (m *TransactionBody) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x22 } - if m.Fee != nil { - { - size, err := m.Fee.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTransaction(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } if m.TransactionParameters != nil { { size, err := m.TransactionParameters.MarshalToSizedBuffer(dAtA[:i]) @@ -2823,7 +2679,7 @@ func (m *TransactionBody) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MemoData) Marshal() (dAtA []byte, err error) { +func (m *TransactionParameters) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -2833,27 +2689,44 @@ func (m *MemoData) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MemoData) MarshalTo(dAtA []byte) (int, error) { +func (m *TransactionParameters) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MemoData) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *TransactionParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.EncryptedMemo) > 0 { - i -= len(m.EncryptedMemo) - copy(dAtA[i:], m.EncryptedMemo) - i = encodeVarintTransaction(dAtA, i, uint64(len(m.EncryptedMemo))) + if m.Fee != nil { + { + size, err := m.Fee.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTransaction(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0xa + dAtA[i] = 0x1a + } + if len(m.ChainId) > 0 { + i -= len(m.ChainId) + copy(dAtA[i:], m.ChainId) + i = encodeVarintTransaction(dAtA, i, uint64(len(m.ChainId))) + i-- + dAtA[i] = 0x12 + } + if m.ExpiryHeight != 0 { + i = encodeVarintTransaction(dAtA, i, uint64(m.ExpiryHeight)) + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *TransactionParameters) Marshal() (dAtA []byte, err error) { +func (m *DetectionData) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -2863,47 +2736,12 @@ func (m *TransactionParameters) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *TransactionParameters) MarshalTo(dAtA []byte) (int, error) { +func (m *DetectionData) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *TransactionParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ChainId) > 0 { - i -= len(m.ChainId) - copy(dAtA[i:], m.ChainId) - i = encodeVarintTransaction(dAtA, i, uint64(len(m.ChainId))) - i-- - dAtA[i] = 0x12 - } - if m.ExpiryHeight != 0 { - i = encodeVarintTransaction(dAtA, i, uint64(m.ExpiryHeight)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *DetectionData) 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 *DetectionData) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DetectionData) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *DetectionData) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -3363,16 +3201,16 @@ func (m *Action_UndelegateClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) } return len(dAtA) - i, nil } -func (m *Action_DaoSpend) MarshalTo(dAtA []byte) (int, error) { +func (m *Action_CommunityPoolSpend) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Action_DaoSpend) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Action_CommunityPoolSpend) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) - if m.DaoSpend != nil { + if m.CommunityPoolSpend != nil { { - size, err := m.DaoSpend.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.CommunityPoolSpend.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -3386,16 +3224,16 @@ func (m *Action_DaoSpend) MarshalToSizedBuffer(dAtA []byte) (int, error) { } return len(dAtA) - i, nil } -func (m *Action_DaoOutput) MarshalTo(dAtA []byte) (int, error) { +func (m *Action_CommunityPoolOutput) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Action_DaoOutput) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Action_CommunityPoolOutput) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) - if m.DaoOutput != nil { + if m.CommunityPoolOutput != nil { { - size, err := m.DaoOutput.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.CommunityPoolOutput.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -3409,16 +3247,16 @@ func (m *Action_DaoOutput) MarshalToSizedBuffer(dAtA []byte) (int, error) { } return len(dAtA) - i, nil } -func (m *Action_DaoDeposit) MarshalTo(dAtA []byte) (int, error) { +func (m *Action_CommunityPoolDeposit) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Action_DaoDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Action_CommunityPoolDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) - if m.DaoDeposit != nil { + if m.CommunityPoolDeposit != nil { { - size, err := m.DaoDeposit.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.CommunityPoolDeposit.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -3686,10 +3524,15 @@ func (m *TransactionView) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x1a } - if len(m.BindingSig) > 0 { - i -= len(m.BindingSig) - copy(dAtA[i:], m.BindingSig) - i = encodeVarintTransaction(dAtA, i, uint64(len(m.BindingSig))) + if m.BindingSig != nil { + { + size, err := m.BindingSig.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTransaction(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0x12 } @@ -3752,18 +3595,6 @@ func (m *TransactionBodyView) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x22 } - if m.Fee != nil { - { - size, err := m.Fee.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTransaction(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } if m.TransactionParameters != nil { { size, err := m.TransactionParameters.MarshalToSizedBuffer(dAtA[:i]) @@ -4231,16 +4062,16 @@ func (m *ActionView_UndelegateClaim) MarshalToSizedBuffer(dAtA []byte) (int, err } return len(dAtA) - i, nil } -func (m *ActionView_DaoSpend) MarshalTo(dAtA []byte) (int, error) { +func (m *ActionView_CommunityPoolSpend) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ActionView_DaoSpend) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ActionView_CommunityPoolSpend) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) - if m.DaoSpend != nil { + if m.CommunityPoolSpend != nil { { - size, err := m.DaoSpend.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.CommunityPoolSpend.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -4254,16 +4085,16 @@ func (m *ActionView_DaoSpend) MarshalToSizedBuffer(dAtA []byte) (int, error) { } return len(dAtA) - i, nil } -func (m *ActionView_DaoOutput) MarshalTo(dAtA []byte) (int, error) { +func (m *ActionView_CommunityPoolOutput) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ActionView_DaoOutput) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ActionView_CommunityPoolOutput) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) - if m.DaoOutput != nil { + if m.CommunityPoolOutput != nil { { - size, err := m.DaoOutput.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.CommunityPoolOutput.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -4277,16 +4108,16 @@ func (m *ActionView_DaoOutput) MarshalToSizedBuffer(dAtA []byte) (int, error) { } return len(dAtA) - i, nil } -func (m *ActionView_DaoDeposit) MarshalTo(dAtA []byte) (int, error) { +func (m *ActionView_CommunityPoolDeposit) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ActionView_DaoDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ActionView_CommunityPoolDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) - if m.DaoDeposit != nil { + if m.CommunityPoolDeposit != nil { { - size, err := m.DaoDeposit.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.CommunityPoolDeposit.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -4323,36 +4154,6 @@ func (m *ActionView_Ics20Withdrawal) MarshalToSizedBuffer(dAtA []byte) (int, err } return len(dAtA) - i, nil } -func (m *EffectHash) 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 *EffectHash) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *EffectHash) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Inner) > 0 { - i -= len(m.Inner) - copy(dAtA[i:], m.Inner) - i = encodeVarintTransaction(dAtA, i, uint64(len(m.Inner))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - func (m *AuthorizationData) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -4485,9 +4286,9 @@ func (m *TransactionPlan) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if m.MemoPlan != nil { + if m.Memo != nil { { - size, err := m.MemoPlan.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Memo.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -4495,25 +4296,11 @@ func (m *TransactionPlan) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintTransaction(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x32 - } - if len(m.CluePlans) > 0 { - for iNdEx := len(m.CluePlans) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.CluePlans[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTransaction(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } + dAtA[i] = 0x2a } - if m.Fee != nil { + if m.DetectionData != nil { { - size, err := m.Fee.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.DetectionData.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -4523,17 +4310,17 @@ func (m *TransactionPlan) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x22 } - if len(m.ChainId) > 0 { - i -= len(m.ChainId) - copy(dAtA[i:], m.ChainId) - i = encodeVarintTransaction(dAtA, i, uint64(len(m.ChainId))) - i-- - dAtA[i] = 0x1a - } - if m.ExpiryHeight != 0 { - i = encodeVarintTransaction(dAtA, i, uint64(m.ExpiryHeight)) + if m.TransactionParameters != nil { + { + size, err := m.TransactionParameters.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTransaction(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } if len(m.Actions) > 0 { for iNdEx := len(m.Actions) - 1; iNdEx >= 0; iNdEx-- { @@ -4552,6 +4339,43 @@ func (m *TransactionPlan) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *DetectionDataPlan) 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 *DetectionDataPlan) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DetectionDataPlan) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.CluePlans) > 0 { + for iNdEx := len(m.CluePlans) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.CluePlans[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTransaction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + } + return len(dAtA) - i, nil +} + func (m *ActionPlan) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -5013,16 +4837,16 @@ func (m *ActionPlan_UndelegateClaim) MarshalToSizedBuffer(dAtA []byte) (int, err } return len(dAtA) - i, nil } -func (m *ActionPlan_DaoSpend) MarshalTo(dAtA []byte) (int, error) { +func (m *ActionPlan_CommunityPoolSpend) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ActionPlan_DaoSpend) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ActionPlan_CommunityPoolSpend) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) - if m.DaoSpend != nil { + if m.CommunityPoolSpend != nil { { - size, err := m.DaoSpend.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.CommunityPoolSpend.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -5036,16 +4860,16 @@ func (m *ActionPlan_DaoSpend) MarshalToSizedBuffer(dAtA []byte) (int, error) { } return len(dAtA) - i, nil } -func (m *ActionPlan_DaoOutput) MarshalTo(dAtA []byte) (int, error) { +func (m *ActionPlan_CommunityPoolOutput) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ActionPlan_DaoOutput) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ActionPlan_CommunityPoolOutput) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) - if m.DaoOutput != nil { + if m.CommunityPoolOutput != nil { { - size, err := m.DaoOutput.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.CommunityPoolOutput.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -5059,16 +4883,16 @@ func (m *ActionPlan_DaoOutput) MarshalToSizedBuffer(dAtA []byte) (int, error) { } return len(dAtA) - i, nil } -func (m *ActionPlan_DaoDeposit) MarshalTo(dAtA []byte) (int, error) { +func (m *ActionPlan_CommunityPoolDeposit) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ActionPlan_DaoDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ActionPlan_CommunityPoolDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) - if m.DaoDeposit != nil { + if m.CommunityPoolDeposit != nil { { - size, err := m.DaoDeposit.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.CommunityPoolDeposit.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -5462,8 +5286,8 @@ func (m *Transaction) Size() (n int) { l = m.Body.Size() n += 1 + l + sovTransaction(uint64(l)) } - l = len(m.BindingSig) - if l > 0 { + if m.BindingSig != nil { + l = m.BindingSig.Size() n += 1 + l + sovTransaction(uint64(l)) } if m.Anchor != nil { @@ -5473,19 +5297,6 @@ func (m *Transaction) Size() (n int) { return n } -func (m *Id) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Hash) - if l > 0 { - n += 1 + l + sovTransaction(uint64(l)) - } - return n -} - func (m *TransactionBody) Size() (n int) { if m == nil { return 0 @@ -5502,29 +5313,12 @@ func (m *TransactionBody) Size() (n int) { l = m.TransactionParameters.Size() n += 1 + l + sovTransaction(uint64(l)) } - if m.Fee != nil { - l = m.Fee.Size() - n += 1 + l + sovTransaction(uint64(l)) - } if m.DetectionData != nil { l = m.DetectionData.Size() n += 1 + l + sovTransaction(uint64(l)) } - if m.MemoData != nil { - l = m.MemoData.Size() - n += 1 + l + sovTransaction(uint64(l)) - } - return n -} - -func (m *MemoData) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.EncryptedMemo) - if l > 0 { + if m.Memo != nil { + l = m.Memo.Size() n += 1 + l + sovTransaction(uint64(l)) } return n @@ -5543,6 +5337,10 @@ func (m *TransactionParameters) Size() (n int) { if l > 0 { n += 1 + l + sovTransaction(uint64(l)) } + if m.Fee != nil { + l = m.Fee.Size() + n += 1 + l + sovTransaction(uint64(l)) + } return n } @@ -5789,38 +5587,38 @@ func (m *Action_UndelegateClaim) Size() (n int) { } return n } -func (m *Action_DaoSpend) Size() (n int) { +func (m *Action_CommunityPoolSpend) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.DaoSpend != nil { - l = m.DaoSpend.Size() + if m.CommunityPoolSpend != nil { + l = m.CommunityPoolSpend.Size() n += 2 + l + sovTransaction(uint64(l)) } return n } -func (m *Action_DaoOutput) Size() (n int) { +func (m *Action_CommunityPoolOutput) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.DaoOutput != nil { - l = m.DaoOutput.Size() + if m.CommunityPoolOutput != nil { + l = m.CommunityPoolOutput.Size() n += 2 + l + sovTransaction(uint64(l)) } return n } -func (m *Action_DaoDeposit) Size() (n int) { +func (m *Action_CommunityPoolDeposit) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.DaoDeposit != nil { - l = m.DaoDeposit.Size() + if m.CommunityPoolDeposit != nil { + l = m.CommunityPoolDeposit.Size() n += 2 + l + sovTransaction(uint64(l)) } return n @@ -5924,8 +5722,8 @@ func (m *TransactionView) Size() (n int) { l = m.BodyView.Size() n += 1 + l + sovTransaction(uint64(l)) } - l = len(m.BindingSig) - if l > 0 { + if m.BindingSig != nil { + l = m.BindingSig.Size() n += 1 + l + sovTransaction(uint64(l)) } if m.Anchor != nil { @@ -5951,10 +5749,6 @@ func (m *TransactionBodyView) Size() (n int) { l = m.TransactionParameters.Size() n += 1 + l + sovTransaction(uint64(l)) } - if m.Fee != nil { - l = m.Fee.Size() - n += 1 + l + sovTransaction(uint64(l)) - } if m.DetectionData != nil { l = m.DetectionData.Size() n += 1 + l + sovTransaction(uint64(l)) @@ -6194,38 +5988,38 @@ func (m *ActionView_UndelegateClaim) Size() (n int) { } return n } -func (m *ActionView_DaoSpend) Size() (n int) { +func (m *ActionView_CommunityPoolSpend) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.DaoSpend != nil { - l = m.DaoSpend.Size() + if m.CommunityPoolSpend != nil { + l = m.CommunityPoolSpend.Size() n += 2 + l + sovTransaction(uint64(l)) } return n } -func (m *ActionView_DaoOutput) Size() (n int) { +func (m *ActionView_CommunityPoolOutput) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.DaoOutput != nil { - l = m.DaoOutput.Size() + if m.CommunityPoolOutput != nil { + l = m.CommunityPoolOutput.Size() n += 2 + l + sovTransaction(uint64(l)) } return n } -func (m *ActionView_DaoDeposit) Size() (n int) { +func (m *ActionView_CommunityPoolDeposit) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.DaoDeposit != nil { - l = m.DaoDeposit.Size() + if m.CommunityPoolDeposit != nil { + l = m.CommunityPoolDeposit.Size() n += 2 + l + sovTransaction(uint64(l)) } return n @@ -6242,19 +6036,6 @@ func (m *ActionView_Ics20Withdrawal) Size() (n int) { } return n } -func (m *EffectHash) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Inner) - if l > 0 { - n += 1 + l + sovTransaction(uint64(l)) - } - return n -} - func (m *AuthorizationData) Size() (n int) { if m == nil { return 0 @@ -6311,27 +6092,33 @@ func (m *TransactionPlan) Size() (n int) { n += 1 + l + sovTransaction(uint64(l)) } } - if m.ExpiryHeight != 0 { - n += 1 + sovTransaction(uint64(m.ExpiryHeight)) + if m.TransactionParameters != nil { + l = m.TransactionParameters.Size() + n += 1 + l + sovTransaction(uint64(l)) } - l = len(m.ChainId) - if l > 0 { + if m.DetectionData != nil { + l = m.DetectionData.Size() n += 1 + l + sovTransaction(uint64(l)) } - if m.Fee != nil { - l = m.Fee.Size() + if m.Memo != nil { + l = m.Memo.Size() n += 1 + l + sovTransaction(uint64(l)) } + return n +} + +func (m *DetectionDataPlan) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l if len(m.CluePlans) > 0 { for _, e := range m.CluePlans { l = e.Size() n += 1 + l + sovTransaction(uint64(l)) } } - if m.MemoPlan != nil { - l = m.MemoPlan.Size() - n += 1 + l + sovTransaction(uint64(l)) - } return n } @@ -6575,38 +6362,38 @@ func (m *ActionPlan_UndelegateClaim) Size() (n int) { } return n } -func (m *ActionPlan_DaoSpend) Size() (n int) { +func (m *ActionPlan_CommunityPoolSpend) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.DaoSpend != nil { - l = m.DaoSpend.Size() + if m.CommunityPoolSpend != nil { + l = m.CommunityPoolSpend.Size() n += 2 + l + sovTransaction(uint64(l)) } return n } -func (m *ActionPlan_DaoOutput) Size() (n int) { +func (m *ActionPlan_CommunityPoolOutput) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.DaoOutput != nil { - l = m.DaoOutput.Size() + if m.CommunityPoolOutput != nil { + l = m.CommunityPoolOutput.Size() n += 2 + l + sovTransaction(uint64(l)) } return n } -func (m *ActionPlan_DaoDeposit) Size() (n int) { +func (m *ActionPlan_CommunityPoolDeposit) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.DaoDeposit != nil { - l = m.DaoDeposit.Size() + if m.CommunityPoolDeposit != nil { + l = m.CommunityPoolDeposit.Size() n += 2 + l + sovTransaction(uint64(l)) } return n @@ -6836,7 +6623,7 @@ func (m *Transaction) Unmarshal(dAtA []byte) error { if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field BindingSig", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTransaction @@ -6846,24 +6633,26 @@ func (m *Transaction) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + if msglen < 0 { return ErrInvalidLengthTransaction } - postIndex := iNdEx + byteLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthTransaction } if postIndex > l { return io.ErrUnexpectedEOF } - m.BindingSig = append(m.BindingSig[:0], dAtA[iNdEx:postIndex]...) if m.BindingSig == nil { - m.BindingSig = []byte{} + m.BindingSig = &v1alpha1.BindingSignature{} + } + if err := m.BindingSig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } iNdEx = postIndex case 3: @@ -6896,7 +6685,7 @@ func (m *Transaction) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Anchor == nil { - m.Anchor = &v1alpha1.MerkleRoot{} + m.Anchor = &v1alpha11.MerkleRoot{} } if err := m.Anchor.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -6923,90 +6712,6 @@ func (m *Transaction) Unmarshal(dAtA []byte) error { } return nil } -func (m *Id) 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 ErrIntOverflowTransaction - } - 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: Id: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Id: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTransaction - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthTransaction - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthTransaction - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Hash = append(m.Hash[:0], dAtA[iNdEx:postIndex]...) - if m.Hash == nil { - m.Hash = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTransaction(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTransaction - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} func (m *TransactionBody) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -7106,42 +6811,6 @@ func (m *TransactionBody) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Fee", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTransaction - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthTransaction - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTransaction - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Fee == nil { - m.Fee = &v1alpha11.Fee{} - } - if err := m.Fee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field DetectionData", wireType) @@ -7180,7 +6849,7 @@ func (m *TransactionBody) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MemoData", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Memo", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -7207,10 +6876,10 @@ func (m *TransactionBody) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.MemoData == nil { - m.MemoData = &MemoData{} + if m.Memo == nil { + m.Memo = &MemoCiphertext{} } - if err := m.MemoData.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Memo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -7235,7 +6904,7 @@ func (m *TransactionBody) Unmarshal(dAtA []byte) error { } return nil } -func (m *MemoData) Unmarshal(dAtA []byte) error { +func (m *TransactionParameters) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -7258,17 +6927,17 @@ func (m *MemoData) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MemoData: wiretype end group for non-group") + return fmt.Errorf("proto: TransactionParameters: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MemoData: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: TransactionParameters: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EncryptedMemo", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ExpiryHeight", wireType) } - var byteLen int + m.ExpiryHeight = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTransaction @@ -7278,81 +6947,16 @@ func (m *MemoData) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + m.ExpiryHeight |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { - return ErrInvalidLengthTransaction - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthTransaction - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.EncryptedMemo = append(m.EncryptedMemo[:0], dAtA[iNdEx:postIndex]...) - if m.EncryptedMemo == nil { - m.EncryptedMemo = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTransaction(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTransaction - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *TransactionParameters) 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 ErrIntOverflowTransaction - } - 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: TransactionParameters: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: TransactionParameters: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ExpiryHeight", wireType) + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) } - m.ExpiryHeight = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTransaction @@ -7362,16 +6966,29 @@ func (m *TransactionParameters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.ExpiryHeight |= uint64(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 2: + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTransaction + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTransaction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ChainId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Fee", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTransaction @@ -7381,23 +6998,27 @@ func (m *TransactionParameters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthTransaction } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthTransaction } if postIndex > l { return io.ErrUnexpectedEOF } - m.ChainId = string(dAtA[iNdEx:postIndex]) + if m.Fee == nil { + m.Fee = &v1alpha12.Fee{} + } + if err := m.Fee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -7478,7 +7099,7 @@ func (m *DetectionData) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.FmdClues = append(m.FmdClues, &v1alpha12.Clue{}) + m.FmdClues = append(m.FmdClues, &v1alpha13.Clue{}) if err := m.FmdClues[len(m.FmdClues)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -7562,7 +7183,7 @@ func (m *Action) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha13.Spend{} + v := &v1alpha14.Spend{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -7597,7 +7218,7 @@ func (m *Action) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha13.Output{} + v := &v1alpha14.Output{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -7632,7 +7253,7 @@ func (m *Action) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha14.Swap{} + v := &v1alpha15.Swap{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -7667,7 +7288,7 @@ func (m *Action) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha14.SwapClaim{} + v := &v1alpha15.SwapClaim{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -7702,7 +7323,7 @@ func (m *Action) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha15.ValidatorDefinition{} + v := &v1alpha16.ValidatorDefinition{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -7737,7 +7358,7 @@ func (m *Action) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha16.IbcRelay{} + v := &v1alpha17.IbcRelay{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -7772,7 +7393,7 @@ func (m *Action) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha17.ProposalSubmit{} + v := &v1alpha18.ProposalSubmit{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -7807,7 +7428,7 @@ func (m *Action) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha17.ProposalWithdraw{} + v := &v1alpha18.ProposalWithdraw{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -7842,7 +7463,7 @@ func (m *Action) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha17.ValidatorVote{} + v := &v1alpha18.ValidatorVote{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -7877,7 +7498,7 @@ func (m *Action) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha17.DelegatorVote{} + v := &v1alpha18.DelegatorVote{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -7912,7 +7533,7 @@ func (m *Action) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha17.ProposalDepositClaim{} + v := &v1alpha18.ProposalDepositClaim{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -7947,7 +7568,7 @@ func (m *Action) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha14.PositionOpen{} + v := &v1alpha15.PositionOpen{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -7982,7 +7603,7 @@ func (m *Action) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha14.PositionClose{} + v := &v1alpha15.PositionClose{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -8017,7 +7638,7 @@ func (m *Action) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha14.PositionWithdraw{} + v := &v1alpha15.PositionWithdraw{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -8052,7 +7673,7 @@ func (m *Action) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha14.PositionRewardClaim{} + v := &v1alpha15.PositionRewardClaim{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -8087,7 +7708,7 @@ func (m *Action) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha15.Delegate{} + v := &v1alpha16.Delegate{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -8122,7 +7743,7 @@ func (m *Action) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha15.Undelegate{} + v := &v1alpha16.Undelegate{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -8157,7 +7778,7 @@ func (m *Action) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha15.UndelegateClaim{} + v := &v1alpha16.UndelegateClaim{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -8165,7 +7786,7 @@ func (m *Action) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 50: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DaoSpend", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CommunityPoolSpend", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -8192,15 +7813,15 @@ func (m *Action) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha17.DaoSpend{} + v := &v1alpha18.CommunityPoolSpend{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.Action = &Action_DaoSpend{v} + m.Action = &Action_CommunityPoolSpend{v} iNdEx = postIndex case 51: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DaoOutput", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CommunityPoolOutput", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -8227,15 +7848,15 @@ func (m *Action) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha17.DaoOutput{} + v := &v1alpha18.CommunityPoolOutput{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.Action = &Action_DaoOutput{v} + m.Action = &Action_CommunityPoolOutput{v} iNdEx = postIndex case 52: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DaoDeposit", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CommunityPoolDeposit", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -8262,11 +7883,11 @@ func (m *Action) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha17.DaoDeposit{} + v := &v1alpha18.CommunityPoolDeposit{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.Action = &Action_DaoDeposit{v} + m.Action = &Action_CommunityPoolDeposit{v} iNdEx = postIndex case 200: if wireType != 2 { @@ -8297,7 +7918,7 @@ func (m *Action) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha16.Ics20Withdrawal{} + v := &v1alpha17.Ics20Withdrawal{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -8450,7 +8071,7 @@ func (m *TransactionPerspective) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AdviceNotes = append(m.AdviceNotes, &v1alpha13.Note{}) + m.AdviceNotes = append(m.AdviceNotes, &v1alpha14.Note{}) if err := m.AdviceNotes[len(m.AdviceNotes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -8484,7 +8105,7 @@ func (m *TransactionPerspective) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AddressViews = append(m.AddressViews, &v1alpha18.AddressView{}) + m.AddressViews = append(m.AddressViews, &v1alpha19.AddressView{}) if err := m.AddressViews[len(m.AddressViews)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -8518,7 +8139,7 @@ func (m *TransactionPerspective) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Denoms = append(m.Denoms, &v1alpha19.DenomMetadata{}) + m.Denoms = append(m.Denoms, &v1alpha110.DenomMetadata{}) if err := m.Denoms[len(m.Denoms)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -8553,7 +8174,7 @@ func (m *TransactionPerspective) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.TransactionId == nil { - m.TransactionId = &Id{} + m.TransactionId = &v1alpha111.TransactionId{} } if err := m.TransactionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -8639,7 +8260,7 @@ func (m *PayloadKeyWithCommitment) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.PayloadKey == nil { - m.PayloadKey = &v1alpha18.PayloadKey{} + m.PayloadKey = &v1alpha19.PayloadKey{} } if err := m.PayloadKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -8675,7 +8296,7 @@ func (m *PayloadKeyWithCommitment) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Commitment == nil { - m.Commitment = &v1alpha1.StateCommitment{} + m.Commitment = &v1alpha11.StateCommitment{} } if err := m.Commitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -8761,7 +8382,7 @@ func (m *NullifierWithNote) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Nullifier == nil { - m.Nullifier = &v1alpha110.Nullifier{} + m.Nullifier = &v1alpha112.Nullifier{} } if err := m.Nullifier.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -8797,7 +8418,7 @@ func (m *NullifierWithNote) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Note == nil { - m.Note = &v1alpha13.Note{} + m.Note = &v1alpha14.Note{} } if err := m.Note.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -8893,7 +8514,7 @@ func (m *TransactionView) Unmarshal(dAtA []byte) error { if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field BindingSig", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTransaction @@ -8903,24 +8524,26 @@ func (m *TransactionView) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - if byteLen < 0 { + if msglen < 0 { return ErrInvalidLengthTransaction } - postIndex := iNdEx + byteLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthTransaction } if postIndex > l { return io.ErrUnexpectedEOF } - m.BindingSig = append(m.BindingSig[:0], dAtA[iNdEx:postIndex]...) if m.BindingSig == nil { - m.BindingSig = []byte{} + m.BindingSig = &v1alpha1.BindingSignature{} + } + if err := m.BindingSig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } iNdEx = postIndex case 3: @@ -8953,7 +8576,7 @@ func (m *TransactionView) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Anchor == nil { - m.Anchor = &v1alpha1.MerkleRoot{} + m.Anchor = &v1alpha11.MerkleRoot{} } if err := m.Anchor.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -9079,42 +8702,6 @@ func (m *TransactionBodyView) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Fee", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTransaction - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthTransaction - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTransaction - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Fee == nil { - m.Fee = &v1alpha11.Fee{} - } - if err := m.Fee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field DetectionData", wireType) @@ -9266,7 +8853,7 @@ func (m *ActionView) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha13.SpendView{} + v := &v1alpha14.SpendView{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -9301,7 +8888,7 @@ func (m *ActionView) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha13.OutputView{} + v := &v1alpha14.OutputView{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -9336,7 +8923,7 @@ func (m *ActionView) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha14.SwapView{} + v := &v1alpha15.SwapView{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -9371,7 +8958,7 @@ func (m *ActionView) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha14.SwapClaimView{} + v := &v1alpha15.SwapClaimView{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -9406,7 +8993,7 @@ func (m *ActionView) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha15.ValidatorDefinition{} + v := &v1alpha16.ValidatorDefinition{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -9441,7 +9028,7 @@ func (m *ActionView) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha16.IbcRelay{} + v := &v1alpha17.IbcRelay{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -9476,7 +9063,7 @@ func (m *ActionView) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha17.ProposalSubmit{} + v := &v1alpha18.ProposalSubmit{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -9511,7 +9098,7 @@ func (m *ActionView) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha17.ProposalWithdraw{} + v := &v1alpha18.ProposalWithdraw{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -9546,7 +9133,7 @@ func (m *ActionView) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha17.ValidatorVote{} + v := &v1alpha18.ValidatorVote{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -9581,7 +9168,7 @@ func (m *ActionView) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha17.DelegatorVoteView{} + v := &v1alpha18.DelegatorVoteView{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -9616,7 +9203,7 @@ func (m *ActionView) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha17.ProposalDepositClaim{} + v := &v1alpha18.ProposalDepositClaim{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -9651,7 +9238,7 @@ func (m *ActionView) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha14.PositionOpen{} + v := &v1alpha15.PositionOpen{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -9686,7 +9273,7 @@ func (m *ActionView) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha14.PositionClose{} + v := &v1alpha15.PositionClose{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -9721,7 +9308,7 @@ func (m *ActionView) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha14.PositionWithdraw{} + v := &v1alpha15.PositionWithdraw{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -9756,7 +9343,7 @@ func (m *ActionView) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha14.PositionRewardClaim{} + v := &v1alpha15.PositionRewardClaim{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -9791,7 +9378,7 @@ func (m *ActionView) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha15.Delegate{} + v := &v1alpha16.Delegate{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -9826,7 +9413,7 @@ func (m *ActionView) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha15.Undelegate{} + v := &v1alpha16.Undelegate{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -9861,7 +9448,7 @@ func (m *ActionView) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha15.UndelegateClaim{} + v := &v1alpha16.UndelegateClaim{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -9869,7 +9456,7 @@ func (m *ActionView) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 50: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DaoSpend", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CommunityPoolSpend", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -9896,15 +9483,15 @@ func (m *ActionView) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha17.DaoSpend{} + v := &v1alpha18.CommunityPoolSpend{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.ActionView = &ActionView_DaoSpend{v} + m.ActionView = &ActionView_CommunityPoolSpend{v} iNdEx = postIndex case 51: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DaoOutput", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CommunityPoolOutput", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -9931,15 +9518,15 @@ func (m *ActionView) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha17.DaoOutput{} + v := &v1alpha18.CommunityPoolOutput{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.ActionView = &ActionView_DaoOutput{v} + m.ActionView = &ActionView_CommunityPoolOutput{v} iNdEx = postIndex case 52: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DaoDeposit", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CommunityPoolDeposit", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -9966,11 +9553,11 @@ func (m *ActionView) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha17.DaoDeposit{} + v := &v1alpha18.CommunityPoolDeposit{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.ActionView = &ActionView_DaoDeposit{v} + m.ActionView = &ActionView_CommunityPoolDeposit{v} iNdEx = postIndex case 200: if wireType != 2 { @@ -10001,7 +9588,7 @@ func (m *ActionView) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha16.Ics20Withdrawal{} + v := &v1alpha17.Ics20Withdrawal{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -10028,90 +9615,6 @@ func (m *ActionView) Unmarshal(dAtA []byte) error { } return nil } -func (m *EffectHash) 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 ErrIntOverflowTransaction - } - 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: EffectHash: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: EffectHash: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Inner", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTransaction - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthTransaction - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthTransaction - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Inner = append(m.Inner[:0], dAtA[iNdEx:postIndex]...) - if m.Inner == nil { - m.Inner = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTransaction(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTransaction - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} func (m *AuthorizationData) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -10171,7 +9674,7 @@ func (m *AuthorizationData) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.EffectHash == nil { - m.EffectHash = &EffectHash{} + m.EffectHash = &v1alpha111.EffectHash{} } if err := m.EffectHash.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -10206,7 +9709,7 @@ func (m *AuthorizationData) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.SpendAuths = append(m.SpendAuths, &v1alpha111.SpendAuthSignature{}) + m.SpendAuths = append(m.SpendAuths, &v1alpha1.SpendAuthSignature{}) if err := m.SpendAuths[len(m.SpendAuths)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -10240,7 +9743,7 @@ func (m *AuthorizationData) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.DelegatorVoteAuths = append(m.DelegatorVoteAuths, &v1alpha111.SpendAuthSignature{}) + m.DelegatorVoteAuths = append(m.DelegatorVoteAuths, &v1alpha1.SpendAuthSignature{}) if err := m.DelegatorVoteAuths[len(m.DelegatorVoteAuths)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -10325,7 +9828,7 @@ func (m *WitnessData) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Anchor == nil { - m.Anchor = &v1alpha1.MerkleRoot{} + m.Anchor = &v1alpha11.MerkleRoot{} } if err := m.Anchor.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -10360,7 +9863,7 @@ func (m *WitnessData) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.StateCommitmentProofs = append(m.StateCommitmentProofs, &v1alpha1.StateCommitmentProof{}) + m.StateCommitmentProofs = append(m.StateCommitmentProofs, &v1alpha11.StateCommitmentProof{}) if err := m.StateCommitmentProofs[len(m.StateCommitmentProofs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -10450,29 +9953,10 @@ func (m *TransactionPlan) Unmarshal(dAtA []byte) error { } iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ExpiryHeight", wireType) - } - m.ExpiryHeight = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTransaction - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.ExpiryHeight |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TransactionParameters", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTransaction @@ -10482,27 +9966,31 @@ func (m *TransactionPlan) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthTransaction } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthTransaction } if postIndex > l { return io.ErrUnexpectedEOF } - m.ChainId = string(dAtA[iNdEx:postIndex]) + if m.TransactionParameters == nil { + m.TransactionParameters = &TransactionParameters{} + } + if err := m.TransactionParameters.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Fee", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DetectionData", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10529,16 +10017,16 @@ func (m *TransactionPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Fee == nil { - m.Fee = &v1alpha11.Fee{} + if m.DetectionData == nil { + m.DetectionData = &DetectionDataPlan{} } - if err := m.Fee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.DetectionData.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CluePlans", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Memo", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10565,14 +10053,66 @@ func (m *TransactionPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.CluePlans = append(m.CluePlans, &CluePlan{}) - if err := m.CluePlans[len(m.CluePlans)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.Memo == nil { + m.Memo = &MemoPlan{} + } + if err := m.Memo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 6: + default: + iNdEx = preIndex + skippy, err := skipTransaction(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTransaction + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DetectionDataPlan) 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 ErrIntOverflowTransaction + } + 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: DetectionDataPlan: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DetectionDataPlan: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MemoPlan", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CluePlans", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10599,10 +10139,8 @@ func (m *TransactionPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.MemoPlan == nil { - m.MemoPlan = &MemoPlan{} - } - if err := m.MemoPlan.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.CluePlans = append(m.CluePlans, &CluePlan{}) + if err := m.CluePlans[len(m.CluePlans)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -10685,7 +10223,7 @@ func (m *ActionPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha13.SpendPlan{} + v := &v1alpha14.SpendPlan{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -10720,7 +10258,7 @@ func (m *ActionPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha13.OutputPlan{} + v := &v1alpha14.OutputPlan{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -10755,7 +10293,7 @@ func (m *ActionPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha14.SwapPlan{} + v := &v1alpha15.SwapPlan{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -10790,7 +10328,7 @@ func (m *ActionPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha14.SwapClaimPlan{} + v := &v1alpha15.SwapClaimPlan{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -10825,7 +10363,7 @@ func (m *ActionPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha15.ValidatorDefinition{} + v := &v1alpha16.ValidatorDefinition{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -10860,7 +10398,7 @@ func (m *ActionPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha16.IbcRelay{} + v := &v1alpha17.IbcRelay{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -10895,7 +10433,7 @@ func (m *ActionPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha17.ProposalSubmit{} + v := &v1alpha18.ProposalSubmit{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -10930,7 +10468,7 @@ func (m *ActionPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha17.ProposalWithdraw{} + v := &v1alpha18.ProposalWithdraw{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -10965,7 +10503,7 @@ func (m *ActionPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha17.ValidatorVote{} + v := &v1alpha18.ValidatorVote{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -11000,7 +10538,7 @@ func (m *ActionPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha17.DelegatorVotePlan{} + v := &v1alpha18.DelegatorVotePlan{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -11035,7 +10573,7 @@ func (m *ActionPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha17.ProposalDepositClaim{} + v := &v1alpha18.ProposalDepositClaim{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -11070,7 +10608,7 @@ func (m *ActionPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha16.Ics20Withdrawal{} + v := &v1alpha17.Ics20Withdrawal{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -11105,7 +10643,7 @@ func (m *ActionPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha14.PositionOpen{} + v := &v1alpha15.PositionOpen{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -11140,7 +10678,7 @@ func (m *ActionPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha14.PositionClose{} + v := &v1alpha15.PositionClose{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -11175,7 +10713,7 @@ func (m *ActionPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha14.PositionWithdrawPlan{} + v := &v1alpha15.PositionWithdrawPlan{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -11210,7 +10748,7 @@ func (m *ActionPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha14.PositionRewardClaimPlan{} + v := &v1alpha15.PositionRewardClaimPlan{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -11245,7 +10783,7 @@ func (m *ActionPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha15.Delegate{} + v := &v1alpha16.Delegate{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -11280,7 +10818,7 @@ func (m *ActionPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha15.Undelegate{} + v := &v1alpha16.Undelegate{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -11315,7 +10853,7 @@ func (m *ActionPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha15.UndelegateClaimPlan{} + v := &v1alpha16.UndelegateClaimPlan{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -11323,7 +10861,7 @@ func (m *ActionPlan) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 50: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DaoSpend", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CommunityPoolSpend", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11350,15 +10888,15 @@ func (m *ActionPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha17.DaoSpend{} + v := &v1alpha18.CommunityPoolSpend{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.Action = &ActionPlan_DaoSpend{v} + m.Action = &ActionPlan_CommunityPoolSpend{v} iNdEx = postIndex case 51: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DaoOutput", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CommunityPoolOutput", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11385,15 +10923,15 @@ func (m *ActionPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha17.DaoOutput{} + v := &v1alpha18.CommunityPoolOutput{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.Action = &ActionPlan_DaoOutput{v} + m.Action = &ActionPlan_CommunityPoolOutput{v} iNdEx = postIndex case 52: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DaoDeposit", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CommunityPoolDeposit", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11420,11 +10958,11 @@ func (m *ActionPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v1alpha17.DaoDeposit{} + v := &v1alpha18.CommunityPoolDeposit{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.Action = &ActionPlan_DaoDeposit{v} + m.Action = &ActionPlan_CommunityPoolDeposit{v} iNdEx = postIndex default: iNdEx = preIndex @@ -11506,7 +11044,7 @@ func (m *CluePlan) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Address == nil { - m.Address = &v1alpha18.Address{} + m.Address = &v1alpha19.Address{} } if err := m.Address.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -11849,7 +11387,7 @@ func (m *MemoPlaintext) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.ReturnAddress == nil { - m.ReturnAddress = &v1alpha18.Address{} + m.ReturnAddress = &v1alpha19.Address{} } if err := m.ReturnAddress.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -11967,7 +11505,7 @@ func (m *MemoPlaintextView) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.ReturnAddress == nil { - m.ReturnAddress = &v1alpha18.AddressView{} + m.ReturnAddress = &v1alpha19.AddressView{} } if err := m.ReturnAddress.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err diff --git a/relayer/chains/penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa.pb.go b/relayer/chains/penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa.pb.go index b038e7d14..512f905e6 100644 --- a/relayer/chains/penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa.pb.go +++ b/relayer/chains/penumbra/crypto/decaf377_rdsa/v1alpha1/decaf377_rdsa.pb.go @@ -110,9 +110,54 @@ func (m *BindingSignature) GetInner() []byte { return nil } +type SpendVerificationKey struct { + Inner []byte `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` +} + +func (m *SpendVerificationKey) Reset() { *m = SpendVerificationKey{} } +func (m *SpendVerificationKey) String() string { return proto.CompactTextString(m) } +func (*SpendVerificationKey) ProtoMessage() {} +func (*SpendVerificationKey) Descriptor() ([]byte, []int) { + return fileDescriptor_5769d4d01f5df277, []int{2} +} +func (m *SpendVerificationKey) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SpendVerificationKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SpendVerificationKey.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 *SpendVerificationKey) XXX_Merge(src proto.Message) { + xxx_messageInfo_SpendVerificationKey.Merge(m, src) +} +func (m *SpendVerificationKey) XXX_Size() int { + return m.Size() +} +func (m *SpendVerificationKey) XXX_DiscardUnknown() { + xxx_messageInfo_SpendVerificationKey.DiscardUnknown(m) +} + +var xxx_messageInfo_SpendVerificationKey proto.InternalMessageInfo + +func (m *SpendVerificationKey) GetInner() []byte { + if m != nil { + return m.Inner + } + return nil +} + func init() { proto.RegisterType((*SpendAuthSignature)(nil), "penumbra.crypto.decaf377_rdsa.v1alpha1.SpendAuthSignature") proto.RegisterType((*BindingSignature)(nil), "penumbra.crypto.decaf377_rdsa.v1alpha1.BindingSignature") + proto.RegisterType((*SpendVerificationKey)(nil), "penumbra.crypto.decaf377_rdsa.v1alpha1.SpendVerificationKey") } func init() { @@ -120,27 +165,28 @@ func init() { } var fileDescriptor_5769d4d01f5df277 = []byte{ - // 309 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0x2a, 0x48, 0xcd, 0x2b, - 0xcd, 0x4d, 0x2a, 0x4a, 0xd4, 0x4f, 0x2e, 0xaa, 0x2c, 0x28, 0xc9, 0xd7, 0x4f, 0x49, 0x4d, 0x4e, - 0x4c, 0x33, 0x36, 0x37, 0x8f, 0x2f, 0x4a, 0x29, 0x4e, 0xd4, 0x2f, 0x33, 0x4c, 0xcc, 0x29, 0xc8, - 0x48, 0x34, 0x44, 0x15, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x52, 0x83, 0xe9, 0xd5, 0x83, - 0xe8, 0xd5, 0x43, 0x55, 0x04, 0xd3, 0xab, 0xa4, 0xc5, 0x25, 0x14, 0x5c, 0x90, 0x9a, 0x97, 0xe2, - 0x58, 0x5a, 0x92, 0x11, 0x9c, 0x99, 0x9e, 0x97, 0x58, 0x52, 0x5a, 0x94, 0x2a, 0x24, 0xc2, 0xc5, - 0x9a, 0x99, 0x97, 0x97, 0x5a, 0x24, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, 0x13, 0x04, 0xe1, 0x28, 0x69, - 0x70, 0x09, 0x38, 0x65, 0xe6, 0xa5, 0x64, 0xe6, 0xa5, 0x13, 0x50, 0xe9, 0xf4, 0x83, 0xe9, 0xc4, - 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf0, 0x58, 0x8e, 0xe1, - 0xc2, 0x63, 0x39, 0x86, 0x1b, 0x8f, 0xe5, 0x18, 0xb8, 0xb4, 0x92, 0xf3, 0x73, 0xf5, 0x88, 0x73, - 0x9c, 0x93, 0xa0, 0x0b, 0x54, 0x3c, 0x28, 0xa5, 0x38, 0x31, 0x00, 0xe4, 0xaf, 0x00, 0xc6, 0xa8, - 0x8c, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0xfd, 0xe4, 0xfc, 0xe2, 0xdc, - 0xfc, 0x62, 0xfd, 0xa2, 0xd4, 0x9c, 0xc4, 0xca, 0xd4, 0x22, 0xfd, 0x32, 0x23, 0x38, 0x33, 0x39, - 0x23, 0x31, 0x33, 0xaf, 0x58, 0x9f, 0xb8, 0x10, 0xb4, 0x46, 0x11, 0x86, 0x89, 0x2e, 0x62, 0x62, - 0x0e, 0x70, 0x76, 0x59, 0xc5, 0xa4, 0x1a, 0x00, 0x73, 0xad, 0x33, 0xc4, 0xb5, 0xc8, 0xae, 0xd2, - 0x0b, 0x83, 0xaa, 0x3e, 0x85, 0x50, 0x17, 0x03, 0x51, 0x17, 0x83, 0xac, 0x2e, 0x06, 0xa6, 0xee, - 0x11, 0x93, 0x21, 0x51, 0xea, 0x62, 0xdc, 0x03, 0x9c, 0x7c, 0x53, 0x4b, 0x12, 0x53, 0x12, 0x4b, - 0x12, 0x5f, 0x31, 0x69, 0xc0, 0xf4, 0x58, 0x59, 0x41, 0x34, 0x59, 0x59, 0x21, 0xeb, 0xb2, 0xb2, - 0x82, 0x69, 0x4b, 0x62, 0x03, 0xc7, 0xbf, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x76, 0xf0, 0x63, - 0xf8, 0x3d, 0x02, 0x00, 0x00, + // 332 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xb1, 0x4a, 0x03, 0x31, + 0x18, 0xc7, 0x7b, 0x27, 0x3a, 0x1c, 0x0e, 0x5a, 0x3a, 0x38, 0x1d, 0x52, 0x50, 0x4a, 0x91, 0x84, + 0xda, 0xa1, 0x10, 0x27, 0xaf, 0x05, 0x07, 0x11, 0x8e, 0x16, 0x3a, 0xc8, 0x81, 0x7c, 0x4d, 0xd2, + 0x5e, 0xa0, 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0x1f, 0x21, 0xaa, 0x12, 0x4c, 0x55, 0x96, 0xa8, 0x0c, 0x6b, + 0x3e, 0x85, 0x39, 0xd7, 0x78, 0x76, 0xf9, 0x73, 0xa4, 0x31, 0x08, 0x99, 0xe1, 0xdd, 0xe6, 0x7d, + 0xb5, 0x15, 0xdb, 0xf4, 0xc9, 0xdd, 0x0b, 0xbb, 0xbd, 0x67, 0xf7, 0x2c, 0xb4, 0x6d, 0xbb, 0x65, + 0xdb, 0xcd, 0x56, 0x68, 0xb8, 0xa6, 0x5f, 0x7f, 0xb9, 0xa8, 0xe4, 0xa2, 0x4d, 0x2e, 0xb2, 0x5c, + 0xe1, 0xb6, 0x76, 0xe2, 0xa2, 0x9b, 0x30, 0xb8, 0xe3, 0x06, 0x18, 0x18, 0xf8, 0x70, 0x1b, 0xd6, + 0x21, 0xa4, 0x94, 0x08, 0xd9, 0xb4, 0x08, 0xb1, 0xda, 0xe8, 0x60, 0xb5, 0x2d, 0xed, 0xaf, 0x00, + 0x00, 0x00, 0xff, 0xff, 0x34, 0x9a, 0xf4, 0x33, 0x6b, 0x02, 0x00, 0x00, } func (m *SpendAuthSignature) Marshal() (dAtA []byte, err error) { @@ -203,6 +249,36 @@ func (m *BindingSignature) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *SpendVerificationKey) 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 *SpendVerificationKey) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SpendVerificationKey) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Inner) > 0 { + i -= len(m.Inner) + copy(dAtA[i:], m.Inner) + i = encodeVarintDecaf377Rdsa(dAtA, i, uint64(len(m.Inner))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func encodeVarintDecaf377Rdsa(dAtA []byte, offset int, v uint64) int { offset -= sovDecaf377Rdsa(v) base := offset @@ -240,6 +316,19 @@ func (m *BindingSignature) Size() (n int) { return n } +func (m *SpendVerificationKey) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Inner) + if l > 0 { + n += 1 + l + sovDecaf377Rdsa(uint64(l)) + } + return n +} + func sovDecaf377Rdsa(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -414,6 +503,90 @@ func (m *BindingSignature) Unmarshal(dAtA []byte) error { } return nil } +func (m *SpendVerificationKey) 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 ErrIntOverflowDecaf377Rdsa + } + 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: SpendVerificationKey: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SpendVerificationKey: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Inner", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecaf377Rdsa + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthDecaf377Rdsa + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthDecaf377Rdsa + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Inner = append(m.Inner[:0], dAtA[iNdEx:postIndex]...) + if m.Inner == nil { + m.Inner = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipDecaf377Rdsa(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDecaf377Rdsa + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipDecaf377Rdsa(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/relayer/chains/penumbra/tx.go b/relayer/chains/penumbra/tx.go index a30da8310..4a6650604 100644 --- a/relayer/chains/penumbra/tx.go +++ b/relayer/chains/penumbra/tx.go @@ -35,8 +35,9 @@ import ( "github.com/cosmos/relayer/v2/relayer/chains/cosmos" penumbrafee "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/fee/v1alpha1" penumbraibctypes "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/ibc/v1alpha1" - penumbranum "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/num/v1alpha1" + penumbraasset "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/num/v1alpha1" penumbratypes "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/transaction/v1alpha1" + penumbrardsa "github.com/cosmos/relayer/v2/relayer/chains/penumbra/crypto/decaf377_rdsa/v1alpha1" penumbracrypto "github.com/cosmos/relayer/v2/relayer/chains/penumbra/crypto/tct/v1alpha1" "github.com/cosmos/relayer/v2/relayer/provider" "go.uber.org/zap" @@ -307,10 +308,14 @@ func (cc *PenumbraProvider) sendMessagesInner(ctx context.Context, msgs []provid // will have a signing protocol for this. txBody := penumbratypes.TransactionBody{ - Actions: make([]*penumbratypes.Action, 0), - Fee: &penumbrafee.Fee{Amount: &penumbranum.Amount{Lo: 0, Hi: 0}}, - MemoData: &penumbratypes.MemoData{}, - TransactionParameters: &penumbratypes.TransactionParameters{}, + Actions: make([]*penumbratypes.Action, 0), + TransactionParameters: &penumbratypes.TransactionParameters{ + Fee: &penumbrafee.Fee{ + Amount: &penumbraasset.Amount{Lo: 0, Hi: 0}, + }, + }, + DetectionData: &penumbratypes.DetectionData{}, + Memo: nil, } for _, msg := range PenumbraMsgs(msgs...) { @@ -328,7 +333,7 @@ func (cc *PenumbraProvider) sendMessagesInner(ctx context.Context, msgs []provid tx := &penumbratypes.Transaction{ Body: &txBody, - BindingSig: make([]byte, 64), // use the Cool Signature + BindingSig: &penumbrardsa.BindingSignature{Inner: make([]byte, 64)}, Anchor: anchor, } diff --git a/relayer/chains/penumbra/view/v1alpha1/view.pb.go b/relayer/chains/penumbra/view/v1alpha1/view.pb.go index ac1d2c6d9..b4c3285e5 100644 --- a/relayer/chains/penumbra/view/v1alpha1/view.pb.go +++ b/relayer/chains/penumbra/view/v1alpha1/view.pb.go @@ -8,19 +8,20 @@ import ( fmt "fmt" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" - v1alpha19 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/app/v1alpha1" - v1alpha14 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/asset/v1alpha1" - v1alpha110 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/chain/v1alpha1" - v1alpha18 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/dex/v1alpha1" - v1alpha11 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/fee/v1alpha1" - v1alpha13 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/ibc/v1alpha1" - v1alpha111 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/sct/v1alpha1" - v1alpha112 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/shielded_pool/v1alpha1" - v1alpha17 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/stake/v1alpha1" - v1alpha12 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/keys/v1alpha1" - v1alpha16 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/num/v1alpha1" + v1alpha110 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/app/v1alpha1" + v1alpha15 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/asset/v1alpha1" + v1alpha111 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/chain/v1alpha1" + v1alpha19 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/dex/v1alpha1" + v1alpha12 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/fee/v1alpha1" + v1alpha14 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/ibc/v1alpha1" + v1alpha112 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/sct/v1alpha1" + v1alpha113 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/shielded_pool/v1alpha1" + v1alpha18 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/stake/v1alpha1" + v1alpha13 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/keys/v1alpha1" + v1alpha17 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/num/v1alpha1" v1alpha1 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/transaction/v1alpha1" - v1alpha15 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/crypto/tct/v1alpha1" + v1alpha11 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/txhash/v1alpha1" + v1alpha16 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/crypto/tct/v1alpha1" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" @@ -195,7 +196,7 @@ func (m *BroadcastTransactionRequest) GetAwaitDetection() bool { type BroadcastTransactionResponse struct { // The hash of the transaction that was broadcast. - Id *v1alpha1.Id `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Id *v1alpha11.TransactionId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The height in which the transaction was detected as included in the chain, if any. // Will not be included unless await_detection was true. DetectionHeight uint64 `protobuf:"varint,2,opt,name=detection_height,json=detectionHeight,proto3" json:"detection_height,omitempty"` @@ -234,7 +235,7 @@ func (m *BroadcastTransactionResponse) XXX_DiscardUnknown() { var xxx_messageInfo_BroadcastTransactionResponse proto.InternalMessageInfo -func (m *BroadcastTransactionResponse) GetId() *v1alpha1.Id { +func (m *BroadcastTransactionResponse) GetId() *v1alpha11.TransactionId { if m != nil { return m.Id } @@ -252,22 +253,20 @@ type TransactionPlannerRequest struct { // The expiry height for the requested TransactionPlan ExpiryHeight uint64 `protobuf:"varint,1,opt,name=expiry_height,json=expiryHeight,proto3" json:"expiry_height,omitempty"` // The fee for the requested TransactionPlan, if any. - Fee *v1alpha11.Fee `protobuf:"bytes,2,opt,name=fee,proto3" json:"fee,omitempty"` + Fee *v1alpha12.Fee `protobuf:"bytes,2,opt,name=fee,proto3" json:"fee,omitempty"` // The memo for the requested TransactionPlan. // The memo must be unspecified unless `outputs` is nonempty. Memo *v1alpha1.MemoPlaintext `protobuf:"bytes,3,opt,name=memo,proto3" json:"memo,omitempty"` // If present, only spends funds from the given account. - Source *v1alpha12.AddressIndex `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` - // Optionally identifies the wallet id to query. - WalletId *v1alpha12.WalletId `protobuf:"bytes,14,opt,name=wallet_id,json=walletId,proto3" json:"wallet_id,omitempty"` + Source *v1alpha13.AddressIndex `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` // Request contents Outputs []*TransactionPlannerRequest_Output `protobuf:"bytes,20,rep,name=outputs,proto3" json:"outputs,omitempty"` Swaps []*TransactionPlannerRequest_Swap `protobuf:"bytes,30,rep,name=swaps,proto3" json:"swaps,omitempty"` SwapClaims []*TransactionPlannerRequest_SwapClaim `protobuf:"bytes,31,rep,name=swap_claims,json=swapClaims,proto3" json:"swap_claims,omitempty"` Delegations []*TransactionPlannerRequest_Delegate `protobuf:"bytes,40,rep,name=delegations,proto3" json:"delegations,omitempty"` Undelegations []*TransactionPlannerRequest_Undelegate `protobuf:"bytes,50,rep,name=undelegations,proto3" json:"undelegations,omitempty"` - IbcRelayActions []*v1alpha13.IbcRelay `protobuf:"bytes,60,rep,name=ibc_relay_actions,json=ibcRelayActions,proto3" json:"ibc_relay_actions,omitempty"` - Ics20Withdrawals []*v1alpha13.Ics20Withdrawal `protobuf:"bytes,61,rep,name=ics20_withdrawals,json=ics20Withdrawals,proto3" json:"ics20_withdrawals,omitempty"` + IbcRelayActions []*v1alpha14.IbcRelay `protobuf:"bytes,60,rep,name=ibc_relay_actions,json=ibcRelayActions,proto3" json:"ibc_relay_actions,omitempty"` + Ics20Withdrawals []*v1alpha14.Ics20Withdrawal `protobuf:"bytes,61,rep,name=ics20_withdrawals,json=ics20Withdrawals,proto3" json:"ics20_withdrawals,omitempty"` PositionOpens []*TransactionPlannerRequest_PositionOpen `protobuf:"bytes,70,rep,name=position_opens,json=positionOpens,proto3" json:"position_opens,omitempty"` PositionCloses []*TransactionPlannerRequest_PositionClose `protobuf:"bytes,71,rep,name=position_closes,json=positionCloses,proto3" json:"position_closes,omitempty"` PositionWithdraws []*TransactionPlannerRequest_PositionWithdraw `protobuf:"bytes,72,rep,name=position_withdraws,json=positionWithdraws,proto3" json:"position_withdraws,omitempty"` @@ -313,7 +312,7 @@ func (m *TransactionPlannerRequest) GetExpiryHeight() uint64 { return 0 } -func (m *TransactionPlannerRequest) GetFee() *v1alpha11.Fee { +func (m *TransactionPlannerRequest) GetFee() *v1alpha12.Fee { if m != nil { return m.Fee } @@ -327,20 +326,13 @@ func (m *TransactionPlannerRequest) GetMemo() *v1alpha1.MemoPlaintext { return nil } -func (m *TransactionPlannerRequest) GetSource() *v1alpha12.AddressIndex { +func (m *TransactionPlannerRequest) GetSource() *v1alpha13.AddressIndex { if m != nil { return m.Source } return nil } -func (m *TransactionPlannerRequest) GetWalletId() *v1alpha12.WalletId { - if m != nil { - return m.WalletId - } - return nil -} - func (m *TransactionPlannerRequest) GetOutputs() []*TransactionPlannerRequest_Output { if m != nil { return m.Outputs @@ -376,14 +368,14 @@ func (m *TransactionPlannerRequest) GetUndelegations() []*TransactionPlannerRequ return nil } -func (m *TransactionPlannerRequest) GetIbcRelayActions() []*v1alpha13.IbcRelay { +func (m *TransactionPlannerRequest) GetIbcRelayActions() []*v1alpha14.IbcRelay { if m != nil { return m.IbcRelayActions } return nil } -func (m *TransactionPlannerRequest) GetIcs20Withdrawals() []*v1alpha13.Ics20Withdrawal { +func (m *TransactionPlannerRequest) GetIcs20Withdrawals() []*v1alpha14.Ics20Withdrawal { if m != nil { return m.Ics20Withdrawals } @@ -414,9 +406,9 @@ func (m *TransactionPlannerRequest) GetPositionWithdraws() []*TransactionPlanner // Request message subtypes type TransactionPlannerRequest_Output struct { // The amount and denomination in which the Output is issued. - Value *v1alpha14.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + Value *v1alpha15.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // The address to which Output will be sent. - Address *v1alpha12.Address `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` + Address *v1alpha13.Address `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` } func (m *TransactionPlannerRequest_Output) Reset() { *m = TransactionPlannerRequest_Output{} } @@ -452,14 +444,14 @@ func (m *TransactionPlannerRequest_Output) XXX_DiscardUnknown() { var xxx_messageInfo_TransactionPlannerRequest_Output proto.InternalMessageInfo -func (m *TransactionPlannerRequest_Output) GetValue() *v1alpha14.Value { +func (m *TransactionPlannerRequest_Output) GetValue() *v1alpha15.Value { if m != nil { return m.Value } return nil } -func (m *TransactionPlannerRequest_Output) GetAddress() *v1alpha12.Address { +func (m *TransactionPlannerRequest_Output) GetAddress() *v1alpha13.Address { if m != nil { return m.Address } @@ -468,13 +460,13 @@ func (m *TransactionPlannerRequest_Output) GetAddress() *v1alpha12.Address { type TransactionPlannerRequest_Swap struct { // The input amount and denomination to be traded in the Swap. - Value *v1alpha14.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + Value *v1alpha15.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // The denomination to be received as a Output of the Swap. - TargetAsset *v1alpha14.AssetId `protobuf:"bytes,2,opt,name=target_asset,json=targetAsset,proto3" json:"target_asset,omitempty"` + TargetAsset *v1alpha15.AssetId `protobuf:"bytes,2,opt,name=target_asset,json=targetAsset,proto3" json:"target_asset,omitempty"` // The pre-paid fee to be paid for claiming the Swap outputs. - Fee *v1alpha11.Fee `protobuf:"bytes,3,opt,name=fee,proto3" json:"fee,omitempty"` + Fee *v1alpha12.Fee `protobuf:"bytes,3,opt,name=fee,proto3" json:"fee,omitempty"` // The address to which swap claim output will be sent. - ClaimAddress *v1alpha12.Address `protobuf:"bytes,4,opt,name=claim_address,json=claimAddress,proto3" json:"claim_address,omitempty"` + ClaimAddress *v1alpha13.Address `protobuf:"bytes,4,opt,name=claim_address,json=claimAddress,proto3" json:"claim_address,omitempty"` } func (m *TransactionPlannerRequest_Swap) Reset() { *m = TransactionPlannerRequest_Swap{} } @@ -510,28 +502,28 @@ func (m *TransactionPlannerRequest_Swap) XXX_DiscardUnknown() { var xxx_messageInfo_TransactionPlannerRequest_Swap proto.InternalMessageInfo -func (m *TransactionPlannerRequest_Swap) GetValue() *v1alpha14.Value { +func (m *TransactionPlannerRequest_Swap) GetValue() *v1alpha15.Value { if m != nil { return m.Value } return nil } -func (m *TransactionPlannerRequest_Swap) GetTargetAsset() *v1alpha14.AssetId { +func (m *TransactionPlannerRequest_Swap) GetTargetAsset() *v1alpha15.AssetId { if m != nil { return m.TargetAsset } return nil } -func (m *TransactionPlannerRequest_Swap) GetFee() *v1alpha11.Fee { +func (m *TransactionPlannerRequest_Swap) GetFee() *v1alpha12.Fee { if m != nil { return m.Fee } return nil } -func (m *TransactionPlannerRequest_Swap) GetClaimAddress() *v1alpha12.Address { +func (m *TransactionPlannerRequest_Swap) GetClaimAddress() *v1alpha13.Address { if m != nil { return m.ClaimAddress } @@ -542,7 +534,7 @@ type TransactionPlannerRequest_SwapClaim struct { // SwapCommitment to identify the Swap to be claimed. // Use the commitment from the Swap message: // penumbra.core.component.dex.v1alpha1.Swap.body.payload.commitment. - SwapCommitment *v1alpha15.StateCommitment `protobuf:"bytes,1,opt,name=swap_commitment,json=swapCommitment,proto3" json:"swap_commitment,omitempty"` + SwapCommitment *v1alpha16.StateCommitment `protobuf:"bytes,1,opt,name=swap_commitment,json=swapCommitment,proto3" json:"swap_commitment,omitempty"` } func (m *TransactionPlannerRequest_SwapClaim) Reset() { *m = TransactionPlannerRequest_SwapClaim{} } @@ -578,7 +570,7 @@ func (m *TransactionPlannerRequest_SwapClaim) XXX_DiscardUnknown() { var xxx_messageInfo_TransactionPlannerRequest_SwapClaim proto.InternalMessageInfo -func (m *TransactionPlannerRequest_SwapClaim) GetSwapCommitment() *v1alpha15.StateCommitment { +func (m *TransactionPlannerRequest_SwapClaim) GetSwapCommitment() *v1alpha16.StateCommitment { if m != nil { return m.SwapCommitment } @@ -586,8 +578,8 @@ func (m *TransactionPlannerRequest_SwapClaim) GetSwapCommitment() *v1alpha15.Sta } type TransactionPlannerRequest_Delegate struct { - Amount *v1alpha16.Amount `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` - RateData *v1alpha17.RateData `protobuf:"bytes,3,opt,name=rate_data,json=rateData,proto3" json:"rate_data,omitempty"` + Amount *v1alpha17.Amount `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` + RateData *v1alpha18.RateData `protobuf:"bytes,3,opt,name=rate_data,json=rateData,proto3" json:"rate_data,omitempty"` } func (m *TransactionPlannerRequest_Delegate) Reset() { *m = TransactionPlannerRequest_Delegate{} } @@ -623,14 +615,14 @@ func (m *TransactionPlannerRequest_Delegate) XXX_DiscardUnknown() { var xxx_messageInfo_TransactionPlannerRequest_Delegate proto.InternalMessageInfo -func (m *TransactionPlannerRequest_Delegate) GetAmount() *v1alpha16.Amount { +func (m *TransactionPlannerRequest_Delegate) GetAmount() *v1alpha17.Amount { if m != nil { return m.Amount } return nil } -func (m *TransactionPlannerRequest_Delegate) GetRateData() *v1alpha17.RateData { +func (m *TransactionPlannerRequest_Delegate) GetRateData() *v1alpha18.RateData { if m != nil { return m.RateData } @@ -638,8 +630,8 @@ func (m *TransactionPlannerRequest_Delegate) GetRateData() *v1alpha17.RateData { } type TransactionPlannerRequest_Undelegate struct { - Value *v1alpha14.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - RateData *v1alpha17.RateData `protobuf:"bytes,2,opt,name=rate_data,json=rateData,proto3" json:"rate_data,omitempty"` + Value *v1alpha15.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + RateData *v1alpha18.RateData `protobuf:"bytes,2,opt,name=rate_data,json=rateData,proto3" json:"rate_data,omitempty"` } func (m *TransactionPlannerRequest_Undelegate) Reset() { *m = TransactionPlannerRequest_Undelegate{} } @@ -675,14 +667,14 @@ func (m *TransactionPlannerRequest_Undelegate) XXX_DiscardUnknown() { var xxx_messageInfo_TransactionPlannerRequest_Undelegate proto.InternalMessageInfo -func (m *TransactionPlannerRequest_Undelegate) GetValue() *v1alpha14.Value { +func (m *TransactionPlannerRequest_Undelegate) GetValue() *v1alpha15.Value { if m != nil { return m.Value } return nil } -func (m *TransactionPlannerRequest_Undelegate) GetRateData() *v1alpha17.RateData { +func (m *TransactionPlannerRequest_Undelegate) GetRateData() *v1alpha18.RateData { if m != nil { return m.RateData } @@ -694,7 +686,7 @@ type TransactionPlannerRequest_PositionOpen struct { // // Positions are immutable, so the `PositionData` (and hence the `PositionId`) // are unchanged over the entire lifetime of the position. - Position *v1alpha18.Position `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` + Position *v1alpha19.Position `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` } func (m *TransactionPlannerRequest_PositionOpen) Reset() { @@ -732,7 +724,7 @@ func (m *TransactionPlannerRequest_PositionOpen) XXX_DiscardUnknown() { var xxx_messageInfo_TransactionPlannerRequest_PositionOpen proto.InternalMessageInfo -func (m *TransactionPlannerRequest_PositionOpen) GetPosition() *v1alpha18.Position { +func (m *TransactionPlannerRequest_PositionOpen) GetPosition() *v1alpha19.Position { if m != nil { return m.Position } @@ -741,7 +733,7 @@ func (m *TransactionPlannerRequest_PositionOpen) GetPosition() *v1alpha18.Positi type TransactionPlannerRequest_PositionClose struct { // The position to close. - PositionId *v1alpha18.PositionId `protobuf:"bytes,1,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` + PositionId *v1alpha19.PositionId `protobuf:"bytes,1,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` } func (m *TransactionPlannerRequest_PositionClose) Reset() { @@ -779,7 +771,7 @@ func (m *TransactionPlannerRequest_PositionClose) XXX_DiscardUnknown() { var xxx_messageInfo_TransactionPlannerRequest_PositionClose proto.InternalMessageInfo -func (m *TransactionPlannerRequest_PositionClose) GetPositionId() *v1alpha18.PositionId { +func (m *TransactionPlannerRequest_PositionClose) GetPositionId() *v1alpha19.PositionId { if m != nil { return m.PositionId } @@ -788,11 +780,11 @@ func (m *TransactionPlannerRequest_PositionClose) GetPositionId() *v1alpha18.Pos type TransactionPlannerRequest_PositionWithdraw struct { // The position to withdraw. - PositionId *v1alpha18.PositionId `protobuf:"bytes,1,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` + PositionId *v1alpha19.PositionId `protobuf:"bytes,1,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` // The position's final reserves. - Reserves *v1alpha18.Reserves `protobuf:"bytes,2,opt,name=reserves,proto3" json:"reserves,omitempty"` + Reserves *v1alpha19.Reserves `protobuf:"bytes,2,opt,name=reserves,proto3" json:"reserves,omitempty"` // The trading pair of the position. - TradingPair *v1alpha18.TradingPair `protobuf:"bytes,3,opt,name=trading_pair,json=tradingPair,proto3" json:"trading_pair,omitempty"` + TradingPair *v1alpha19.TradingPair `protobuf:"bytes,3,opt,name=trading_pair,json=tradingPair,proto3" json:"trading_pair,omitempty"` } func (m *TransactionPlannerRequest_PositionWithdraw) Reset() { @@ -832,21 +824,21 @@ func (m *TransactionPlannerRequest_PositionWithdraw) XXX_DiscardUnknown() { var xxx_messageInfo_TransactionPlannerRequest_PositionWithdraw proto.InternalMessageInfo -func (m *TransactionPlannerRequest_PositionWithdraw) GetPositionId() *v1alpha18.PositionId { +func (m *TransactionPlannerRequest_PositionWithdraw) GetPositionId() *v1alpha19.PositionId { if m != nil { return m.PositionId } return nil } -func (m *TransactionPlannerRequest_PositionWithdraw) GetReserves() *v1alpha18.Reserves { +func (m *TransactionPlannerRequest_PositionWithdraw) GetReserves() *v1alpha19.Reserves { if m != nil { return m.Reserves } return nil } -func (m *TransactionPlannerRequest_PositionWithdraw) GetTradingPair() *v1alpha18.TradingPair { +func (m *TransactionPlannerRequest_PositionWithdraw) GetTradingPair() *v1alpha19.TradingPair { if m != nil { return m.TradingPair } @@ -898,7 +890,7 @@ func (m *TransactionPlannerResponse) GetPlan() *v1alpha1.TransactionPlan { } type AddressByIndexRequest struct { - AddressIndex *v1alpha12.AddressIndex `protobuf:"bytes,1,opt,name=address_index,json=addressIndex,proto3" json:"address_index,omitempty"` + AddressIndex *v1alpha13.AddressIndex `protobuf:"bytes,1,opt,name=address_index,json=addressIndex,proto3" json:"address_index,omitempty"` } func (m *AddressByIndexRequest) Reset() { *m = AddressByIndexRequest{} } @@ -934,7 +926,7 @@ func (m *AddressByIndexRequest) XXX_DiscardUnknown() { var xxx_messageInfo_AddressByIndexRequest proto.InternalMessageInfo -func (m *AddressByIndexRequest) GetAddressIndex() *v1alpha12.AddressIndex { +func (m *AddressByIndexRequest) GetAddressIndex() *v1alpha13.AddressIndex { if m != nil { return m.AddressIndex } @@ -942,7 +934,7 @@ func (m *AddressByIndexRequest) GetAddressIndex() *v1alpha12.AddressIndex { } type AddressByIndexResponse struct { - Address *v1alpha12.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Address *v1alpha13.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` } func (m *AddressByIndexResponse) Reset() { *m = AddressByIndexResponse{} } @@ -978,7 +970,7 @@ func (m *AddressByIndexResponse) XXX_DiscardUnknown() { var xxx_messageInfo_AddressByIndexResponse proto.InternalMessageInfo -func (m *AddressByIndexResponse) GetAddress() *v1alpha12.Address { +func (m *AddressByIndexResponse) GetAddress() *v1alpha13.Address { if m != nil { return m.Address } @@ -1022,7 +1014,7 @@ func (m *WalletIdRequest) XXX_DiscardUnknown() { var xxx_messageInfo_WalletIdRequest proto.InternalMessageInfo type WalletIdResponse struct { - WalletId *v1alpha12.WalletId `protobuf:"bytes,1,opt,name=wallet_id,json=walletId,proto3" json:"wallet_id,omitempty"` + WalletId *v1alpha13.WalletId `protobuf:"bytes,1,opt,name=wallet_id,json=walletId,proto3" json:"wallet_id,omitempty"` } func (m *WalletIdResponse) Reset() { *m = WalletIdResponse{} } @@ -1058,7 +1050,7 @@ func (m *WalletIdResponse) XXX_DiscardUnknown() { var xxx_messageInfo_WalletIdResponse proto.InternalMessageInfo -func (m *WalletIdResponse) GetWalletId() *v1alpha12.WalletId { +func (m *WalletIdResponse) GetWalletId() *v1alpha13.WalletId { if m != nil { return m.WalletId } @@ -1066,7 +1058,7 @@ func (m *WalletIdResponse) GetWalletId() *v1alpha12.WalletId { } type IndexByAddressRequest struct { - Address *v1alpha12.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Address *v1alpha13.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` } func (m *IndexByAddressRequest) Reset() { *m = IndexByAddressRequest{} } @@ -1102,7 +1094,7 @@ func (m *IndexByAddressRequest) XXX_DiscardUnknown() { var xxx_messageInfo_IndexByAddressRequest proto.InternalMessageInfo -func (m *IndexByAddressRequest) GetAddress() *v1alpha12.Address { +func (m *IndexByAddressRequest) GetAddress() *v1alpha13.Address { if m != nil { return m.Address } @@ -1111,7 +1103,7 @@ func (m *IndexByAddressRequest) GetAddress() *v1alpha12.Address { type IndexByAddressResponse struct { // Will be absent if given an address not viewable by this viewing service - AddressIndex *v1alpha12.AddressIndex `protobuf:"bytes,1,opt,name=address_index,json=addressIndex,proto3" json:"address_index,omitempty"` + AddressIndex *v1alpha13.AddressIndex `protobuf:"bytes,1,opt,name=address_index,json=addressIndex,proto3" json:"address_index,omitempty"` } func (m *IndexByAddressResponse) Reset() { *m = IndexByAddressResponse{} } @@ -1147,7 +1139,7 @@ func (m *IndexByAddressResponse) XXX_DiscardUnknown() { var xxx_messageInfo_IndexByAddressResponse proto.InternalMessageInfo -func (m *IndexByAddressResponse) GetAddressIndex() *v1alpha12.AddressIndex { +func (m *IndexByAddressResponse) GetAddressIndex() *v1alpha13.AddressIndex { if m != nil { return m.AddressIndex } @@ -1155,7 +1147,7 @@ func (m *IndexByAddressResponse) GetAddressIndex() *v1alpha12.AddressIndex { } type EphemeralAddressRequest struct { - AddressIndex *v1alpha12.AddressIndex `protobuf:"bytes,1,opt,name=address_index,json=addressIndex,proto3" json:"address_index,omitempty"` + AddressIndex *v1alpha13.AddressIndex `protobuf:"bytes,1,opt,name=address_index,json=addressIndex,proto3" json:"address_index,omitempty"` DisplayConfirm bool `protobuf:"varint,2,opt,name=display_confirm,json=displayConfirm,proto3" json:"display_confirm,omitempty"` } @@ -1192,7 +1184,7 @@ func (m *EphemeralAddressRequest) XXX_DiscardUnknown() { var xxx_messageInfo_EphemeralAddressRequest proto.InternalMessageInfo -func (m *EphemeralAddressRequest) GetAddressIndex() *v1alpha12.AddressIndex { +func (m *EphemeralAddressRequest) GetAddressIndex() *v1alpha13.AddressIndex { if m != nil { return m.AddressIndex } @@ -1207,7 +1199,7 @@ func (m *EphemeralAddressRequest) GetDisplayConfirm() bool { } type EphemeralAddressResponse struct { - Address *v1alpha12.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Address *v1alpha13.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` } func (m *EphemeralAddressResponse) Reset() { *m = EphemeralAddressResponse{} } @@ -1243,7 +1235,7 @@ func (m *EphemeralAddressResponse) XXX_DiscardUnknown() { var xxx_messageInfo_EphemeralAddressResponse proto.InternalMessageInfo -func (m *EphemeralAddressResponse) GetAddress() *v1alpha12.Address { +func (m *EphemeralAddressResponse) GetAddress() *v1alpha13.Address { if m != nil { return m.Address } @@ -1252,9 +1244,9 @@ func (m *EphemeralAddressResponse) GetAddress() *v1alpha12.Address { type BalancesRequest struct { // If present, filter balances to only include the account specified by the `AddressIndex`. - AccountFilter *v1alpha12.AddressIndex `protobuf:"bytes,1,opt,name=account_filter,json=accountFilter,proto3" json:"account_filter,omitempty"` + AccountFilter *v1alpha13.AddressIndex `protobuf:"bytes,1,opt,name=account_filter,json=accountFilter,proto3" json:"account_filter,omitempty"` // If present, filter balances to only include the specified asset ID. - AssetIdFilter *v1alpha14.AssetId `protobuf:"bytes,2,opt,name=asset_id_filter,json=assetIdFilter,proto3" json:"asset_id_filter,omitempty"` + AssetIdFilter *v1alpha15.AssetId `protobuf:"bytes,2,opt,name=asset_id_filter,json=assetIdFilter,proto3" json:"asset_id_filter,omitempty"` } func (m *BalancesRequest) Reset() { *m = BalancesRequest{} } @@ -1290,14 +1282,14 @@ func (m *BalancesRequest) XXX_DiscardUnknown() { var xxx_messageInfo_BalancesRequest proto.InternalMessageInfo -func (m *BalancesRequest) GetAccountFilter() *v1alpha12.AddressIndex { +func (m *BalancesRequest) GetAccountFilter() *v1alpha13.AddressIndex { if m != nil { return m.AccountFilter } return nil } -func (m *BalancesRequest) GetAssetIdFilter() *v1alpha14.AssetId { +func (m *BalancesRequest) GetAssetIdFilter() *v1alpha15.AssetId { if m != nil { return m.AssetIdFilter } @@ -1305,8 +1297,8 @@ func (m *BalancesRequest) GetAssetIdFilter() *v1alpha14.AssetId { } type BalancesResponse struct { - Account *v1alpha12.AddressIndex `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` - Balance *v1alpha14.Value `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"` + Account *v1alpha13.AddressIndex `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` + Balance *v1alpha15.Value `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"` } func (m *BalancesResponse) Reset() { *m = BalancesResponse{} } @@ -1342,164 +1334,29 @@ func (m *BalancesResponse) XXX_DiscardUnknown() { var xxx_messageInfo_BalancesResponse proto.InternalMessageInfo -func (m *BalancesResponse) GetAccount() *v1alpha12.AddressIndex { +func (m *BalancesResponse) GetAccount() *v1alpha13.AddressIndex { if m != nil { return m.Account } return nil } -func (m *BalancesResponse) GetBalance() *v1alpha14.Value { +func (m *BalancesResponse) GetBalance() *v1alpha15.Value { if m != nil { return m.Balance } return nil } -// Scaffolding for bearer-token authentication for the ViewService. -type ViewAuthToken struct { - Inner []byte `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` -} - -func (m *ViewAuthToken) Reset() { *m = ViewAuthToken{} } -func (m *ViewAuthToken) String() string { return proto.CompactTextString(m) } -func (*ViewAuthToken) ProtoMessage() {} -func (*ViewAuthToken) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{16} -} -func (m *ViewAuthToken) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ViewAuthToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ViewAuthToken.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 *ViewAuthToken) XXX_Merge(src proto.Message) { - xxx_messageInfo_ViewAuthToken.Merge(m, src) -} -func (m *ViewAuthToken) XXX_Size() int { - return m.Size() -} -func (m *ViewAuthToken) XXX_DiscardUnknown() { - xxx_messageInfo_ViewAuthToken.DiscardUnknown(m) -} - -var xxx_messageInfo_ViewAuthToken proto.InternalMessageInfo - -func (m *ViewAuthToken) GetInner() []byte { - if m != nil { - return m.Inner - } - return nil -} - -type ViewAuthRequest struct { - Fvk *v1alpha12.FullViewingKey `protobuf:"bytes,1,opt,name=fvk,proto3" json:"fvk,omitempty"` -} - -func (m *ViewAuthRequest) Reset() { *m = ViewAuthRequest{} } -func (m *ViewAuthRequest) String() string { return proto.CompactTextString(m) } -func (*ViewAuthRequest) ProtoMessage() {} -func (*ViewAuthRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{17} -} -func (m *ViewAuthRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ViewAuthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ViewAuthRequest.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 *ViewAuthRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ViewAuthRequest.Merge(m, src) -} -func (m *ViewAuthRequest) XXX_Size() int { - return m.Size() -} -func (m *ViewAuthRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ViewAuthRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ViewAuthRequest proto.InternalMessageInfo - -func (m *ViewAuthRequest) GetFvk() *v1alpha12.FullViewingKey { - if m != nil { - return m.Fvk - } - return nil -} - -type ViewAuthResponse struct { - Token *ViewAuthToken `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` -} - -func (m *ViewAuthResponse) Reset() { *m = ViewAuthResponse{} } -func (m *ViewAuthResponse) String() string { return proto.CompactTextString(m) } -func (*ViewAuthResponse) ProtoMessage() {} -func (*ViewAuthResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{18} -} -func (m *ViewAuthResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ViewAuthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ViewAuthResponse.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 *ViewAuthResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ViewAuthResponse.Merge(m, src) -} -func (m *ViewAuthResponse) XXX_Size() int { - return m.Size() -} -func (m *ViewAuthResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ViewAuthResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ViewAuthResponse proto.InternalMessageInfo - -func (m *ViewAuthResponse) GetToken() *ViewAuthToken { - if m != nil { - return m.Token - } - return nil -} - // Requests sync status of the view service. type StatusRequest struct { - // Identifies the wallet id to query. - WalletId *v1alpha12.WalletId `protobuf:"bytes,14,opt,name=wallet_id,json=walletId,proto3" json:"wallet_id,omitempty"` } func (m *StatusRequest) Reset() { *m = StatusRequest{} } func (m *StatusRequest) String() string { return proto.CompactTextString(m) } func (*StatusRequest) ProtoMessage() {} func (*StatusRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{19} + return fileDescriptor_0aa947b204e6a7c2, []int{16} } func (m *StatusRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1528,13 +1385,6 @@ func (m *StatusRequest) XXX_DiscardUnknown() { var xxx_messageInfo_StatusRequest proto.InternalMessageInfo -func (m *StatusRequest) GetWalletId() *v1alpha12.WalletId { - if m != nil { - return m.WalletId - } - return nil -} - // Returns the status of the view service and whether it is synchronized with the chain state. type StatusResponse struct { // The height the view service has synchronized to so far when doing a full linear sync @@ -1549,7 +1399,7 @@ func (m *StatusResponse) Reset() { *m = StatusResponse{} } func (m *StatusResponse) String() string { return proto.CompactTextString(m) } func (*StatusResponse) ProtoMessage() {} func (*StatusResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{20} + return fileDescriptor_0aa947b204e6a7c2, []int{17} } func (m *StatusResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1601,15 +1451,13 @@ func (m *StatusResponse) GetCatchingUp() bool { // Requests streaming updates on the sync height until the view service is synchronized. type StatusStreamRequest struct { - // Identifies the wallet id to query. - WalletId *v1alpha12.WalletId `protobuf:"bytes,14,opt,name=wallet_id,json=walletId,proto3" json:"wallet_id,omitempty"` } func (m *StatusStreamRequest) Reset() { *m = StatusStreamRequest{} } func (m *StatusStreamRequest) String() string { return proto.CompactTextString(m) } func (*StatusStreamRequest) ProtoMessage() {} func (*StatusStreamRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{21} + return fileDescriptor_0aa947b204e6a7c2, []int{18} } func (m *StatusStreamRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1638,13 +1486,6 @@ func (m *StatusStreamRequest) XXX_DiscardUnknown() { var xxx_messageInfo_StatusStreamRequest proto.InternalMessageInfo -func (m *StatusStreamRequest) GetWalletId() *v1alpha12.WalletId { - if m != nil { - return m.WalletId - } - return nil -} - // A streaming sync status update type StatusStreamResponse struct { // The latest known block height @@ -1659,7 +1500,7 @@ func (m *StatusStreamResponse) Reset() { *m = StatusStreamResponse{} } func (m *StatusStreamResponse) String() string { return proto.CompactTextString(m) } func (*StatusStreamResponse) ProtoMessage() {} func (*StatusStreamResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{22} + return fileDescriptor_0aa947b204e6a7c2, []int{19} } func (m *StatusStreamResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1717,22 +1558,20 @@ type NotesRequest struct { // If set, return spent notes as well as unspent notes. IncludeSpent bool `protobuf:"varint,2,opt,name=include_spent,json=includeSpent,proto3" json:"include_spent,omitempty"` // If set, only return notes with the specified asset id. - AssetId *v1alpha14.AssetId `protobuf:"bytes,3,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` + AssetId *v1alpha15.AssetId `protobuf:"bytes,3,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` // If set, only return notes with the specified address incore.component.dex.v1alpha1. - AddressIndex *v1alpha12.AddressIndex `protobuf:"bytes,4,opt,name=address_index,json=addressIndex,proto3" json:"address_index,omitempty"` + AddressIndex *v1alpha13.AddressIndex `protobuf:"bytes,4,opt,name=address_index,json=addressIndex,proto3" json:"address_index,omitempty"` // If set, stop returning notes once the total exceeds this amount. // // Ignored if `asset_id` is unset or if `include_spent` is set. - AmountToSpend *v1alpha16.Amount `protobuf:"bytes,6,opt,name=amount_to_spend,json=amountToSpend,proto3" json:"amount_to_spend,omitempty"` - // Identifies the wallet id to query. - WalletId *v1alpha12.WalletId `protobuf:"bytes,14,opt,name=wallet_id,json=walletId,proto3" json:"wallet_id,omitempty"` + AmountToSpend *v1alpha17.Amount `protobuf:"bytes,6,opt,name=amount_to_spend,json=amountToSpend,proto3" json:"amount_to_spend,omitempty"` } func (m *NotesRequest) Reset() { *m = NotesRequest{} } func (m *NotesRequest) String() string { return proto.CompactTextString(m) } func (*NotesRequest) ProtoMessage() {} func (*NotesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{23} + return fileDescriptor_0aa947b204e6a7c2, []int{20} } func (m *NotesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1768,49 +1607,40 @@ func (m *NotesRequest) GetIncludeSpent() bool { return false } -func (m *NotesRequest) GetAssetId() *v1alpha14.AssetId { +func (m *NotesRequest) GetAssetId() *v1alpha15.AssetId { if m != nil { return m.AssetId } return nil } -func (m *NotesRequest) GetAddressIndex() *v1alpha12.AddressIndex { +func (m *NotesRequest) GetAddressIndex() *v1alpha13.AddressIndex { if m != nil { return m.AddressIndex } return nil } -func (m *NotesRequest) GetAmountToSpend() *v1alpha16.Amount { +func (m *NotesRequest) GetAmountToSpend() *v1alpha17.Amount { if m != nil { return m.AmountToSpend } return nil } -func (m *NotesRequest) GetWalletId() *v1alpha12.WalletId { - if m != nil { - return m.WalletId - } - return nil -} - // A query for notes to be used for voting on a proposal. type NotesForVotingRequest struct { // The starting height of the proposal. VotableAtHeight uint64 `protobuf:"varint,1,opt,name=votable_at_height,json=votableAtHeight,proto3" json:"votable_at_height,omitempty"` // If set, only return notes with the specified asset id. - AddressIndex *v1alpha12.AddressIndex `protobuf:"bytes,3,opt,name=address_index,json=addressIndex,proto3" json:"address_index,omitempty"` - // Identifies the wallet id to query. - WalletId *v1alpha12.WalletId `protobuf:"bytes,14,opt,name=wallet_id,json=walletId,proto3" json:"wallet_id,omitempty"` + AddressIndex *v1alpha13.AddressIndex `protobuf:"bytes,3,opt,name=address_index,json=addressIndex,proto3" json:"address_index,omitempty"` } func (m *NotesForVotingRequest) Reset() { *m = NotesForVotingRequest{} } func (m *NotesForVotingRequest) String() string { return proto.CompactTextString(m) } func (*NotesForVotingRequest) ProtoMessage() {} func (*NotesForVotingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{24} + return fileDescriptor_0aa947b204e6a7c2, []int{21} } func (m *NotesForVotingRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1846,34 +1676,25 @@ func (m *NotesForVotingRequest) GetVotableAtHeight() uint64 { return 0 } -func (m *NotesForVotingRequest) GetAddressIndex() *v1alpha12.AddressIndex { +func (m *NotesForVotingRequest) GetAddressIndex() *v1alpha13.AddressIndex { if m != nil { return m.AddressIndex } return nil } -func (m *NotesForVotingRequest) GetWalletId() *v1alpha12.WalletId { - if m != nil { - return m.WalletId - } - return nil -} - type WitnessRequest struct { // The note commitments to obtain auth paths for. - NoteCommitments []*v1alpha15.StateCommitment `protobuf:"bytes,2,rep,name=note_commitments,json=noteCommitments,proto3" json:"note_commitments,omitempty"` + NoteCommitments []*v1alpha16.StateCommitment `protobuf:"bytes,2,rep,name=note_commitments,json=noteCommitments,proto3" json:"note_commitments,omitempty"` // The transaction plan to witness TransactionPlan *v1alpha1.TransactionPlan `protobuf:"bytes,3,opt,name=transaction_plan,json=transactionPlan,proto3" json:"transaction_plan,omitempty"` - // Identifies the wallet id to query. - WalletId *v1alpha12.WalletId `protobuf:"bytes,14,opt,name=wallet_id,json=walletId,proto3" json:"wallet_id,omitempty"` } func (m *WitnessRequest) Reset() { *m = WitnessRequest{} } func (m *WitnessRequest) String() string { return proto.CompactTextString(m) } func (*WitnessRequest) ProtoMessage() {} func (*WitnessRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{25} + return fileDescriptor_0aa947b204e6a7c2, []int{22} } func (m *WitnessRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1902,7 +1723,7 @@ func (m *WitnessRequest) XXX_DiscardUnknown() { var xxx_messageInfo_WitnessRequest proto.InternalMessageInfo -func (m *WitnessRequest) GetNoteCommitments() []*v1alpha15.StateCommitment { +func (m *WitnessRequest) GetNoteCommitments() []*v1alpha16.StateCommitment { if m != nil { return m.NoteCommitments } @@ -1916,13 +1737,6 @@ func (m *WitnessRequest) GetTransactionPlan() *v1alpha1.TransactionPlan { return nil } -func (m *WitnessRequest) GetWalletId() *v1alpha12.WalletId { - if m != nil { - return m.WalletId - } - return nil -} - type WitnessResponse struct { WitnessData *v1alpha1.WitnessData `protobuf:"bytes,1,opt,name=witness_data,json=witnessData,proto3" json:"witness_data,omitempty"` } @@ -1931,7 +1745,7 @@ func (m *WitnessResponse) Reset() { *m = WitnessResponse{} } func (m *WitnessResponse) String() string { return proto.CompactTextString(m) } func (*WitnessResponse) ProtoMessage() {} func (*WitnessResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{26} + return fileDescriptor_0aa947b204e6a7c2, []int{23} } func (m *WitnessResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1976,7 +1790,7 @@ func (m *WitnessAndBuildRequest) Reset() { *m = WitnessAndBuildRequest{} func (m *WitnessAndBuildRequest) String() string { return proto.CompactTextString(m) } func (*WitnessAndBuildRequest) ProtoMessage() {} func (*WitnessAndBuildRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{27} + return fileDescriptor_0aa947b204e6a7c2, []int{24} } func (m *WitnessAndBuildRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2027,7 +1841,7 @@ func (m *WitnessAndBuildResponse) Reset() { *m = WitnessAndBuildResponse func (m *WitnessAndBuildResponse) String() string { return proto.CompactTextString(m) } func (*WitnessAndBuildResponse) ProtoMessage() {} func (*WitnessAndBuildResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{28} + return fileDescriptor_0aa947b204e6a7c2, []int{25} } func (m *WitnessAndBuildResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2069,7 +1883,7 @@ type AssetsRequest struct { // the request indicate a filter. Filtered bool `protobuf:"varint,1,opt,name=filtered,proto3" json:"filtered,omitempty"` // Include these specific denominations in the response. - IncludeSpecificDenominations []*v1alpha14.Denom `protobuf:"bytes,2,rep,name=include_specific_denominations,json=includeSpecificDenominations,proto3" json:"include_specific_denominations,omitempty"` + IncludeSpecificDenominations []*v1alpha15.Denom `protobuf:"bytes,2,rep,name=include_specific_denominations,json=includeSpecificDenominations,proto3" json:"include_specific_denominations,omitempty"` // Include all delegation tokens, to any validator, in the response. IncludeDelegationTokens bool `protobuf:"varint,3,opt,name=include_delegation_tokens,json=includeDelegationTokens,proto3" json:"include_delegation_tokens,omitempty"` // Include all unbonding tokens, from any validator, in the response. @@ -2086,7 +1900,7 @@ func (m *AssetsRequest) Reset() { *m = AssetsRequest{} } func (m *AssetsRequest) String() string { return proto.CompactTextString(m) } func (*AssetsRequest) ProtoMessage() {} func (*AssetsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{29} + return fileDescriptor_0aa947b204e6a7c2, []int{26} } func (m *AssetsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2122,7 +1936,7 @@ func (m *AssetsRequest) GetFiltered() bool { return false } -func (m *AssetsRequest) GetIncludeSpecificDenominations() []*v1alpha14.Denom { +func (m *AssetsRequest) GetIncludeSpecificDenominations() []*v1alpha15.Denom { if m != nil { return m.IncludeSpecificDenominations } @@ -2166,14 +1980,14 @@ func (m *AssetsRequest) GetIncludeVotingReceiptTokens() bool { // Requests all assets known to the view service. type AssetsResponse struct { - DenomMetadata *v1alpha14.DenomMetadata `protobuf:"bytes,2,opt,name=denom_metadata,json=denomMetadata,proto3" json:"denom_metadata,omitempty"` + DenomMetadata *v1alpha15.DenomMetadata `protobuf:"bytes,2,opt,name=denom_metadata,json=denomMetadata,proto3" json:"denom_metadata,omitempty"` } func (m *AssetsResponse) Reset() { *m = AssetsResponse{} } func (m *AssetsResponse) String() string { return proto.CompactTextString(m) } func (*AssetsResponse) ProtoMessage() {} func (*AssetsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{30} + return fileDescriptor_0aa947b204e6a7c2, []int{27} } func (m *AssetsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2202,7 +2016,7 @@ func (m *AssetsResponse) XXX_DiscardUnknown() { var xxx_messageInfo_AssetsResponse proto.InternalMessageInfo -func (m *AssetsResponse) GetDenomMetadata() *v1alpha14.DenomMetadata { +func (m *AssetsResponse) GetDenomMetadata() *v1alpha15.DenomMetadata { if m != nil { return m.DenomMetadata } @@ -2217,7 +2031,7 @@ func (m *AppParametersRequest) Reset() { *m = AppParametersRequest{} } func (m *AppParametersRequest) String() string { return proto.CompactTextString(m) } func (*AppParametersRequest) ProtoMessage() {} func (*AppParametersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{31} + return fileDescriptor_0aa947b204e6a7c2, []int{28} } func (m *AppParametersRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2247,14 +2061,14 @@ func (m *AppParametersRequest) XXX_DiscardUnknown() { var xxx_messageInfo_AppParametersRequest proto.InternalMessageInfo type AppParametersResponse struct { - Parameters *v1alpha19.AppParameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty"` + Parameters *v1alpha110.AppParameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty"` } func (m *AppParametersResponse) Reset() { *m = AppParametersResponse{} } func (m *AppParametersResponse) String() string { return proto.CompactTextString(m) } func (*AppParametersResponse) ProtoMessage() {} func (*AppParametersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{32} + return fileDescriptor_0aa947b204e6a7c2, []int{29} } func (m *AppParametersResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2283,7 +2097,7 @@ func (m *AppParametersResponse) XXX_DiscardUnknown() { var xxx_messageInfo_AppParametersResponse proto.InternalMessageInfo -func (m *AppParametersResponse) GetParameters() *v1alpha19.AppParameters { +func (m *AppParametersResponse) GetParameters() *v1alpha110.AppParameters { if m != nil { return m.Parameters } @@ -2298,7 +2112,7 @@ func (m *GasPricesRequest) Reset() { *m = GasPricesRequest{} } func (m *GasPricesRequest) String() string { return proto.CompactTextString(m) } func (*GasPricesRequest) ProtoMessage() {} func (*GasPricesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{33} + return fileDescriptor_0aa947b204e6a7c2, []int{30} } func (m *GasPricesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2328,14 +2142,14 @@ func (m *GasPricesRequest) XXX_DiscardUnknown() { var xxx_messageInfo_GasPricesRequest proto.InternalMessageInfo type GasPricesResponse struct { - GasPrices *v1alpha11.GasPrices `protobuf:"bytes,1,opt,name=gas_prices,json=gasPrices,proto3" json:"gas_prices,omitempty"` + GasPrices *v1alpha12.GasPrices `protobuf:"bytes,1,opt,name=gas_prices,json=gasPrices,proto3" json:"gas_prices,omitempty"` } func (m *GasPricesResponse) Reset() { *m = GasPricesResponse{} } func (m *GasPricesResponse) String() string { return proto.CompactTextString(m) } func (*GasPricesResponse) ProtoMessage() {} func (*GasPricesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{34} + return fileDescriptor_0aa947b204e6a7c2, []int{31} } func (m *GasPricesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2364,7 +2178,7 @@ func (m *GasPricesResponse) XXX_DiscardUnknown() { var xxx_messageInfo_GasPricesResponse proto.InternalMessageInfo -func (m *GasPricesResponse) GetGasPrices() *v1alpha11.GasPrices { +func (m *GasPricesResponse) GetGasPrices() *v1alpha12.GasPrices { if m != nil { return m.GasPrices } @@ -2379,7 +2193,7 @@ func (m *FMDParametersRequest) Reset() { *m = FMDParametersRequest{} } func (m *FMDParametersRequest) String() string { return proto.CompactTextString(m) } func (*FMDParametersRequest) ProtoMessage() {} func (*FMDParametersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{35} + return fileDescriptor_0aa947b204e6a7c2, []int{32} } func (m *FMDParametersRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2409,14 +2223,14 @@ func (m *FMDParametersRequest) XXX_DiscardUnknown() { var xxx_messageInfo_FMDParametersRequest proto.InternalMessageInfo type FMDParametersResponse struct { - Parameters *v1alpha110.FmdParameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty"` + Parameters *v1alpha111.FmdParameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty"` } func (m *FMDParametersResponse) Reset() { *m = FMDParametersResponse{} } func (m *FMDParametersResponse) String() string { return proto.CompactTextString(m) } func (*FMDParametersResponse) ProtoMessage() {} func (*FMDParametersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{36} + return fileDescriptor_0aa947b204e6a7c2, []int{33} } func (m *FMDParametersResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2445,7 +2259,7 @@ func (m *FMDParametersResponse) XXX_DiscardUnknown() { var xxx_messageInfo_FMDParametersResponse proto.InternalMessageInfo -func (m *FMDParametersResponse) GetParameters() *v1alpha110.FmdParameters { +func (m *FMDParametersResponse) GetParameters() *v1alpha111.FmdParameters { if m != nil { return m.Parameters } @@ -2453,18 +2267,16 @@ func (m *FMDParametersResponse) GetParameters() *v1alpha110.FmdParameters { } type NoteByCommitmentRequest struct { - NoteCommitment *v1alpha15.StateCommitment `protobuf:"bytes,2,opt,name=note_commitment,json=noteCommitment,proto3" json:"note_commitment,omitempty"` + NoteCommitment *v1alpha16.StateCommitment `protobuf:"bytes,2,opt,name=note_commitment,json=noteCommitment,proto3" json:"note_commitment,omitempty"` // If set to true, waits to return until the requested note is detected. AwaitDetection bool `protobuf:"varint,3,opt,name=await_detection,json=awaitDetection,proto3" json:"await_detection,omitempty"` - // Identifies the wallet id to query. - WalletId *v1alpha12.WalletId `protobuf:"bytes,14,opt,name=wallet_id,json=walletId,proto3" json:"wallet_id,omitempty"` } func (m *NoteByCommitmentRequest) Reset() { *m = NoteByCommitmentRequest{} } func (m *NoteByCommitmentRequest) String() string { return proto.CompactTextString(m) } func (*NoteByCommitmentRequest) ProtoMessage() {} func (*NoteByCommitmentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{37} + return fileDescriptor_0aa947b204e6a7c2, []int{34} } func (m *NoteByCommitmentRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2493,7 +2305,7 @@ func (m *NoteByCommitmentRequest) XXX_DiscardUnknown() { var xxx_messageInfo_NoteByCommitmentRequest proto.InternalMessageInfo -func (m *NoteByCommitmentRequest) GetNoteCommitment() *v1alpha15.StateCommitment { +func (m *NoteByCommitmentRequest) GetNoteCommitment() *v1alpha16.StateCommitment { if m != nil { return m.NoteCommitment } @@ -2507,13 +2319,6 @@ func (m *NoteByCommitmentRequest) GetAwaitDetection() bool { return false } -func (m *NoteByCommitmentRequest) GetWalletId() *v1alpha12.WalletId { - if m != nil { - return m.WalletId - } - return nil -} - type NoteByCommitmentResponse struct { SpendableNote *SpendableNoteRecord `protobuf:"bytes,1,opt,name=spendable_note,json=spendableNote,proto3" json:"spendable_note,omitempty"` } @@ -2522,7 +2327,7 @@ func (m *NoteByCommitmentResponse) Reset() { *m = NoteByCommitmentRespon func (m *NoteByCommitmentResponse) String() string { return proto.CompactTextString(m) } func (*NoteByCommitmentResponse) ProtoMessage() {} func (*NoteByCommitmentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{38} + return fileDescriptor_0aa947b204e6a7c2, []int{35} } func (m *NoteByCommitmentResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2559,18 +2364,16 @@ func (m *NoteByCommitmentResponse) GetSpendableNote() *SpendableNoteRecord { } type SwapByCommitmentRequest struct { - SwapCommitment *v1alpha15.StateCommitment `protobuf:"bytes,2,opt,name=swap_commitment,json=swapCommitment,proto3" json:"swap_commitment,omitempty"` + SwapCommitment *v1alpha16.StateCommitment `protobuf:"bytes,2,opt,name=swap_commitment,json=swapCommitment,proto3" json:"swap_commitment,omitempty"` // If set to true, waits to return until the requested swap is detected. AwaitDetection bool `protobuf:"varint,3,opt,name=await_detection,json=awaitDetection,proto3" json:"await_detection,omitempty"` - // Identifies the wallet id to query. - WalletId *v1alpha12.WalletId `protobuf:"bytes,14,opt,name=wallet_id,json=walletId,proto3" json:"wallet_id,omitempty"` } func (m *SwapByCommitmentRequest) Reset() { *m = SwapByCommitmentRequest{} } func (m *SwapByCommitmentRequest) String() string { return proto.CompactTextString(m) } func (*SwapByCommitmentRequest) ProtoMessage() {} func (*SwapByCommitmentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{39} + return fileDescriptor_0aa947b204e6a7c2, []int{36} } func (m *SwapByCommitmentRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2599,7 +2402,7 @@ func (m *SwapByCommitmentRequest) XXX_DiscardUnknown() { var xxx_messageInfo_SwapByCommitmentRequest proto.InternalMessageInfo -func (m *SwapByCommitmentRequest) GetSwapCommitment() *v1alpha15.StateCommitment { +func (m *SwapByCommitmentRequest) GetSwapCommitment() *v1alpha16.StateCommitment { if m != nil { return m.SwapCommitment } @@ -2613,13 +2416,6 @@ func (m *SwapByCommitmentRequest) GetAwaitDetection() bool { return false } -func (m *SwapByCommitmentRequest) GetWalletId() *v1alpha12.WalletId { - if m != nil { - return m.WalletId - } - return nil -} - type SwapByCommitmentResponse struct { Swap *SwapRecord `protobuf:"bytes,1,opt,name=swap,proto3" json:"swap,omitempty"` } @@ -2628,7 +2424,7 @@ func (m *SwapByCommitmentResponse) Reset() { *m = SwapByCommitmentRespon func (m *SwapByCommitmentResponse) String() string { return proto.CompactTextString(m) } func (*SwapByCommitmentResponse) ProtoMessage() {} func (*SwapByCommitmentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{40} + return fileDescriptor_0aa947b204e6a7c2, []int{37} } func (m *SwapByCommitmentResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2665,15 +2461,13 @@ func (m *SwapByCommitmentResponse) GetSwap() *SwapRecord { } type UnclaimedSwapsRequest struct { - // Identifies the wallet id to query. - WalletId *v1alpha12.WalletId `protobuf:"bytes,1,opt,name=wallet_id,json=walletId,proto3" json:"wallet_id,omitempty"` } func (m *UnclaimedSwapsRequest) Reset() { *m = UnclaimedSwapsRequest{} } func (m *UnclaimedSwapsRequest) String() string { return proto.CompactTextString(m) } func (*UnclaimedSwapsRequest) ProtoMessage() {} func (*UnclaimedSwapsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{41} + return fileDescriptor_0aa947b204e6a7c2, []int{38} } func (m *UnclaimedSwapsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2702,13 +2496,6 @@ func (m *UnclaimedSwapsRequest) XXX_DiscardUnknown() { var xxx_messageInfo_UnclaimedSwapsRequest proto.InternalMessageInfo -func (m *UnclaimedSwapsRequest) GetWalletId() *v1alpha12.WalletId { - if m != nil { - return m.WalletId - } - return nil -} - type UnclaimedSwapsResponse struct { Swap *SwapRecord `protobuf:"bytes,1,opt,name=swap,proto3" json:"swap,omitempty"` } @@ -2717,7 +2504,7 @@ func (m *UnclaimedSwapsResponse) Reset() { *m = UnclaimedSwapsResponse{} func (m *UnclaimedSwapsResponse) String() string { return proto.CompactTextString(m) } func (*UnclaimedSwapsResponse) ProtoMessage() {} func (*UnclaimedSwapsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{42} + return fileDescriptor_0aa947b204e6a7c2, []int{39} } func (m *UnclaimedSwapsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2754,17 +2541,15 @@ func (m *UnclaimedSwapsResponse) GetSwap() *SwapRecord { } type NullifierStatusRequest struct { - Nullifier *v1alpha111.Nullifier `protobuf:"bytes,2,opt,name=nullifier,proto3" json:"nullifier,omitempty"` + Nullifier *v1alpha112.Nullifier `protobuf:"bytes,2,opt,name=nullifier,proto3" json:"nullifier,omitempty"` AwaitDetection bool `protobuf:"varint,3,opt,name=await_detection,json=awaitDetection,proto3" json:"await_detection,omitempty"` - // Identifies the wallet id to query. - WalletId *v1alpha12.WalletId `protobuf:"bytes,14,opt,name=wallet_id,json=walletId,proto3" json:"wallet_id,omitempty"` } func (m *NullifierStatusRequest) Reset() { *m = NullifierStatusRequest{} } func (m *NullifierStatusRequest) String() string { return proto.CompactTextString(m) } func (*NullifierStatusRequest) ProtoMessage() {} func (*NullifierStatusRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{43} + return fileDescriptor_0aa947b204e6a7c2, []int{40} } func (m *NullifierStatusRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2793,7 +2578,7 @@ func (m *NullifierStatusRequest) XXX_DiscardUnknown() { var xxx_messageInfo_NullifierStatusRequest proto.InternalMessageInfo -func (m *NullifierStatusRequest) GetNullifier() *v1alpha111.Nullifier { +func (m *NullifierStatusRequest) GetNullifier() *v1alpha112.Nullifier { if m != nil { return m.Nullifier } @@ -2807,13 +2592,6 @@ func (m *NullifierStatusRequest) GetAwaitDetection() bool { return false } -func (m *NullifierStatusRequest) GetWalletId() *v1alpha12.WalletId { - if m != nil { - return m.WalletId - } - return nil -} - type NullifierStatusResponse struct { Spent bool `protobuf:"varint,1,opt,name=spent,proto3" json:"spent,omitempty"` } @@ -2822,7 +2600,7 @@ func (m *NullifierStatusResponse) Reset() { *m = NullifierStatusResponse func (m *NullifierStatusResponse) String() string { return proto.CompactTextString(m) } func (*NullifierStatusResponse) ProtoMessage() {} func (*NullifierStatusResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{44} + return fileDescriptor_0aa947b204e6a7c2, []int{41} } func (m *NullifierStatusResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2860,14 +2638,14 @@ func (m *NullifierStatusResponse) GetSpent() bool { type TransactionInfoByHashRequest struct { // The transaction hash to query for. - Id *v1alpha1.Id `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + Id *v1alpha11.TransactionId `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` } func (m *TransactionInfoByHashRequest) Reset() { *m = TransactionInfoByHashRequest{} } func (m *TransactionInfoByHashRequest) String() string { return proto.CompactTextString(m) } func (*TransactionInfoByHashRequest) ProtoMessage() {} func (*TransactionInfoByHashRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{45} + return fileDescriptor_0aa947b204e6a7c2, []int{42} } func (m *TransactionInfoByHashRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2896,7 +2674,7 @@ func (m *TransactionInfoByHashRequest) XXX_DiscardUnknown() { var xxx_messageInfo_TransactionInfoByHashRequest proto.InternalMessageInfo -func (m *TransactionInfoByHashRequest) GetId() *v1alpha1.Id { +func (m *TransactionInfoByHashRequest) GetId() *v1alpha11.TransactionId { if m != nil { return m.Id } @@ -2914,7 +2692,7 @@ func (m *TransactionInfoRequest) Reset() { *m = TransactionInfoRequest{} func (m *TransactionInfoRequest) String() string { return proto.CompactTextString(m) } func (*TransactionInfoRequest) ProtoMessage() {} func (*TransactionInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{46} + return fileDescriptor_0aa947b204e6a7c2, []int{43} } func (m *TransactionInfoRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2961,7 +2739,7 @@ type TransactionInfo struct { // The height the transaction was included in a block, if known. Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` // The hash of the transaction. - Id *v1alpha1.Id `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + Id *v1alpha11.TransactionId `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // The transaction data itself. Transaction *v1alpha1.Transaction `protobuf:"bytes,3,opt,name=transaction,proto3" json:"transaction,omitempty"` // The transaction perspective, as seen by this view server. @@ -2974,7 +2752,7 @@ func (m *TransactionInfo) Reset() { *m = TransactionInfo{} } func (m *TransactionInfo) String() string { return proto.CompactTextString(m) } func (*TransactionInfo) ProtoMessage() {} func (*TransactionInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{47} + return fileDescriptor_0aa947b204e6a7c2, []int{44} } func (m *TransactionInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3010,7 +2788,7 @@ func (m *TransactionInfo) GetHeight() uint64 { return 0 } -func (m *TransactionInfo) GetId() *v1alpha1.Id { +func (m *TransactionInfo) GetId() *v1alpha11.TransactionId { if m != nil { return m.Id } @@ -3046,7 +2824,7 @@ func (m *TransactionInfoResponse) Reset() { *m = TransactionInfoResponse func (m *TransactionInfoResponse) String() string { return proto.CompactTextString(m) } func (*TransactionInfoResponse) ProtoMessage() {} func (*TransactionInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{48} + return fileDescriptor_0aa947b204e6a7c2, []int{45} } func (m *TransactionInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3090,7 +2868,7 @@ func (m *TransactionInfoByHashResponse) Reset() { *m = TransactionInfoBy func (m *TransactionInfoByHashResponse) String() string { return proto.CompactTextString(m) } func (*TransactionInfoByHashResponse) ProtoMessage() {} func (*TransactionInfoByHashResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{49} + return fileDescriptor_0aa947b204e6a7c2, []int{46} } func (m *TransactionInfoByHashResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3134,7 +2912,7 @@ func (m *NotesResponse) Reset() { *m = NotesResponse{} } func (m *NotesResponse) String() string { return proto.CompactTextString(m) } func (*NotesResponse) ProtoMessage() {} func (*NotesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{50} + return fileDescriptor_0aa947b204e6a7c2, []int{47} } func (m *NotesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3172,14 +2950,14 @@ func (m *NotesResponse) GetNoteRecord() *SpendableNoteRecord { type NotesForVotingResponse struct { NoteRecord *SpendableNoteRecord `protobuf:"bytes,1,opt,name=note_record,json=noteRecord,proto3" json:"note_record,omitempty"` - IdentityKey *v1alpha12.IdentityKey `protobuf:"bytes,2,opt,name=identity_key,json=identityKey,proto3" json:"identity_key,omitempty"` + IdentityKey *v1alpha13.IdentityKey `protobuf:"bytes,2,opt,name=identity_key,json=identityKey,proto3" json:"identity_key,omitempty"` } func (m *NotesForVotingResponse) Reset() { *m = NotesForVotingResponse{} } func (m *NotesForVotingResponse) String() string { return proto.CompactTextString(m) } func (*NotesForVotingResponse) ProtoMessage() {} func (*NotesForVotingResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{51} + return fileDescriptor_0aa947b204e6a7c2, []int{48} } func (m *NotesForVotingResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3215,7 +2993,7 @@ func (m *NotesForVotingResponse) GetNoteRecord() *SpendableNoteRecord { return nil } -func (m *NotesForVotingResponse) GetIdentityKey() *v1alpha12.IdentityKey { +func (m *NotesForVotingResponse) GetIdentityKey() *v1alpha13.IdentityKey { if m != nil { return m.IdentityKey } @@ -3225,28 +3003,28 @@ func (m *NotesForVotingResponse) GetIdentityKey() *v1alpha12.IdentityKey { // A note plaintext with associated metadata about its status. type SpendableNoteRecord struct { // The note commitment, identifying the note. - NoteCommitment *v1alpha15.StateCommitment `protobuf:"bytes,1,opt,name=note_commitment,json=noteCommitment,proto3" json:"note_commitment,omitempty"` + NoteCommitment *v1alpha16.StateCommitment `protobuf:"bytes,1,opt,name=note_commitment,json=noteCommitment,proto3" json:"note_commitment,omitempty"` // The note plaintext itself. - Note *v1alpha112.Note `protobuf:"bytes,2,opt,name=note,proto3" json:"note,omitempty"` + Note *v1alpha113.Note `protobuf:"bytes,2,opt,name=note,proto3" json:"note,omitempty"` // A precomputed decryption of the note's address incore.component.dex.v1alpha1. - AddressIndex *v1alpha12.AddressIndex `protobuf:"bytes,3,opt,name=address_index,json=addressIndex,proto3" json:"address_index,omitempty"` + AddressIndex *v1alpha13.AddressIndex `protobuf:"bytes,3,opt,name=address_index,json=addressIndex,proto3" json:"address_index,omitempty"` // The note's nullifier. - Nullifier *v1alpha111.Nullifier `protobuf:"bytes,4,opt,name=nullifier,proto3" json:"nullifier,omitempty"` + Nullifier *v1alpha112.Nullifier `protobuf:"bytes,4,opt,name=nullifier,proto3" json:"nullifier,omitempty"` // The height at which the note was created. HeightCreated uint64 `protobuf:"varint,5,opt,name=height_created,json=heightCreated,proto3" json:"height_created,omitempty"` // Records whether the note was spent (and if so, at what height). HeightSpent uint64 `protobuf:"varint,6,opt,name=height_spent,json=heightSpent,proto3" json:"height_spent,omitempty"` // The note position. Position uint64 `protobuf:"varint,7,opt,name=position,proto3" json:"position,omitempty"` - // The source of the note (a tx hash or otherwise) - Source *v1alpha110.NoteSource `protobuf:"bytes,8,opt,name=source,proto3" json:"source,omitempty"` + // The source of the note + Source *v1alpha112.CommitmentSource `protobuf:"bytes,8,opt,name=source,proto3" json:"source,omitempty"` } func (m *SpendableNoteRecord) Reset() { *m = SpendableNoteRecord{} } func (m *SpendableNoteRecord) String() string { return proto.CompactTextString(m) } func (*SpendableNoteRecord) ProtoMessage() {} func (*SpendableNoteRecord) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{52} + return fileDescriptor_0aa947b204e6a7c2, []int{49} } func (m *SpendableNoteRecord) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3275,28 +3053,28 @@ func (m *SpendableNoteRecord) XXX_DiscardUnknown() { var xxx_messageInfo_SpendableNoteRecord proto.InternalMessageInfo -func (m *SpendableNoteRecord) GetNoteCommitment() *v1alpha15.StateCommitment { +func (m *SpendableNoteRecord) GetNoteCommitment() *v1alpha16.StateCommitment { if m != nil { return m.NoteCommitment } return nil } -func (m *SpendableNoteRecord) GetNote() *v1alpha112.Note { +func (m *SpendableNoteRecord) GetNote() *v1alpha113.Note { if m != nil { return m.Note } return nil } -func (m *SpendableNoteRecord) GetAddressIndex() *v1alpha12.AddressIndex { +func (m *SpendableNoteRecord) GetAddressIndex() *v1alpha13.AddressIndex { if m != nil { return m.AddressIndex } return nil } -func (m *SpendableNoteRecord) GetNullifier() *v1alpha111.Nullifier { +func (m *SpendableNoteRecord) GetNullifier() *v1alpha112.Nullifier { if m != nil { return m.Nullifier } @@ -3324,7 +3102,7 @@ func (m *SpendableNoteRecord) GetPosition() uint64 { return 0 } -func (m *SpendableNoteRecord) GetSource() *v1alpha110.NoteSource { +func (m *SpendableNoteRecord) GetSource() *v1alpha112.CommitmentSource { if m != nil { return m.Source } @@ -3332,20 +3110,20 @@ func (m *SpendableNoteRecord) GetSource() *v1alpha110.NoteSource { } type SwapRecord struct { - SwapCommitment *v1alpha15.StateCommitment `protobuf:"bytes,1,opt,name=swap_commitment,json=swapCommitment,proto3" json:"swap_commitment,omitempty"` - Swap *v1alpha18.SwapPlaintext `protobuf:"bytes,2,opt,name=swap,proto3" json:"swap,omitempty"` + SwapCommitment *v1alpha16.StateCommitment `protobuf:"bytes,1,opt,name=swap_commitment,json=swapCommitment,proto3" json:"swap_commitment,omitempty"` + Swap *v1alpha19.SwapPlaintext `protobuf:"bytes,2,opt,name=swap,proto3" json:"swap,omitempty"` Position uint64 `protobuf:"varint,3,opt,name=position,proto3" json:"position,omitempty"` - Nullifier *v1alpha111.Nullifier `protobuf:"bytes,4,opt,name=nullifier,proto3" json:"nullifier,omitempty"` - OutputData *v1alpha18.BatchSwapOutputData `protobuf:"bytes,5,opt,name=output_data,json=outputData,proto3" json:"output_data,omitempty"` + Nullifier *v1alpha112.Nullifier `protobuf:"bytes,4,opt,name=nullifier,proto3" json:"nullifier,omitempty"` + OutputData *v1alpha19.BatchSwapOutputData `protobuf:"bytes,5,opt,name=output_data,json=outputData,proto3" json:"output_data,omitempty"` HeightClaimed uint64 `protobuf:"varint,6,opt,name=height_claimed,json=heightClaimed,proto3" json:"height_claimed,omitempty"` - Source *v1alpha110.NoteSource `protobuf:"bytes,7,opt,name=source,proto3" json:"source,omitempty"` + Source *v1alpha112.CommitmentSource `protobuf:"bytes,7,opt,name=source,proto3" json:"source,omitempty"` } func (m *SwapRecord) Reset() { *m = SwapRecord{} } func (m *SwapRecord) String() string { return proto.CompactTextString(m) } func (*SwapRecord) ProtoMessage() {} func (*SwapRecord) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{53} + return fileDescriptor_0aa947b204e6a7c2, []int{50} } func (m *SwapRecord) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3374,14 +3152,14 @@ func (m *SwapRecord) XXX_DiscardUnknown() { var xxx_messageInfo_SwapRecord proto.InternalMessageInfo -func (m *SwapRecord) GetSwapCommitment() *v1alpha15.StateCommitment { +func (m *SwapRecord) GetSwapCommitment() *v1alpha16.StateCommitment { if m != nil { return m.SwapCommitment } return nil } -func (m *SwapRecord) GetSwap() *v1alpha18.SwapPlaintext { +func (m *SwapRecord) GetSwap() *v1alpha19.SwapPlaintext { if m != nil { return m.Swap } @@ -3395,14 +3173,14 @@ func (m *SwapRecord) GetPosition() uint64 { return 0 } -func (m *SwapRecord) GetNullifier() *v1alpha111.Nullifier { +func (m *SwapRecord) GetNullifier() *v1alpha112.Nullifier { if m != nil { return m.Nullifier } return nil } -func (m *SwapRecord) GetOutputData() *v1alpha18.BatchSwapOutputData { +func (m *SwapRecord) GetOutputData() *v1alpha19.BatchSwapOutputData { if m != nil { return m.OutputData } @@ -3416,7 +3194,7 @@ func (m *SwapRecord) GetHeightClaimed() uint64 { return 0 } -func (m *SwapRecord) GetSource() *v1alpha110.NoteSource { +func (m *SwapRecord) GetSource() *v1alpha112.CommitmentSource { if m != nil { return m.Source } @@ -3425,16 +3203,16 @@ func (m *SwapRecord) GetSource() *v1alpha110.NoteSource { type OwnedPositionIdsRequest struct { // If present, return only positions with this position state. - PositionState *v1alpha18.PositionState `protobuf:"bytes,1,opt,name=position_state,json=positionState,proto3" json:"position_state,omitempty"` + PositionState *v1alpha19.PositionState `protobuf:"bytes,1,opt,name=position_state,json=positionState,proto3" json:"position_state,omitempty"` // If present, return only positions for this trading pair. - TradingPair *v1alpha18.TradingPair `protobuf:"bytes,2,opt,name=trading_pair,json=tradingPair,proto3" json:"trading_pair,omitempty"` + TradingPair *v1alpha19.TradingPair `protobuf:"bytes,2,opt,name=trading_pair,json=tradingPair,proto3" json:"trading_pair,omitempty"` } func (m *OwnedPositionIdsRequest) Reset() { *m = OwnedPositionIdsRequest{} } func (m *OwnedPositionIdsRequest) String() string { return proto.CompactTextString(m) } func (*OwnedPositionIdsRequest) ProtoMessage() {} func (*OwnedPositionIdsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{54} + return fileDescriptor_0aa947b204e6a7c2, []int{51} } func (m *OwnedPositionIdsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3463,14 +3241,14 @@ func (m *OwnedPositionIdsRequest) XXX_DiscardUnknown() { var xxx_messageInfo_OwnedPositionIdsRequest proto.InternalMessageInfo -func (m *OwnedPositionIdsRequest) GetPositionState() *v1alpha18.PositionState { +func (m *OwnedPositionIdsRequest) GetPositionState() *v1alpha19.PositionState { if m != nil { return m.PositionState } return nil } -func (m *OwnedPositionIdsRequest) GetTradingPair() *v1alpha18.TradingPair { +func (m *OwnedPositionIdsRequest) GetTradingPair() *v1alpha19.TradingPair { if m != nil { return m.TradingPair } @@ -3478,14 +3256,14 @@ func (m *OwnedPositionIdsRequest) GetTradingPair() *v1alpha18.TradingPair { } type OwnedPositionIdsResponse struct { - PositionId *v1alpha18.PositionId `protobuf:"bytes,1,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` + PositionId *v1alpha19.PositionId `protobuf:"bytes,1,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` } func (m *OwnedPositionIdsResponse) Reset() { *m = OwnedPositionIdsResponse{} } func (m *OwnedPositionIdsResponse) String() string { return proto.CompactTextString(m) } func (*OwnedPositionIdsResponse) ProtoMessage() {} func (*OwnedPositionIdsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0aa947b204e6a7c2, []int{55} + return fileDescriptor_0aa947b204e6a7c2, []int{52} } func (m *OwnedPositionIdsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3514,7 +3292,7 @@ func (m *OwnedPositionIdsResponse) XXX_DiscardUnknown() { var xxx_messageInfo_OwnedPositionIdsResponse proto.InternalMessageInfo -func (m *OwnedPositionIdsResponse) GetPositionId() *v1alpha18.PositionId { +func (m *OwnedPositionIdsResponse) GetPositionId() *v1alpha19.PositionId { if m != nil { return m.PositionId } @@ -3546,9 +3324,6 @@ func init() { proto.RegisterType((*EphemeralAddressResponse)(nil), "penumbra.view.v1alpha1.EphemeralAddressResponse") proto.RegisterType((*BalancesRequest)(nil), "penumbra.view.v1alpha1.BalancesRequest") proto.RegisterType((*BalancesResponse)(nil), "penumbra.view.v1alpha1.BalancesResponse") - proto.RegisterType((*ViewAuthToken)(nil), "penumbra.view.v1alpha1.ViewAuthToken") - proto.RegisterType((*ViewAuthRequest)(nil), "penumbra.view.v1alpha1.ViewAuthRequest") - proto.RegisterType((*ViewAuthResponse)(nil), "penumbra.view.v1alpha1.ViewAuthResponse") proto.RegisterType((*StatusRequest)(nil), "penumbra.view.v1alpha1.StatusRequest") proto.RegisterType((*StatusResponse)(nil), "penumbra.view.v1alpha1.StatusResponse") proto.RegisterType((*StatusStreamRequest)(nil), "penumbra.view.v1alpha1.StatusStreamRequest") @@ -3591,219 +3366,211 @@ func init() { func init() { proto.RegisterFile("penumbra/view/v1alpha1/view.proto", fileDescriptor_0aa947b204e6a7c2) } var fileDescriptor_0aa947b204e6a7c2 = []byte{ - // 3392 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x5b, 0xcd, 0x6f, 0x1c, 0xc7, - 0xb1, 0xf7, 0x2c, 0x29, 0x7e, 0x14, 0xb9, 0x5c, 0x72, 0x24, 0x52, 0xab, 0x7d, 0x36, 0x6d, 0x8f, - 0x2d, 0x99, 0x7e, 0x7e, 0x5e, 0x52, 0xb4, 0x6c, 0xd8, 0x94, 0xed, 0x67, 0x52, 0xb2, 0x24, 0x5a, - 0x96, 0xc4, 0x37, 0x94, 0x28, 0x9b, 0x96, 0xdf, 0xa4, 0x39, 0xd3, 0x24, 0x07, 0x9c, 0x9d, 0x19, - 0xcd, 0xf4, 0x72, 0xc9, 0xe4, 0x64, 0x24, 0x40, 0x82, 0x04, 0x09, 0x82, 0x04, 0x31, 0x90, 0x6b, - 0x8e, 0xf1, 0x2d, 0xf9, 0x27, 0x82, 0xe4, 0xe2, 0x43, 0x82, 0x04, 0x08, 0x60, 0x18, 0xf2, 0x21, - 0x40, 0x0e, 0xf9, 0x1b, 0x82, 0xfe, 0x9a, 0xaf, 0xdd, 0x16, 0x77, 0xc9, 0x95, 0x0f, 0x39, 0x71, - 0xbb, 0xa7, 0xea, 0x57, 0x1f, 0xdd, 0x5d, 0x5d, 0x5d, 0xdd, 0x84, 0xe7, 0x43, 0xec, 0x37, 0x1b, - 0x5b, 0x11, 0x9a, 0xdf, 0x77, 0x71, 0x6b, 0x7e, 0xff, 0x22, 0xf2, 0xc2, 0x5d, 0x74, 0x91, 0xb5, - 0xea, 0x61, 0x14, 0x90, 0x40, 0x9f, 0x91, 0x24, 0x75, 0xd6, 0x29, 0x49, 0x6a, 0x2f, 0x26, 0xac, - 0x76, 0x10, 0xe1, 0x79, 0x14, 0x86, 0x29, 0x3b, 0x0a, 0x43, 0xce, 0x5d, 0x9b, 0x2b, 0x50, 0xc5, - 0x31, 0x26, 0x19, 0x3a, 0xda, 0x14, 0x94, 0x8b, 0x79, 0x4a, 0x3b, 0x68, 0x84, 0x81, 0x8f, 0x7d, - 0x32, 0x6f, 0xef, 0x22, 0xd7, 0x4f, 0x79, 0x58, 0x53, 0xf0, 0xd4, 0x55, 0x3c, 0x0e, 0x3e, 0x48, - 0x39, 0x1c, 0x7c, 0x70, 0x14, 0xfd, 0x36, 0xc6, 0x29, 0xfd, 0x36, 0xc6, 0x47, 0xd1, 0xbb, 0x5b, - 0x76, 0x4a, 0xef, 0x6e, 0xd9, 0x47, 0xd1, 0xc7, 0x76, 0xc6, 0xea, 0xd8, 0x96, 0x36, 0xaf, 0x28, - 0xe9, 0x77, 0x5d, 0xec, 0x39, 0xd8, 0xb1, 0xc2, 0x20, 0xf0, 0x32, 0x9c,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xfa, 0xda, 0x8a, 0xbc, 0x27, 0xfb, - 0x67, 0xa9, 0x2a, 0x89, 0x96, 0x96, 0x28, 0xd5, 0xd2, 0x92, 0x24, 0xdb, 0x1a, 0x62, 0xff, 0x26, - 0xf6, 0xda, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x64, 0x61, 0x85, 0xef, 0xcb, 0x38, 0x00, 0x00, + // 3262 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x3b, 0x5b, 0x53, 0x1c, 0xc7, + 0xd5, 0x9e, 0x05, 0x71, 0x39, 0xb0, 0x2c, 0x8c, 0x04, 0xac, 0xf6, 0xb3, 0xb1, 0x3d, 0xb6, 0x6c, + 0x7c, 0x5b, 0x10, 0x96, 0x5d, 0x36, 0xbe, 0x7c, 0x66, 0x25, 0x4b, 0xc2, 0xb6, 0x24, 0xbe, 0x41, + 0x42, 0xfe, 0xf8, 0xe4, 0x6f, 0xd2, 0xcc, 0x34, 0xec, 0x94, 0x66, 0x67, 0x46, 0x33, 0xbd, 0x2c, + 0x24, 0x4f, 0xa9, 0xa4, 0xca, 0x55, 0x49, 0x1e, 0x9c, 0xb8, 0xe2, 0xaa, 0xe4, 0x31, 0x8f, 0xf1, + 0x5b, 0xf2, 0x27, 0x12, 0xe7, 0xc5, 0x8f, 0x79, 0x4a, 0x39, 0xf2, 0x5b, 0x52, 0x95, 0xdf, 0x90, + 0xea, 0xdb, 0xdc, 0x76, 0x5b, 0xec, 0x02, 0x7a, 0xc9, 0x13, 0xd3, 0xa7, 0xcf, 0xbd, 0xbb, 0x4f, + 0x9f, 0x3e, 0x67, 0x81, 0x67, 0x43, 0xec, 0xb7, 0x5b, 0x3b, 0x11, 0x5a, 0xda, 0x77, 0x71, 0x67, + 0x69, 0xff, 0x22, 0xf2, 0xc2, 0x26, 0xba, 0xc8, 0x46, 0xf5, 0x30, 0x0a, 0x48, 0xa0,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xbd, 0x26, 0x61, 0x8a, 0x0c, 0x9b, + 0x95, 0x04, 0x7e, 0x9d, 0x81, 0x8d, 0x3f, 0x9f, 0x85, 0xf3, 0x85, 0x0d, 0xe2, 0xe3, 0x48, 0xfa, + 0xe8, 0x39, 0x28, 0xe3, 0x83, 0xd0, 0x8d, 0x0e, 0x25, 0x17, 0x8d, 0x71, 0x99, 0xe4, 0x40, 0xce, + 0x42, 0x7f, 0x07, 0x86, 0x76, 0x31, 0x16, 0xfb, 0xe5, 0xa5, 0x82, 0xb2, 0xc9, 0xa9, 0xae, 0xd3, + 0xe0, 0x94, 0xe8, 0x7c, 0x15, 0x63, 0x93, 0x52, 0xe9, 0x1f, 0xc2, 0x70, 0x0b, 0xb7, 0x82, 0xea, + 0x10, 0xa3, 0xbe, 0xd8, 0x8f, 0xfb, 0x6f, 0xe0, 0x56, 0xb0, 0xe1, 0x21, 0xd7, 0x27, 0xf8, 0x80, + 0x98, 0x8c, 0x5c, 0x5f, 0x83, 0x91, 0x38, 0x68, 0x47, 0x36, 0xae, 0x0e, 0xf7, 0x54, 0x83, 0x85, + 0x86, 0x74, 0xbf, 0x3a, 0x4e, 0x84, 0xe3, 0x78, 0xdd, 0x77, 0xf0, 0x81, 0x29, 0x08, 0x75, 0x13, + 0x46, 0x83, 0x36, 0x09, 0xdb, 0x24, 0xae, 0x9e, 0x7b, 0x66, 0x68, 0x71, 0x62, 0xe5, 0xad, 0x7a, + 0xef, 0x0b, 0xa4, 0xae, 0xf4, 0x57, 0xfd, 0x16, 0x63, 0x60, 0x4a, 0x46, 0xfa, 0x27, 0x70, 0x26, + 0xee, 0xa0, 0x30, 0xae, 0x2e, 0x30, 0x8e, 0x6f, 0x0e, 0xce, 0x71, 0xb3, 0x83, 0x42, 0x93, 0x33, + 0xd1, 0xef, 0xc1, 0x04, 0xfd, 0xb0, 0x6c, 0x0f, 0xb9, 0xad, 0xb8, 0xfa, 0x34, 0xe3, 0xf9, 0xce, + 0xf1, 0x78, 0x5e,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0x11, 0xcc, 0x93, 0x21, 0xee, 0xbb, 0x65, 0xa5, 0xef, 0x78, 0x8e, 0x9a, 0xb0, 0x32, 0x11, 0xc1, + 0x2c, 0x0f, 0x1a, 0x8b, 0xc4, 0x57, 0xed, 0x2b, 0x0d, 0x20, 0x0d, 0x5d, 0x27, 0xd9, 0x18, 0x39, + 0xc5, 0x4a, 0x27, 0x56, 0x6c, 0x1b, 0x26, 0xb3, 0xd1, 0x42, 0xff, 0x08, 0xc6, 0xe4, 0xb1, 0x12, + 0xca, 0xa9, 0x83, 0x27, 0x7d, 0xa0, 0x24, 0xbc, 0x25, 0x17, 0x33, 0xa1, 0xaf, 0xed, 0x40, 0x39, + 0x17, 0x21, 0x68, 0xd2, 0x95, 0x44, 0x84, 0x24, 0xc1, 0x59, 0x1e, 0x8c, 0xff, 0xba, 0x63, 0x42, + 0x98, 0x7c, 0xd7, 0x3e, 0x2f, 0xc1, 0x74, 0x31, 0x32, 0x3c, 0x06, 0x39, 0xd4, 0x2f, 0x11, 0x8e, + 0x71, 0xb4, 0x8f, 0x65, 0x50, 0xe8, 0xd3, 0x2f, 0xa6, 0xa0, 0x32, 0x13, 0x7a, 0xfd, 0x36, 0x4c, + 0x92, 0x08, 0x39, 0xae, 0xbf, 0x67, 0x85, 0xc8, 0x8d, 0x14, 0xd9, 0x8f, 0x82, 0xdf, 0x6d, 0x4e, + 0xb9, 0x81, 0xdc, 0x88, 0xa5, 0x9f, 0x72, 0x60, 0x60, 0xa8, 0xf5, 0x0a, 0x9e, 0x22, 0xa5, 0xbc, + 0x06, 0xc3, 0x27, 0x7d, 0x39, 0x30, 0x06, 0xc6, 0x1e, 0xcc, 0x8a, 0x13, 0xdd, 0x38, 0xe4, 0x29, + 0x94, 0xc8, 0x16, 0x6f, 0x42, 0x59, 0x04, 0x09, 0xcb, 0xa5, 0x70, 0x21, 0x6a, 0x80, 0x5c, 0x6c, + 0x12, 0x65, 0x46, 0xc6, 0xa7, 0x30, 0x57, 0x14, 0x24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 0xce, 0x08, 0xfb, 0xe7, 0x92, 0xd7, + 0xff, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xeb, 0x61, 0x26, 0xe8, 0x2d, 0x35, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -5035,78 +4802,6 @@ var _ViewProtocolService_serviceDesc = grpc.ServiceDesc{ Metadata: "penumbra/view/v1alpha1/view.proto", } -// ViewAuthServiceClient is the client API for ViewAuthService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ViewAuthServiceClient interface { - ViewAuth(ctx context.Context, in *ViewAuthRequest, opts ...grpc.CallOption) (*ViewAuthResponse, error) -} - -type viewAuthServiceClient struct { - cc grpc1.ClientConn -} - -func NewViewAuthServiceClient(cc grpc1.ClientConn) ViewAuthServiceClient { - return &viewAuthServiceClient{cc} -} - -func (c *viewAuthServiceClient) ViewAuth(ctx context.Context, in *ViewAuthRequest, opts ...grpc.CallOption) (*ViewAuthResponse, error) { - out := new(ViewAuthResponse) - err := c.cc.Invoke(ctx, "/penumbra.view.v1alpha1.ViewAuthService/ViewAuth", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ViewAuthServiceServer is the server API for ViewAuthService service. -type ViewAuthServiceServer interface { - ViewAuth(context.Context, *ViewAuthRequest) (*ViewAuthResponse, error) -} - -// UnimplementedViewAuthServiceServer can be embedded to have forward compatible implementations. -type UnimplementedViewAuthServiceServer struct { -} - -func (*UnimplementedViewAuthServiceServer) ViewAuth(ctx context.Context, req *ViewAuthRequest) (*ViewAuthResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ViewAuth not implemented") -} - -func RegisterViewAuthServiceServer(s grpc1.Server, srv ViewAuthServiceServer) { - s.RegisterService(&_ViewAuthService_serviceDesc, srv) -} - -func _ViewAuthService_ViewAuth_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ViewAuthRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ViewAuthServiceServer).ViewAuth(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/penumbra.view.v1alpha1.ViewAuthService/ViewAuth", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ViewAuthServiceServer).ViewAuth(ctx, req.(*ViewAuthRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _ViewAuthService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "penumbra.view.v1alpha1.ViewAuthService", - HandlerType: (*ViewAuthServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ViewAuth", - Handler: _ViewAuthService_ViewAuth_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "penumbra/view/v1alpha1/view.proto", -} - func (m *AuthorizeAndBuildRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -5454,18 +5149,6 @@ func (m *TransactionPlannerRequest) MarshalToSizedBuffer(dAtA []byte) (int, erro dAtA[i] = 0xa2 } } - if m.WalletId != nil { - { - size, err := m.WalletId.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintView(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x72 - } if m.Source != nil { { size, err := m.Source.MarshalToSizedBuffer(dAtA[:i]) @@ -6293,106 +5976,6 @@ func (m *BalancesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *ViewAuthToken) 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 *ViewAuthToken) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ViewAuthToken) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Inner) > 0 { - i -= len(m.Inner) - copy(dAtA[i:], m.Inner) - i = encodeVarintView(dAtA, i, uint64(len(m.Inner))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ViewAuthRequest) 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 *ViewAuthRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ViewAuthRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Fvk != nil { - { - size, err := m.Fvk.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintView(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ViewAuthResponse) 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 *ViewAuthResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ViewAuthResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Token != nil { - { - size, err := m.Token.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintView(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - func (m *StatusRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -6413,18 +5996,6 @@ func (m *StatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if m.WalletId != nil { - { - size, err := m.WalletId.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintView(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x72 - } return len(dAtA) - i, nil } @@ -6491,18 +6062,6 @@ func (m *StatusStreamRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if m.WalletId != nil { - { - size, err := m.WalletId.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintView(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x72 - } return len(dAtA) - i, nil } @@ -6564,18 +6123,6 @@ func (m *NotesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if m.WalletId != nil { - { - size, err := m.WalletId.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintView(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x72 - } if m.AmountToSpend != nil { { size, err := m.AmountToSpend.MarshalToSizedBuffer(dAtA[:i]) @@ -6645,18 +6192,6 @@ func (m *NotesForVotingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if m.WalletId != nil { - { - size, err := m.WalletId.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintView(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x72 - } if m.AddressIndex != nil { { size, err := m.AddressIndex.MarshalToSizedBuffer(dAtA[:i]) @@ -6697,18 +6232,6 @@ func (m *WitnessRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if m.WalletId != nil { - { - size, err := m.WalletId.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintView(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x72 - } if m.TransactionPlan != nil { { size, err := m.TransactionPlan.MarshalToSizedBuffer(dAtA[:i]) @@ -7181,18 +6704,6 @@ func (m *NoteByCommitmentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) _ = i var l int _ = l - if m.WalletId != nil { - { - size, err := m.WalletId.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintView(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x72 - } if m.AwaitDetection { i-- if m.AwaitDetection { @@ -7273,18 +6784,6 @@ func (m *SwapByCommitmentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) _ = i var l int _ = l - if m.WalletId != nil { - { - size, err := m.WalletId.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintView(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x72 - } if m.AwaitDetection { i-- if m.AwaitDetection { @@ -7365,18 +6864,6 @@ func (m *UnclaimedSwapsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if m.WalletId != nil { - { - size, err := m.WalletId.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintView(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } return len(dAtA) - i, nil } @@ -7435,18 +6922,6 @@ func (m *NullifierStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) _ = i var l int _ = l - if m.WalletId != nil { - { - size, err := m.WalletId.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintView(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x72 - } if m.AwaitDetection { i-- if m.AwaitDetection { @@ -8168,10 +7643,6 @@ func (m *TransactionPlannerRequest) Size() (n int) { l = m.Source.Size() n += 1 + l + sovView(uint64(l)) } - if m.WalletId != nil { - l = m.WalletId.Size() - n += 1 + l + sovView(uint64(l)) - } if len(m.Outputs) > 0 { for _, e := range m.Outputs { l = e.Size() @@ -8521,55 +7992,12 @@ func (m *BalancesResponse) Size() (n int) { return n } -func (m *ViewAuthToken) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Inner) - if l > 0 { - n += 1 + l + sovView(uint64(l)) - } - return n -} - -func (m *ViewAuthRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Fvk != nil { - l = m.Fvk.Size() - n += 1 + l + sovView(uint64(l)) - } - return n -} - -func (m *ViewAuthResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Token != nil { - l = m.Token.Size() - n += 1 + l + sovView(uint64(l)) - } - return n -} - func (m *StatusRequest) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.WalletId != nil { - l = m.WalletId.Size() - n += 1 + l + sovView(uint64(l)) - } return n } @@ -8597,10 +8025,6 @@ func (m *StatusStreamRequest) Size() (n int) { } var l int _ = l - if m.WalletId != nil { - l = m.WalletId.Size() - n += 1 + l + sovView(uint64(l)) - } return n } @@ -8643,10 +8067,6 @@ func (m *NotesRequest) Size() (n int) { l = m.AmountToSpend.Size() n += 1 + l + sovView(uint64(l)) } - if m.WalletId != nil { - l = m.WalletId.Size() - n += 1 + l + sovView(uint64(l)) - } return n } @@ -8663,10 +8083,6 @@ func (m *NotesForVotingRequest) Size() (n int) { l = m.AddressIndex.Size() n += 1 + l + sovView(uint64(l)) } - if m.WalletId != nil { - l = m.WalletId.Size() - n += 1 + l + sovView(uint64(l)) - } return n } @@ -8686,10 +8102,6 @@ func (m *WitnessRequest) Size() (n int) { l = m.TransactionPlan.Size() n += 1 + l + sovView(uint64(l)) } - if m.WalletId != nil { - l = m.WalletId.Size() - n += 1 + l + sovView(uint64(l)) - } return n } @@ -8861,10 +8273,6 @@ func (m *NoteByCommitmentRequest) Size() (n int) { if m.AwaitDetection { n += 2 } - if m.WalletId != nil { - l = m.WalletId.Size() - n += 1 + l + sovView(uint64(l)) - } return n } @@ -8894,10 +8302,6 @@ func (m *SwapByCommitmentRequest) Size() (n int) { if m.AwaitDetection { n += 2 } - if m.WalletId != nil { - l = m.WalletId.Size() - n += 1 + l + sovView(uint64(l)) - } return n } @@ -8920,10 +8324,6 @@ func (m *UnclaimedSwapsRequest) Size() (n int) { } var l int _ = l - if m.WalletId != nil { - l = m.WalletId.Size() - n += 1 + l + sovView(uint64(l)) - } return n } @@ -8953,10 +8353,6 @@ func (m *NullifierStatusRequest) Size() (n int) { if m.AwaitDetection { n += 2 } - if m.WalletId != nil { - l = m.WalletId.Size() - n += 1 + l + sovView(uint64(l)) - } return n } @@ -9566,7 +8962,7 @@ func (m *BroadcastTransactionResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Id == nil { - m.Id = &v1alpha1.Id{} + m.Id = &v1alpha11.TransactionId{} } if err := m.Id.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -9690,7 +9086,7 @@ func (m *TransactionPlannerRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Fee == nil { - m.Fee = &v1alpha11.Fee{} + m.Fee = &v1alpha12.Fee{} } if err := m.Fee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -9762,48 +9158,12 @@ func (m *TransactionPlannerRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Source == nil { - m.Source = &v1alpha12.AddressIndex{} + m.Source = &v1alpha13.AddressIndex{} } if err := m.Source.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 14: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field WalletId", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowView - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthView - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthView - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.WalletId == nil { - m.WalletId = &v1alpha12.WalletId{} - } - if err := m.WalletId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex case 20: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Outputs", wireType) @@ -10003,7 +9363,7 @@ func (m *TransactionPlannerRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.IbcRelayActions = append(m.IbcRelayActions, &v1alpha13.IbcRelay{}) + m.IbcRelayActions = append(m.IbcRelayActions, &v1alpha14.IbcRelay{}) if err := m.IbcRelayActions[len(m.IbcRelayActions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -10037,7 +9397,7 @@ func (m *TransactionPlannerRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Ics20Withdrawals = append(m.Ics20Withdrawals, &v1alpha13.Ics20Withdrawal{}) + m.Ics20Withdrawals = append(m.Ics20Withdrawals, &v1alpha14.Ics20Withdrawal{}) if err := m.Ics20Withdrawals[len(m.Ics20Withdrawals)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -10224,7 +9584,7 @@ func (m *TransactionPlannerRequest_Output) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Value == nil { - m.Value = &v1alpha14.Value{} + m.Value = &v1alpha15.Value{} } if err := m.Value.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -10260,7 +9620,7 @@ func (m *TransactionPlannerRequest_Output) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Address == nil { - m.Address = &v1alpha12.Address{} + m.Address = &v1alpha13.Address{} } if err := m.Address.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -10346,7 +9706,7 @@ func (m *TransactionPlannerRequest_Swap) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Value == nil { - m.Value = &v1alpha14.Value{} + m.Value = &v1alpha15.Value{} } if err := m.Value.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -10382,7 +9742,7 @@ func (m *TransactionPlannerRequest_Swap) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.TargetAsset == nil { - m.TargetAsset = &v1alpha14.AssetId{} + m.TargetAsset = &v1alpha15.AssetId{} } if err := m.TargetAsset.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -10418,7 +9778,7 @@ func (m *TransactionPlannerRequest_Swap) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Fee == nil { - m.Fee = &v1alpha11.Fee{} + m.Fee = &v1alpha12.Fee{} } if err := m.Fee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -10454,7 +9814,7 @@ func (m *TransactionPlannerRequest_Swap) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.ClaimAddress == nil { - m.ClaimAddress = &v1alpha12.Address{} + m.ClaimAddress = &v1alpha13.Address{} } if err := m.ClaimAddress.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -10540,7 +9900,7 @@ func (m *TransactionPlannerRequest_SwapClaim) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.SwapCommitment == nil { - m.SwapCommitment = &v1alpha15.StateCommitment{} + m.SwapCommitment = &v1alpha16.StateCommitment{} } if err := m.SwapCommitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -10626,7 +9986,7 @@ func (m *TransactionPlannerRequest_Delegate) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Amount == nil { - m.Amount = &v1alpha16.Amount{} + m.Amount = &v1alpha17.Amount{} } if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -10662,7 +10022,7 @@ func (m *TransactionPlannerRequest_Delegate) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.RateData == nil { - m.RateData = &v1alpha17.RateData{} + m.RateData = &v1alpha18.RateData{} } if err := m.RateData.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -10748,7 +10108,7 @@ func (m *TransactionPlannerRequest_Undelegate) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Value == nil { - m.Value = &v1alpha14.Value{} + m.Value = &v1alpha15.Value{} } if err := m.Value.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -10784,7 +10144,7 @@ func (m *TransactionPlannerRequest_Undelegate) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.RateData == nil { - m.RateData = &v1alpha17.RateData{} + m.RateData = &v1alpha18.RateData{} } if err := m.RateData.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -10870,7 +10230,7 @@ func (m *TransactionPlannerRequest_PositionOpen) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Position == nil { - m.Position = &v1alpha18.Position{} + m.Position = &v1alpha19.Position{} } if err := m.Position.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -10956,7 +10316,7 @@ func (m *TransactionPlannerRequest_PositionClose) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.PositionId == nil { - m.PositionId = &v1alpha18.PositionId{} + m.PositionId = &v1alpha19.PositionId{} } if err := m.PositionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -11042,7 +10402,7 @@ func (m *TransactionPlannerRequest_PositionWithdraw) Unmarshal(dAtA []byte) erro return io.ErrUnexpectedEOF } if m.PositionId == nil { - m.PositionId = &v1alpha18.PositionId{} + m.PositionId = &v1alpha19.PositionId{} } if err := m.PositionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -11078,7 +10438,7 @@ func (m *TransactionPlannerRequest_PositionWithdraw) Unmarshal(dAtA []byte) erro return io.ErrUnexpectedEOF } if m.Reserves == nil { - m.Reserves = &v1alpha18.Reserves{} + m.Reserves = &v1alpha19.Reserves{} } if err := m.Reserves.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -11114,7 +10474,7 @@ func (m *TransactionPlannerRequest_PositionWithdraw) Unmarshal(dAtA []byte) erro return io.ErrUnexpectedEOF } if m.TradingPair == nil { - m.TradingPair = &v1alpha18.TradingPair{} + m.TradingPair = &v1alpha19.TradingPair{} } if err := m.TradingPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -11286,7 +10646,7 @@ func (m *AddressByIndexRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.AddressIndex == nil { - m.AddressIndex = &v1alpha12.AddressIndex{} + m.AddressIndex = &v1alpha13.AddressIndex{} } if err := m.AddressIndex.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -11372,7 +10732,7 @@ func (m *AddressByIndexResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Address == nil { - m.Address = &v1alpha12.Address{} + m.Address = &v1alpha13.Address{} } if err := m.Address.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -11508,7 +10868,7 @@ func (m *WalletIdResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.WalletId == nil { - m.WalletId = &v1alpha12.WalletId{} + m.WalletId = &v1alpha13.WalletId{} } if err := m.WalletId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -11594,7 +10954,7 @@ func (m *IndexByAddressRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Address == nil { - m.Address = &v1alpha12.Address{} + m.Address = &v1alpha13.Address{} } if err := m.Address.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -11680,7 +11040,7 @@ func (m *IndexByAddressResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.AddressIndex == nil { - m.AddressIndex = &v1alpha12.AddressIndex{} + m.AddressIndex = &v1alpha13.AddressIndex{} } if err := m.AddressIndex.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -11766,7 +11126,7 @@ func (m *EphemeralAddressRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.AddressIndex == nil { - m.AddressIndex = &v1alpha12.AddressIndex{} + m.AddressIndex = &v1alpha13.AddressIndex{} } if err := m.AddressIndex.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -11872,7 +11232,7 @@ func (m *EphemeralAddressResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Address == nil { - m.Address = &v1alpha12.Address{} + m.Address = &v1alpha13.Address{} } if err := m.Address.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -11958,7 +11318,7 @@ func (m *BalancesRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.AccountFilter == nil { - m.AccountFilter = &v1alpha12.AddressIndex{} + m.AccountFilter = &v1alpha13.AddressIndex{} } if err := m.AccountFilter.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -11994,7 +11354,7 @@ func (m *BalancesRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.AssetIdFilter == nil { - m.AssetIdFilter = &v1alpha14.AssetId{} + m.AssetIdFilter = &v1alpha15.AssetId{} } if err := m.AssetIdFilter.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -12080,7 +11440,7 @@ func (m *BalancesResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Account == nil { - m.Account = &v1alpha12.AddressIndex{} + m.Account = &v1alpha13.AddressIndex{} } if err := m.Account.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -12116,7 +11476,7 @@ func (m *BalancesResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Balance == nil { - m.Balance = &v1alpha14.Value{} + m.Balance = &v1alpha15.Value{} } if err := m.Balance.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -12143,7 +11503,7 @@ func (m *BalancesResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *ViewAuthToken) Unmarshal(dAtA []byte) error { +func (m *StatusRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12166,46 +11526,12 @@ func (m *ViewAuthToken) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ViewAuthToken: wiretype end group for non-group") + return fmt.Errorf("proto: StatusRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ViewAuthToken: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: StatusRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Inner", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowView - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthView - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthView - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Inner = append(m.Inner[:0], dAtA[iNdEx:postIndex]...) - if m.Inner == nil { - m.Inner = []byte{} - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipView(dAtA[iNdEx:]) @@ -12227,7 +11553,7 @@ func (m *ViewAuthToken) Unmarshal(dAtA []byte) error { } return nil } -func (m *ViewAuthRequest) Unmarshal(dAtA []byte) error { +func (m *StatusResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12250,17 +11576,17 @@ func (m *ViewAuthRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ViewAuthRequest: wiretype end group for non-group") + return fmt.Errorf("proto: StatusResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ViewAuthRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: StatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Fvk", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field FullSyncHeight", wireType) } - var msglen int + m.FullSyncHeight = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowView @@ -12270,83 +11596,16 @@ func (m *ViewAuthRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.FullSyncHeight |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthView - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthView - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Fvk == nil { - m.Fvk = &v1alpha12.FullViewingKey{} - } - if err := m.Fvk.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipView(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthView - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ViewAuthResponse) 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 ErrIntOverflowView - } - 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: ViewAuthResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ViewAuthResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Token", wireType) + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PartialSyncHeight", wireType) } - var msglen int + m.PartialSyncHeight = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowView @@ -12356,28 +11615,31 @@ func (m *ViewAuthResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.PartialSyncHeight |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthView - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthView - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Token == nil { - m.Token = &ViewAuthToken{} + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CatchingUp", wireType) } - if err := m.Token.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowView + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } } - iNdEx = postIndex + m.CatchingUp = bool(v != 0) default: iNdEx = preIndex skippy, err := skipView(dAtA[iNdEx:]) @@ -12399,7 +11661,7 @@ func (m *ViewAuthResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *StatusRequest) Unmarshal(dAtA []byte) error { +func (m *StatusStreamRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12422,48 +11684,12 @@ func (m *StatusRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: StatusRequest: wiretype end group for non-group") + return fmt.Errorf("proto: StatusStreamRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: StatusRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: StatusStreamRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 14: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field WalletId", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowView - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthView - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthView - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.WalletId == nil { - m.WalletId = &v1alpha12.WalletId{} - } - if err := m.WalletId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipView(dAtA[iNdEx:]) @@ -12485,7 +11711,7 @@ func (m *StatusRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *StatusResponse) Unmarshal(dAtA []byte) error { +func (m *StatusStreamResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12508,17 +11734,17 @@ func (m *StatusResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: StatusResponse: wiretype end group for non-group") + return fmt.Errorf("proto: StatusStreamResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: StatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: StatusStreamResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field FullSyncHeight", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field LatestKnownBlockHeight", wireType) } - m.FullSyncHeight = 0 + m.LatestKnownBlockHeight = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowView @@ -12528,16 +11754,16 @@ func (m *StatusResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.FullSyncHeight |= uint64(b&0x7F) << shift + m.LatestKnownBlockHeight |= uint64(b&0x7F) << shift if b < 0x80 { break } } case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PartialSyncHeight", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field FullSyncHeight", wireType) } - m.PartialSyncHeight = 0 + m.FullSyncHeight = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowView @@ -12547,16 +11773,16 @@ func (m *StatusResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.PartialSyncHeight |= uint64(b&0x7F) << shift + m.FullSyncHeight |= uint64(b&0x7F) << shift if b < 0x80 { break } } case 3: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CatchingUp", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PartialSyncHeight", wireType) } - var v int + m.PartialSyncHeight = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowView @@ -12566,12 +11792,11 @@ func (m *StatusResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + m.PartialSyncHeight |= uint64(b&0x7F) << shift if b < 0x80 { break } } - m.CatchingUp = bool(v != 0) default: iNdEx = preIndex skippy, err := skipView(dAtA[iNdEx:]) @@ -12593,7 +11818,7 @@ func (m *StatusResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *StatusStreamRequest) Unmarshal(dAtA []byte) error { +func (m *NotesRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12616,208 +11841,15 @@ func (m *StatusStreamRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: StatusStreamRequest: wiretype end group for non-group") + return fmt.Errorf("proto: NotesRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: StatusStreamRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: NotesRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 14: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field WalletId", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowView - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthView - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthView - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.WalletId == nil { - m.WalletId = &v1alpha12.WalletId{} - } - if err := m.WalletId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipView(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthView - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *StatusStreamResponse) 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 ErrIntOverflowView - } - 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: StatusStreamResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StatusStreamResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LatestKnownBlockHeight", wireType) - } - m.LatestKnownBlockHeight = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowView - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LatestKnownBlockHeight |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field FullSyncHeight", wireType) - } - m.FullSyncHeight = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowView - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.FullSyncHeight |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PartialSyncHeight", wireType) - } - m.PartialSyncHeight = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowView - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PartialSyncHeight |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipView(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthView - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *NotesRequest) 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 ErrIntOverflowView - } - 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: NotesRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: NotesRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IncludeSpent", wireType) + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IncludeSpent", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -12865,7 +11897,7 @@ func (m *NotesRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.AssetId == nil { - m.AssetId = &v1alpha14.AssetId{} + m.AssetId = &v1alpha15.AssetId{} } if err := m.AssetId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -12901,7 +11933,7 @@ func (m *NotesRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.AddressIndex == nil { - m.AddressIndex = &v1alpha12.AddressIndex{} + m.AddressIndex = &v1alpha13.AddressIndex{} } if err := m.AddressIndex.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -12937,48 +11969,12 @@ func (m *NotesRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.AmountToSpend == nil { - m.AmountToSpend = &v1alpha16.Amount{} + m.AmountToSpend = &v1alpha17.Amount{} } if err := m.AmountToSpend.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 14: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field WalletId", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowView - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthView - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthView - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.WalletId == nil { - m.WalletId = &v1alpha12.WalletId{} - } - if err := m.WalletId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipView(dAtA[iNdEx:]) @@ -13078,48 +12074,12 @@ func (m *NotesForVotingRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.AddressIndex == nil { - m.AddressIndex = &v1alpha12.AddressIndex{} + m.AddressIndex = &v1alpha13.AddressIndex{} } if err := m.AddressIndex.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 14: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field WalletId", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowView - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthView - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthView - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.WalletId == nil { - m.WalletId = &v1alpha12.WalletId{} - } - if err := m.WalletId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipView(dAtA[iNdEx:]) @@ -13199,7 +12159,7 @@ func (m *WitnessRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.NoteCommitments = append(m.NoteCommitments, &v1alpha15.StateCommitment{}) + m.NoteCommitments = append(m.NoteCommitments, &v1alpha16.StateCommitment{}) if err := m.NoteCommitments[len(m.NoteCommitments)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -13240,42 +12200,6 @@ func (m *WitnessRequest) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 14: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field WalletId", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowView - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthView - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthView - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.WalletId == nil { - m.WalletId = &v1alpha12.WalletId{} - } - if err := m.WalletId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipView(dAtA[iNdEx:]) @@ -13669,7 +12593,7 @@ func (m *AssetsRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.IncludeSpecificDenominations = append(m.IncludeSpecificDenominations, &v1alpha14.Denom{}) + m.IncludeSpecificDenominations = append(m.IncludeSpecificDenominations, &v1alpha15.Denom{}) if err := m.IncludeSpecificDenominations[len(m.IncludeSpecificDenominations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -13854,7 +12778,7 @@ func (m *AssetsResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.DenomMetadata == nil { - m.DenomMetadata = &v1alpha14.DenomMetadata{} + m.DenomMetadata = &v1alpha15.DenomMetadata{} } if err := m.DenomMetadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -13990,7 +12914,7 @@ func (m *AppParametersResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Parameters == nil { - m.Parameters = &v1alpha19.AppParameters{} + m.Parameters = &v1alpha110.AppParameters{} } if err := m.Parameters.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -14126,7 +13050,7 @@ func (m *GasPricesResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.GasPrices == nil { - m.GasPrices = &v1alpha11.GasPrices{} + m.GasPrices = &v1alpha12.GasPrices{} } if err := m.GasPrices.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -14262,7 +13186,7 @@ func (m *FMDParametersResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Parameters == nil { - m.Parameters = &v1alpha110.FmdParameters{} + m.Parameters = &v1alpha111.FmdParameters{} } if err := m.Parameters.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -14348,7 +13272,7 @@ func (m *NoteByCommitmentRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.NoteCommitment == nil { - m.NoteCommitment = &v1alpha15.StateCommitment{} + m.NoteCommitment = &v1alpha16.StateCommitment{} } if err := m.NoteCommitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -14374,42 +13298,6 @@ func (m *NoteByCommitmentRequest) Unmarshal(dAtA []byte) error { } } m.AwaitDetection = bool(v != 0) - case 14: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field WalletId", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowView - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthView - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthView - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.WalletId == nil { - m.WalletId = &v1alpha12.WalletId{} - } - if err := m.WalletId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipView(dAtA[iNdEx:]) @@ -14576,7 +13464,7 @@ func (m *SwapByCommitmentRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.SwapCommitment == nil { - m.SwapCommitment = &v1alpha15.StateCommitment{} + m.SwapCommitment = &v1alpha16.StateCommitment{} } if err := m.SwapCommitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -14602,42 +13490,6 @@ func (m *SwapByCommitmentRequest) Unmarshal(dAtA []byte) error { } } m.AwaitDetection = bool(v != 0) - case 14: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field WalletId", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowView - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthView - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthView - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.WalletId == nil { - m.WalletId = &v1alpha12.WalletId{} - } - if err := m.WalletId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipView(dAtA[iNdEx:]) @@ -14774,42 +13626,6 @@ func (m *UnclaimedSwapsRequest) Unmarshal(dAtA []byte) error { return fmt.Errorf("proto: UnclaimedSwapsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field WalletId", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowView - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthView - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthView - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.WalletId == nil { - m.WalletId = &v1alpha12.WalletId{} - } - if err := m.WalletId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipView(dAtA[iNdEx:]) @@ -14976,7 +13792,7 @@ func (m *NullifierStatusRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Nullifier == nil { - m.Nullifier = &v1alpha111.Nullifier{} + m.Nullifier = &v1alpha112.Nullifier{} } if err := m.Nullifier.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -15002,42 +13818,6 @@ func (m *NullifierStatusRequest) Unmarshal(dAtA []byte) error { } } m.AwaitDetection = bool(v != 0) - case 14: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field WalletId", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowView - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthView - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthView - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.WalletId == nil { - m.WalletId = &v1alpha12.WalletId{} - } - if err := m.WalletId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipView(dAtA[iNdEx:]) @@ -15188,7 +13968,7 @@ func (m *TransactionInfoByHashRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Id == nil { - m.Id = &v1alpha1.Id{} + m.Id = &v1alpha11.TransactionId{} } if err := m.Id.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -15381,7 +14161,7 @@ func (m *TransactionInfo) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Id == nil { - m.Id = &v1alpha1.Id{} + m.Id = &v1alpha11.TransactionId{} } if err := m.Id.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -15869,7 +14649,7 @@ func (m *NotesForVotingResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.IdentityKey == nil { - m.IdentityKey = &v1alpha12.IdentityKey{} + m.IdentityKey = &v1alpha13.IdentityKey{} } if err := m.IdentityKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -15955,7 +14735,7 @@ func (m *SpendableNoteRecord) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.NoteCommitment == nil { - m.NoteCommitment = &v1alpha15.StateCommitment{} + m.NoteCommitment = &v1alpha16.StateCommitment{} } if err := m.NoteCommitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -15991,7 +14771,7 @@ func (m *SpendableNoteRecord) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Note == nil { - m.Note = &v1alpha112.Note{} + m.Note = &v1alpha113.Note{} } if err := m.Note.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -16027,7 +14807,7 @@ func (m *SpendableNoteRecord) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.AddressIndex == nil { - m.AddressIndex = &v1alpha12.AddressIndex{} + m.AddressIndex = &v1alpha13.AddressIndex{} } if err := m.AddressIndex.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -16063,7 +14843,7 @@ func (m *SpendableNoteRecord) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Nullifier == nil { - m.Nullifier = &v1alpha111.Nullifier{} + m.Nullifier = &v1alpha112.Nullifier{} } if err := m.Nullifier.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -16156,7 +14936,7 @@ func (m *SpendableNoteRecord) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Source == nil { - m.Source = &v1alpha110.NoteSource{} + m.Source = &v1alpha112.CommitmentSource{} } if err := m.Source.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -16242,7 +15022,7 @@ func (m *SwapRecord) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.SwapCommitment == nil { - m.SwapCommitment = &v1alpha15.StateCommitment{} + m.SwapCommitment = &v1alpha16.StateCommitment{} } if err := m.SwapCommitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -16278,7 +15058,7 @@ func (m *SwapRecord) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Swap == nil { - m.Swap = &v1alpha18.SwapPlaintext{} + m.Swap = &v1alpha19.SwapPlaintext{} } if err := m.Swap.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -16333,7 +15113,7 @@ func (m *SwapRecord) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Nullifier == nil { - m.Nullifier = &v1alpha111.Nullifier{} + m.Nullifier = &v1alpha112.Nullifier{} } if err := m.Nullifier.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -16369,7 +15149,7 @@ func (m *SwapRecord) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.OutputData == nil { - m.OutputData = &v1alpha18.BatchSwapOutputData{} + m.OutputData = &v1alpha19.BatchSwapOutputData{} } if err := m.OutputData.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -16424,7 +15204,7 @@ func (m *SwapRecord) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Source == nil { - m.Source = &v1alpha110.NoteSource{} + m.Source = &v1alpha112.CommitmentSource{} } if err := m.Source.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -16510,7 +15290,7 @@ func (m *OwnedPositionIdsRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.PositionState == nil { - m.PositionState = &v1alpha18.PositionState{} + m.PositionState = &v1alpha19.PositionState{} } if err := m.PositionState.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -16546,7 +15326,7 @@ func (m *OwnedPositionIdsRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.TradingPair == nil { - m.TradingPair = &v1alpha18.TradingPair{} + m.TradingPair = &v1alpha19.TradingPair{} } if err := m.TradingPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -16632,7 +15412,7 @@ func (m *OwnedPositionIdsResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.PositionId == nil { - m.PositionId = &v1alpha18.PositionId{} + m.PositionId = &v1alpha19.PositionId{} } if err := m.PositionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err From 28a35ab7c0766dbb07f5ddb535256e11f84b0169 Mon Sep 17 00:00:00 2001 From: Ava Howell Date: Tue, 30 Jan 2024 13:53:21 -0800 Subject: [PATCH 2/3] remove deprecated narsil --- .../narsil/ledger/v1alpha1/ledger.pb.go | 10256 ---------------- 1 file changed, 10256 deletions(-) delete mode 100644 relayer/chains/penumbra/narsil/ledger/v1alpha1/ledger.pb.go diff --git a/relayer/chains/penumbra/narsil/ledger/v1alpha1/ledger.pb.go b/relayer/chains/penumbra/narsil/ledger/v1alpha1/ledger.pb.go deleted file mode 100644 index ed22113b9..000000000 --- a/relayer/chains/penumbra/narsil/ledger/v1alpha1/ledger.pb.go +++ /dev/null @@ -1,10256 +0,0 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: penumbra/narsil/ledger/v1alpha1/ledger.proto - -package ledgerv1alpha1 - -import ( - context "context" - fmt "fmt" - grpc1 "github.com/cosmos/gogoproto/grpc" - proto "github.com/cosmos/gogoproto/proto" - _ "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/chain/v1alpha1" - v1alpha1 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/keys/v1alpha1" - v1alpha11 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/transaction/v1alpha1" - v1alpha12 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/custody/v1alpha1" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - io "io" - math "math" - math_bits "math/bits" -) - -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package - -// Requests information about the chain state as known by the node. -type InfoRequest struct { - // The Tendermint software semantic version. - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - // The Tendermint block protocol version. - BlockVersion uint64 `protobuf:"varint,2,opt,name=block_version,json=blockVersion,proto3" json:"block_version,omitempty"` - // The Tendermint p2p protocol version. - P2PVersion uint64 `protobuf:"varint,3,opt,name=p2p_version,json=p2pVersion,proto3" json:"p2p_version,omitempty"` - // The ABCI semantic version number. - AbciVersion string `protobuf:"bytes,4,opt,name=abci_version,json=abciVersion,proto3" json:"abci_version,omitempty"` -} - -func (m *InfoRequest) Reset() { *m = InfoRequest{} } -func (m *InfoRequest) String() string { return proto.CompactTextString(m) } -func (*InfoRequest) ProtoMessage() {} -func (*InfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{0} -} -func (m *InfoRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *InfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_InfoRequest.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 *InfoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_InfoRequest.Merge(m, src) -} -func (m *InfoRequest) XXX_Size() int { - return m.Size() -} -func (m *InfoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_InfoRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_InfoRequest proto.InternalMessageInfo - -func (m *InfoRequest) GetVersion() string { - if m != nil { - return m.Version - } - return "" -} - -func (m *InfoRequest) GetBlockVersion() uint64 { - if m != nil { - return m.BlockVersion - } - return 0 -} - -func (m *InfoRequest) GetP2PVersion() uint64 { - if m != nil { - return m.P2PVersion - } - return 0 -} - -func (m *InfoRequest) GetAbciVersion() string { - if m != nil { - return m.AbciVersion - } - return "" -} - -// Contains information about the chain state as known by the node. -type InfoResponse struct { - // Some arbitrary information. - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - // The application software semantic version. - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` - // The application protocol version. - AppVersion uint64 `protobuf:"varint,3,opt,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"` - // The latest block for which the app has called [`Commit`](super::super::Request::Commit). - LastBlockHeight uint64 `protobuf:"varint,4,opt,name=last_block_height,json=lastBlockHeight,proto3" json:"last_block_height,omitempty"` - // The latest result of [`Commit`](super::super::Request::Commit). - LastBlockAppHash []byte `protobuf:"bytes,5,opt,name=last_block_app_hash,json=lastBlockAppHash,proto3" json:"last_block_app_hash,omitempty"` -} - -func (m *InfoResponse) Reset() { *m = InfoResponse{} } -func (m *InfoResponse) String() string { return proto.CompactTextString(m) } -func (*InfoResponse) ProtoMessage() {} -func (*InfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{1} -} -func (m *InfoResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *InfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_InfoResponse.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 *InfoResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_InfoResponse.Merge(m, src) -} -func (m *InfoResponse) XXX_Size() int { - return m.Size() -} -func (m *InfoResponse) XXX_DiscardUnknown() { - xxx_messageInfo_InfoResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_InfoResponse proto.InternalMessageInfo - -func (m *InfoResponse) GetData() []byte { - if m != nil { - return m.Data - } - return nil -} - -func (m *InfoResponse) GetVersion() string { - if m != nil { - return m.Version - } - return "" -} - -func (m *InfoResponse) GetAppVersion() uint64 { - if m != nil { - return m.AppVersion - } - return 0 -} - -func (m *InfoResponse) GetLastBlockHeight() uint64 { - if m != nil { - return m.LastBlockHeight - } - return 0 -} - -func (m *InfoResponse) GetLastBlockAppHash() []byte { - if m != nil { - return m.LastBlockAppHash - } - return nil -} - -// The root identity key material for a shard operator. -type ShardIdentityKey struct { - // An Ed25519 key. - Inner []byte `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` -} - -func (m *ShardIdentityKey) Reset() { *m = ShardIdentityKey{} } -func (m *ShardIdentityKey) String() string { return proto.CompactTextString(m) } -func (*ShardIdentityKey) ProtoMessage() {} -func (*ShardIdentityKey) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{2} -} -func (m *ShardIdentityKey) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ShardIdentityKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ShardIdentityKey.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 *ShardIdentityKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShardIdentityKey.Merge(m, src) -} -func (m *ShardIdentityKey) XXX_Size() int { - return m.Size() -} -func (m *ShardIdentityKey) XXX_DiscardUnknown() { - xxx_messageInfo_ShardIdentityKey.DiscardUnknown(m) -} - -var xxx_messageInfo_ShardIdentityKey proto.InternalMessageInfo - -func (m *ShardIdentityKey) GetInner() []byte { - if m != nil { - return m.Inner - } - return nil -} - -// The key that Tendermint will use to identify a validator. -type ConsensusKey struct { - // An Ed25519 key. - Inner []byte `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` -} - -func (m *ConsensusKey) Reset() { *m = ConsensusKey{} } -func (m *ConsensusKey) String() string { return proto.CompactTextString(m) } -func (*ConsensusKey) ProtoMessage() {} -func (*ConsensusKey) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{3} -} -func (m *ConsensusKey) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ConsensusKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ConsensusKey.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 *ConsensusKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConsensusKey.Merge(m, src) -} -func (m *ConsensusKey) XXX_Size() int { - return m.Size() -} -func (m *ConsensusKey) XXX_DiscardUnknown() { - xxx_messageInfo_ConsensusKey.DiscardUnknown(m) -} - -var xxx_messageInfo_ConsensusKey proto.InternalMessageInfo - -func (m *ConsensusKey) GetInner() []byte { - if m != nil { - return m.Inner - } - return nil -} - -// A subkey a shard uses to sign messages sent to the ledger. -type ShardMessageKey struct { - // An Ed25519 key. - Inner []byte `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` -} - -func (m *ShardMessageKey) Reset() { *m = ShardMessageKey{} } -func (m *ShardMessageKey) String() string { return proto.CompactTextString(m) } -func (*ShardMessageKey) ProtoMessage() {} -func (*ShardMessageKey) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{4} -} -func (m *ShardMessageKey) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ShardMessageKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ShardMessageKey.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 *ShardMessageKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShardMessageKey.Merge(m, src) -} -func (m *ShardMessageKey) XXX_Size() int { - return m.Size() -} -func (m *ShardMessageKey) XXX_DiscardUnknown() { - xxx_messageInfo_ShardMessageKey.DiscardUnknown(m) -} - -var xxx_messageInfo_ShardMessageKey proto.InternalMessageInfo - -func (m *ShardMessageKey) GetInner() []byte { - if m != nil { - return m.Inner - } - return nil -} - -// The threshold key share controlled by a shard operator. -type ShardKey struct { - // A decaf377 scalar. - Inner []byte `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` -} - -func (m *ShardKey) Reset() { *m = ShardKey{} } -func (m *ShardKey) String() string { return proto.CompactTextString(m) } -func (*ShardKey) ProtoMessage() {} -func (*ShardKey) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{5} -} -func (m *ShardKey) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ShardKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ShardKey.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 *ShardKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShardKey.Merge(m, src) -} -func (m *ShardKey) XXX_Size() int { - return m.Size() -} -func (m *ShardKey) XXX_DiscardUnknown() { - xxx_messageInfo_ShardKey.DiscardUnknown(m) -} - -var xxx_messageInfo_ShardKey proto.InternalMessageInfo - -func (m *ShardKey) GetInner() []byte { - if m != nil { - return m.Inner - } - return nil -} - -// A signature over a message sent to the ledger by a shard. -type ShardMessageSignature struct { - // An Ed25519 signature. - Inner []byte `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` -} - -func (m *ShardMessageSignature) Reset() { *m = ShardMessageSignature{} } -func (m *ShardMessageSignature) String() string { return proto.CompactTextString(m) } -func (*ShardMessageSignature) ProtoMessage() {} -func (*ShardMessageSignature) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{6} -} -func (m *ShardMessageSignature) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ShardMessageSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ShardMessageSignature.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 *ShardMessageSignature) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShardMessageSignature.Merge(m, src) -} -func (m *ShardMessageSignature) XXX_Size() int { - return m.Size() -} -func (m *ShardMessageSignature) XXX_DiscardUnknown() { - xxx_messageInfo_ShardMessageSignature.DiscardUnknown(m) -} - -var xxx_messageInfo_ShardMessageSignature proto.InternalMessageInfo - -func (m *ShardMessageSignature) GetInner() []byte { - if m != nil { - return m.Inner - } - return nil -} - -// A description of one of the operators of a threshold key share (shard). -// -// The `ShardOperator` message doesn't have the threshold key share itself, -// because the workflow is that the set of operators is going to be configured -// first, as part of the genesis / chain configuration, and then the shards -// perform DKG as the chain boots, using the chain as the messaging layer for -// the DKG messages. This means there's no interactive setup procedure for the -// shard operators. -type ShardDescription struct { - // The shard operator's offline identity key material which is the root of their authority. - IdentityKey *ShardIdentityKey `protobuf:"bytes,1,opt,name=identity_key,json=identityKey,proto3" json:"identity_key,omitempty"` - // A subkey used for signing messages sent to the ledger. - MessageKey *ShardMessageKey `protobuf:"bytes,2,opt,name=message_key,json=messageKey,proto3" json:"message_key,omitempty"` - // The validator's consensus pubkey for use in Tendermint (ed25519) - ConsensusKey *ConsensusKey `protobuf:"bytes,3,opt,name=consensus_key,json=consensusKey,proto3" json:"consensus_key,omitempty"` - // A label for the shard. - Label string `protobuf:"bytes,4,opt,name=label,proto3" json:"label,omitempty"` -} - -func (m *ShardDescription) Reset() { *m = ShardDescription{} } -func (m *ShardDescription) String() string { return proto.CompactTextString(m) } -func (*ShardDescription) ProtoMessage() {} -func (*ShardDescription) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{7} -} -func (m *ShardDescription) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ShardDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ShardDescription.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 *ShardDescription) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShardDescription.Merge(m, src) -} -func (m *ShardDescription) XXX_Size() int { - return m.Size() -} -func (m *ShardDescription) XXX_DiscardUnknown() { - xxx_messageInfo_ShardDescription.DiscardUnknown(m) -} - -var xxx_messageInfo_ShardDescription proto.InternalMessageInfo - -func (m *ShardDescription) GetIdentityKey() *ShardIdentityKey { - if m != nil { - return m.IdentityKey - } - return nil -} - -func (m *ShardDescription) GetMessageKey() *ShardMessageKey { - if m != nil { - return m.MessageKey - } - return nil -} - -func (m *ShardDescription) GetConsensusKey() *ConsensusKey { - if m != nil { - return m.ConsensusKey - } - return nil -} - -func (m *ShardDescription) GetLabel() string { - if m != nil { - return m.Label - } - return "" -} - -// A self-authenticating `ShardDescription`, signed with the `ShardIdentityKey`. -type ShardOperator struct { - Description *ShardDescription `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` - Sig []byte `protobuf:"bytes,2,opt,name=sig,proto3" json:"sig,omitempty"` -} - -func (m *ShardOperator) Reset() { *m = ShardOperator{} } -func (m *ShardOperator) String() string { return proto.CompactTextString(m) } -func (*ShardOperator) ProtoMessage() {} -func (*ShardOperator) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{8} -} -func (m *ShardOperator) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ShardOperator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ShardOperator.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 *ShardOperator) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShardOperator.Merge(m, src) -} -func (m *ShardOperator) XXX_Size() int { - return m.Size() -} -func (m *ShardOperator) XXX_DiscardUnknown() { - xxx_messageInfo_ShardOperator.DiscardUnknown(m) -} - -var xxx_messageInfo_ShardOperator proto.InternalMessageInfo - -func (m *ShardOperator) GetDescription() *ShardDescription { - if m != nil { - return m.Description - } - return nil -} - -func (m *ShardOperator) GetSig() []byte { - if m != nil { - return m.Sig - } - return nil -} - -// The genesis data describing the set of shard operators who jointly control -// the Narsil instance. -// -// The genesis data does not specify the threshold key shares themselves, -// because these will be computed as the ledger boots up and the shard operators -// perform the DKG to generate the shared key, described by the `ShardInfo`. -type GenesisData struct { - // The set of shard operators (implicitly specifying the `n` in `t-of-n`). - Operators []*ShardOperator `protobuf:"bytes,1,rep,name=operators,proto3" json:"operators,omitempty"` - // The number of shards required to sign a message (the `t` in `t-of-n`). - Threshold uint32 `protobuf:"varint,2,opt,name=threshold,proto3" json:"threshold,omitempty"` -} - -func (m *GenesisData) Reset() { *m = GenesisData{} } -func (m *GenesisData) String() string { return proto.CompactTextString(m) } -func (*GenesisData) ProtoMessage() {} -func (*GenesisData) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{9} -} -func (m *GenesisData) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GenesisData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GenesisData.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 *GenesisData) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenesisData.Merge(m, src) -} -func (m *GenesisData) XXX_Size() int { - return m.Size() -} -func (m *GenesisData) XXX_DiscardUnknown() { - xxx_messageInfo_GenesisData.DiscardUnknown(m) -} - -var xxx_messageInfo_GenesisData proto.InternalMessageInfo - -func (m *GenesisData) GetOperators() []*ShardOperator { - if m != nil { - return m.Operators - } - return nil -} - -func (m *GenesisData) GetThreshold() uint32 { - if m != nil { - return m.Threshold - } - return 0 -} - -// Describes the Penumbra wallet id jointly controlled by the Narsil instance. -type WalletInfo struct { - // The full viewing key for the shared account. - // - // In the Penumbra key hierarchy, this is the highest-authority key below - // spend authority, and allows deriving all subkeys for all accounts in the - // wallet id. It is replicated across all shards. - // - // The spend verification key component is the `PK` in the FROST I-D. - FullViewingKey *v1alpha1.FullViewingKey `protobuf:"bytes,1,opt,name=full_viewing_key,json=fullViewingKey,proto3" json:"full_viewing_key,omitempty"` - // Describes the participants in the wallet id. - Participants []*ShardInfo `protobuf:"bytes,2,rep,name=participants,proto3" json:"participants,omitempty"` -} - -func (m *WalletInfo) Reset() { *m = WalletInfo{} } -func (m *WalletInfo) String() string { return proto.CompactTextString(m) } -func (*WalletInfo) ProtoMessage() {} -func (*WalletInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{10} -} -func (m *WalletInfo) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *WalletInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_WalletInfo.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 *WalletInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_WalletInfo.Merge(m, src) -} -func (m *WalletInfo) XXX_Size() int { - return m.Size() -} -func (m *WalletInfo) XXX_DiscardUnknown() { - xxx_messageInfo_WalletInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_WalletInfo proto.InternalMessageInfo - -func (m *WalletInfo) GetFullViewingKey() *v1alpha1.FullViewingKey { - if m != nil { - return m.FullViewingKey - } - return nil -} - -func (m *WalletInfo) GetParticipants() []*ShardInfo { - if m != nil { - return m.Participants - } - return nil -} - -// Describes a single shard of the Narsil instance. -type ShardInfo struct { - // The index of the shard, used for FROST accounting purposes. - Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` - // The shard verification key, corresponding to `PK_i` in the FROST I-D. - ShardVerificationKey *v1alpha1.SpendVerificationKey `protobuf:"bytes,2,opt,name=shard_verification_key,json=shardVerificationKey,proto3" json:"shard_verification_key,omitempty"` - // The shard operator's identity key, used to identify the operator of this shard. - IdentityKey *ShardIdentityKey `protobuf:"bytes,3,opt,name=identity_key,json=identityKey,proto3" json:"identity_key,omitempty"` -} - -func (m *ShardInfo) Reset() { *m = ShardInfo{} } -func (m *ShardInfo) String() string { return proto.CompactTextString(m) } -func (*ShardInfo) ProtoMessage() {} -func (*ShardInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{11} -} -func (m *ShardInfo) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ShardInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ShardInfo.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 *ShardInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ShardInfo.Merge(m, src) -} -func (m *ShardInfo) XXX_Size() int { - return m.Size() -} -func (m *ShardInfo) XXX_DiscardUnknown() { - xxx_messageInfo_ShardInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_ShardInfo proto.InternalMessageInfo - -func (m *ShardInfo) GetIndex() uint32 { - if m != nil { - return m.Index - } - return 0 -} - -func (m *ShardInfo) GetShardVerificationKey() *v1alpha1.SpendVerificationKey { - if m != nil { - return m.ShardVerificationKey - } - return nil -} - -func (m *ShardInfo) GetIdentityKey() *ShardIdentityKey { - if m != nil { - return m.IdentityKey - } - return nil -} - -// Transaction authorization requests are identified by the proposed -// transaction's effect hash. -// -// This acts as a form of content addressing, providing a number of useful -// behaviors: -// -// - Multiple users can request authorization of the same `TransactionPlan`, and -// the ledger can stack their pre-authorizations until some threshold is met. -// - Rather than having to hold open a connection, clients can re-request -// authorization of the same `TransactionPlan` after it has been signed, and the -// ledger can immediately return the already-existing authorization data. -type RequestIndex struct { - EffectHash *v1alpha11.EffectHash `protobuf:"bytes,1,opt,name=effect_hash,json=effectHash,proto3" json:"effect_hash,omitempty"` -} - -func (m *RequestIndex) Reset() { *m = RequestIndex{} } -func (m *RequestIndex) String() string { return proto.CompactTextString(m) } -func (*RequestIndex) ProtoMessage() {} -func (*RequestIndex) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{12} -} -func (m *RequestIndex) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *RequestIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_RequestIndex.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 *RequestIndex) XXX_Merge(src proto.Message) { - xxx_messageInfo_RequestIndex.Merge(m, src) -} -func (m *RequestIndex) XXX_Size() int { - return m.Size() -} -func (m *RequestIndex) XXX_DiscardUnknown() { - xxx_messageInfo_RequestIndex.DiscardUnknown(m) -} - -var xxx_messageInfo_RequestIndex proto.InternalMessageInfo - -func (m *RequestIndex) GetEffectHash() *v1alpha11.EffectHash { - if m != nil { - return m.EffectHash - } - return nil -} - -// Identifies a particular signing ceremony. -// -// Ceremonies are identified first by request index and then by a sub-index for -// the ceremony. This allows failed or timed-out ceremonies to be repeated. -type CeremonyIndex struct { - RequestIndex *RequestIndex `protobuf:"bytes,1,opt,name=request_index,json=requestIndex,proto3" json:"request_index,omitempty"` - CeremonyIndex uint64 `protobuf:"varint,2,opt,name=ceremony_index,json=ceremonyIndex,proto3" json:"ceremony_index,omitempty"` -} - -func (m *CeremonyIndex) Reset() { *m = CeremonyIndex{} } -func (m *CeremonyIndex) String() string { return proto.CompactTextString(m) } -func (*CeremonyIndex) ProtoMessage() {} -func (*CeremonyIndex) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{13} -} -func (m *CeremonyIndex) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CeremonyIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CeremonyIndex.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 *CeremonyIndex) XXX_Merge(src proto.Message) { - xxx_messageInfo_CeremonyIndex.Merge(m, src) -} -func (m *CeremonyIndex) XXX_Size() int { - return m.Size() -} -func (m *CeremonyIndex) XXX_DiscardUnknown() { - xxx_messageInfo_CeremonyIndex.DiscardUnknown(m) -} - -var xxx_messageInfo_CeremonyIndex proto.InternalMessageInfo - -func (m *CeremonyIndex) GetRequestIndex() *RequestIndex { - if m != nil { - return m.RequestIndex - } - return nil -} - -func (m *CeremonyIndex) GetCeremonyIndex() uint64 { - if m != nil { - return m.CeremonyIndex - } - return 0 -} - -// A committee of shards assigned to carry out a particular signing ceremony. -type Committee struct { - Ceremony *CeremonyIndex `protobuf:"bytes,1,opt,name=ceremony,proto3" json:"ceremony,omitempty"` - Participants []*ShardInfo `protobuf:"bytes,2,rep,name=participants,proto3" json:"participants,omitempty"` -} - -func (m *Committee) Reset() { *m = Committee{} } -func (m *Committee) String() string { return proto.CompactTextString(m) } -func (*Committee) ProtoMessage() {} -func (*Committee) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{14} -} -func (m *Committee) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *Committee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_Committee.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 *Committee) XXX_Merge(src proto.Message) { - xxx_messageInfo_Committee.Merge(m, src) -} -func (m *Committee) XXX_Size() int { - return m.Size() -} -func (m *Committee) XXX_DiscardUnknown() { - xxx_messageInfo_Committee.DiscardUnknown(m) -} - -var xxx_messageInfo_Committee proto.InternalMessageInfo - -func (m *Committee) GetCeremony() *CeremonyIndex { - if m != nil { - return m.Ceremony - } - return nil -} - -func (m *Committee) GetParticipants() []*ShardInfo { - if m != nil { - return m.Participants - } - return nil -} - -// Records a failed ceremony and the reason why it failed. -// -// TODO: consider filling these in with structured info about the failure -type CeremonyFailure struct { - // Types that are valid to be assigned to Failure: - // *CeremonyFailure_Timeout_ - // *CeremonyFailure_BadCommitment_ - // *CeremonyFailure_BadShare_ - // *CeremonyFailure_Canceled_ - Failure isCeremonyFailure_Failure `protobuf_oneof:"failure"` -} - -func (m *CeremonyFailure) Reset() { *m = CeremonyFailure{} } -func (m *CeremonyFailure) String() string { return proto.CompactTextString(m) } -func (*CeremonyFailure) ProtoMessage() {} -func (*CeremonyFailure) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{15} -} -func (m *CeremonyFailure) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CeremonyFailure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CeremonyFailure.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 *CeremonyFailure) XXX_Merge(src proto.Message) { - xxx_messageInfo_CeremonyFailure.Merge(m, src) -} -func (m *CeremonyFailure) XXX_Size() int { - return m.Size() -} -func (m *CeremonyFailure) XXX_DiscardUnknown() { - xxx_messageInfo_CeremonyFailure.DiscardUnknown(m) -} - -var xxx_messageInfo_CeremonyFailure proto.InternalMessageInfo - -type isCeremonyFailure_Failure interface { - isCeremonyFailure_Failure() - MarshalTo([]byte) (int, error) - Size() int -} - -type CeremonyFailure_Timeout_ struct { - Timeout *CeremonyFailure_Timeout `protobuf:"bytes,1,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"` -} -type CeremonyFailure_BadCommitment_ struct { - BadCommitment *CeremonyFailure_BadCommitment `protobuf:"bytes,2,opt,name=bad_commitment,json=badCommitment,proto3,oneof" json:"bad_commitment,omitempty"` -} -type CeremonyFailure_BadShare_ struct { - BadShare *CeremonyFailure_BadShare `protobuf:"bytes,3,opt,name=bad_share,json=badShare,proto3,oneof" json:"bad_share,omitempty"` -} -type CeremonyFailure_Canceled_ struct { - Canceled *CeremonyFailure_Canceled `protobuf:"bytes,4,opt,name=canceled,proto3,oneof" json:"canceled,omitempty"` -} - -func (*CeremonyFailure_Timeout_) isCeremonyFailure_Failure() {} -func (*CeremonyFailure_BadCommitment_) isCeremonyFailure_Failure() {} -func (*CeremonyFailure_BadShare_) isCeremonyFailure_Failure() {} -func (*CeremonyFailure_Canceled_) isCeremonyFailure_Failure() {} - -func (m *CeremonyFailure) GetFailure() isCeremonyFailure_Failure { - if m != nil { - return m.Failure - } - return nil -} - -func (m *CeremonyFailure) GetTimeout() *CeremonyFailure_Timeout { - if x, ok := m.GetFailure().(*CeremonyFailure_Timeout_); ok { - return x.Timeout - } - return nil -} - -func (m *CeremonyFailure) GetBadCommitment() *CeremonyFailure_BadCommitment { - if x, ok := m.GetFailure().(*CeremonyFailure_BadCommitment_); ok { - return x.BadCommitment - } - return nil -} - -func (m *CeremonyFailure) GetBadShare() *CeremonyFailure_BadShare { - if x, ok := m.GetFailure().(*CeremonyFailure_BadShare_); ok { - return x.BadShare - } - return nil -} - -func (m *CeremonyFailure) GetCanceled() *CeremonyFailure_Canceled { - if x, ok := m.GetFailure().(*CeremonyFailure_Canceled_); ok { - return x.Canceled - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CeremonyFailure) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CeremonyFailure_Timeout_)(nil), - (*CeremonyFailure_BadCommitment_)(nil), - (*CeremonyFailure_BadShare_)(nil), - (*CeremonyFailure_Canceled_)(nil), - } -} - -type CeremonyFailure_Timeout struct { -} - -func (m *CeremonyFailure_Timeout) Reset() { *m = CeremonyFailure_Timeout{} } -func (m *CeremonyFailure_Timeout) String() string { return proto.CompactTextString(m) } -func (*CeremonyFailure_Timeout) ProtoMessage() {} -func (*CeremonyFailure_Timeout) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{15, 0} -} -func (m *CeremonyFailure_Timeout) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CeremonyFailure_Timeout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CeremonyFailure_Timeout.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 *CeremonyFailure_Timeout) XXX_Merge(src proto.Message) { - xxx_messageInfo_CeremonyFailure_Timeout.Merge(m, src) -} -func (m *CeremonyFailure_Timeout) XXX_Size() int { - return m.Size() -} -func (m *CeremonyFailure_Timeout) XXX_DiscardUnknown() { - xxx_messageInfo_CeremonyFailure_Timeout.DiscardUnknown(m) -} - -var xxx_messageInfo_CeremonyFailure_Timeout proto.InternalMessageInfo - -type CeremonyFailure_BadCommitment struct { -} - -func (m *CeremonyFailure_BadCommitment) Reset() { *m = CeremonyFailure_BadCommitment{} } -func (m *CeremonyFailure_BadCommitment) String() string { return proto.CompactTextString(m) } -func (*CeremonyFailure_BadCommitment) ProtoMessage() {} -func (*CeremonyFailure_BadCommitment) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{15, 1} -} -func (m *CeremonyFailure_BadCommitment) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CeremonyFailure_BadCommitment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CeremonyFailure_BadCommitment.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 *CeremonyFailure_BadCommitment) XXX_Merge(src proto.Message) { - xxx_messageInfo_CeremonyFailure_BadCommitment.Merge(m, src) -} -func (m *CeremonyFailure_BadCommitment) XXX_Size() int { - return m.Size() -} -func (m *CeremonyFailure_BadCommitment) XXX_DiscardUnknown() { - xxx_messageInfo_CeremonyFailure_BadCommitment.DiscardUnknown(m) -} - -var xxx_messageInfo_CeremonyFailure_BadCommitment proto.InternalMessageInfo - -type CeremonyFailure_BadShare struct { -} - -func (m *CeremonyFailure_BadShare) Reset() { *m = CeremonyFailure_BadShare{} } -func (m *CeremonyFailure_BadShare) String() string { return proto.CompactTextString(m) } -func (*CeremonyFailure_BadShare) ProtoMessage() {} -func (*CeremonyFailure_BadShare) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{15, 2} -} -func (m *CeremonyFailure_BadShare) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CeremonyFailure_BadShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CeremonyFailure_BadShare.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 *CeremonyFailure_BadShare) XXX_Merge(src proto.Message) { - xxx_messageInfo_CeremonyFailure_BadShare.Merge(m, src) -} -func (m *CeremonyFailure_BadShare) XXX_Size() int { - return m.Size() -} -func (m *CeremonyFailure_BadShare) XXX_DiscardUnknown() { - xxx_messageInfo_CeremonyFailure_BadShare.DiscardUnknown(m) -} - -var xxx_messageInfo_CeremonyFailure_BadShare proto.InternalMessageInfo - -type CeremonyFailure_Canceled struct { -} - -func (m *CeremonyFailure_Canceled) Reset() { *m = CeremonyFailure_Canceled{} } -func (m *CeremonyFailure_Canceled) String() string { return proto.CompactTextString(m) } -func (*CeremonyFailure_Canceled) ProtoMessage() {} -func (*CeremonyFailure_Canceled) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{15, 3} -} -func (m *CeremonyFailure_Canceled) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CeremonyFailure_Canceled) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CeremonyFailure_Canceled.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 *CeremonyFailure_Canceled) XXX_Merge(src proto.Message) { - xxx_messageInfo_CeremonyFailure_Canceled.Merge(m, src) -} -func (m *CeremonyFailure_Canceled) XXX_Size() int { - return m.Size() -} -func (m *CeremonyFailure_Canceled) XXX_DiscardUnknown() { - xxx_messageInfo_CeremonyFailure_Canceled.DiscardUnknown(m) -} - -var xxx_messageInfo_CeremonyFailure_Canceled proto.InternalMessageInfo - -// The data recorded on-chain about the current state of a signing ceremony. -// -// The state machine of a signing ceremony is depicted in the following diagram: -// ``` -// ┌───────┐ ┌─────────────┐ ┌─────────────┐ ┌────────┐ -// │Pending│──▶│StartedRound1│──▶│StartedRound2│──▶│Finished│ -// └───────┘ └─────────────┘ └─────────────┘ ├────────┤ -// -// │ │ │ │AuthData│ -// │ │ │ └────────┘ -// │ │ │ -// │ │ │ ┌────────┐ -// └──────────────┴─────────────────┴─────────▶│ Failed │ -// └────────┘ -// -// ``` -// -// The ceremony steps are described in the FROST I-D: -// https://www.ietf.org/archive/id/draft-irtf-cfrg-frost-11.html -type CeremonyState struct { - // Types that are valid to be assigned to State: - // *CeremonyState_Pending_ - // *CeremonyState_StartedRound_1 - // *CeremonyState_StartedRound_2 - // *CeremonyState_Finished_ - // *CeremonyState_Failed_ - State isCeremonyState_State `protobuf_oneof:"state"` -} - -func (m *CeremonyState) Reset() { *m = CeremonyState{} } -func (m *CeremonyState) String() string { return proto.CompactTextString(m) } -func (*CeremonyState) ProtoMessage() {} -func (*CeremonyState) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{16} -} -func (m *CeremonyState) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CeremonyState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CeremonyState.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 *CeremonyState) XXX_Merge(src proto.Message) { - xxx_messageInfo_CeremonyState.Merge(m, src) -} -func (m *CeremonyState) XXX_Size() int { - return m.Size() -} -func (m *CeremonyState) XXX_DiscardUnknown() { - xxx_messageInfo_CeremonyState.DiscardUnknown(m) -} - -var xxx_messageInfo_CeremonyState proto.InternalMessageInfo - -type isCeremonyState_State interface { - isCeremonyState_State() - MarshalTo([]byte) (int, error) - Size() int -} - -type CeremonyState_Pending_ struct { - Pending *CeremonyState_Pending `protobuf:"bytes,1,opt,name=pending,proto3,oneof" json:"pending,omitempty"` -} -type CeremonyState_StartedRound_1 struct { - StartedRound_1 *CeremonyState_StartedRound1 `protobuf:"bytes,2,opt,name=started_round_1,json=startedRound1,proto3,oneof" json:"started_round_1,omitempty"` -} -type CeremonyState_StartedRound_2 struct { - StartedRound_2 *CeremonyState_StartedRound2 `protobuf:"bytes,3,opt,name=started_round_2,json=startedRound2,proto3,oneof" json:"started_round_2,omitempty"` -} -type CeremonyState_Finished_ struct { - Finished *CeremonyState_Finished `protobuf:"bytes,4,opt,name=finished,proto3,oneof" json:"finished,omitempty"` -} -type CeremonyState_Failed_ struct { - Failed *CeremonyState_Failed `protobuf:"bytes,5,opt,name=failed,proto3,oneof" json:"failed,omitempty"` -} - -func (*CeremonyState_Pending_) isCeremonyState_State() {} -func (*CeremonyState_StartedRound_1) isCeremonyState_State() {} -func (*CeremonyState_StartedRound_2) isCeremonyState_State() {} -func (*CeremonyState_Finished_) isCeremonyState_State() {} -func (*CeremonyState_Failed_) isCeremonyState_State() {} - -func (m *CeremonyState) GetState() isCeremonyState_State { - if m != nil { - return m.State - } - return nil -} - -func (m *CeremonyState) GetPending() *CeremonyState_Pending { - if x, ok := m.GetState().(*CeremonyState_Pending_); ok { - return x.Pending - } - return nil -} - -func (m *CeremonyState) GetStartedRound_1() *CeremonyState_StartedRound1 { - if x, ok := m.GetState().(*CeremonyState_StartedRound_1); ok { - return x.StartedRound_1 - } - return nil -} - -func (m *CeremonyState) GetStartedRound_2() *CeremonyState_StartedRound2 { - if x, ok := m.GetState().(*CeremonyState_StartedRound_2); ok { - return x.StartedRound_2 - } - return nil -} - -func (m *CeremonyState) GetFinished() *CeremonyState_Finished { - if x, ok := m.GetState().(*CeremonyState_Finished_); ok { - return x.Finished - } - return nil -} - -func (m *CeremonyState) GetFailed() *CeremonyState_Failed { - if x, ok := m.GetState().(*CeremonyState_Failed_); ok { - return x.Failed - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CeremonyState) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CeremonyState_Pending_)(nil), - (*CeremonyState_StartedRound_1)(nil), - (*CeremonyState_StartedRound_2)(nil), - (*CeremonyState_Finished_)(nil), - (*CeremonyState_Failed_)(nil), - } -} - -// A ceremony that has not yet started. -// -// For instance, a request could be queued until sufficient pre-authorizations were recorded on the ledger. -type CeremonyState_Pending struct { -} - -func (m *CeremonyState_Pending) Reset() { *m = CeremonyState_Pending{} } -func (m *CeremonyState_Pending) String() string { return proto.CompactTextString(m) } -func (*CeremonyState_Pending) ProtoMessage() {} -func (*CeremonyState_Pending) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{16, 0} -} -func (m *CeremonyState_Pending) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CeremonyState_Pending) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CeremonyState_Pending.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 *CeremonyState_Pending) XXX_Merge(src proto.Message) { - xxx_messageInfo_CeremonyState_Pending.Merge(m, src) -} -func (m *CeremonyState_Pending) XXX_Size() int { - return m.Size() -} -func (m *CeremonyState_Pending) XXX_DiscardUnknown() { - xxx_messageInfo_CeremonyState_Pending.DiscardUnknown(m) -} - -var xxx_messageInfo_CeremonyState_Pending proto.InternalMessageInfo - -// A ceremony that has started round 1. -// -// The committee has been chosen and the ledger is waiting to record round 1 contributions from all committee members. -type CeremonyState_StartedRound1 struct { - // The committee performing the ceremony. - Committee *Committee `protobuf:"bytes,1,opt,name=committee,proto3" json:"committee,omitempty"` - // A list of commitment messages received so far (begins empty). - Commitments []*AuthorizeCommitment `protobuf:"bytes,2,rep,name=commitments,proto3" json:"commitments,omitempty"` -} - -func (m *CeremonyState_StartedRound1) Reset() { *m = CeremonyState_StartedRound1{} } -func (m *CeremonyState_StartedRound1) String() string { return proto.CompactTextString(m) } -func (*CeremonyState_StartedRound1) ProtoMessage() {} -func (*CeremonyState_StartedRound1) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{16, 1} -} -func (m *CeremonyState_StartedRound1) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CeremonyState_StartedRound1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CeremonyState_StartedRound1.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 *CeremonyState_StartedRound1) XXX_Merge(src proto.Message) { - xxx_messageInfo_CeremonyState_StartedRound1.Merge(m, src) -} -func (m *CeremonyState_StartedRound1) XXX_Size() int { - return m.Size() -} -func (m *CeremonyState_StartedRound1) XXX_DiscardUnknown() { - xxx_messageInfo_CeremonyState_StartedRound1.DiscardUnknown(m) -} - -var xxx_messageInfo_CeremonyState_StartedRound1 proto.InternalMessageInfo - -func (m *CeremonyState_StartedRound1) GetCommittee() *Committee { - if m != nil { - return m.Committee - } - return nil -} - -func (m *CeremonyState_StartedRound1) GetCommitments() []*AuthorizeCommitment { - if m != nil { - return m.Commitments - } - return nil -} - -// A ceremony that has started round 2. -// -// The committee has been chosen, all round 1 commitments have been recorded, and the ledger is waiting to record round 1 contributions from all committee members. -type CeremonyState_StartedRound2 struct { - // The committee performing the ceremony. - Committee *Committee `protobuf:"bytes,1,opt,name=committee,proto3" json:"committee,omitempty"` - // A list of commitment messages received in round 1. - Commitments []*AuthorizeCommitment `protobuf:"bytes,2,rep,name=commitments,proto3" json:"commitments,omitempty"` - // A list of authorization share messages received so far (begins empty). - Shares []*AuthorizeShare `protobuf:"bytes,3,rep,name=shares,proto3" json:"shares,omitempty"` -} - -func (m *CeremonyState_StartedRound2) Reset() { *m = CeremonyState_StartedRound2{} } -func (m *CeremonyState_StartedRound2) String() string { return proto.CompactTextString(m) } -func (*CeremonyState_StartedRound2) ProtoMessage() {} -func (*CeremonyState_StartedRound2) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{16, 2} -} -func (m *CeremonyState_StartedRound2) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CeremonyState_StartedRound2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CeremonyState_StartedRound2.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 *CeremonyState_StartedRound2) XXX_Merge(src proto.Message) { - xxx_messageInfo_CeremonyState_StartedRound2.Merge(m, src) -} -func (m *CeremonyState_StartedRound2) XXX_Size() int { - return m.Size() -} -func (m *CeremonyState_StartedRound2) XXX_DiscardUnknown() { - xxx_messageInfo_CeremonyState_StartedRound2.DiscardUnknown(m) -} - -var xxx_messageInfo_CeremonyState_StartedRound2 proto.InternalMessageInfo - -func (m *CeremonyState_StartedRound2) GetCommittee() *Committee { - if m != nil { - return m.Committee - } - return nil -} - -func (m *CeremonyState_StartedRound2) GetCommitments() []*AuthorizeCommitment { - if m != nil { - return m.Commitments - } - return nil -} - -func (m *CeremonyState_StartedRound2) GetShares() []*AuthorizeShare { - if m != nil { - return m.Shares - } - return nil -} - -// A ceremony that has successfully finished. -// -// The transcript of the ceremony is recorded along with the resulting `AuthorizationData`. -type CeremonyState_Finished struct { - // The committee performing the ceremony. - Committee *Committee `protobuf:"bytes,1,opt,name=committee,proto3" json:"committee,omitempty"` - // A list of commitment messages received in round 1. - Commitments []*AuthorizeCommitment `protobuf:"bytes,2,rep,name=commitments,proto3" json:"commitments,omitempty"` - // A list of authorization share messages received in round 2. - Shares []*AuthorizeShare `protobuf:"bytes,3,rep,name=shares,proto3" json:"shares,omitempty"` - // The authorization data resulting from the ceremony. - AuthData *v1alpha11.AuthorizationData `protobuf:"bytes,4,opt,name=auth_data,json=authData,proto3" json:"auth_data,omitempty"` -} - -func (m *CeremonyState_Finished) Reset() { *m = CeremonyState_Finished{} } -func (m *CeremonyState_Finished) String() string { return proto.CompactTextString(m) } -func (*CeremonyState_Finished) ProtoMessage() {} -func (*CeremonyState_Finished) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{16, 3} -} -func (m *CeremonyState_Finished) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CeremonyState_Finished) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CeremonyState_Finished.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 *CeremonyState_Finished) XXX_Merge(src proto.Message) { - xxx_messageInfo_CeremonyState_Finished.Merge(m, src) -} -func (m *CeremonyState_Finished) XXX_Size() int { - return m.Size() -} -func (m *CeremonyState_Finished) XXX_DiscardUnknown() { - xxx_messageInfo_CeremonyState_Finished.DiscardUnknown(m) -} - -var xxx_messageInfo_CeremonyState_Finished proto.InternalMessageInfo - -func (m *CeremonyState_Finished) GetCommittee() *Committee { - if m != nil { - return m.Committee - } - return nil -} - -func (m *CeremonyState_Finished) GetCommitments() []*AuthorizeCommitment { - if m != nil { - return m.Commitments - } - return nil -} - -func (m *CeremonyState_Finished) GetShares() []*AuthorizeShare { - if m != nil { - return m.Shares - } - return nil -} - -func (m *CeremonyState_Finished) GetAuthData() *v1alpha11.AuthorizationData { - if m != nil { - return m.AuthData - } - return nil -} - -// A ceremony that failed. -// -// The transcript of the ceremony is recorded along with the reason for the failure. -type CeremonyState_Failed struct { - // The committee performing the ceremony. - Committee *Committee `protobuf:"bytes,1,opt,name=committee,proto3" json:"committee,omitempty"` - // A list of commitment messages received in round 1, if any. - Commitments []*AuthorizeCommitment `protobuf:"bytes,2,rep,name=commitments,proto3" json:"commitments,omitempty"` - // A list of authorization share messages received in round 2, if any. - Shares []*AuthorizeShare `protobuf:"bytes,3,rep,name=shares,proto3" json:"shares,omitempty"` - // A description of the failure. - Failure *CeremonyFailure `protobuf:"bytes,4,opt,name=failure,proto3" json:"failure,omitempty"` -} - -func (m *CeremonyState_Failed) Reset() { *m = CeremonyState_Failed{} } -func (m *CeremonyState_Failed) String() string { return proto.CompactTextString(m) } -func (*CeremonyState_Failed) ProtoMessage() {} -func (*CeremonyState_Failed) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{16, 4} -} -func (m *CeremonyState_Failed) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *CeremonyState_Failed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_CeremonyState_Failed.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 *CeremonyState_Failed) XXX_Merge(src proto.Message) { - xxx_messageInfo_CeremonyState_Failed.Merge(m, src) -} -func (m *CeremonyState_Failed) XXX_Size() int { - return m.Size() -} -func (m *CeremonyState_Failed) XXX_DiscardUnknown() { - xxx_messageInfo_CeremonyState_Failed.DiscardUnknown(m) -} - -var xxx_messageInfo_CeremonyState_Failed proto.InternalMessageInfo - -func (m *CeremonyState_Failed) GetCommittee() *Committee { - if m != nil { - return m.Committee - } - return nil -} - -func (m *CeremonyState_Failed) GetCommitments() []*AuthorizeCommitment { - if m != nil { - return m.Commitments - } - return nil -} - -func (m *CeremonyState_Failed) GetShares() []*AuthorizeShare { - if m != nil { - return m.Shares - } - return nil -} - -func (m *CeremonyState_Failed) GetFailure() *CeremonyFailure { - if m != nil { - return m.Failure - } - return nil -} - -// A packet of data sent to the Narsil ledger. -// -// This structure is what Narsil uses as a Tendermint transaction. However, we -// use the word "packet" rather than "transaction" here so that it's always -// unambiguous whether we're referring to data posted to the Penumbra chain or -// to a Narsil instance. -type NarsilPacket struct { - // Types that are valid to be assigned to Packet: - // *NarsilPacket_AuthorizeRequest - // *NarsilPacket_AuthorizeCommitment - // *NarsilPacket_AuthorizeShare - // *NarsilPacket_DkgRound_1 - // *NarsilPacket_DkgRound_2 - Packet isNarsilPacket_Packet `protobuf_oneof:"packet"` -} - -func (m *NarsilPacket) Reset() { *m = NarsilPacket{} } -func (m *NarsilPacket) String() string { return proto.CompactTextString(m) } -func (*NarsilPacket) ProtoMessage() {} -func (*NarsilPacket) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{17} -} -func (m *NarsilPacket) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *NarsilPacket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_NarsilPacket.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 *NarsilPacket) XXX_Merge(src proto.Message) { - xxx_messageInfo_NarsilPacket.Merge(m, src) -} -func (m *NarsilPacket) XXX_Size() int { - return m.Size() -} -func (m *NarsilPacket) XXX_DiscardUnknown() { - xxx_messageInfo_NarsilPacket.DiscardUnknown(m) -} - -var xxx_messageInfo_NarsilPacket proto.InternalMessageInfo - -type isNarsilPacket_Packet interface { - isNarsilPacket_Packet() - MarshalTo([]byte) (int, error) - Size() int -} - -type NarsilPacket_AuthorizeRequest struct { - AuthorizeRequest *v1alpha12.AuthorizeRequest `protobuf:"bytes,1,opt,name=authorize_request,json=authorizeRequest,proto3,oneof" json:"authorize_request,omitempty"` -} -type NarsilPacket_AuthorizeCommitment struct { - AuthorizeCommitment *AuthorizeCommitment `protobuf:"bytes,2,opt,name=authorize_commitment,json=authorizeCommitment,proto3,oneof" json:"authorize_commitment,omitempty"` -} -type NarsilPacket_AuthorizeShare struct { - AuthorizeShare *AuthorizeShare `protobuf:"bytes,3,opt,name=authorize_share,json=authorizeShare,proto3,oneof" json:"authorize_share,omitempty"` -} -type NarsilPacket_DkgRound_1 struct { - DkgRound_1 *DkgRound1 `protobuf:"bytes,1000,opt,name=dkg_round_1,json=dkgRound1,proto3,oneof" json:"dkg_round_1,omitempty"` -} -type NarsilPacket_DkgRound_2 struct { - DkgRound_2 *DkgRound2 `protobuf:"bytes,1001,opt,name=dkg_round_2,json=dkgRound2,proto3,oneof" json:"dkg_round_2,omitempty"` -} - -func (*NarsilPacket_AuthorizeRequest) isNarsilPacket_Packet() {} -func (*NarsilPacket_AuthorizeCommitment) isNarsilPacket_Packet() {} -func (*NarsilPacket_AuthorizeShare) isNarsilPacket_Packet() {} -func (*NarsilPacket_DkgRound_1) isNarsilPacket_Packet() {} -func (*NarsilPacket_DkgRound_2) isNarsilPacket_Packet() {} - -func (m *NarsilPacket) GetPacket() isNarsilPacket_Packet { - if m != nil { - return m.Packet - } - return nil -} - -func (m *NarsilPacket) GetAuthorizeRequest() *v1alpha12.AuthorizeRequest { - if x, ok := m.GetPacket().(*NarsilPacket_AuthorizeRequest); ok { - return x.AuthorizeRequest - } - return nil -} - -func (m *NarsilPacket) GetAuthorizeCommitment() *AuthorizeCommitment { - if x, ok := m.GetPacket().(*NarsilPacket_AuthorizeCommitment); ok { - return x.AuthorizeCommitment - } - return nil -} - -func (m *NarsilPacket) GetAuthorizeShare() *AuthorizeShare { - if x, ok := m.GetPacket().(*NarsilPacket_AuthorizeShare); ok { - return x.AuthorizeShare - } - return nil -} - -func (m *NarsilPacket) GetDkgRound_1() *DkgRound1 { - if x, ok := m.GetPacket().(*NarsilPacket_DkgRound_1); ok { - return x.DkgRound_1 - } - return nil -} - -func (m *NarsilPacket) GetDkgRound_2() *DkgRound2 { - if x, ok := m.GetPacket().(*NarsilPacket_DkgRound_2); ok { - return x.DkgRound_2 - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*NarsilPacket) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*NarsilPacket_AuthorizeRequest)(nil), - (*NarsilPacket_AuthorizeCommitment)(nil), - (*NarsilPacket_AuthorizeShare)(nil), - (*NarsilPacket_DkgRound_1)(nil), - (*NarsilPacket_DkgRound_2)(nil), - } -} - -// A wrapper around the FROST commitment message, exchanged in round 1 of the -// signing protocol for a single signature. -type FrostCommitment struct { - Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` -} - -func (m *FrostCommitment) Reset() { *m = FrostCommitment{} } -func (m *FrostCommitment) String() string { return proto.CompactTextString(m) } -func (*FrostCommitment) ProtoMessage() {} -func (*FrostCommitment) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{18} -} -func (m *FrostCommitment) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *FrostCommitment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_FrostCommitment.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 *FrostCommitment) XXX_Merge(src proto.Message) { - xxx_messageInfo_FrostCommitment.Merge(m, src) -} -func (m *FrostCommitment) XXX_Size() int { - return m.Size() -} -func (m *FrostCommitment) XXX_DiscardUnknown() { - xxx_messageInfo_FrostCommitment.DiscardUnknown(m) -} - -var xxx_messageInfo_FrostCommitment proto.InternalMessageInfo - -func (m *FrostCommitment) GetPayload() []byte { - if m != nil { - return m.Payload - } - return nil -} - -// A wrapper around the FROST signature share, exchanged in round 2 of the -// signing protocol for a single signature. -type FrostSignatureShare struct { - Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` -} - -func (m *FrostSignatureShare) Reset() { *m = FrostSignatureShare{} } -func (m *FrostSignatureShare) String() string { return proto.CompactTextString(m) } -func (*FrostSignatureShare) ProtoMessage() {} -func (*FrostSignatureShare) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{19} -} -func (m *FrostSignatureShare) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *FrostSignatureShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_FrostSignatureShare.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 *FrostSignatureShare) XXX_Merge(src proto.Message) { - xxx_messageInfo_FrostSignatureShare.Merge(m, src) -} -func (m *FrostSignatureShare) XXX_Size() int { - return m.Size() -} -func (m *FrostSignatureShare) XXX_DiscardUnknown() { - xxx_messageInfo_FrostSignatureShare.DiscardUnknown(m) -} - -var xxx_messageInfo_FrostSignatureShare proto.InternalMessageInfo - -func (m *FrostSignatureShare) GetPayload() []byte { - if m != nil { - return m.Payload - } - return nil -} - -// A Narsil shard's commitment message for a single ceremony, which may perform -// multiple signatures (one for each spend in the `AuthorizeRequest`'s -// `TransactionPlan`). -// -// This bundle of messages is signed with the shard's `ShardMessageKey` to -// prevent tampering (e.g., reordering of the internal FROST messages, etc). -type AuthorizeCommitment struct { - Body *AuthorizeCommitment_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` - Signer *ShardMessageKey `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` - Signature *ShardMessageSignature `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` -} - -func (m *AuthorizeCommitment) Reset() { *m = AuthorizeCommitment{} } -func (m *AuthorizeCommitment) String() string { return proto.CompactTextString(m) } -func (*AuthorizeCommitment) ProtoMessage() {} -func (*AuthorizeCommitment) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{20} -} -func (m *AuthorizeCommitment) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AuthorizeCommitment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AuthorizeCommitment.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 *AuthorizeCommitment) XXX_Merge(src proto.Message) { - xxx_messageInfo_AuthorizeCommitment.Merge(m, src) -} -func (m *AuthorizeCommitment) XXX_Size() int { - return m.Size() -} -func (m *AuthorizeCommitment) XXX_DiscardUnknown() { - xxx_messageInfo_AuthorizeCommitment.DiscardUnknown(m) -} - -var xxx_messageInfo_AuthorizeCommitment proto.InternalMessageInfo - -func (m *AuthorizeCommitment) GetBody() *AuthorizeCommitment_Body { - if m != nil { - return m.Body - } - return nil -} - -func (m *AuthorizeCommitment) GetSigner() *ShardMessageKey { - if m != nil { - return m.Signer - } - return nil -} - -func (m *AuthorizeCommitment) GetSignature() *ShardMessageSignature { - if m != nil { - return m.Signature - } - return nil -} - -type AuthorizeCommitment_Body struct { - CeremonyIndex *CeremonyIndex `protobuf:"bytes,1,opt,name=ceremony_index,json=ceremonyIndex,proto3" json:"ceremony_index,omitempty"` - Commitments []*FrostCommitment `protobuf:"bytes,2,rep,name=commitments,proto3" json:"commitments,omitempty"` -} - -func (m *AuthorizeCommitment_Body) Reset() { *m = AuthorizeCommitment_Body{} } -func (m *AuthorizeCommitment_Body) String() string { return proto.CompactTextString(m) } -func (*AuthorizeCommitment_Body) ProtoMessage() {} -func (*AuthorizeCommitment_Body) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{20, 0} -} -func (m *AuthorizeCommitment_Body) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AuthorizeCommitment_Body) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AuthorizeCommitment_Body.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 *AuthorizeCommitment_Body) XXX_Merge(src proto.Message) { - xxx_messageInfo_AuthorizeCommitment_Body.Merge(m, src) -} -func (m *AuthorizeCommitment_Body) XXX_Size() int { - return m.Size() -} -func (m *AuthorizeCommitment_Body) XXX_DiscardUnknown() { - xxx_messageInfo_AuthorizeCommitment_Body.DiscardUnknown(m) -} - -var xxx_messageInfo_AuthorizeCommitment_Body proto.InternalMessageInfo - -func (m *AuthorizeCommitment_Body) GetCeremonyIndex() *CeremonyIndex { - if m != nil { - return m.CeremonyIndex - } - return nil -} - -func (m *AuthorizeCommitment_Body) GetCommitments() []*FrostCommitment { - if m != nil { - return m.Commitments - } - return nil -} - -// A Narsil shard's signature share message for a single ceremony, which may perform -// multiple signatures (one for each spend in the `AuthorizeRequest`'s -// `TransactionPlan`). -// -// This bundle of messages is signed with the shard's `ShardMessageKey` to -// prevent tampering (e.g., reordering of the internal FROST messages, etc). -type AuthorizeShare struct { - Body *AuthorizeShare_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` - Signer *ShardMessageKey `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` - Signature *ShardMessageSignature `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` -} - -func (m *AuthorizeShare) Reset() { *m = AuthorizeShare{} } -func (m *AuthorizeShare) String() string { return proto.CompactTextString(m) } -func (*AuthorizeShare) ProtoMessage() {} -func (*AuthorizeShare) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{21} -} -func (m *AuthorizeShare) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AuthorizeShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AuthorizeShare.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 *AuthorizeShare) XXX_Merge(src proto.Message) { - xxx_messageInfo_AuthorizeShare.Merge(m, src) -} -func (m *AuthorizeShare) XXX_Size() int { - return m.Size() -} -func (m *AuthorizeShare) XXX_DiscardUnknown() { - xxx_messageInfo_AuthorizeShare.DiscardUnknown(m) -} - -var xxx_messageInfo_AuthorizeShare proto.InternalMessageInfo - -func (m *AuthorizeShare) GetBody() *AuthorizeShare_Body { - if m != nil { - return m.Body - } - return nil -} - -func (m *AuthorizeShare) GetSigner() *ShardMessageKey { - if m != nil { - return m.Signer - } - return nil -} - -func (m *AuthorizeShare) GetSignature() *ShardMessageSignature { - if m != nil { - return m.Signature - } - return nil -} - -type AuthorizeShare_Body struct { - CeremonyIndex *CeremonyIndex `protobuf:"bytes,1,opt,name=ceremony_index,json=ceremonyIndex,proto3" json:"ceremony_index,omitempty"` - Commitments []*FrostCommitment `protobuf:"bytes,2,rep,name=commitments,proto3" json:"commitments,omitempty"` -} - -func (m *AuthorizeShare_Body) Reset() { *m = AuthorizeShare_Body{} } -func (m *AuthorizeShare_Body) String() string { return proto.CompactTextString(m) } -func (*AuthorizeShare_Body) ProtoMessage() {} -func (*AuthorizeShare_Body) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{21, 0} -} -func (m *AuthorizeShare_Body) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *AuthorizeShare_Body) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_AuthorizeShare_Body.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 *AuthorizeShare_Body) XXX_Merge(src proto.Message) { - xxx_messageInfo_AuthorizeShare_Body.Merge(m, src) -} -func (m *AuthorizeShare_Body) XXX_Size() int { - return m.Size() -} -func (m *AuthorizeShare_Body) XXX_DiscardUnknown() { - xxx_messageInfo_AuthorizeShare_Body.DiscardUnknown(m) -} - -var xxx_messageInfo_AuthorizeShare_Body proto.InternalMessageInfo - -func (m *AuthorizeShare_Body) GetCeremonyIndex() *CeremonyIndex { - if m != nil { - return m.CeremonyIndex - } - return nil -} - -func (m *AuthorizeShare_Body) GetCommitments() []*FrostCommitment { - if m != nil { - return m.Commitments - } - return nil -} - -// A shard operator's round 1 contribution to the DKG ceremony. -type DkgRound1 struct { - Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` - Signer *ShardMessageKey `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` - Signature *ShardMessageSignature `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` -} - -func (m *DkgRound1) Reset() { *m = DkgRound1{} } -func (m *DkgRound1) String() string { return proto.CompactTextString(m) } -func (*DkgRound1) ProtoMessage() {} -func (*DkgRound1) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{22} -} -func (m *DkgRound1) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DkgRound1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DkgRound1.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 *DkgRound1) XXX_Merge(src proto.Message) { - xxx_messageInfo_DkgRound1.Merge(m, src) -} -func (m *DkgRound1) XXX_Size() int { - return m.Size() -} -func (m *DkgRound1) XXX_DiscardUnknown() { - xxx_messageInfo_DkgRound1.DiscardUnknown(m) -} - -var xxx_messageInfo_DkgRound1 proto.InternalMessageInfo - -func (m *DkgRound1) GetPayload() []byte { - if m != nil { - return m.Payload - } - return nil -} - -func (m *DkgRound1) GetSigner() *ShardMessageKey { - if m != nil { - return m.Signer - } - return nil -} - -func (m *DkgRound1) GetSignature() *ShardMessageSignature { - if m != nil { - return m.Signature - } - return nil -} - -// A shard operator's round 2 contribution to the DKG ceremony. -type DkgRound2 struct { - Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` - Signer *ShardMessageKey `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` - Signature *ShardMessageSignature `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` -} - -func (m *DkgRound2) Reset() { *m = DkgRound2{} } -func (m *DkgRound2) String() string { return proto.CompactTextString(m) } -func (*DkgRound2) ProtoMessage() {} -func (*DkgRound2) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{23} -} -func (m *DkgRound2) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DkgRound2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DkgRound2.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 *DkgRound2) XXX_Merge(src proto.Message) { - xxx_messageInfo_DkgRound2.Merge(m, src) -} -func (m *DkgRound2) XXX_Size() int { - return m.Size() -} -func (m *DkgRound2) XXX_DiscardUnknown() { - xxx_messageInfo_DkgRound2.DiscardUnknown(m) -} - -var xxx_messageInfo_DkgRound2 proto.InternalMessageInfo - -func (m *DkgRound2) GetPayload() []byte { - if m != nil { - return m.Payload - } - return nil -} - -func (m *DkgRound2) GetSigner() *ShardMessageKey { - if m != nil { - return m.Signer - } - return nil -} - -func (m *DkgRound2) GetSignature() *ShardMessageSignature { - if m != nil { - return m.Signature - } - return nil -} - -// The data recorded on-chain about the current state of the DKG ceremony. -type DkgState struct { -} - -func (m *DkgState) Reset() { *m = DkgState{} } -func (m *DkgState) String() string { return proto.CompactTextString(m) } -func (*DkgState) ProtoMessage() {} -func (*DkgState) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{24} -} -func (m *DkgState) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DkgState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DkgState.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 *DkgState) XXX_Merge(src proto.Message) { - xxx_messageInfo_DkgState.Merge(m, src) -} -func (m *DkgState) XXX_Size() int { - return m.Size() -} -func (m *DkgState) XXX_DiscardUnknown() { - xxx_messageInfo_DkgState.DiscardUnknown(m) -} - -var xxx_messageInfo_DkgState proto.InternalMessageInfo - -// The DKG has started round 1, and the ledger is waiting to record contributions from shard operators. -type DkgState_StartedRound1 struct { - // A list of round 1 messages received so far (begins empty). - Round_1Messages []*DkgRound1 `protobuf:"bytes,1,rep,name=round_1_messages,json=round1Messages,proto3" json:"round_1_messages,omitempty"` -} - -func (m *DkgState_StartedRound1) Reset() { *m = DkgState_StartedRound1{} } -func (m *DkgState_StartedRound1) String() string { return proto.CompactTextString(m) } -func (*DkgState_StartedRound1) ProtoMessage() {} -func (*DkgState_StartedRound1) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{24, 0} -} -func (m *DkgState_StartedRound1) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DkgState_StartedRound1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DkgState_StartedRound1.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 *DkgState_StartedRound1) XXX_Merge(src proto.Message) { - xxx_messageInfo_DkgState_StartedRound1.Merge(m, src) -} -func (m *DkgState_StartedRound1) XXX_Size() int { - return m.Size() -} -func (m *DkgState_StartedRound1) XXX_DiscardUnknown() { - xxx_messageInfo_DkgState_StartedRound1.DiscardUnknown(m) -} - -var xxx_messageInfo_DkgState_StartedRound1 proto.InternalMessageInfo - -func (m *DkgState_StartedRound1) GetRound_1Messages() []*DkgRound1 { - if m != nil { - return m.Round_1Messages - } - return nil -} - -// The DKG has started round 2, and the ledger is waiting to record contributions from shard operators. -type DkgState_StartedRound2 struct { - // A list of messages received during round 1. - Round_1Messages []*DkgRound1 `protobuf:"bytes,1,rep,name=round_1_messages,json=round1Messages,proto3" json:"round_1_messages,omitempty"` - // A list of round 2 messages received so far (begins empty). - Round_2Messages []*DkgRound2 `protobuf:"bytes,2,rep,name=round_2_messages,json=round2Messages,proto3" json:"round_2_messages,omitempty"` -} - -func (m *DkgState_StartedRound2) Reset() { *m = DkgState_StartedRound2{} } -func (m *DkgState_StartedRound2) String() string { return proto.CompactTextString(m) } -func (*DkgState_StartedRound2) ProtoMessage() {} -func (*DkgState_StartedRound2) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{24, 1} -} -func (m *DkgState_StartedRound2) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DkgState_StartedRound2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DkgState_StartedRound2.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 *DkgState_StartedRound2) XXX_Merge(src proto.Message) { - xxx_messageInfo_DkgState_StartedRound2.Merge(m, src) -} -func (m *DkgState_StartedRound2) XXX_Size() int { - return m.Size() -} -func (m *DkgState_StartedRound2) XXX_DiscardUnknown() { - xxx_messageInfo_DkgState_StartedRound2.DiscardUnknown(m) -} - -var xxx_messageInfo_DkgState_StartedRound2 proto.InternalMessageInfo - -func (m *DkgState_StartedRound2) GetRound_1Messages() []*DkgRound1 { - if m != nil { - return m.Round_1Messages - } - return nil -} - -func (m *DkgState_StartedRound2) GetRound_2Messages() []*DkgRound2 { - if m != nil { - return m.Round_2Messages - } - return nil -} - -// The DKG has finished successfully, producing the jointly-controlled `WalletInfo`. -// -// Unlike the signing ceremony, we don't record a failure case here: if the DKG fails, we abort the entire ledger. -type DkgState_Finished struct { - // A list of messages received during round 1. - Round_1Messages []*DkgRound1 `protobuf:"bytes,1,rep,name=round_1_messages,json=round1Messages,proto3" json:"round_1_messages,omitempty"` - // A list of messages received during round 2. - Round_2Messages []*DkgRound2 `protobuf:"bytes,2,rep,name=round_2_messages,json=round2Messages,proto3" json:"round_2_messages,omitempty"` - // The jointly-controlled `WalletInfo` resulting from the DKG. - WalletInfo *WalletInfo `protobuf:"bytes,3,opt,name=wallet_info,json=walletInfo,proto3" json:"wallet_info,omitempty"` -} - -func (m *DkgState_Finished) Reset() { *m = DkgState_Finished{} } -func (m *DkgState_Finished) String() string { return proto.CompactTextString(m) } -func (*DkgState_Finished) ProtoMessage() {} -func (*DkgState_Finished) Descriptor() ([]byte, []int) { - return fileDescriptor_e17e78e0f19a1ac0, []int{24, 2} -} -func (m *DkgState_Finished) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *DkgState_Finished) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_DkgState_Finished.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 *DkgState_Finished) XXX_Merge(src proto.Message) { - xxx_messageInfo_DkgState_Finished.Merge(m, src) -} -func (m *DkgState_Finished) XXX_Size() int { - return m.Size() -} -func (m *DkgState_Finished) XXX_DiscardUnknown() { - xxx_messageInfo_DkgState_Finished.DiscardUnknown(m) -} - -var xxx_messageInfo_DkgState_Finished proto.InternalMessageInfo - -func (m *DkgState_Finished) GetRound_1Messages() []*DkgRound1 { - if m != nil { - return m.Round_1Messages - } - return nil -} - -func (m *DkgState_Finished) GetRound_2Messages() []*DkgRound2 { - if m != nil { - return m.Round_2Messages - } - return nil -} - -func (m *DkgState_Finished) GetWalletInfo() *WalletInfo { - if m != nil { - return m.WalletInfo - } - return nil -} - -func init() { - proto.RegisterType((*InfoRequest)(nil), "penumbra.narsil.ledger.v1alpha1.InfoRequest") - proto.RegisterType((*InfoResponse)(nil), "penumbra.narsil.ledger.v1alpha1.InfoResponse") - proto.RegisterType((*ShardIdentityKey)(nil), "penumbra.narsil.ledger.v1alpha1.ShardIdentityKey") - proto.RegisterType((*ConsensusKey)(nil), "penumbra.narsil.ledger.v1alpha1.ConsensusKey") - proto.RegisterType((*ShardMessageKey)(nil), "penumbra.narsil.ledger.v1alpha1.ShardMessageKey") - proto.RegisterType((*ShardKey)(nil), "penumbra.narsil.ledger.v1alpha1.ShardKey") - proto.RegisterType((*ShardMessageSignature)(nil), "penumbra.narsil.ledger.v1alpha1.ShardMessageSignature") - proto.RegisterType((*ShardDescription)(nil), "penumbra.narsil.ledger.v1alpha1.ShardDescription") - proto.RegisterType((*ShardOperator)(nil), "penumbra.narsil.ledger.v1alpha1.ShardOperator") - proto.RegisterType((*GenesisData)(nil), "penumbra.narsil.ledger.v1alpha1.GenesisData") - proto.RegisterType((*WalletInfo)(nil), "penumbra.narsil.ledger.v1alpha1.WalletInfo") - proto.RegisterType((*ShardInfo)(nil), "penumbra.narsil.ledger.v1alpha1.ShardInfo") - proto.RegisterType((*RequestIndex)(nil), "penumbra.narsil.ledger.v1alpha1.RequestIndex") - proto.RegisterType((*CeremonyIndex)(nil), "penumbra.narsil.ledger.v1alpha1.CeremonyIndex") - proto.RegisterType((*Committee)(nil), "penumbra.narsil.ledger.v1alpha1.Committee") - proto.RegisterType((*CeremonyFailure)(nil), "penumbra.narsil.ledger.v1alpha1.CeremonyFailure") - proto.RegisterType((*CeremonyFailure_Timeout)(nil), "penumbra.narsil.ledger.v1alpha1.CeremonyFailure.Timeout") - proto.RegisterType((*CeremonyFailure_BadCommitment)(nil), "penumbra.narsil.ledger.v1alpha1.CeremonyFailure.BadCommitment") - proto.RegisterType((*CeremonyFailure_BadShare)(nil), "penumbra.narsil.ledger.v1alpha1.CeremonyFailure.BadShare") - proto.RegisterType((*CeremonyFailure_Canceled)(nil), "penumbra.narsil.ledger.v1alpha1.CeremonyFailure.Canceled") - proto.RegisterType((*CeremonyState)(nil), "penumbra.narsil.ledger.v1alpha1.CeremonyState") - proto.RegisterType((*CeremonyState_Pending)(nil), "penumbra.narsil.ledger.v1alpha1.CeremonyState.Pending") - proto.RegisterType((*CeremonyState_StartedRound1)(nil), "penumbra.narsil.ledger.v1alpha1.CeremonyState.StartedRound1") - proto.RegisterType((*CeremonyState_StartedRound2)(nil), "penumbra.narsil.ledger.v1alpha1.CeremonyState.StartedRound2") - proto.RegisterType((*CeremonyState_Finished)(nil), "penumbra.narsil.ledger.v1alpha1.CeremonyState.Finished") - proto.RegisterType((*CeremonyState_Failed)(nil), "penumbra.narsil.ledger.v1alpha1.CeremonyState.Failed") - proto.RegisterType((*NarsilPacket)(nil), "penumbra.narsil.ledger.v1alpha1.NarsilPacket") - proto.RegisterType((*FrostCommitment)(nil), "penumbra.narsil.ledger.v1alpha1.FrostCommitment") - proto.RegisterType((*FrostSignatureShare)(nil), "penumbra.narsil.ledger.v1alpha1.FrostSignatureShare") - proto.RegisterType((*AuthorizeCommitment)(nil), "penumbra.narsil.ledger.v1alpha1.AuthorizeCommitment") - proto.RegisterType((*AuthorizeCommitment_Body)(nil), "penumbra.narsil.ledger.v1alpha1.AuthorizeCommitment.Body") - proto.RegisterType((*AuthorizeShare)(nil), "penumbra.narsil.ledger.v1alpha1.AuthorizeShare") - proto.RegisterType((*AuthorizeShare_Body)(nil), "penumbra.narsil.ledger.v1alpha1.AuthorizeShare.Body") - proto.RegisterType((*DkgRound1)(nil), "penumbra.narsil.ledger.v1alpha1.DkgRound1") - proto.RegisterType((*DkgRound2)(nil), "penumbra.narsil.ledger.v1alpha1.DkgRound2") - proto.RegisterType((*DkgState)(nil), "penumbra.narsil.ledger.v1alpha1.DkgState") - proto.RegisterType((*DkgState_StartedRound1)(nil), "penumbra.narsil.ledger.v1alpha1.DkgState.StartedRound1") - proto.RegisterType((*DkgState_StartedRound2)(nil), "penumbra.narsil.ledger.v1alpha1.DkgState.StartedRound2") - proto.RegisterType((*DkgState_Finished)(nil), "penumbra.narsil.ledger.v1alpha1.DkgState.Finished") -} - -func init() { - proto.RegisterFile("penumbra/narsil/ledger/v1alpha1/ledger.proto", fileDescriptor_e17e78e0f19a1ac0) -} - -var fileDescriptor_e17e78e0f19a1ac0 = []byte{ - // 1769 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x59, 0xcb, 0x8f, 0x23, 0x47, - 0x19, 0xf7, 0x6b, 0x67, 0xec, 0xcf, 0xf6, 0xcc, 0xa4, 0x76, 0x41, 0x23, 0x0b, 0xcd, 0x2e, 0x1d, - 0x20, 0xab, 0xdd, 0xac, 0x9d, 0x69, 0x96, 0x40, 0x06, 0x84, 0x14, 0xcf, 0xb2, 0xeb, 0x0d, 0xfb, - 0x18, 0x6a, 0x66, 0x27, 0x68, 0xb5, 0x92, 0x55, 0xee, 0x2e, 0xdb, 0xa5, 0x69, 0x77, 0x37, 0x5d, - 0xe5, 0x59, 0xcc, 0x99, 0x13, 0xa7, 0xfc, 0x0d, 0x48, 0x08, 0x89, 0x43, 0x24, 0x84, 0x84, 0x22, - 0x71, 0x40, 0x42, 0x8a, 0x04, 0x9c, 0x72, 0x84, 0x5b, 0x34, 0x7b, 0x01, 0xfe, 0x04, 0x4e, 0xa8, - 0x1e, 0xfd, 0xb0, 0xbd, 0x83, 0xed, 0x21, 0x91, 0x12, 0x85, 0x5b, 0x57, 0xf5, 0xef, 0xfb, 0x7d, - 0xcf, 0xfa, 0xaa, 0xaa, 0x1b, 0x5e, 0x0f, 0xa9, 0x3f, 0x1e, 0xf5, 0x22, 0xd2, 0xf2, 0x49, 0xc4, - 0x99, 0xd7, 0xf2, 0xa8, 0x3b, 0xa0, 0x51, 0xeb, 0x74, 0x97, 0x78, 0xe1, 0x90, 0xec, 0x9a, 0x71, - 0x33, 0x8c, 0x02, 0x11, 0xa0, 0xab, 0x31, 0xba, 0xa9, 0xd1, 0x4d, 0xf3, 0x36, 0x46, 0x37, 0xec, - 0x84, 0xce, 0x09, 0x22, 0xda, 0x72, 0x82, 0x51, 0x18, 0xf8, 0xd4, 0x17, 0x2d, 0x67, 0x48, 0x98, - 0x9f, 0xb2, 0xaa, 0xa1, 0x26, 0x6d, 0x7c, 0x63, 0x5a, 0xe6, 0x84, 0x4e, 0x78, 0x0a, 0x94, 0x23, - 0x83, 0xbb, 0x3d, 0x8d, 0x13, 0x11, 0xf1, 0x39, 0x71, 0x04, 0x0b, 0x32, 0xbc, 0x99, 0x49, 0x23, - 0xf5, 0x5a, 0x2a, 0x35, 0xe6, 0x22, 0x70, 0x27, 0x19, 0x23, 0xf4, 0x84, 0x06, 0x5a, 0xef, 0xe5, - 0xa1, 0x7a, 0xdf, 0xef, 0x07, 0x98, 0xfe, 0x64, 0x4c, 0xb9, 0x40, 0xdb, 0xb0, 0x7e, 0x4a, 0x23, - 0xce, 0x02, 0x7f, 0x3b, 0x7f, 0x2d, 0x7f, 0xbd, 0x82, 0xe3, 0x21, 0x7a, 0x15, 0xea, 0x3d, 0x2f, - 0x70, 0x4e, 0xba, 0xf1, 0xfb, 0xc2, 0xb5, 0xfc, 0xf5, 0x12, 0xae, 0xa9, 0xc9, 0x63, 0x03, 0xba, - 0x0a, 0xd5, 0xd0, 0x0e, 0x13, 0x48, 0x51, 0x41, 0x20, 0xb4, 0xc3, 0x18, 0xf0, 0x55, 0xa8, 0x91, - 0x9e, 0xc3, 0x12, 0x44, 0x49, 0x29, 0xa9, 0xca, 0x39, 0x03, 0xb1, 0x3e, 0xc8, 0x43, 0x4d, 0x9b, - 0xc4, 0xc3, 0xc0, 0xe7, 0x14, 0x21, 0x28, 0xb9, 0x44, 0x10, 0x65, 0x50, 0x0d, 0xab, 0xe7, 0xac, - 0x9d, 0x85, 0x69, 0x3b, 0xaf, 0x42, 0x95, 0x84, 0x73, 0x26, 0x90, 0x30, 0x31, 0xe1, 0x06, 0xbc, - 0xe2, 0x11, 0x2e, 0xba, 0xda, 0x9b, 0x21, 0x65, 0x83, 0xa1, 0x50, 0x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c0, 0x3a, 0x85, 0xba, 0x32, 0xe4, 0x71, 0x48, 0x23, 0x22, 0x82, 0x08, 0x1d, 0x42, - 0xd5, 0x4d, 0x43, 0xb6, 0x5a, 0x88, 0x32, 0xb1, 0xc6, 0x59, 0x16, 0xb4, 0x05, 0x45, 0xce, 0x06, - 0x2a, 0x34, 0x35, 0x2c, 0x1f, 0xad, 0x09, 0x54, 0xef, 0x51, 0x9f, 0x72, 0xc6, 0xef, 0xc8, 0xe5, - 0xf0, 0x00, 0x2a, 0x81, 0xb1, 0x80, 0x6f, 0xe7, 0xaf, 0x15, 0xaf, 0x57, 0xed, 0xe6, 0x72, 0x3a, - 0x63, 0xc3, 0x71, 0x4a, 0x80, 0xbe, 0x02, 0x15, 0x31, 0x8c, 0x28, 0x1f, 0x06, 0x9e, 0xab, 0x94, - 0xd6, 0x71, 0x3a, 0x61, 0xfd, 0x2e, 0x0f, 0xf0, 0x2e, 0xf1, 0x3c, 0x2a, 0xe4, 0x2a, 0x45, 0x4f, - 0x60, 0xab, 0x3f, 0xf6, 0xbc, 0xee, 0x29, 0xa3, 0xcf, 0x99, 0x3f, 0xc8, 0x14, 0xc6, 0xcd, 0xd4, - 0x02, 0xd9, 0xbb, 0x9a, 0xaa, 0xab, 0x25, 0xda, 0xef, 0x8e, 0x3d, 0xef, 0x58, 0xcb, 0xc8, 0x60, - 0x6f, 0xf4, 0xa7, 0xc6, 0xe8, 0x11, 0xd4, 0x42, 0x12, 0x09, 0xe6, 0xb0, 0x90, 0xf8, 0x82, 0x6f, - 0x17, 0x94, 0x53, 0x37, 0x96, 0xac, 0x35, 0xd9, 0x3e, 0xa6, 0xe4, 0xad, 0x8f, 0xf3, 0x50, 0x49, - 0xde, 0xe9, 0xa2, 0x77, 0xe9, 0x4f, 0x95, 0xa5, 0x75, 0xac, 0x07, 0x68, 0x00, 0x5f, 0xe6, 0x12, - 0x22, 0x9b, 0x07, 0xeb, 0x33, 0x87, 0xc8, 0xe0, 0x67, 0x8a, 0x72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, 0x72, 0x78, 0x8b, 0xcc, - 0xcc, 0x21, 0x06, 0x57, 0x52, 0xee, 0xb9, 0xed, 0xff, 0x42, 0xb1, 0xee, 0xe4, 0xf0, 0x65, 0x32, - 0x3f, 0x8d, 0x9e, 0xc2, 0x66, 0xaa, 0x2a, 0x7b, 0x00, 0x58, 0x35, 0xfc, 0x9d, 0x1c, 0xde, 0x20, - 0x53, 0x33, 0xe8, 0x21, 0x54, 0xdd, 0x93, 0x41, 0xb2, 0xf5, 0xfd, 0x63, 0x7d, 0xc9, 0xb2, 0xbb, - 0x73, 0x32, 0x48, 0x76, 0xba, 0x8a, 0x1b, 0x0f, 0xa6, 0xe9, 0xec, 0xed, 0x7f, 0xae, 0x4a, 0x67, - 0x67, 0xe9, 0xec, 0x76, 0x19, 0xd6, 0x42, 0x95, 0x4a, 0xeb, 0x26, 0x6c, 0xde, 0x8d, 0x02, 0x2e, - 0x32, 0x61, 0xd9, 0x86, 0xf5, 0x90, 0x4c, 0xbc, 0x80, 0xb8, 0xe6, 0x22, 0x1d, 0x0f, 0xad, 0x16, - 0x5c, 0x56, 0xe0, 0xe4, 0xca, 0xad, 0x7d, 0x3d, 0x5f, 0xe0, 0x83, 0x22, 0x5c, 0x7e, 0x49, 0x42, - 0xd0, 0x43, 0x28, 0xf5, 0x02, 0x37, 0x3e, 0xdf, 0xbe, 0x75, 0x91, 0xa4, 0x36, 0xdb, 0x81, 0x3b, - 0xc1, 0x8a, 0x06, 0x75, 0x60, 0x8d, 0xb3, 0x81, 0xbc, 0xf9, 0x5f, 0xf4, 0xca, 0x6d, 0xe4, 0xd1, - 0x11, 0x54, 0x78, 0xec, 0x9c, 0x29, 0x86, 0x37, 0x57, 0x22, 0x4b, 0x42, 0x83, 0x53, 0x22, 0xb9, - 0x11, 0x97, 0xa4, 0xb9, 0xe8, 0xc9, 0xdc, 0x85, 0xe0, 0x62, 0x27, 0xfc, 0xe9, 0x0b, 0x04, 0xc2, - 0x2f, 0x6b, 0x4b, 0x8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, 0x76, 0x72, 0x1f, 0xbd, 0xd8, 0xc9, 0xfd, 0xed, 0xc5, 0x4e, - 0x0e, 0x5e, 0x75, 0x82, 0xd1, 0x22, 0xb2, 0x76, 0x55, 0xdb, 0x7c, 0x10, 0x05, 0x22, 0x38, 0xc8, - 0x3f, 0x7d, 0x3a, 0x60, 0x62, 0x38, 0xee, 0x35, 0x9d, 0x60, 0xd4, 0x72, 0x02, 0x3e, 0x0a, 0x78, - 0x2b, 0xa2, 0x1e, 0x99, 0xd0, 0xa8, 0x75, 0x6a, 0x27, 0x8f, 0xea, 0x37, 0x12, 0x6f, 0x2d, 0xf8, - 0x87, 0xf5, 0x5d, 0x3d, 0x8e, 0x87, 0xbf, 0x2c, 0x14, 0x0f, 0x1e, 0x3d, 0xf8, 0x4d, 0xe1, 0xea, - 0x41, 0x6c, 0x92, 0x3e, 0x9c, 0x36, 0xb5, 0x05, 0xcd, 0x63, 0x83, 0xfb, 0x6b, 0x8a, 0x78, 0xa6, - 0x11, 0xcf, 0x34, 0xe2, 0x59, 0x8c, 0x38, 0x2b, 0xdc, 0x5c, 0x80, 0x78, 0x76, 0xef, 0xa0, 0xfd, - 0x90, 0x0a, 0x22, 0x6f, 0x26, 0xff, 0x2a, 0x58, 0x31, 0x7a, 0x6f, 0x4f, 0xc3, 0xf7, 0xf6, 0x34, - 0x7e, 0x6f, 0x2f, 0x16, 0xe8, 0xad, 0xa9, 0xbf, 0x51, 0xdf, 0xfc, 0x4f, 0x00, 0x00, 0x00, 0xff, - 0xff, 0x00, 0x75, 0xdc, 0xfe, 0x99, 0x1b, 0x00, 0x00, -} - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConn - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 - -// LedgerServiceClient is the client API for LedgerService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type LedgerServiceClient interface { - Info(ctx context.Context, in *InfoRequest, opts ...grpc.CallOption) (*InfoResponse, error) -} - -type ledgerServiceClient struct { - cc grpc1.ClientConn -} - -func NewLedgerServiceClient(cc grpc1.ClientConn) LedgerServiceClient { - return &ledgerServiceClient{cc} -} - -func (c *ledgerServiceClient) Info(ctx context.Context, in *InfoRequest, opts ...grpc.CallOption) (*InfoResponse, error) { - out := new(InfoResponse) - err := c.cc.Invoke(ctx, "/penumbra.narsil.ledger.v1alpha1.LedgerService/Info", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// LedgerServiceServer is the server API for LedgerService service. -type LedgerServiceServer interface { - Info(context.Context, *InfoRequest) (*InfoResponse, error) -} - -// UnimplementedLedgerServiceServer can be embedded to have forward compatible implementations. -type UnimplementedLedgerServiceServer struct { -} - -func (*UnimplementedLedgerServiceServer) Info(ctx context.Context, req *InfoRequest) (*InfoResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Info not implemented") -} - -func RegisterLedgerServiceServer(s grpc1.Server, srv LedgerServiceServer) { - s.RegisterService(&_LedgerService_serviceDesc, srv) -} - -func _LedgerService_Info_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(InfoRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(LedgerServiceServer).Info(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/penumbra.narsil.ledger.v1alpha1.LedgerService/Info", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LedgerServiceServer).Info(ctx, req.(*InfoRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _LedgerService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "penumbra.narsil.ledger.v1alpha1.LedgerService", - HandlerType: (*LedgerServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Info", - Handler: _LedgerService_Info_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "penumbra/narsil/ledger/v1alpha1/ledger.proto", -} - -func (m *InfoRequest) 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 *InfoRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *InfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AbciVersion) > 0 { - i -= len(m.AbciVersion) - copy(dAtA[i:], m.AbciVersion) - i = encodeVarintLedger(dAtA, i, uint64(len(m.AbciVersion))) - i-- - dAtA[i] = 0x22 - } - if m.P2PVersion != 0 { - i = encodeVarintLedger(dAtA, i, uint64(m.P2PVersion)) - i-- - dAtA[i] = 0x18 - } - if m.BlockVersion != 0 { - i = encodeVarintLedger(dAtA, i, uint64(m.BlockVersion)) - i-- - dAtA[i] = 0x10 - } - if len(m.Version) > 0 { - i -= len(m.Version) - copy(dAtA[i:], m.Version) - i = encodeVarintLedger(dAtA, i, uint64(len(m.Version))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *InfoResponse) 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 *InfoResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *InfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.LastBlockAppHash) > 0 { - i -= len(m.LastBlockAppHash) - copy(dAtA[i:], m.LastBlockAppHash) - i = encodeVarintLedger(dAtA, i, uint64(len(m.LastBlockAppHash))) - i-- - dAtA[i] = 0x2a - } - if m.LastBlockHeight != 0 { - i = encodeVarintLedger(dAtA, i, uint64(m.LastBlockHeight)) - i-- - dAtA[i] = 0x20 - } - if m.AppVersion != 0 { - i = encodeVarintLedger(dAtA, i, uint64(m.AppVersion)) - i-- - dAtA[i] = 0x18 - } - if len(m.Version) > 0 { - i -= len(m.Version) - copy(dAtA[i:], m.Version) - i = encodeVarintLedger(dAtA, i, uint64(len(m.Version))) - i-- - dAtA[i] = 0x12 - } - if len(m.Data) > 0 { - i -= len(m.Data) - copy(dAtA[i:], m.Data) - i = encodeVarintLedger(dAtA, i, uint64(len(m.Data))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ShardIdentityKey) 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 *ShardIdentityKey) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ShardIdentityKey) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Inner) > 0 { - i -= len(m.Inner) - copy(dAtA[i:], m.Inner) - i = encodeVarintLedger(dAtA, i, uint64(len(m.Inner))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ConsensusKey) 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 *ConsensusKey) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ConsensusKey) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Inner) > 0 { - i -= len(m.Inner) - copy(dAtA[i:], m.Inner) - i = encodeVarintLedger(dAtA, i, uint64(len(m.Inner))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ShardMessageKey) 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 *ShardMessageKey) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ShardMessageKey) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Inner) > 0 { - i -= len(m.Inner) - copy(dAtA[i:], m.Inner) - i = encodeVarintLedger(dAtA, i, uint64(len(m.Inner))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ShardKey) 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 *ShardKey) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ShardKey) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Inner) > 0 { - i -= len(m.Inner) - copy(dAtA[i:], m.Inner) - i = encodeVarintLedger(dAtA, i, uint64(len(m.Inner))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ShardMessageSignature) 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 *ShardMessageSignature) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ShardMessageSignature) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Inner) > 0 { - i -= len(m.Inner) - copy(dAtA[i:], m.Inner) - i = encodeVarintLedger(dAtA, i, uint64(len(m.Inner))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ShardDescription) 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 *ShardDescription) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ShardDescription) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Label) > 0 { - i -= len(m.Label) - copy(dAtA[i:], m.Label) - i = encodeVarintLedger(dAtA, i, uint64(len(m.Label))) - i-- - dAtA[i] = 0x22 - } - if m.ConsensusKey != nil { - { - size, err := m.ConsensusKey.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.MessageKey != nil { - { - size, err := m.MessageKey.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.IdentityKey != nil { - { - size, err := m.IdentityKey.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ShardOperator) 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 *ShardOperator) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ShardOperator) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Sig) > 0 { - i -= len(m.Sig) - copy(dAtA[i:], m.Sig) - i = encodeVarintLedger(dAtA, i, uint64(len(m.Sig))) - i-- - dAtA[i] = 0x12 - } - if m.Description != nil { - { - size, err := m.Description.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *GenesisData) 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 *GenesisData) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GenesisData) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Threshold != 0 { - i = encodeVarintLedger(dAtA, i, uint64(m.Threshold)) - i-- - dAtA[i] = 0x10 - } - if len(m.Operators) > 0 { - for iNdEx := len(m.Operators) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Operators[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *WalletInfo) 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 *WalletInfo) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *WalletInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Participants) > 0 { - for iNdEx := len(m.Participants) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Participants[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if m.FullViewingKey != nil { - { - size, err := m.FullViewingKey.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *ShardInfo) 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 *ShardInfo) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ShardInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.IdentityKey != nil { - { - size, err := m.IdentityKey.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.ShardVerificationKey != nil { - { - size, err := m.ShardVerificationKey.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.Index != 0 { - i = encodeVarintLedger(dAtA, i, uint64(m.Index)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *RequestIndex) 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 *RequestIndex) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *RequestIndex) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.EffectHash != nil { - { - size, err := m.EffectHash.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CeremonyIndex) 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 *CeremonyIndex) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CeremonyIndex) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.CeremonyIndex != 0 { - i = encodeVarintLedger(dAtA, i, uint64(m.CeremonyIndex)) - i-- - dAtA[i] = 0x10 - } - if m.RequestIndex != nil { - { - size, err := m.RequestIndex.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *Committee) 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 *Committee) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *Committee) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Participants) > 0 { - for iNdEx := len(m.Participants) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Participants[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if m.Ceremony != nil { - { - size, err := m.Ceremony.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CeremonyFailure) 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 *CeremonyFailure) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CeremonyFailure) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Failure != nil { - { - size := m.Failure.Size() - i -= size - if _, err := m.Failure.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - } - } - return len(dAtA) - i, nil -} - -func (m *CeremonyFailure_Timeout_) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CeremonyFailure_Timeout_) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.Timeout != nil { - { - size, err := m.Timeout.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} -func (m *CeremonyFailure_BadCommitment_) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CeremonyFailure_BadCommitment_) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.BadCommitment != nil { - { - size, err := m.BadCommitment.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - return len(dAtA) - i, nil -} -func (m *CeremonyFailure_BadShare_) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CeremonyFailure_BadShare_) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.BadShare != nil { - { - size, err := m.BadShare.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - return len(dAtA) - i, nil -} -func (m *CeremonyFailure_Canceled_) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CeremonyFailure_Canceled_) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.Canceled != nil { - { - size, err := m.Canceled.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - return len(dAtA) - i, nil -} -func (m *CeremonyFailure_Timeout) 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 *CeremonyFailure_Timeout) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CeremonyFailure_Timeout) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *CeremonyFailure_BadCommitment) 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 *CeremonyFailure_BadCommitment) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CeremonyFailure_BadCommitment) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *CeremonyFailure_BadShare) 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 *CeremonyFailure_BadShare) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CeremonyFailure_BadShare) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *CeremonyFailure_Canceled) 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 *CeremonyFailure_Canceled) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CeremonyFailure_Canceled) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *CeremonyState) 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 *CeremonyState) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CeremonyState) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.State != nil { - { - size := m.State.Size() - i -= size - if _, err := m.State.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - } - } - return len(dAtA) - i, nil -} - -func (m *CeremonyState_Pending_) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CeremonyState_Pending_) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.Pending != nil { - { - size, err := m.Pending.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} -func (m *CeremonyState_StartedRound_1) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CeremonyState_StartedRound_1) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.StartedRound_1 != nil { - { - size, err := m.StartedRound_1.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - return len(dAtA) - i, nil -} -func (m *CeremonyState_StartedRound_2) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CeremonyState_StartedRound_2) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.StartedRound_2 != nil { - { - size, err := m.StartedRound_2.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - return len(dAtA) - i, nil -} -func (m *CeremonyState_Finished_) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CeremonyState_Finished_) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.Finished != nil { - { - size, err := m.Finished.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - return len(dAtA) - i, nil -} -func (m *CeremonyState_Failed_) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CeremonyState_Failed_) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.Failed != nil { - { - size, err := m.Failed.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - return len(dAtA) - i, nil -} -func (m *CeremonyState_Pending) 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 *CeremonyState_Pending) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CeremonyState_Pending) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *CeremonyState_StartedRound1) 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 *CeremonyState_StartedRound1) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CeremonyState_StartedRound1) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Commitments) > 0 { - for iNdEx := len(m.Commitments) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Commitments[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if m.Committee != nil { - { - size, err := m.Committee.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CeremonyState_StartedRound2) 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 *CeremonyState_StartedRound2) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CeremonyState_StartedRound2) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Shares) > 0 { - for iNdEx := len(m.Shares) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Shares[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - } - if len(m.Commitments) > 0 { - for iNdEx := len(m.Commitments) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Commitments[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if m.Committee != nil { - { - size, err := m.Committee.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CeremonyState_Finished) 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 *CeremonyState_Finished) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CeremonyState_Finished) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AuthData != nil { - { - size, err := m.AuthData.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - if len(m.Shares) > 0 { - for iNdEx := len(m.Shares) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Shares[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - } - if len(m.Commitments) > 0 { - for iNdEx := len(m.Commitments) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Commitments[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if m.Committee != nil { - { - size, err := m.Committee.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *CeremonyState_Failed) 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 *CeremonyState_Failed) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *CeremonyState_Failed) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Failure != nil { - { - size, err := m.Failure.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - if len(m.Shares) > 0 { - for iNdEx := len(m.Shares) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Shares[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - } - if len(m.Commitments) > 0 { - for iNdEx := len(m.Commitments) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Commitments[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if m.Committee != nil { - { - size, err := m.Committee.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *NarsilPacket) 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 *NarsilPacket) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NarsilPacket) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Packet != nil { - { - size := m.Packet.Size() - i -= size - if _, err := m.Packet.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - } - } - return len(dAtA) - i, nil -} - -func (m *NarsilPacket_AuthorizeRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NarsilPacket_AuthorizeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.AuthorizeRequest != nil { - { - size, err := m.AuthorizeRequest.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} -func (m *NarsilPacket_AuthorizeCommitment) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NarsilPacket_AuthorizeCommitment) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.AuthorizeCommitment != nil { - { - size, err := m.AuthorizeCommitment.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - return len(dAtA) - i, nil -} -func (m *NarsilPacket_AuthorizeShare) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NarsilPacket_AuthorizeShare) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.AuthorizeShare != nil { - { - size, err := m.AuthorizeShare.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - return len(dAtA) - i, nil -} -func (m *NarsilPacket_DkgRound_1) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NarsilPacket_DkgRound_1) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.DkgRound_1 != nil { - { - size, err := m.DkgRound_1.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3e - i-- - dAtA[i] = 0xc2 - } - return len(dAtA) - i, nil -} -func (m *NarsilPacket_DkgRound_2) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NarsilPacket_DkgRound_2) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.DkgRound_2 != nil { - { - size, err := m.DkgRound_2.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x3e - i-- - dAtA[i] = 0xca - } - return len(dAtA) - i, nil -} -func (m *FrostCommitment) 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 *FrostCommitment) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *FrostCommitment) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Payload) > 0 { - i -= len(m.Payload) - copy(dAtA[i:], m.Payload) - i = encodeVarintLedger(dAtA, i, uint64(len(m.Payload))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *FrostSignatureShare) 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 *FrostSignatureShare) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *FrostSignatureShare) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Payload) > 0 { - i -= len(m.Payload) - copy(dAtA[i:], m.Payload) - i = encodeVarintLedger(dAtA, i, uint64(len(m.Payload))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *AuthorizeCommitment) 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 *AuthorizeCommitment) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AuthorizeCommitment) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Signature != nil { - { - size, err := m.Signature.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Signer != nil { - { - size, err := m.Signer.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.Body != nil { - { - size, err := m.Body.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *AuthorizeCommitment_Body) 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 *AuthorizeCommitment_Body) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AuthorizeCommitment_Body) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Commitments) > 0 { - for iNdEx := len(m.Commitments) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Commitments[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if m.CeremonyIndex != nil { - { - size, err := m.CeremonyIndex.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *AuthorizeShare) 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 *AuthorizeShare) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AuthorizeShare) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Signature != nil { - { - size, err := m.Signature.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Signer != nil { - { - size, err := m.Signer.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.Body != nil { - { - size, err := m.Body.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *AuthorizeShare_Body) 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 *AuthorizeShare_Body) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *AuthorizeShare_Body) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Commitments) > 0 { - for iNdEx := len(m.Commitments) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Commitments[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if m.CeremonyIndex != nil { - { - size, err := m.CeremonyIndex.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DkgRound1) 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 *DkgRound1) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DkgRound1) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Signature != nil { - { - size, err := m.Signature.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Signer != nil { - { - size, err := m.Signer.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.Payload) > 0 { - i -= len(m.Payload) - copy(dAtA[i:], m.Payload) - i = encodeVarintLedger(dAtA, i, uint64(len(m.Payload))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DkgRound2) 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 *DkgRound2) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DkgRound2) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Signature != nil { - { - size, err := m.Signature.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.Signer != nil { - { - size, err := m.Signer.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.Payload) > 0 { - i -= len(m.Payload) - copy(dAtA[i:], m.Payload) - i = encodeVarintLedger(dAtA, i, uint64(len(m.Payload))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *DkgState) 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 *DkgState) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DkgState) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *DkgState_StartedRound1) 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 *DkgState_StartedRound1) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DkgState_StartedRound1) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Round_1Messages) > 0 { - for iNdEx := len(m.Round_1Messages) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Round_1Messages[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *DkgState_StartedRound2) 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 *DkgState_StartedRound2) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DkgState_StartedRound2) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Round_2Messages) > 0 { - for iNdEx := len(m.Round_2Messages) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Round_2Messages[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if len(m.Round_1Messages) > 0 { - for iNdEx := len(m.Round_1Messages) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Round_1Messages[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *DkgState_Finished) 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 *DkgState_Finished) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *DkgState_Finished) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.WalletInfo != nil { - { - size, err := m.WalletInfo.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if len(m.Round_2Messages) > 0 { - for iNdEx := len(m.Round_2Messages) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Round_2Messages[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - } - if len(m.Round_1Messages) > 0 { - for iNdEx := len(m.Round_1Messages) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Round_1Messages[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintLedger(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func encodeVarintLedger(dAtA []byte, offset int, v uint64) int { - offset -= sovLedger(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *InfoRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Version) - if l > 0 { - n += 1 + l + sovLedger(uint64(l)) - } - if m.BlockVersion != 0 { - n += 1 + sovLedger(uint64(m.BlockVersion)) - } - if m.P2PVersion != 0 { - n += 1 + sovLedger(uint64(m.P2PVersion)) - } - l = len(m.AbciVersion) - if l > 0 { - n += 1 + l + sovLedger(uint64(l)) - } - return n -} - -func (m *InfoResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Data) - if l > 0 { - n += 1 + l + sovLedger(uint64(l)) - } - l = len(m.Version) - if l > 0 { - n += 1 + l + sovLedger(uint64(l)) - } - if m.AppVersion != 0 { - n += 1 + sovLedger(uint64(m.AppVersion)) - } - if m.LastBlockHeight != 0 { - n += 1 + sovLedger(uint64(m.LastBlockHeight)) - } - l = len(m.LastBlockAppHash) - if l > 0 { - n += 1 + l + sovLedger(uint64(l)) - } - return n -} - -func (m *ShardIdentityKey) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Inner) - if l > 0 { - n += 1 + l + sovLedger(uint64(l)) - } - return n -} - -func (m *ConsensusKey) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Inner) - if l > 0 { - n += 1 + l + sovLedger(uint64(l)) - } - return n -} - -func (m *ShardMessageKey) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Inner) - if l > 0 { - n += 1 + l + sovLedger(uint64(l)) - } - return n -} - -func (m *ShardKey) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Inner) - if l > 0 { - n += 1 + l + sovLedger(uint64(l)) - } - return n -} - -func (m *ShardMessageSignature) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Inner) - if l > 0 { - n += 1 + l + sovLedger(uint64(l)) - } - return n -} - -func (m *ShardDescription) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.IdentityKey != nil { - l = m.IdentityKey.Size() - n += 1 + l + sovLedger(uint64(l)) - } - if m.MessageKey != nil { - l = m.MessageKey.Size() - n += 1 + l + sovLedger(uint64(l)) - } - if m.ConsensusKey != nil { - l = m.ConsensusKey.Size() - n += 1 + l + sovLedger(uint64(l)) - } - l = len(m.Label) - if l > 0 { - n += 1 + l + sovLedger(uint64(l)) - } - return n -} - -func (m *ShardOperator) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Description != nil { - l = m.Description.Size() - n += 1 + l + sovLedger(uint64(l)) - } - l = len(m.Sig) - if l > 0 { - n += 1 + l + sovLedger(uint64(l)) - } - return n -} - -func (m *GenesisData) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Operators) > 0 { - for _, e := range m.Operators { - l = e.Size() - n += 1 + l + sovLedger(uint64(l)) - } - } - if m.Threshold != 0 { - n += 1 + sovLedger(uint64(m.Threshold)) - } - return n -} - -func (m *WalletInfo) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.FullViewingKey != nil { - l = m.FullViewingKey.Size() - n += 1 + l + sovLedger(uint64(l)) - } - if len(m.Participants) > 0 { - for _, e := range m.Participants { - l = e.Size() - n += 1 + l + sovLedger(uint64(l)) - } - } - return n -} - -func (m *ShardInfo) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Index != 0 { - n += 1 + sovLedger(uint64(m.Index)) - } - if m.ShardVerificationKey != nil { - l = m.ShardVerificationKey.Size() - n += 1 + l + sovLedger(uint64(l)) - } - if m.IdentityKey != nil { - l = m.IdentityKey.Size() - n += 1 + l + sovLedger(uint64(l)) - } - return n -} - -func (m *RequestIndex) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.EffectHash != nil { - l = m.EffectHash.Size() - n += 1 + l + sovLedger(uint64(l)) - } - return n -} - -func (m *CeremonyIndex) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.RequestIndex != nil { - l = m.RequestIndex.Size() - n += 1 + l + sovLedger(uint64(l)) - } - if m.CeremonyIndex != 0 { - n += 1 + sovLedger(uint64(m.CeremonyIndex)) - } - return n -} - -func (m *Committee) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Ceremony != nil { - l = m.Ceremony.Size() - n += 1 + l + sovLedger(uint64(l)) - } - if len(m.Participants) > 0 { - for _, e := range m.Participants { - l = e.Size() - n += 1 + l + sovLedger(uint64(l)) - } - } - return n -} - -func (m *CeremonyFailure) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Failure != nil { - n += m.Failure.Size() - } - return n -} - -func (m *CeremonyFailure_Timeout_) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Timeout != nil { - l = m.Timeout.Size() - n += 1 + l + sovLedger(uint64(l)) - } - return n -} -func (m *CeremonyFailure_BadCommitment_) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.BadCommitment != nil { - l = m.BadCommitment.Size() - n += 1 + l + sovLedger(uint64(l)) - } - return n -} -func (m *CeremonyFailure_BadShare_) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.BadShare != nil { - l = m.BadShare.Size() - n += 1 + l + sovLedger(uint64(l)) - } - return n -} -func (m *CeremonyFailure_Canceled_) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Canceled != nil { - l = m.Canceled.Size() - n += 1 + l + sovLedger(uint64(l)) - } - return n -} -func (m *CeremonyFailure_Timeout) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *CeremonyFailure_BadCommitment) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *CeremonyFailure_BadShare) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *CeremonyFailure_Canceled) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *CeremonyState) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.State != nil { - n += m.State.Size() - } - return n -} - -func (m *CeremonyState_Pending_) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Pending != nil { - l = m.Pending.Size() - n += 1 + l + sovLedger(uint64(l)) - } - return n -} -func (m *CeremonyState_StartedRound_1) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.StartedRound_1 != nil { - l = m.StartedRound_1.Size() - n += 1 + l + sovLedger(uint64(l)) - } - return n -} -func (m *CeremonyState_StartedRound_2) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.StartedRound_2 != nil { - l = m.StartedRound_2.Size() - n += 1 + l + sovLedger(uint64(l)) - } - return n -} -func (m *CeremonyState_Finished_) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Finished != nil { - l = m.Finished.Size() - n += 1 + l + sovLedger(uint64(l)) - } - return n -} -func (m *CeremonyState_Failed_) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Failed != nil { - l = m.Failed.Size() - n += 1 + l + sovLedger(uint64(l)) - } - return n -} -func (m *CeremonyState_Pending) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *CeremonyState_StartedRound1) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Committee != nil { - l = m.Committee.Size() - n += 1 + l + sovLedger(uint64(l)) - } - if len(m.Commitments) > 0 { - for _, e := range m.Commitments { - l = e.Size() - n += 1 + l + sovLedger(uint64(l)) - } - } - return n -} - -func (m *CeremonyState_StartedRound2) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Committee != nil { - l = m.Committee.Size() - n += 1 + l + sovLedger(uint64(l)) - } - if len(m.Commitments) > 0 { - for _, e := range m.Commitments { - l = e.Size() - n += 1 + l + sovLedger(uint64(l)) - } - } - if len(m.Shares) > 0 { - for _, e := range m.Shares { - l = e.Size() - n += 1 + l + sovLedger(uint64(l)) - } - } - return n -} - -func (m *CeremonyState_Finished) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Committee != nil { - l = m.Committee.Size() - n += 1 + l + sovLedger(uint64(l)) - } - if len(m.Commitments) > 0 { - for _, e := range m.Commitments { - l = e.Size() - n += 1 + l + sovLedger(uint64(l)) - } - } - if len(m.Shares) > 0 { - for _, e := range m.Shares { - l = e.Size() - n += 1 + l + sovLedger(uint64(l)) - } - } - if m.AuthData != nil { - l = m.AuthData.Size() - n += 1 + l + sovLedger(uint64(l)) - } - return n -} - -func (m *CeremonyState_Failed) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Committee != nil { - l = m.Committee.Size() - n += 1 + l + sovLedger(uint64(l)) - } - if len(m.Commitments) > 0 { - for _, e := range m.Commitments { - l = e.Size() - n += 1 + l + sovLedger(uint64(l)) - } - } - if len(m.Shares) > 0 { - for _, e := range m.Shares { - l = e.Size() - n += 1 + l + sovLedger(uint64(l)) - } - } - if m.Failure != nil { - l = m.Failure.Size() - n += 1 + l + sovLedger(uint64(l)) - } - return n -} - -func (m *NarsilPacket) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Packet != nil { - n += m.Packet.Size() - } - return n -} - -func (m *NarsilPacket_AuthorizeRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AuthorizeRequest != nil { - l = m.AuthorizeRequest.Size() - n += 1 + l + sovLedger(uint64(l)) - } - return n -} -func (m *NarsilPacket_AuthorizeCommitment) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AuthorizeCommitment != nil { - l = m.AuthorizeCommitment.Size() - n += 1 + l + sovLedger(uint64(l)) - } - return n -} -func (m *NarsilPacket_AuthorizeShare) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AuthorizeShare != nil { - l = m.AuthorizeShare.Size() - n += 1 + l + sovLedger(uint64(l)) - } - return n -} -func (m *NarsilPacket_DkgRound_1) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.DkgRound_1 != nil { - l = m.DkgRound_1.Size() - n += 2 + l + sovLedger(uint64(l)) - } - return n -} -func (m *NarsilPacket_DkgRound_2) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.DkgRound_2 != nil { - l = m.DkgRound_2.Size() - n += 2 + l + sovLedger(uint64(l)) - } - return n -} -func (m *FrostCommitment) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Payload) - if l > 0 { - n += 1 + l + sovLedger(uint64(l)) - } - return n -} - -func (m *FrostSignatureShare) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Payload) - if l > 0 { - n += 1 + l + sovLedger(uint64(l)) - } - return n -} - -func (m *AuthorizeCommitment) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Body != nil { - l = m.Body.Size() - n += 1 + l + sovLedger(uint64(l)) - } - if m.Signer != nil { - l = m.Signer.Size() - n += 1 + l + sovLedger(uint64(l)) - } - if m.Signature != nil { - l = m.Signature.Size() - n += 1 + l + sovLedger(uint64(l)) - } - return n -} - -func (m *AuthorizeCommitment_Body) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.CeremonyIndex != nil { - l = m.CeremonyIndex.Size() - n += 1 + l + sovLedger(uint64(l)) - } - if len(m.Commitments) > 0 { - for _, e := range m.Commitments { - l = e.Size() - n += 1 + l + sovLedger(uint64(l)) - } - } - return n -} - -func (m *AuthorizeShare) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Body != nil { - l = m.Body.Size() - n += 1 + l + sovLedger(uint64(l)) - } - if m.Signer != nil { - l = m.Signer.Size() - n += 1 + l + sovLedger(uint64(l)) - } - if m.Signature != nil { - l = m.Signature.Size() - n += 1 + l + sovLedger(uint64(l)) - } - return n -} - -func (m *AuthorizeShare_Body) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.CeremonyIndex != nil { - l = m.CeremonyIndex.Size() - n += 1 + l + sovLedger(uint64(l)) - } - if len(m.Commitments) > 0 { - for _, e := range m.Commitments { - l = e.Size() - n += 1 + l + sovLedger(uint64(l)) - } - } - return n -} - -func (m *DkgRound1) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Payload) - if l > 0 { - n += 1 + l + sovLedger(uint64(l)) - } - if m.Signer != nil { - l = m.Signer.Size() - n += 1 + l + sovLedger(uint64(l)) - } - if m.Signature != nil { - l = m.Signature.Size() - n += 1 + l + sovLedger(uint64(l)) - } - return n -} - -func (m *DkgRound2) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Payload) - if l > 0 { - n += 1 + l + sovLedger(uint64(l)) - } - if m.Signer != nil { - l = m.Signer.Size() - n += 1 + l + sovLedger(uint64(l)) - } - if m.Signature != nil { - l = m.Signature.Size() - n += 1 + l + sovLedger(uint64(l)) - } - return n -} - -func (m *DkgState) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *DkgState_StartedRound1) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Round_1Messages) > 0 { - for _, e := range m.Round_1Messages { - l = e.Size() - n += 1 + l + sovLedger(uint64(l)) - } - } - return n -} - -func (m *DkgState_StartedRound2) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Round_1Messages) > 0 { - for _, e := range m.Round_1Messages { - l = e.Size() - n += 1 + l + sovLedger(uint64(l)) - } - } - if len(m.Round_2Messages) > 0 { - for _, e := range m.Round_2Messages { - l = e.Size() - n += 1 + l + sovLedger(uint64(l)) - } - } - return n -} - -func (m *DkgState_Finished) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Round_1Messages) > 0 { - for _, e := range m.Round_1Messages { - l = e.Size() - n += 1 + l + sovLedger(uint64(l)) - } - } - if len(m.Round_2Messages) > 0 { - for _, e := range m.Round_2Messages { - l = e.Size() - n += 1 + l + sovLedger(uint64(l)) - } - } - if m.WalletInfo != nil { - l = m.WalletInfo.Size() - n += 1 + l + sovLedger(uint64(l)) - } - return n -} - -func sovLedger(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozLedger(x uint64) (n int) { - return sovLedger(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (m *InfoRequest) 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 ErrIntOverflowLedger - } - 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: InfoRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: InfoRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Version = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field BlockVersion", wireType) - } - m.BlockVersion = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.BlockVersion |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field P2PVersion", wireType) - } - m.P2PVersion = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.P2PVersion |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AbciVersion", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.AbciVersion = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *InfoResponse) 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 ErrIntOverflowLedger - } - 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: InfoResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: InfoResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Data = append(m.Data[:0], dAtA[iNdEx:postIndex]...) - if m.Data == nil { - m.Data = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Version = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AppVersion", wireType) - } - m.AppVersion = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.AppVersion |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LastBlockHeight", wireType) - } - m.LastBlockHeight = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LastBlockHeight |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LastBlockAppHash", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.LastBlockAppHash = append(m.LastBlockAppHash[:0], dAtA[iNdEx:postIndex]...) - if m.LastBlockAppHash == nil { - m.LastBlockAppHash = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ShardIdentityKey) 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 ErrIntOverflowLedger - } - 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: ShardIdentityKey: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ShardIdentityKey: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Inner", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Inner = append(m.Inner[:0], dAtA[iNdEx:postIndex]...) - if m.Inner == nil { - m.Inner = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ConsensusKey) 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 ErrIntOverflowLedger - } - 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: ConsensusKey: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ConsensusKey: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Inner", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Inner = append(m.Inner[:0], dAtA[iNdEx:postIndex]...) - if m.Inner == nil { - m.Inner = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ShardMessageKey) 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 ErrIntOverflowLedger - } - 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: ShardMessageKey: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ShardMessageKey: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Inner", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Inner = append(m.Inner[:0], dAtA[iNdEx:postIndex]...) - if m.Inner == nil { - m.Inner = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ShardKey) 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 ErrIntOverflowLedger - } - 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: ShardKey: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ShardKey: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Inner", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Inner = append(m.Inner[:0], dAtA[iNdEx:postIndex]...) - if m.Inner == nil { - m.Inner = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ShardMessageSignature) 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 ErrIntOverflowLedger - } - 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: ShardMessageSignature: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ShardMessageSignature: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Inner", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Inner = append(m.Inner[:0], dAtA[iNdEx:postIndex]...) - if m.Inner == nil { - m.Inner = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ShardDescription) 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 ErrIntOverflowLedger - } - 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: ShardDescription: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ShardDescription: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IdentityKey", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.IdentityKey == nil { - m.IdentityKey = &ShardIdentityKey{} - } - if err := m.IdentityKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MessageKey", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.MessageKey == nil { - m.MessageKey = &ShardMessageKey{} - } - if err := m.MessageKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ConsensusKey", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ConsensusKey == nil { - m.ConsensusKey = &ConsensusKey{} - } - if err := m.ConsensusKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Label", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Label = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ShardOperator) 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 ErrIntOverflowLedger - } - 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: ShardOperator: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ShardOperator: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Description == nil { - m.Description = &ShardDescription{} - } - if err := m.Description.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Sig", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Sig = append(m.Sig[:0], dAtA[iNdEx:postIndex]...) - if m.Sig == nil { - m.Sig = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GenesisData) 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 ErrIntOverflowLedger - } - 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: GenesisData: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GenesisData: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Operators", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Operators = append(m.Operators, &ShardOperator{}) - if err := m.Operators[len(m.Operators)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Threshold", wireType) - } - m.Threshold = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Threshold |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *WalletInfo) 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 ErrIntOverflowLedger - } - 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: WalletInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: WalletInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FullViewingKey", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.FullViewingKey == nil { - m.FullViewingKey = &v1alpha1.FullViewingKey{} - } - if err := m.FullViewingKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Participants", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Participants = append(m.Participants, &ShardInfo{}) - if err := m.Participants[len(m.Participants)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ShardInfo) 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 ErrIntOverflowLedger - } - 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: ShardInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ShardInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) - } - m.Index = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Index |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ShardVerificationKey", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.ShardVerificationKey == nil { - m.ShardVerificationKey = &v1alpha1.SpendVerificationKey{} - } - if err := m.ShardVerificationKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IdentityKey", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.IdentityKey == nil { - m.IdentityKey = &ShardIdentityKey{} - } - if err := m.IdentityKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *RequestIndex) 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 ErrIntOverflowLedger - } - 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: RequestIndex: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: RequestIndex: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EffectHash", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.EffectHash == nil { - m.EffectHash = &v1alpha11.EffectHash{} - } - if err := m.EffectHash.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CeremonyIndex) 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 ErrIntOverflowLedger - } - 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: CeremonyIndex: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CeremonyIndex: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RequestIndex", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.RequestIndex == nil { - m.RequestIndex = &RequestIndex{} - } - if err := m.RequestIndex.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field CeremonyIndex", wireType) - } - m.CeremonyIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.CeremonyIndex |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Committee) 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 ErrIntOverflowLedger - } - 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: Committee: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Committee: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Ceremony", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Ceremony == nil { - m.Ceremony = &CeremonyIndex{} - } - if err := m.Ceremony.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Participants", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Participants = append(m.Participants, &ShardInfo{}) - if err := m.Participants[len(m.Participants)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CeremonyFailure) 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 ErrIntOverflowLedger - } - 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: CeremonyFailure: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CeremonyFailure: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Timeout", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &CeremonyFailure_Timeout{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Failure = &CeremonyFailure_Timeout_{v} - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BadCommitment", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &CeremonyFailure_BadCommitment{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Failure = &CeremonyFailure_BadCommitment_{v} - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BadShare", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &CeremonyFailure_BadShare{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Failure = &CeremonyFailure_BadShare_{v} - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Canceled", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &CeremonyFailure_Canceled{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Failure = &CeremonyFailure_Canceled_{v} - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CeremonyFailure_Timeout) 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 ErrIntOverflowLedger - } - 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: Timeout: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Timeout: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CeremonyFailure_BadCommitment) 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 ErrIntOverflowLedger - } - 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: BadCommitment: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BadCommitment: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CeremonyFailure_BadShare) 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 ErrIntOverflowLedger - } - 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: BadShare: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: BadShare: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CeremonyFailure_Canceled) 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 ErrIntOverflowLedger - } - 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: Canceled: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Canceled: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CeremonyState) 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 ErrIntOverflowLedger - } - 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: CeremonyState: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: CeremonyState: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pending", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &CeremonyState_Pending{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.State = &CeremonyState_Pending_{v} - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StartedRound_1", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &CeremonyState_StartedRound1{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.State = &CeremonyState_StartedRound_1{v} - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StartedRound_2", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &CeremonyState_StartedRound2{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.State = &CeremonyState_StartedRound_2{v} - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Finished", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &CeremonyState_Finished{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.State = &CeremonyState_Finished_{v} - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Failed", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &CeremonyState_Failed{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.State = &CeremonyState_Failed_{v} - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CeremonyState_Pending) 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 ErrIntOverflowLedger - } - 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: Pending: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Pending: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CeremonyState_StartedRound1) 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 ErrIntOverflowLedger - } - 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: StartedRound1: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StartedRound1: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Committee", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Committee == nil { - m.Committee = &Committee{} - } - if err := m.Committee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Commitments", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Commitments = append(m.Commitments, &AuthorizeCommitment{}) - if err := m.Commitments[len(m.Commitments)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CeremonyState_StartedRound2) 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 ErrIntOverflowLedger - } - 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: StartedRound2: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StartedRound2: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Committee", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Committee == nil { - m.Committee = &Committee{} - } - if err := m.Committee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Commitments", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Commitments = append(m.Commitments, &AuthorizeCommitment{}) - if err := m.Commitments[len(m.Commitments)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Shares", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Shares = append(m.Shares, &AuthorizeShare{}) - if err := m.Shares[len(m.Shares)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CeremonyState_Finished) 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 ErrIntOverflowLedger - } - 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: Finished: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Finished: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Committee", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Committee == nil { - m.Committee = &Committee{} - } - if err := m.Committee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Commitments", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Commitments = append(m.Commitments, &AuthorizeCommitment{}) - if err := m.Commitments[len(m.Commitments)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Shares", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Shares = append(m.Shares, &AuthorizeShare{}) - if err := m.Shares[len(m.Shares)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AuthData", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.AuthData == nil { - m.AuthData = &v1alpha11.AuthorizationData{} - } - if err := m.AuthData.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *CeremonyState_Failed) 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 ErrIntOverflowLedger - } - 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: Failed: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Failed: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Committee", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Committee == nil { - m.Committee = &Committee{} - } - if err := m.Committee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Commitments", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Commitments = append(m.Commitments, &AuthorizeCommitment{}) - if err := m.Commitments[len(m.Commitments)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Shares", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Shares = append(m.Shares, &AuthorizeShare{}) - if err := m.Shares[len(m.Shares)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Failure", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Failure == nil { - m.Failure = &CeremonyFailure{} - } - if err := m.Failure.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *NarsilPacket) 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 ErrIntOverflowLedger - } - 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: NarsilPacket: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: NarsilPacket: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AuthorizeRequest", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &v1alpha12.AuthorizeRequest{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Packet = &NarsilPacket_AuthorizeRequest{v} - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AuthorizeCommitment", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &AuthorizeCommitment{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Packet = &NarsilPacket_AuthorizeCommitment{v} - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AuthorizeShare", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &AuthorizeShare{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Packet = &NarsilPacket_AuthorizeShare{v} - iNdEx = postIndex - case 1000: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DkgRound_1", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &DkgRound1{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Packet = &NarsilPacket_DkgRound_1{v} - iNdEx = postIndex - case 1001: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DkgRound_2", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &DkgRound2{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Packet = &NarsilPacket_DkgRound_2{v} - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *FrostCommitment) 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 ErrIntOverflowLedger - } - 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: FrostCommitment: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: FrostCommitment: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Payload", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Payload = append(m.Payload[:0], dAtA[iNdEx:postIndex]...) - if m.Payload == nil { - m.Payload = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *FrostSignatureShare) 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 ErrIntOverflowLedger - } - 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: FrostSignatureShare: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: FrostSignatureShare: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Payload", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Payload = append(m.Payload[:0], dAtA[iNdEx:postIndex]...) - if m.Payload == nil { - m.Payload = []byte{} - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AuthorizeCommitment) 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 ErrIntOverflowLedger - } - 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: AuthorizeCommitment: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AuthorizeCommitment: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Body", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Body == nil { - m.Body = &AuthorizeCommitment_Body{} - } - if err := m.Body.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Signer", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Signer == nil { - m.Signer = &ShardMessageKey{} - } - if err := m.Signer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Signature == nil { - m.Signature = &ShardMessageSignature{} - } - if err := m.Signature.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AuthorizeCommitment_Body) 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 ErrIntOverflowLedger - } - 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: Body: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Body: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CeremonyIndex", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CeremonyIndex == nil { - m.CeremonyIndex = &CeremonyIndex{} - } - if err := m.CeremonyIndex.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Commitments", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Commitments = append(m.Commitments, &FrostCommitment{}) - if err := m.Commitments[len(m.Commitments)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AuthorizeShare) 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 ErrIntOverflowLedger - } - 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: AuthorizeShare: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AuthorizeShare: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Body", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Body == nil { - m.Body = &AuthorizeShare_Body{} - } - if err := m.Body.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Signer", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Signer == nil { - m.Signer = &ShardMessageKey{} - } - if err := m.Signer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Signature == nil { - m.Signature = &ShardMessageSignature{} - } - if err := m.Signature.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AuthorizeShare_Body) 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 ErrIntOverflowLedger - } - 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: Body: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Body: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field CeremonyIndex", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.CeremonyIndex == nil { - m.CeremonyIndex = &CeremonyIndex{} - } - if err := m.CeremonyIndex.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Commitments", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Commitments = append(m.Commitments, &FrostCommitment{}) - if err := m.Commitments[len(m.Commitments)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DkgRound1) 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 ErrIntOverflowLedger - } - 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: DkgRound1: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DkgRound1: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Payload", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Payload = append(m.Payload[:0], dAtA[iNdEx:postIndex]...) - if m.Payload == nil { - m.Payload = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Signer", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Signer == nil { - m.Signer = &ShardMessageKey{} - } - if err := m.Signer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Signature == nil { - m.Signature = &ShardMessageSignature{} - } - if err := m.Signature.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DkgRound2) 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 ErrIntOverflowLedger - } - 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: DkgRound2: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DkgRound2: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Payload", wireType) - } - var byteLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - byteLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if byteLen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Payload = append(m.Payload[:0], dAtA[iNdEx:postIndex]...) - if m.Payload == nil { - m.Payload = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Signer", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Signer == nil { - m.Signer = &ShardMessageKey{} - } - if err := m.Signer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Signature == nil { - m.Signature = &ShardMessageSignature{} - } - if err := m.Signature.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DkgState) 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 ErrIntOverflowLedger - } - 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: DkgState: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: DkgState: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DkgState_StartedRound1) 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 ErrIntOverflowLedger - } - 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: StartedRound1: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StartedRound1: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Round_1Messages", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Round_1Messages = append(m.Round_1Messages, &DkgRound1{}) - if err := m.Round_1Messages[len(m.Round_1Messages)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DkgState_StartedRound2) 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 ErrIntOverflowLedger - } - 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: StartedRound2: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: StartedRound2: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Round_1Messages", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Round_1Messages = append(m.Round_1Messages, &DkgRound1{}) - if err := m.Round_1Messages[len(m.Round_1Messages)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Round_2Messages", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Round_2Messages = append(m.Round_2Messages, &DkgRound2{}) - if err := m.Round_2Messages[len(m.Round_2Messages)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *DkgState_Finished) 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 ErrIntOverflowLedger - } - 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: Finished: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Finished: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Round_1Messages", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Round_1Messages = append(m.Round_1Messages, &DkgRound1{}) - if err := m.Round_1Messages[len(m.Round_1Messages)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Round_2Messages", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Round_2Messages = append(m.Round_2Messages, &DkgRound2{}) - if err := m.Round_2Messages[len(m.Round_2Messages)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field WalletInfo", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowLedger - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthLedger - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthLedger - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.WalletInfo == nil { - m.WalletInfo = &WalletInfo{} - } - if err := m.WalletInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipLedger(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthLedger - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func skipLedger(dAtA []byte) (n int, err error) { - l := len(dAtA) - iNdEx := 0 - depth := 0 - for iNdEx < l { - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowLedger - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= (uint64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - wireType := int(wire & 0x7) - switch wireType { - case 0: - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowLedger - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - iNdEx++ - if dAtA[iNdEx-1] < 0x80 { - break - } - } - case 1: - iNdEx += 8 - case 2: - var length int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return 0, ErrIntOverflowLedger - } - if iNdEx >= l { - return 0, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - length |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if length < 0 { - return 0, ErrInvalidLengthLedger - } - iNdEx += length - case 3: - depth++ - case 4: - if depth == 0 { - return 0, ErrUnexpectedEndOfGroupLedger - } - depth-- - case 5: - iNdEx += 4 - default: - return 0, fmt.Errorf("proto: illegal wireType %d", wireType) - } - if iNdEx < 0 { - return 0, ErrInvalidLengthLedger - } - if depth == 0 { - return iNdEx, nil - } - } - return 0, io.ErrUnexpectedEOF -} - -var ( - ErrInvalidLengthLedger = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowLedger = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupLedger = fmt.Errorf("proto: unexpected end of group") -) From 4179870e18c1e09557482c839ed6c5c2912bde94 Mon Sep 17 00:00:00 2001 From: Ava Howell Date: Tue, 30 Jan 2024 14:06:04 -0800 Subject: [PATCH 3/3] add missing protos --- .../v1alpha1/community_pool.pb.go | 1042 +++++++++++++++++ .../core/txhash/v1alpha1/txhash.pb.go | 504 ++++++++ 2 files changed, 1546 insertions(+) create mode 100644 relayer/chains/penumbra/core/component/community_pool/v1alpha1/community_pool.pb.go create mode 100644 relayer/chains/penumbra/core/txhash/v1alpha1/txhash.pb.go diff --git a/relayer/chains/penumbra/core/component/community_pool/v1alpha1/community_pool.pb.go b/relayer/chains/penumbra/core/component/community_pool/v1alpha1/community_pool.pb.go new file mode 100644 index 000000000..d370f4a26 --- /dev/null +++ b/relayer/chains/penumbra/core/component/community_pool/v1alpha1/community_pool.pb.go @@ -0,0 +1,1042 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: penumbra/core/component/community_pool/v1alpha1/community_pool.proto + +package community_poolv1alpha1 + +import ( + context "context" + fmt "fmt" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" + v1alpha1 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/asset/v1alpha1" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +// CommunityPool parameter data. +type CommunityPoolParameters struct { + // Whether Community Pool spend proposals are enabled. + CommunityPoolSpendProposalsEnabled bool `protobuf:"varint,1,opt,name=community_pool_spend_proposals_enabled,json=communityPoolSpendProposalsEnabled,proto3" json:"community_pool_spend_proposals_enabled,omitempty"` +} + +func (m *CommunityPoolParameters) Reset() { *m = CommunityPoolParameters{} } +func (m *CommunityPoolParameters) String() string { return proto.CompactTextString(m) } +func (*CommunityPoolParameters) ProtoMessage() {} +func (*CommunityPoolParameters) Descriptor() ([]byte, []int) { + return fileDescriptor_cbd96600126596ed, []int{0} +} +func (m *CommunityPoolParameters) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CommunityPoolParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CommunityPoolParameters.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 *CommunityPoolParameters) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommunityPoolParameters.Merge(m, src) +} +func (m *CommunityPoolParameters) XXX_Size() int { + return m.Size() +} +func (m *CommunityPoolParameters) XXX_DiscardUnknown() { + xxx_messageInfo_CommunityPoolParameters.DiscardUnknown(m) +} + +var xxx_messageInfo_CommunityPoolParameters proto.InternalMessageInfo + +func (m *CommunityPoolParameters) GetCommunityPoolSpendProposalsEnabled() bool { + if m != nil { + return m.CommunityPoolSpendProposalsEnabled + } + return false +} + +// CommunityPool genesis state. +type GenesisContent struct { + // CommunityPool parameters. + CommunityPoolParams *CommunityPoolParameters `protobuf:"bytes,1,opt,name=community_pool_params,json=communityPoolParams,proto3" json:"community_pool_params,omitempty"` +} + +func (m *GenesisContent) Reset() { *m = GenesisContent{} } +func (m *GenesisContent) String() string { return proto.CompactTextString(m) } +func (*GenesisContent) ProtoMessage() {} +func (*GenesisContent) Descriptor() ([]byte, []int) { + return fileDescriptor_cbd96600126596ed, []int{1} +} +func (m *GenesisContent) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GenesisContent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GenesisContent.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 *GenesisContent) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenesisContent.Merge(m, src) +} +func (m *GenesisContent) XXX_Size() int { + return m.Size() +} +func (m *GenesisContent) XXX_DiscardUnknown() { + xxx_messageInfo_GenesisContent.DiscardUnknown(m) +} + +var xxx_messageInfo_GenesisContent proto.InternalMessageInfo + +func (m *GenesisContent) GetCommunityPoolParams() *CommunityPoolParameters { + if m != nil { + return m.CommunityPoolParams + } + return nil +} + +// Requests the list of all asset balances associated with the Community Pool. +type CommunityPoolAssetBalancesRequest struct { + // The expected chain id (empty string if no expectation). + ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` + // (Optional): The specific asset balances to retrieve, if excluded all will be returned. + AssetIds []*v1alpha1.AssetId `protobuf:"bytes,2,rep,name=asset_ids,json=assetIds,proto3" json:"asset_ids,omitempty"` +} + +func (m *CommunityPoolAssetBalancesRequest) Reset() { *m = CommunityPoolAssetBalancesRequest{} } +func (m *CommunityPoolAssetBalancesRequest) String() string { return proto.CompactTextString(m) } +func (*CommunityPoolAssetBalancesRequest) ProtoMessage() {} +func (*CommunityPoolAssetBalancesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cbd96600126596ed, []int{2} +} +func (m *CommunityPoolAssetBalancesRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CommunityPoolAssetBalancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CommunityPoolAssetBalancesRequest.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 *CommunityPoolAssetBalancesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommunityPoolAssetBalancesRequest.Merge(m, src) +} +func (m *CommunityPoolAssetBalancesRequest) XXX_Size() int { + return m.Size() +} +func (m *CommunityPoolAssetBalancesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CommunityPoolAssetBalancesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CommunityPoolAssetBalancesRequest proto.InternalMessageInfo + +func (m *CommunityPoolAssetBalancesRequest) GetChainId() string { + if m != nil { + return m.ChainId + } + return "" +} + +func (m *CommunityPoolAssetBalancesRequest) GetAssetIds() []*v1alpha1.AssetId { + if m != nil { + return m.AssetIds + } + return nil +} + +// The Community Pool's balance of a single asset. +type CommunityPoolAssetBalancesResponse struct { + // The balance for a single asset. + Balance *v1alpha1.Value `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"` +} + +func (m *CommunityPoolAssetBalancesResponse) Reset() { *m = CommunityPoolAssetBalancesResponse{} } +func (m *CommunityPoolAssetBalancesResponse) String() string { return proto.CompactTextString(m) } +func (*CommunityPoolAssetBalancesResponse) ProtoMessage() {} +func (*CommunityPoolAssetBalancesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_cbd96600126596ed, []int{3} +} +func (m *CommunityPoolAssetBalancesResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CommunityPoolAssetBalancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CommunityPoolAssetBalancesResponse.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 *CommunityPoolAssetBalancesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommunityPoolAssetBalancesResponse.Merge(m, src) +} +func (m *CommunityPoolAssetBalancesResponse) XXX_Size() int { + return m.Size() +} +func (m *CommunityPoolAssetBalancesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CommunityPoolAssetBalancesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CommunityPoolAssetBalancesResponse proto.InternalMessageInfo + +func (m *CommunityPoolAssetBalancesResponse) GetBalance() *v1alpha1.Value { + if m != nil { + return m.Balance + } + return nil +} + +func init() { + proto.RegisterType((*CommunityPoolParameters)(nil), "penumbra.core.component.community_pool.v1alpha1.CommunityPoolParameters") + proto.RegisterType((*GenesisContent)(nil), "penumbra.core.component.community_pool.v1alpha1.GenesisContent") + proto.RegisterType((*CommunityPoolAssetBalancesRequest)(nil), "penumbra.core.component.community_pool.v1alpha1.CommunityPoolAssetBalancesRequest") + proto.RegisterType((*CommunityPoolAssetBalancesResponse)(nil), "penumbra.core.component.community_pool.v1alpha1.CommunityPoolAssetBalancesResponse") +} + +func init() { + proto.RegisterFile("penumbra/core/component/community_pool/v1alpha1/community_pool.proto", fileDescriptor_cbd96600126596ed) +} + +var fileDescriptor_cbd96600126596ed = []byte{ + // 531 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x94, 0x41, 0x8b, 0xd3, 0x40, + 0x14, 0xc7, 0x3b, 0x5d, 0x71, 0xbb, 0xb3, 0xe2, 0x21, 0x22, 0xae, 0x3d, 0x84, 0x35, 0xa2, 0xf4, + 0x94, 0xb8, 0xdd, 0x5b, 0xc5, 0x83, 0x8d, 0xb2, 0xee, 0x41, 0x88, 0x29, 0xec, 0x41, 0x0a, 0x61, + 0x9a, 0x3c, 0x6c, 0x20, 0x99, 0x19, 0x67, 0x26, 0x85, 0x82, 0x27, 0x3f, 0x80, 0xf8, 0x19, 0x3c, + 0x7a, 0xf4, 0x4b, 0x28, 0x9e, 0xf6, 0xb8, 0x47, 0x69, 0x6f, 0x7e, 0x0a, 0x99, 0xa4, 0x93, 0x9a, + 0xea, 0x2e, 0x14, 0xbd, 0x94, 0x37, 0xaf, 0xef, 0xf7, 0x7f, 0xef, 0xfd, 0x99, 0x09, 0x7e, 0xc6, + 0x81, 0x16, 0xf9, 0x44, 0x10, 0x2f, 0x66, 0x02, 0xbc, 0x98, 0xe5, 0x9c, 0x51, 0xa0, 0x4a, 0x47, + 0x79, 0x41, 0x53, 0x35, 0x8f, 0x38, 0x63, 0x99, 0x37, 0x3b, 0x22, 0x19, 0x9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, 0x97, 0xa0, 0x48, 0x42, 0x14, 0xf9, 0xd9, + 0xee, 0x1b, 0x78, 0x30, 0xd0, 0xb4, 0xfe, 0x5d, 0xe1, 0x65, 0xb8, 0xe6, 0x07, 0x03, 0x23, 0x30, + 0xb9, 0x5e, 0x7e, 0x80, 0x8e, 0x7f, 0x05, 0x00, 0x00, 0xff, 0xff, 0xea, 0x31, 0xe6, 0x39, 0x23, + 0x05, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// QueryServiceClient is the client API for QueryService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type QueryServiceClient interface { + CommunityPoolAssetBalances(ctx context.Context, in *CommunityPoolAssetBalancesRequest, opts ...grpc.CallOption) (QueryService_CommunityPoolAssetBalancesClient, error) +} + +type queryServiceClient struct { + cc grpc1.ClientConn +} + +func NewQueryServiceClient(cc grpc1.ClientConn) QueryServiceClient { + return &queryServiceClient{cc} +} + +func (c *queryServiceClient) CommunityPoolAssetBalances(ctx context.Context, in *CommunityPoolAssetBalancesRequest, opts ...grpc.CallOption) (QueryService_CommunityPoolAssetBalancesClient, error) { + stream, err := c.cc.NewStream(ctx, &_QueryService_serviceDesc.Streams[0], "/penumbra.core.component.community_pool.v1alpha1.QueryService/CommunityPoolAssetBalances", opts...) + if err != nil { + return nil, err + } + x := &queryServiceCommunityPoolAssetBalancesClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type QueryService_CommunityPoolAssetBalancesClient interface { + Recv() (*CommunityPoolAssetBalancesResponse, error) + grpc.ClientStream +} + +type queryServiceCommunityPoolAssetBalancesClient struct { + grpc.ClientStream +} + +func (x *queryServiceCommunityPoolAssetBalancesClient) Recv() (*CommunityPoolAssetBalancesResponse, error) { + m := new(CommunityPoolAssetBalancesResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +// QueryServiceServer is the server API for QueryService service. +type QueryServiceServer interface { + CommunityPoolAssetBalances(*CommunityPoolAssetBalancesRequest, QueryService_CommunityPoolAssetBalancesServer) error +} + +// UnimplementedQueryServiceServer can be embedded to have forward compatible implementations. +type UnimplementedQueryServiceServer struct { +} + +func (*UnimplementedQueryServiceServer) CommunityPoolAssetBalances(req *CommunityPoolAssetBalancesRequest, srv QueryService_CommunityPoolAssetBalancesServer) error { + return status.Errorf(codes.Unimplemented, "method CommunityPoolAssetBalances not implemented") +} + +func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer) { + s.RegisterService(&_QueryService_serviceDesc, srv) +} + +func _QueryService_CommunityPoolAssetBalances_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(CommunityPoolAssetBalancesRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(QueryServiceServer).CommunityPoolAssetBalances(m, &queryServiceCommunityPoolAssetBalancesServer{stream}) +} + +type QueryService_CommunityPoolAssetBalancesServer interface { + Send(*CommunityPoolAssetBalancesResponse) error + grpc.ServerStream +} + +type queryServiceCommunityPoolAssetBalancesServer struct { + grpc.ServerStream +} + +func (x *queryServiceCommunityPoolAssetBalancesServer) Send(m *CommunityPoolAssetBalancesResponse) error { + return x.ServerStream.SendMsg(m) +} + +var _QueryService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "penumbra.core.component.community_pool.v1alpha1.QueryService", + HandlerType: (*QueryServiceServer)(nil), + Methods: []grpc.MethodDesc{}, + Streams: []grpc.StreamDesc{ + { + StreamName: "CommunityPoolAssetBalances", + Handler: _QueryService_CommunityPoolAssetBalances_Handler, + ServerStreams: true, + }, + }, + Metadata: "penumbra/core/component/community_pool/v1alpha1/community_pool.proto", +} + +func (m *CommunityPoolParameters) 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 *CommunityPoolParameters) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CommunityPoolParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.CommunityPoolSpendProposalsEnabled { + i-- + if m.CommunityPoolSpendProposalsEnabled { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *GenesisContent) 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 *GenesisContent) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GenesisContent) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.CommunityPoolParams != nil { + { + size, err := m.CommunityPoolParams.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCommunityPool(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CommunityPoolAssetBalancesRequest) 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 *CommunityPoolAssetBalancesRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CommunityPoolAssetBalancesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.AssetIds) > 0 { + for iNdEx := len(m.AssetIds) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.AssetIds[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCommunityPool(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + } + if len(m.ChainId) > 0 { + i -= len(m.ChainId) + copy(dAtA[i:], m.ChainId) + i = encodeVarintCommunityPool(dAtA, i, uint64(len(m.ChainId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CommunityPoolAssetBalancesResponse) 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 *CommunityPoolAssetBalancesResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CommunityPoolAssetBalancesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Balance != nil { + { + size, err := m.Balance.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCommunityPool(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintCommunityPool(dAtA []byte, offset int, v uint64) int { + offset -= sovCommunityPool(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *CommunityPoolParameters) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.CommunityPoolSpendProposalsEnabled { + n += 2 + } + return n +} + +func (m *GenesisContent) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.CommunityPoolParams != nil { + l = m.CommunityPoolParams.Size() + n += 1 + l + sovCommunityPool(uint64(l)) + } + return n +} + +func (m *CommunityPoolAssetBalancesRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ChainId) + if l > 0 { + n += 1 + l + sovCommunityPool(uint64(l)) + } + if len(m.AssetIds) > 0 { + for _, e := range m.AssetIds { + l = e.Size() + n += 1 + l + sovCommunityPool(uint64(l)) + } + } + return n +} + +func (m *CommunityPoolAssetBalancesResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Balance != nil { + l = m.Balance.Size() + n += 1 + l + sovCommunityPool(uint64(l)) + } + return n +} + +func sovCommunityPool(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozCommunityPool(x uint64) (n int) { + return sovCommunityPool(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *CommunityPoolParameters) 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 ErrIntOverflowCommunityPool + } + 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: CommunityPoolParameters: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CommunityPoolParameters: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CommunityPoolSpendProposalsEnabled", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommunityPool + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.CommunityPoolSpendProposalsEnabled = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipCommunityPool(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCommunityPool + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GenesisContent) 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 ErrIntOverflowCommunityPool + } + 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: GenesisContent: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GenesisContent: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CommunityPoolParams", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommunityPool + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCommunityPool + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCommunityPool + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.CommunityPoolParams == nil { + m.CommunityPoolParams = &CommunityPoolParameters{} + } + if err := m.CommunityPoolParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCommunityPool(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCommunityPool + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CommunityPoolAssetBalancesRequest) 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 ErrIntOverflowCommunityPool + } + 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: CommunityPoolAssetBalancesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CommunityPoolAssetBalancesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommunityPool + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCommunityPool + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCommunityPool + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ChainId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AssetIds", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommunityPool + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCommunityPool + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCommunityPool + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AssetIds = append(m.AssetIds, &v1alpha1.AssetId{}) + if err := m.AssetIds[len(m.AssetIds)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCommunityPool(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCommunityPool + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CommunityPoolAssetBalancesResponse) 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 ErrIntOverflowCommunityPool + } + 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: CommunityPoolAssetBalancesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CommunityPoolAssetBalancesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Balance", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommunityPool + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCommunityPool + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCommunityPool + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Balance == nil { + m.Balance = &v1alpha1.Value{} + } + if err := m.Balance.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCommunityPool(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCommunityPool + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipCommunityPool(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowCommunityPool + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowCommunityPool + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowCommunityPool + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthCommunityPool + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupCommunityPool + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthCommunityPool + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthCommunityPool = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowCommunityPool = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupCommunityPool = fmt.Errorf("proto: unexpected end of group") +) diff --git a/relayer/chains/penumbra/core/txhash/v1alpha1/txhash.pb.go b/relayer/chains/penumbra/core/txhash/v1alpha1/txhash.pb.go new file mode 100644 index 000000000..5e1a33653 --- /dev/null +++ b/relayer/chains/penumbra/core/txhash/v1alpha1/txhash.pb.go @@ -0,0 +1,504 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: penumbra/core/txhash/v1alpha1/txhash.proto + +package txhashv1alpha1 + +import ( + fmt "fmt" + proto "github.com/cosmos/gogoproto/proto" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +// The hash of a Penumbra transaction's _effecting data_, describing the effects +// of the transaction on the chain state. +type EffectHash struct { + Inner []byte `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` +} + +func (m *EffectHash) Reset() { *m = EffectHash{} } +func (m *EffectHash) String() string { return proto.CompactTextString(m) } +func (*EffectHash) ProtoMessage() {} +func (*EffectHash) Descriptor() ([]byte, []int) { + return fileDescriptor_be98fc5f1d1ce16e, []int{0} +} +func (m *EffectHash) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EffectHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EffectHash.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 *EffectHash) XXX_Merge(src proto.Message) { + xxx_messageInfo_EffectHash.Merge(m, src) +} +func (m *EffectHash) XXX_Size() int { + return m.Size() +} +func (m *EffectHash) XXX_DiscardUnknown() { + xxx_messageInfo_EffectHash.DiscardUnknown(m) +} + +var xxx_messageInfo_EffectHash proto.InternalMessageInfo + +func (m *EffectHash) GetInner() []byte { + if m != nil { + return m.Inner + } + return nil +} + +// A transaction ID, the Sha256 hash of a transaction. +// +// This is the hash of the plain byte encoding, used by Tendermint. +type TransactionId struct { + Inner []byte `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` +} + +func (m *TransactionId) Reset() { *m = TransactionId{} } +func (m *TransactionId) String() string { return proto.CompactTextString(m) } +func (*TransactionId) ProtoMessage() {} +func (*TransactionId) Descriptor() ([]byte, []int) { + return fileDescriptor_be98fc5f1d1ce16e, []int{1} +} +func (m *TransactionId) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *TransactionId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_TransactionId.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 *TransactionId) XXX_Merge(src proto.Message) { + xxx_messageInfo_TransactionId.Merge(m, src) +} +func (m *TransactionId) XXX_Size() int { + return m.Size() +} +func (m *TransactionId) XXX_DiscardUnknown() { + xxx_messageInfo_TransactionId.DiscardUnknown(m) +} + +var xxx_messageInfo_TransactionId proto.InternalMessageInfo + +func (m *TransactionId) GetInner() []byte { + if m != nil { + return m.Inner + } + return nil +} + +func init() { + proto.RegisterType((*EffectHash)(nil), "penumbra.core.txhash.v1alpha1.EffectHash") + proto.RegisterType((*TransactionId)(nil), "penumbra.core.txhash.v1alpha1.TransactionId") +} + +func init() { + proto.RegisterFile("penumbra/core/txhash/v1alpha1/txhash.proto", fileDescriptor_be98fc5f1d1ce16e) +} + +var fileDescriptor_be98fc5f1d1ce16e = []byte{ + // 292 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x2a, 0x48, 0xcd, 0x2b, + 0xcd, 0x4d, 0x2a, 0x4a, 0xd4, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x2f, 0xa9, 0xc8, 0x48, 0x2c, 0xce, + 0xd0, 0x2f, 0x33, 0x4c, 0xcc, 0x29, 0xc8, 0x48, 0x34, 0x84, 0xf2, 0xf5, 0x0a, 0x8a, 0xf2, 0x4b, + 0xf2, 0x85, 0x64, 0x61, 0x6a, 0xf5, 0x40, 0x6a, 0xf5, 0xa0, 0x72, 0x30, 0xb5, 0x4a, 0x4a, 0x5c, + 0x5c, 0xae, 0x69, 0x69, 0xa9, 0xc9, 0x25, 0x1e, 0x89, 0xc5, 0x19, 0x42, 0x22, 0x5c, 0xac, 0x99, + 0x79, 0x79, 0xa9, 0x45, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0x3c, 0x41, 0x10, 0x8e, 0x92, 0x2a, 0x17, + 0x6f, 0x48, 0x51, 0x62, 0x5e, 0x71, 0x62, 0x72, 0x49, 0x66, 0x7e, 0x9e, 0x67, 0x0a, 0x76, 0x65, + 0x4e, 0x3b, 0x99, 0x4e, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, + 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x81, 0x4b, 0x31, 0x39, + 0x3f, 0x57, 0x0f, 0xaf, 0x43, 0x9c, 0xb8, 0x43, 0xc0, 0x02, 0x01, 0x20, 0x47, 0x07, 0x30, 0x46, + 0x45, 0xa4, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x27, 0xe7, 0x17, 0xe7, + 0xe6, 0x17, 0xeb, 0x17, 0xa5, 0xe6, 0x24, 0x56, 0xa6, 0x16, 0xe9, 0x97, 0x19, 0xc1, 0x99, 0xc9, + 0x19, 0x89, 0x99, 0x79, 0xc5, 0xfa, 0x78, 0x83, 0xc3, 0x1a, 0xc2, 0x87, 0x71, 0x17, 0x31, 0x31, + 0x07, 0x38, 0x87, 0xac, 0x62, 0x92, 0x0d, 0x80, 0x39, 0xc7, 0x19, 0xe4, 0x1c, 0x88, 0xed, 0x7a, + 0x61, 0x50, 0x55, 0xa7, 0x10, 0xf2, 0x31, 0x20, 0xf9, 0x18, 0x88, 0x7c, 0x0c, 0x4c, 0xfe, 0x11, + 0x93, 0x26, 0x5e, 0xf9, 0x18, 0xf7, 0x00, 0x27, 0xdf, 0xd4, 0x92, 0xc4, 0x94, 0xc4, 0x92, 0xc4, + 0x57, 0x4c, 0x0a, 0x30, 0xb5, 0x56, 0x56, 0x20, 0xc5, 0x56, 0x56, 0x10, 0xd5, 0x56, 0x56, 0x30, + 0xe5, 0x49, 0x6c, 0xe0, 0xc8, 0x32, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x59, 0x73, 0x13, 0x3f, + 0xda, 0x01, 0x00, 0x00, +} + +func (m *EffectHash) 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 *EffectHash) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EffectHash) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Inner) > 0 { + i -= len(m.Inner) + copy(dAtA[i:], m.Inner) + i = encodeVarintTxhash(dAtA, i, uint64(len(m.Inner))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *TransactionId) 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 *TransactionId) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *TransactionId) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Inner) > 0 { + i -= len(m.Inner) + copy(dAtA[i:], m.Inner) + i = encodeVarintTxhash(dAtA, i, uint64(len(m.Inner))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintTxhash(dAtA []byte, offset int, v uint64) int { + offset -= sovTxhash(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *EffectHash) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Inner) + if l > 0 { + n += 1 + l + sovTxhash(uint64(l)) + } + return n +} + +func (m *TransactionId) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Inner) + if l > 0 { + n += 1 + l + sovTxhash(uint64(l)) + } + return n +} + +func sovTxhash(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozTxhash(x uint64) (n int) { + return sovTxhash(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *EffectHash) 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 ErrIntOverflowTxhash + } + 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: EffectHash: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EffectHash: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Inner", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTxhash + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthTxhash + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTxhash + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Inner = append(m.Inner[:0], dAtA[iNdEx:postIndex]...) + if m.Inner == nil { + m.Inner = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTxhash(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTxhash + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *TransactionId) 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 ErrIntOverflowTxhash + } + 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: TransactionId: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TransactionId: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Inner", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTxhash + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthTxhash + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTxhash + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Inner = append(m.Inner[:0], dAtA[iNdEx:postIndex]...) + if m.Inner == nil { + m.Inner = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTxhash(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTxhash + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipTxhash(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowTxhash + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowTxhash + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowTxhash + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthTxhash + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupTxhash + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthTxhash + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthTxhash = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowTxhash = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupTxhash = fmt.Errorf("proto: unexpected end of group") +)