From bd75b27e1034f24731c3d1f4c5f2e283c13a60ea Mon Sep 17 00:00:00 2001 From: Justin Tieri <37750742+jtieri@users.noreply.github.com> Date: Thu, 30 May 2024 14:04:37 -0500 Subject: [PATCH 1/2] chore: update Penumbra protos --- .../penumbra/cnidarium/v1/cnidarium.pb.go | 998 +- relayer/chains/penumbra/core/app/v1/app.pb.go | 271 +- .../chains/penumbra/core/asset/v1/asset.pb.go | 176 +- .../core/component/auction/v1/auction.pb.go | 6119 +++++++++ .../compact_block/v1/compact_block.pb.go | 194 +- .../penumbra/core/component/dex/v1/dex.pb.go | 10340 +++++++++------- .../penumbra/core/component/fee/v1/fee.pb.go | 296 +- .../component/governance/v1/governance.pb.go | 935 +- .../penumbra/core/component/sct/v1/sct.pb.go | 493 +- .../shielded_pool/v1/shielded_pool.pb.go | 1307 +- .../core/component/stake/v1/stake.pb.go | 1503 ++- .../core/transaction/v1/transaction.pb.go | 1375 +- .../custody/threshold/v1/threshold.pb.go | 118 +- .../chains/penumbra/custody/v1/custody.pb.go | 112 +- relayer/chains/penumbra/view/v1/view.pb.go | 4606 +++++-- 15 files changed, 22017 insertions(+), 6826 deletions(-) create mode 100644 relayer/chains/penumbra/core/component/auction/v1/auction.pb.go diff --git a/relayer/chains/penumbra/cnidarium/v1/cnidarium.pb.go b/relayer/chains/penumbra/cnidarium/v1/cnidarium.pb.go index c4218d741..ae07f9033 100644 --- a/relayer/chains/penumbra/cnidarium/v1/cnidarium.pb.go +++ b/relayer/chains/penumbra/cnidarium/v1/cnidarium.pb.go @@ -28,7 +28,186 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -// Performs a key-value query, either by key or by key hash. +// Performs a key-value query against the nonverifiable storage, +// using a byte-encoded key. +type NonVerifiableKeyValueRequest struct { + Key *NonVerifiableKeyValueRequest_Key `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` +} + +func (m *NonVerifiableKeyValueRequest) Reset() { *m = NonVerifiableKeyValueRequest{} } +func (m *NonVerifiableKeyValueRequest) String() string { return proto.CompactTextString(m) } +func (*NonVerifiableKeyValueRequest) ProtoMessage() {} +func (*NonVerifiableKeyValueRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_c16e20a97a348b2e, []int{0} +} +func (m *NonVerifiableKeyValueRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NonVerifiableKeyValueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NonVerifiableKeyValueRequest.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 *NonVerifiableKeyValueRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_NonVerifiableKeyValueRequest.Merge(m, src) +} +func (m *NonVerifiableKeyValueRequest) XXX_Size() int { + return m.Size() +} +func (m *NonVerifiableKeyValueRequest) XXX_DiscardUnknown() { + xxx_messageInfo_NonVerifiableKeyValueRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_NonVerifiableKeyValueRequest proto.InternalMessageInfo + +func (m *NonVerifiableKeyValueRequest) GetKey() *NonVerifiableKeyValueRequest_Key { + if m != nil { + return m.Key + } + return nil +} + +type NonVerifiableKeyValueRequest_Key struct { + Inner []byte `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` +} + +func (m *NonVerifiableKeyValueRequest_Key) Reset() { *m = NonVerifiableKeyValueRequest_Key{} } +func (m *NonVerifiableKeyValueRequest_Key) String() string { return proto.CompactTextString(m) } +func (*NonVerifiableKeyValueRequest_Key) ProtoMessage() {} +func (*NonVerifiableKeyValueRequest_Key) Descriptor() ([]byte, []int) { + return fileDescriptor_c16e20a97a348b2e, []int{0, 0} +} +func (m *NonVerifiableKeyValueRequest_Key) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NonVerifiableKeyValueRequest_Key) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NonVerifiableKeyValueRequest_Key.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 *NonVerifiableKeyValueRequest_Key) XXX_Merge(src proto.Message) { + xxx_messageInfo_NonVerifiableKeyValueRequest_Key.Merge(m, src) +} +func (m *NonVerifiableKeyValueRequest_Key) XXX_Size() int { + return m.Size() +} +func (m *NonVerifiableKeyValueRequest_Key) XXX_DiscardUnknown() { + xxx_messageInfo_NonVerifiableKeyValueRequest_Key.DiscardUnknown(m) +} + +var xxx_messageInfo_NonVerifiableKeyValueRequest_Key proto.InternalMessageInfo + +func (m *NonVerifiableKeyValueRequest_Key) GetInner() []byte { + if m != nil { + return m.Inner + } + return nil +} + +type NonVerifiableKeyValueResponse struct { + // The value corresponding to the specified key, if it was found. + Value *NonVerifiableKeyValueResponse_Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` +} + +func (m *NonVerifiableKeyValueResponse) Reset() { *m = NonVerifiableKeyValueResponse{} } +func (m *NonVerifiableKeyValueResponse) String() string { return proto.CompactTextString(m) } +func (*NonVerifiableKeyValueResponse) ProtoMessage() {} +func (*NonVerifiableKeyValueResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_c16e20a97a348b2e, []int{1} +} +func (m *NonVerifiableKeyValueResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NonVerifiableKeyValueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NonVerifiableKeyValueResponse.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 *NonVerifiableKeyValueResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_NonVerifiableKeyValueResponse.Merge(m, src) +} +func (m *NonVerifiableKeyValueResponse) XXX_Size() int { + return m.Size() +} +func (m *NonVerifiableKeyValueResponse) XXX_DiscardUnknown() { + xxx_messageInfo_NonVerifiableKeyValueResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_NonVerifiableKeyValueResponse proto.InternalMessageInfo + +func (m *NonVerifiableKeyValueResponse) GetValue() *NonVerifiableKeyValueResponse_Value { + if m != nil { + return m.Value + } + return nil +} + +type NonVerifiableKeyValueResponse_Value struct { + Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` +} + +func (m *NonVerifiableKeyValueResponse_Value) Reset() { *m = NonVerifiableKeyValueResponse_Value{} } +func (m *NonVerifiableKeyValueResponse_Value) String() string { return proto.CompactTextString(m) } +func (*NonVerifiableKeyValueResponse_Value) ProtoMessage() {} +func (*NonVerifiableKeyValueResponse_Value) Descriptor() ([]byte, []int) { + return fileDescriptor_c16e20a97a348b2e, []int{1, 0} +} +func (m *NonVerifiableKeyValueResponse_Value) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NonVerifiableKeyValueResponse_Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NonVerifiableKeyValueResponse_Value.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 *NonVerifiableKeyValueResponse_Value) XXX_Merge(src proto.Message) { + xxx_messageInfo_NonVerifiableKeyValueResponse_Value.Merge(m, src) +} +func (m *NonVerifiableKeyValueResponse_Value) XXX_Size() int { + return m.Size() +} +func (m *NonVerifiableKeyValueResponse_Value) XXX_DiscardUnknown() { + xxx_messageInfo_NonVerifiableKeyValueResponse_Value.DiscardUnknown(m) +} + +var xxx_messageInfo_NonVerifiableKeyValueResponse_Value proto.InternalMessageInfo + +func (m *NonVerifiableKeyValueResponse_Value) GetValue() []byte { + if m != nil { + return m.Value + } + return nil +} + +// Performs a key-value query against the JMT, either by key or by key hash. // // Proofs are only supported by key. type KeyValueRequest struct { @@ -42,7 +221,7 @@ func (m *KeyValueRequest) Reset() { *m = KeyValueRequest{} } func (m *KeyValueRequest) String() string { return proto.CompactTextString(m) } func (*KeyValueRequest) ProtoMessage() {} func (*KeyValueRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c16e20a97a348b2e, []int{0} + return fileDescriptor_c16e20a97a348b2e, []int{2} } func (m *KeyValueRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -96,7 +275,7 @@ func (m *KeyValueResponse) Reset() { *m = KeyValueResponse{} } func (m *KeyValueResponse) String() string { return proto.CompactTextString(m) } func (*KeyValueResponse) ProtoMessage() {} func (*KeyValueResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c16e20a97a348b2e, []int{1} + return fileDescriptor_c16e20a97a348b2e, []int{3} } func (m *KeyValueResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -147,7 +326,7 @@ func (m *KeyValueResponse_Value) Reset() { *m = KeyValueResponse_Value{} func (m *KeyValueResponse_Value) String() string { return proto.CompactTextString(m) } func (*KeyValueResponse_Value) ProtoMessage() {} func (*KeyValueResponse_Value) Descriptor() ([]byte, []int) { - return fileDescriptor_c16e20a97a348b2e, []int{1, 0} + return fileDescriptor_c16e20a97a348b2e, []int{3, 0} } func (m *KeyValueResponse_Value) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -193,7 +372,7 @@ func (m *PrefixValueRequest) Reset() { *m = PrefixValueRequest{} } func (m *PrefixValueRequest) String() string { return proto.CompactTextString(m) } func (*PrefixValueRequest) ProtoMessage() {} func (*PrefixValueRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c16e20a97a348b2e, []int{2} + return fileDescriptor_c16e20a97a348b2e, []int{4} } func (m *PrefixValueRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -238,7 +417,7 @@ func (m *PrefixValueResponse) Reset() { *m = PrefixValueResponse{} } func (m *PrefixValueResponse) String() string { return proto.CompactTextString(m) } func (*PrefixValueResponse) ProtoMessage() {} func (*PrefixValueResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c16e20a97a348b2e, []int{3} + return fileDescriptor_c16e20a97a348b2e, []int{5} } func (m *PrefixValueResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -301,7 +480,7 @@ 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_c16e20a97a348b2e, []int{4} + return fileDescriptor_c16e20a97a348b2e, []int{6} } func (m *WatchRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -360,7 +539,7 @@ 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_c16e20a97a348b2e, []int{5} + return fileDescriptor_c16e20a97a348b2e, []int{7} } func (m *WatchResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -454,7 +633,7 @@ 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_c16e20a97a348b2e, []int{5, 0} + return fileDescriptor_c16e20a97a348b2e, []int{7, 0} } func (m *WatchResponse_KeyValue) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -517,7 +696,7 @@ func (m *WatchResponse_NvKeyValue) Reset() { *m = WatchResponse_NvKeyVal func (m *WatchResponse_NvKeyValue) String() string { return proto.CompactTextString(m) } func (*WatchResponse_NvKeyValue) ProtoMessage() {} func (*WatchResponse_NvKeyValue) Descriptor() ([]byte, []int) { - return fileDescriptor_c16e20a97a348b2e, []int{5, 1} + return fileDescriptor_c16e20a97a348b2e, []int{7, 1} } func (m *WatchResponse_NvKeyValue) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -568,6 +747,10 @@ func (m *WatchResponse_NvKeyValue) GetDeleted() bool { } func init() { + proto.RegisterType((*NonVerifiableKeyValueRequest)(nil), "penumbra.cnidarium.v1.NonVerifiableKeyValueRequest") + proto.RegisterType((*NonVerifiableKeyValueRequest_Key)(nil), "penumbra.cnidarium.v1.NonVerifiableKeyValueRequest.Key") + proto.RegisterType((*NonVerifiableKeyValueResponse)(nil), "penumbra.cnidarium.v1.NonVerifiableKeyValueResponse") + proto.RegisterType((*NonVerifiableKeyValueResponse_Value)(nil), "penumbra.cnidarium.v1.NonVerifiableKeyValueResponse.Value") proto.RegisterType((*KeyValueRequest)(nil), "penumbra.cnidarium.v1.KeyValueRequest") proto.RegisterType((*KeyValueResponse)(nil), "penumbra.cnidarium.v1.KeyValueResponse") proto.RegisterType((*KeyValueResponse_Value)(nil), "penumbra.cnidarium.v1.KeyValueResponse.Value") @@ -584,47 +767,52 @@ func init() { } var fileDescriptor_c16e20a97a348b2e = []byte{ - // 629 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xcd, 0x6e, 0xd3, 0x40, - 0x10, 0xce, 0x6e, 0xeb, 0xfe, 0x4c, 0x03, 0x54, 0x0b, 0x85, 0x10, 0x44, 0x14, 0x52, 0xa0, 0x05, - 0x81, 0x5d, 0x97, 0x53, 0x83, 0x10, 0x52, 0x2a, 0x01, 0x52, 0x49, 0x65, 0x02, 0x0a, 0x08, 0x2a, - 0x55, 0x8e, 0x33, 0x6d, 0xad, 0xc4, 0x76, 0x58, 0x3b, 0xab, 0xfa, 0x0d, 0x38, 0xf2, 0x0c, 0xdc, - 0xe0, 0xc6, 0x5b, 0x20, 0x4e, 0x3d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47, 0xf4, 0xde, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe6, 0x73, 0xfd, - 0xf7, 0xad, 0x05, 0x00, 0x00, + // 718 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x95, 0x4d, 0x6f, 0xd3, 0x4c, + 0x10, 0xc7, 0xb3, 0x4e, 0xd3, 0x97, 0x69, 0x9e, 0x87, 0x6a, 0xa1, 0x10, 0x5c, 0x1a, 0x85, 0x14, + 0x68, 0x41, 0x60, 0x37, 0x2d, 0x12, 0x6a, 0x10, 0x42, 0x4a, 0x25, 0x5e, 0x14, 0x52, 0x99, 0x80, + 0x02, 0x82, 0x4a, 0x95, 0xe3, 0x4c, 0x5a, 0x2b, 0x89, 0x1d, 0x36, 0xce, 0xaa, 0xbe, 0x72, 0x40, + 0x1c, 0xfb, 0x19, 0x38, 0x72, 0x40, 0xe2, 0x5b, 0x20, 0x4e, 0x3d, 0xc2, 0x0d, 0xa5, 0x37, 0x3e, + 0x05, 0xf2, 0x7b, 0x42, 0xd3, 0x34, 0xf4, 0xe6, 0xff, 0xec, 0xec, 0x6f, 0x66, 0x76, 0xc6, 0xbb, + 0x70, 0xbd, 0x8d, 0x46, 0xb7, 0x55, 0x65, 0xaa, 0xac, 0x19, 0x7a, 0x4d, 0x65, 0x7a, 0xb7, 0x25, + 0xf3, 0x5c, 0x24, 0xa4, 0x36, 0x33, 0x2d, 0x93, 0xce, 0x07, 0x6e, 0x52, 0xb4, 0xc2, 0x73, 0xe2, + 0xb2, 0x5e, 0xd5, 0x64, 0xcd, 0x64, 0x28, 0x6b, 0x66, 0xab, 0xa5, 0x5b, 0x2d, 0x34, 0x2c, 0x77, + 0x7b, 0xa8, 0xbc, 0xfd, 0xd9, 0x0f, 0x04, 0xae, 0x6c, 0x99, 0x46, 0x05, 0x99, 0x5e, 0xd7, 0xd5, + 0x6a, 0x13, 0x8b, 0x68, 0x57, 0xd4, 0x66, 0x17, 0xcb, 0xf8, 0xae, 0x8b, 0x1d, 0x8b, 0x3e, 0x85, + 0x78, 0x03, 0xed, 0x14, 0xc9, 0x90, 0x95, 0xd9, 0xb5, 0x7b, 0xd2, 0xd0, 0x70, 0xd2, 0x28, 0x82, + 0x54, 0x44, 0xbb, 0xec, 0x30, 0xc4, 0x05, 0x88, 0x17, 0xd1, 0xa6, 0x17, 0x20, 0xa1, 0x1b, 0x06, + 0x32, 0x97, 0x99, 0x2c, 0x7b, 0x22, 0x7b, 0x40, 0x60, 0xf1, 0x04, 0x4c, 0xa7, 0x6d, 0x1a, 0x1d, + 0xa4, 0x0a, 0x24, 0xb8, 0x63, 0xf0, 0x73, 0xc9, 0xff, 0x5b, 0x2e, 0x1e, 0x44, 0xf2, 0x94, 0x07, + 0x12, 0x17, 0x21, 0xe1, 0x6a, 0x27, 0xa5, 0x08, 0x9d, 0xf4, 0x97, 0xb3, 0x1b, 0x70, 0xee, 0xef, + 0xd3, 0x98, 0xf3, 0x4e, 0x43, 0xc8, 0x90, 0x95, 0x19, 0xb7, 0x28, 0x67, 0x6b, 0x9b, 0x99, 0x66, + 0x3d, 0x15, 0xcf, 0x90, 0x95, 0xe9, 0xb2, 0x27, 0xb2, 0x5f, 0x09, 0xcc, 0x1d, 0x2b, 0x60, 0x73, + 0xb0, 0x80, 0x3b, 0x27, 0x14, 0x30, 0x32, 0x67, 0xba, 0x11, 0xc4, 0x13, 0x5c, 0xc8, 0x92, 0xa4, + 0x57, 0x35, 0xc9, 0xe9, 0xb4, 0xd4, 0xd7, 0x5b, 0x9e, 0x93, 0x4a, 0xc8, 0x1a, 0x4d, 0x54, 0x1c, + 0x57, 0x3f, 0xa9, 0xd3, 0xca, 0xbd, 0x0d, 0x54, 0x61, 0x58, 0xd7, 0xf7, 0x07, 0x2a, 0xbe, 0x08, + 0x93, 0x6d, 0xd7, 0xea, 0x17, 0xed, 0xab, 0xec, 0x03, 0x38, 0x3f, 0xe0,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0xb5, 0xf5, 0x5f, 0x4e, 0x07, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -642,6 +830,9 @@ type QueryServiceClient interface { // General-purpose key-value state query API, that can be used to query // arbitrary keys in the JMT storage. KeyValue(ctx context.Context, in *KeyValueRequest, opts ...grpc.CallOption) (*KeyValueResponse, error) + // General-purpose key-value state query API, that can be used to query + // arbitrary keys in the non-verifiable storage. + NonVerifiableKeyValue(ctx context.Context, in *NonVerifiableKeyValueRequest, opts ...grpc.CallOption) (*NonVerifiableKeyValueResponse, error) // General-purpose prefixed key-value state query API, that can be used to query // arbitrary prefixes in the JMT storage. PrefixValue(ctx context.Context, in *PrefixValueRequest, opts ...grpc.CallOption) (QueryService_PrefixValueClient, error) @@ -666,6 +857,15 @@ func (c *queryServiceClient) KeyValue(ctx context.Context, in *KeyValueRequest, return out, nil } +func (c *queryServiceClient) NonVerifiableKeyValue(ctx context.Context, in *NonVerifiableKeyValueRequest, opts ...grpc.CallOption) (*NonVerifiableKeyValueResponse, error) { + out := new(NonVerifiableKeyValueResponse) + err := c.cc.Invoke(ctx, "/penumbra.cnidarium.v1.QueryService/NonVerifiableKeyValue", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *queryServiceClient) PrefixValue(ctx context.Context, in *PrefixValueRequest, opts ...grpc.CallOption) (QueryService_PrefixValueClient, error) { stream, err := c.cc.NewStream(ctx, &_QueryService_serviceDesc.Streams[0], "/penumbra.cnidarium.v1.QueryService/PrefixValue", opts...) if err != nil { @@ -735,6 +935,9 @@ type QueryServiceServer interface { // General-purpose key-value state query API, that can be used to query // arbitrary keys in the JMT storage. KeyValue(context.Context, *KeyValueRequest) (*KeyValueResponse, error) + // General-purpose key-value state query API, that can be used to query + // arbitrary keys in the non-verifiable storage. + NonVerifiableKeyValue(context.Context, *NonVerifiableKeyValueRequest) (*NonVerifiableKeyValueResponse, error) // General-purpose prefixed key-value state query API, that can be used to query // arbitrary prefixes in the JMT storage. PrefixValue(*PrefixValueRequest, QueryService_PrefixValueServer) error @@ -749,6 +952,9 @@ type UnimplementedQueryServiceServer struct { func (*UnimplementedQueryServiceServer) KeyValue(ctx context.Context, req *KeyValueRequest) (*KeyValueResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method KeyValue not implemented") } +func (*UnimplementedQueryServiceServer) NonVerifiableKeyValue(ctx context.Context, req *NonVerifiableKeyValueRequest) (*NonVerifiableKeyValueResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method NonVerifiableKeyValue not implemented") +} func (*UnimplementedQueryServiceServer) PrefixValue(req *PrefixValueRequest, srv QueryService_PrefixValueServer) error { return status.Errorf(codes.Unimplemented, "method PrefixValue not implemented") } @@ -778,6 +984,24 @@ func _QueryService_KeyValue_Handler(srv interface{}, ctx context.Context, dec fu return interceptor(ctx, in, info, handler) } +func _QueryService_NonVerifiableKeyValue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NonVerifiableKeyValueRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).NonVerifiableKeyValue(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/penumbra.cnidarium.v1.QueryService/NonVerifiableKeyValue", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).NonVerifiableKeyValue(ctx, req.(*NonVerifiableKeyValueRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _QueryService_PrefixValue_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(PrefixValueRequest) if err := stream.RecvMsg(m); err != nil { @@ -828,6 +1052,10 @@ var _QueryService_serviceDesc = grpc.ServiceDesc{ MethodName: "KeyValue", Handler: _QueryService_KeyValue_Handler, }, + { + MethodName: "NonVerifiableKeyValue", + Handler: _QueryService_NonVerifiableKeyValue_Handler, + }, }, Streams: []grpc.StreamDesc{ { @@ -844,7 +1072,7 @@ var _QueryService_serviceDesc = grpc.ServiceDesc{ Metadata: "penumbra/cnidarium/v1/cnidarium.proto", } -func (m *KeyValueRequest) Marshal() (dAtA []byte, err error) { +func (m *NonVerifiableKeyValueRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -854,37 +1082,32 @@ func (m *KeyValueRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *KeyValueRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *NonVerifiableKeyValueRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *KeyValueRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *NonVerifiableKeyValueRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Proof { - i-- - if m.Proof { - dAtA[i] = 1 - } else { - dAtA[i] = 0 + if m.Key != nil { + { + size, err := m.Key.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCnidarium(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x18 - } - 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] = 0x12 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *KeyValueResponse) Marshal() (dAtA []byte, err error) { +func (m *NonVerifiableKeyValueRequest_Key) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -894,44 +1117,27 @@ func (m *KeyValueResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *KeyValueResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *NonVerifiableKeyValueRequest_Key) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *KeyValueResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *NonVerifiableKeyValueRequest_Key) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Proof != nil { - { - size, err := m.Proof.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintCnidarium(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if m.Value != nil { - { - size, err := m.Value.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintCnidarium(dAtA, i, uint64(size)) - } + if len(m.Inner) > 0 { + i -= len(m.Inner) + copy(dAtA[i:], m.Inner) + i = encodeVarintCnidarium(dAtA, i, uint64(len(m.Inner))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *KeyValueResponse_Value) Marshal() (dAtA []byte, err error) { +func (m *NonVerifiableKeyValueResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -941,27 +1147,32 @@ func (m *KeyValueResponse_Value) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *KeyValueResponse_Value) MarshalTo(dAtA []byte) (int, error) { +func (m *NonVerifiableKeyValueResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *KeyValueResponse_Value) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *NonVerifiableKeyValueResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Value) > 0 { - i -= len(m.Value) - copy(dAtA[i:], m.Value) - i = encodeVarintCnidarium(dAtA, i, uint64(len(m.Value))) + if m.Value != nil { + { + size, err := m.Value.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCnidarium(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *PrefixValueRequest) Marshal() (dAtA []byte, err error) { +func (m *NonVerifiableKeyValueResponse_Value) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -971,27 +1182,27 @@ func (m *PrefixValueRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PrefixValueRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *NonVerifiableKeyValueResponse_Value) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *PrefixValueRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *NonVerifiableKeyValueResponse_Value) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Prefix) > 0 { - i -= len(m.Prefix) - copy(dAtA[i:], m.Prefix) - i = encodeVarintCnidarium(dAtA, i, uint64(len(m.Prefix))) + 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 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *PrefixValueResponse) Marshal() (dAtA []byte, err error) { +func (m *KeyValueRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1001,34 +1212,37 @@ func (m *PrefixValueResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PrefixValueResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *KeyValueRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *PrefixValueResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *KeyValueRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Value) > 0 { - i -= len(m.Value) - copy(dAtA[i:], m.Value) - i = encodeVarintCnidarium(dAtA, i, uint64(len(m.Value))) + if m.Proof { i-- - dAtA[i] = 0x12 + if m.Proof { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 } 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 + dAtA[i] = 0x12 } return len(dAtA) - i, nil } -func (m *WatchRequest) Marshal() (dAtA []byte, err error) { +func (m *KeyValueResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1038,21 +1252,165 @@ func (m *WatchRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *WatchRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *KeyValueResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *WatchRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *KeyValueResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.NvKeyRegex) > 0 { - i -= len(m.NvKeyRegex) - copy(dAtA[i:], m.NvKeyRegex) - i = encodeVarintCnidarium(dAtA, i, uint64(len(m.NvKeyRegex))) - i-- + if m.Proof != nil { + { + size, err := m.Proof.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCnidarium(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.Value != nil { + { + size, err := m.Value.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCnidarium(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *KeyValueResponse_Value) 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 *KeyValueResponse_Value) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *KeyValueResponse_Value) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + 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] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *PrefixValueRequest) 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 *PrefixValueRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *PrefixValueRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Prefix) > 0 { + i -= len(m.Prefix) + copy(dAtA[i:], m.Prefix) + i = encodeVarintCnidarium(dAtA, i, uint64(len(m.Prefix))) + i-- + dAtA[i] = 0x12 + } + return len(dAtA) - i, nil +} + +func (m *PrefixValueResponse) 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 *PrefixValueResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *PrefixValueResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + 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 *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 + } + return dAtA[:n], nil +} + +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 + 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 len(m.KeyRegex) > 0 { @@ -1249,6 +1607,58 @@ func encodeVarintCnidarium(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } +func (m *NonVerifiableKeyValueRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Key != nil { + l = m.Key.Size() + n += 1 + l + sovCnidarium(uint64(l)) + } + return n +} + +func (m *NonVerifiableKeyValueRequest_Key) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Inner) + if l > 0 { + n += 1 + l + sovCnidarium(uint64(l)) + } + return n +} + +func (m *NonVerifiableKeyValueResponse) 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)) + } + return n +} + +func (m *NonVerifiableKeyValueResponse_Value) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Value) + if l > 0 { + n += 1 + l + sovCnidarium(uint64(l)) + } + return n +} + func (m *KeyValueRequest) Size() (n int) { if m == nil { return 0 @@ -1427,6 +1837,346 @@ func sovCnidarium(x uint64) (n int) { func sozCnidarium(x uint64) (n int) { return sovCnidarium(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } +func (m *NonVerifiableKeyValueRequest) 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: NonVerifiableKeyValueRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: NonVerifiableKeyValueRequest: 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 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.Key == nil { + m.Key = &NonVerifiableKeyValueRequest_Key{} + } + if err := m.Key.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 *NonVerifiableKeyValueRequest_Key) 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: Key: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Key: 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 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.Inner = append(m.Inner[:0], dAtA[iNdEx:postIndex]...) + if m.Inner == nil { + m.Inner = []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 *NonVerifiableKeyValueResponse) 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: NonVerifiableKeyValueResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: NonVerifiableKeyValueResponse: 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 = &NonVerifiableKeyValueResponse_Value{} + } + if err := m.Value.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 *NonVerifiableKeyValueResponse_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 *KeyValueRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 diff --git a/relayer/chains/penumbra/core/app/v1/app.pb.go b/relayer/chains/penumbra/core/app/v1/app.pb.go index 7637e923a..94e3daa81 100644 --- a/relayer/chains/penumbra/core/app/v1/app.pb.go +++ b/relayer/chains/penumbra/core/app/v1/app.pb.go @@ -8,6 +8,7 @@ import ( fmt "fmt" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" + v111 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/auction/v1" v12 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/community_pool/v1" v110 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/dex/v1" v17 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/distributions/v1" @@ -162,6 +163,8 @@ type AppParameters struct { ShieldedPoolParams *v19.ShieldedPoolParameters `protobuf:"bytes,10,opt,name=shielded_pool_params,json=shieldedPoolParams,proto3" json:"shielded_pool_params,omitempty"` // DEX module parameters. DexParams *v110.DexParameters `protobuf:"bytes,11,opt,name=dex_params,json=dexParams,proto3" json:"dex_params,omitempty"` + // Auction module parameters. + AuctionParams *v111.AuctionParameters `protobuf:"bytes,12,opt,name=auction_params,json=auctionParams,proto3" json:"auction_params,omitempty"` } func (m *AppParameters) Reset() { *m = AppParameters{} } @@ -274,6 +277,13 @@ func (m *AppParameters) GetDexParams() *v110.DexParameters { return nil } +func (m *AppParameters) GetAuctionParams() *v111.AuctionParameters { + if m != nil { + return m.AuctionParams + } + return nil +} + // Requests the global configuration data for the app. type AppParametersRequest struct { } @@ -463,6 +473,8 @@ type GenesisContent struct { FundingContent *v18.GenesisContent `protobuf:"bytes,10,opt,name=funding_content,json=fundingContent,proto3" json:"funding_content,omitempty"` // DEX component genesis state. DexContent *v110.GenesisContent `protobuf:"bytes,11,opt,name=dex_content,json=dexContent,proto3" json:"dex_content,omitempty"` + // Auction component genesis state. + AuctionContent *v111.GenesisContent `protobuf:"bytes,12,opt,name=auction_content,json=auctionContent,proto3" json:"auction_content,omitempty"` } func (m *GenesisContent) Reset() { *m = GenesisContent{} } @@ -575,6 +587,13 @@ func (m *GenesisContent) GetDexContent() *v110.GenesisContent { return nil } +func (m *GenesisContent) GetAuctionContent() *v111.GenesisContent { + if m != nil { + return m.AuctionContent + } + return nil +} + func init() { proto.RegisterType((*TransactionsByHeightRequest)(nil), "penumbra.core.app.v1.TransactionsByHeightRequest") proto.RegisterType((*TransactionsByHeightResponse)(nil), "penumbra.core.app.v1.TransactionsByHeightResponse") @@ -588,78 +607,82 @@ func init() { func init() { proto.RegisterFile("penumbra/core/app/v1/app.proto", fileDescriptor_cd5d94926a61eaaf) } var fileDescriptor_cd5d94926a61eaaf = []byte{ - // 1136 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x57, 0xcf, 0x6e, 0x23, 0x35, - 0x1c, 0xce, 0x64, 0x4b, 0xdb, 0x38, 0x69, 0xcb, 0x4e, 0xd3, 0xa5, 0x14, 0x14, 0x95, 0xc0, 0xa1, - 0xfc, 0x9b, 0xec, 0x04, 0x81, 0x20, 0x8b, 0xd0, 0x26, 0x45, 0xdb, 0x2e, 0x62, 0xb5, 0x21, 0x5d, - 0x7a, 0x80, 0x48, 0xd1, 0xc4, 0xe3, 0x24, 0xa3, 0x26, 0x33, 0x66, 0xec, 0x8c, 0xd2, 0x03, 0xef, - 0xb0, 0xcf, 0xc0, 0x09, 0xf1, 0x24, 0x88, 0xd3, 0xde, 0xe0, 0x88, 0xd2, 0x1b, 0x2f, 0xb0, 0x57, - 0x64, 0x8f, 0x9d, 0xd8, 0xd3, 0xcc, 0x4e, 0xf6, 0x14, 0xfb, 0xf3, 0xef, 0xf7, 0x7d, 0xf6, 0xcf, - 0xf6, 0xe7, 0x09, 0xa8, 0x60, 0xe4, 0x4f, 0x27, 0xfd, 0xd0, 0xa9, 0xc1, 0x20, 0x44, 0x35, 0x07, - 0xe3, 0x5a, 0x64, 0xb3, 0x1f, 0x0b, 0x87, 0x01, 0x0d, 0xcc, 0xb2, 0x1c, 0xb7, 0xd8, 0xb8, 0xc5, - 0x06, 0x22, 0xfb, 0xe8, 0x1b, 0x3d, 0x0b, 0x06, 0x13, 0x1c, 0xf8, 0xc8, 0xa7, 0xac, 0x35, 0x99, - 0xfa, 0x1e, 0xbd, 0xee, 0xe1, 0x20, 0x18, 0x33, 0x2a, 0x1d,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x00, 0x7c, 0x8e, 0x03, 0xb4, 0xe0, 0xdc, 0xca, 0x98, 0x23, - 0xf3, 0x99, 0xc8, 0xb6, 0x1e, 0x21, 0x95, 0xaf, 0x30, 0x40, 0x92, 0x8d, 0x82, 0xb2, 0x66, 0x5f, - 0x92, 0x77, 0x9b, 0xf3, 0x36, 0x53, 0x79, 0x75, 0xcf, 0x8b, 0x6c, 0xeb, 0x5b, 0x15, 0x50, 0x77, - 0xd4, 0xbd, 0x35, 0x40, 0xcc, 0x2e, 0xd8, 0x15, 0x96, 0x26, 0xf5, 0x0a, 0x5c, 0xef, 0xf3, 0xf4, - 0x75, 0x08, 0x07, 0x64, 0x6b, 0x89, 0x9b, 0x8a, 0xc6, 0xce, 0x40, 0x81, 0x88, 0x19, 0x82, 0xb2, - 0x66, 0x36, 0x52, 0x03, 0x70, 0x8d, 0x87, 0xe9, 0xf5, 0xd7, 0x1c, 0x8a, 0xed, 0x83, 0x00, 0x12, - 0x87, 0xd4, 0x24, 0x49, 0x9c, 0xef, 0x8a, 0x8b, 0x66, 0x52, 0xa9, 0x98, 0xb1, 0x2b, 0xec, 0x95, - 0x61, 0x35, 0x43, 0x33, 0x75, 0x57, 0x5c, 0xd1, 0x25, 0xd5, 0x7b, 0xa0, 0xac, 0xdd, 0x71, 0x61, - 0x59, 0x55, 0x08, 0x0e, 0x12, 0xb8, 0xf0, 0xa1, 0xef, 0xc0, 0xae, 0x83, 0x71, 0x2c, 0xcf, 0x47, - 0xb8, 0x13, 0x14, 0xeb, 0xef, 0x5b, 0xab, 0x5e, 0x51, 0x4b, 0x27, 0xd9, 0x71, 0xd4, 0x6e, 0xf5, - 0x77, 0x03, 0xec, 0x9d, 0x21, 0x1f, 0x11, 0x8f, 0x34, 0x31, 0xbe, 0xa0, 0x0e, 0x45, 0xe6, 0x53, - 0xb0, 0x37, 0x8c, 0xa1, 0x1e, 0x0c, 0x7c, 0x8a, 0x7c, 0x2a, 0x04, 0x3e, 0x58, 0x2d, 0x20, 0xf2, - 0x4f, 0xe3, 0xd8, 0xf3, 0x5c, 0x67, 0x77, 0xa8, 0x21, 0x66, 0x0d, 0x98, 0x0b, 0xc2, 0x11, 0x82, - 0x57, 0x38, 0xf0, 0xfc, 0xd8, 0xef, 0x4a, 0xe7, 0xb9, 0xce, 0x5d, 0x19, 0xbd, 0x18, 0x6a, 0xed, - 0x03, 0x09, 0xf6, 0xd8, 0x4a, 0x09, 0x9b, 0x56, 0xf5, 0xef, 0x2d, 0xb0, 0xab, 0x4b, 0xbd, 0xca, - 0x0d, 0x7f, 0x04, 0x3b, 0xf1, 0x7d, 0x94, 0x4b, 0x88, 0x0d, 0xf1, 0x7e, 0xf6, 0x85, 0xd4, 0x35, - 0x3a, 0xf1, 0xb5, 0x96, 0x8a, 0x63, 0x70, 0xa0, 0x1f, 0x37, 0x49, 0x1f, 0xdb, 0xe2, 0x97, 0xeb, - 0x9f, 0xb7, 0x84, 0xcc, 0xbe, 0x7a, 0xce, 0xa4, 0x9a, 0x0b, 0x4c, 0xc5, 0x0c, 0xa5, 0xd4, 0x46, - 0xc6, 0xf5, 0x49, 0xb8, 0xa1, 0xae, 0xa3, 0xb8, 0xab, 0x54, 0x79, 0x0a, 0x8a, 0xcc, 0x08, 0x25, - 0x7d, 0xec, 0x84, 0x56, 0x96, 0x13, 0x26, 0x78, 0x99, 0x97, 0x2a, 0x84, 0xec, 0x25, 0x92, 0x84, - 0x9b, 0x19, 0x84, 0xe2, 0x29, 0x4a, 0x12, 0x12, 0x48, 0x25, 0x61, 0x00, 0xee, 0x25, 0x1e, 0x23, - 0xc9, 0x1d, 0x5b, 0xe2, 0x57, 0xaf, 0xf1, 0x1a, 0x25, 0x64, 0xca, 0xda, 0x23, 0xa4, 0xac, 0x80, - 0xf9, 0xae, 0x54, 0xd9, 0xce, 0x58, 0x81, 0x30, 0xde, 0xe4, 0x0a, 0x06, 0x68, 0x51, 0xe3, 0x09, - 0x38, 0xd0, 0xad, 0x57, 0x52, 0x17, 0x32, 0x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0x52, 0xf0, 0x94, 0x09, 0x36, - 0x31, 0xb6, 0x2e, 0xed, 0xbf, 0x96, 0x70, 0x97, 0xc1, 0xdd, 0x26, 0xc6, 0xdd, 0x4b, 0x7b, 0x9e, - 0x3f, 0x5e, 0x05, 0x77, 0xcf, 0xda, 0xad, 0x27, 0x88, 0x3a, 0xae, 0x43, 0x9d, 0xff, 0xf2, 0x6f, - 0xc9, 0x90, 0x46, 0x83, 0xc5, 0x34, 0x1a, 0x4d, 0x8c, 0x1b, 0x8d, 0x4b, 0xbb, 0xbf, 0xc9, 0x3f, - 0xdb, 0x3f, 0xfb, 0x3f, 0x00, 0x00, 0xff, 0xff, 0xf0, 0x81, 0x4b, 0xf1, 0x1a, 0x0e, 0x00, 0x00, + // 1189 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x57, 0xcd, 0x6e, 0x23, 0x45, + 0x17, 0x4d, 0x27, 0xf9, 0x32, 0x4e, 0xd9, 0x49, 0xbe, 0xe9, 0x38, 0x43, 0x08, 0xc8, 0x0a, 0x86, + 0x45, 0xf8, 0x6b, 0x4f, 0x1b, 0x81, 0xc0, 0x83, 0xd0, 0xd8, 0x41, 0x93, 0x0c, 0x62, 0x34, 0xc6, + 0x19, 0xb2, 0x80, 0x48, 0x56, 0xbb, 0xba, 0x6c, 0xb7, 0x62, 0x77, 0x17, 0x5d, 0xe5, 0x56, 0xb2, + 0xe0, 0x1d, 0xe6, 0x19, 0x58, 0x21, 0xd6, 0x3c, 0x00, 0x4b, 0xc4, 0x6a, 0x96, 0x2c, 0x51, 0xb2, + 0xe3, 0x05, 0x66, 0x8b, 0xea, 0xaf, 0x53, 0xd5, 0x71, 0x4f, 0x7b, 0x56, 0xae, 0xba, 0x75, 0xef, + 0x39, 0xb7, 0x6e, 0xdd, 0x3a, 0xd5, 0x06, 0x35, 0x8c, 0xc2, 0xd9, 0x74, 0x10, 0x7b, 0x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x1f, 0xe4, 0x15, 0x5f, + 0xc7, 0x7b, 0xcd, 0xd7, 0x09, 0x11, 0xf4, 0x9d, 0x97, 0xd6, 0x9f, 0x57, 0x35, 0xeb, 0xc5, 0x55, + 0xcd, 0xfa, 0xe7, 0xaa, 0x66, 0x3d, 0xbf, 0xae, 0x2d, 0xbd, 0xb8, 0xae, 0x2d, 0xfd, 0x7d, 0x5d, + 0x5b, 0x02, 0xbb, 0x30, 0x9a, 0xce, 0x45, 0xec, 0x94, 0xd8, 0x56, 0xd8, 0xf7, 0x7a, 0xd7, 0xfa, + 0xe1, 0xd1, 0x28, 0xa0, 0xe3, 0xd9, 0x80, 0x95, 0xbd, 0x01, 0x23, 0x32, 0x8d, 0x48, 0x23, 0x46, + 0x13, 0xef, 0x12, 0xc5, 0x8d, 0xa4, 0x99, 0x0e, 0xb9, 0xe2, 0x92, 0xc6, 0xbc, 0x7f, 0x9c, 0x0f, + 0x3c, 0x8c, 0x13, 0xf7, 0x97, 0xe5, 0x95, 0xee, 0x61, 0xfb, 0xb7, 0xe5, 0x6a, 0x57, 0x11, 0x1e, + 0x32, 0xc2, 0x36, 0xc6, 0xce, 0xa9, 0xfb, 0xd7, 0x8d, 0xf9, 0x8c, 0x99, 0xcf, 0xda, 0x18, 0x9f, + 0x9d, 0xba, 0x57, 0xcb, 0xfb, 0xf3, 0xcc, 0x67, 0x47, 0xdd, 0xce, 0x13, 0x44, 0x3d, 0xdf, 0xa3, + 0xde, 0xbf, 0xcb, 0x6f, 0x28, 0x97, 0x56, 0x8b, 0xf9, 0xb4, 0x5a, 0x6d, 0x8c, 0x5b, 0xad, 0x53, + 0x77, 0xb0, 0xc6, 0xff, 0x71, 0x7c, 0xf2, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb8, 0x53, 0x18, + 0x9d, 0x07, 0x0f, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -872,6 +895,18 @@ func (m *AppParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if m.AuctionParams != nil { + { + size, err := m.AuctionParams.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintApp(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x62 + } if m.DexParams != nil { { size, err := m.DexParams.MarshalToSizedBuffer(dAtA[:i]) @@ -1149,6 +1184,18 @@ func (m *GenesisContent) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if m.AuctionContent != nil { + { + size, err := m.AuctionContent.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintApp(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x62 + } if m.DexContent != nil { { size, err := m.DexContent.MarshalToSizedBuffer(dAtA[:i]) @@ -1370,6 +1417,10 @@ func (m *AppParameters) Size() (n int) { l = m.DexParams.Size() n += 1 + l + sovApp(uint64(l)) } + if m.AuctionParams != nil { + l = m.AuctionParams.Size() + n += 1 + l + sovApp(uint64(l)) + } return n } @@ -1481,6 +1532,10 @@ func (m *GenesisContent) Size() (n int) { l = m.DexContent.Size() n += 1 + l + sovApp(uint64(l)) } + if m.AuctionContent != nil { + l = m.AuctionContent.Size() + n += 1 + l + sovApp(uint64(l)) + } return n } @@ -2083,6 +2138,42 @@ func (m *AppParameters) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AuctionParams", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApp + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthApp + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthApp + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.AuctionParams == nil { + m.AuctionParams = &v111.AuctionParameters{} + } + if err := m.AuctionParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipApp(dAtA[iNdEx:]) @@ -2779,6 +2870,42 @@ func (m *GenesisContent) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AuctionContent", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApp + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthApp + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthApp + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.AuctionContent == nil { + m.AuctionContent = &v111.GenesisContent{} + } + if err := m.AuctionContent.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipApp(dAtA[iNdEx:]) diff --git a/relayer/chains/penumbra/core/asset/v1/asset.pb.go b/relayer/chains/penumbra/core/asset/v1/asset.pb.go index 9e13be113..d0d00efae 100644 --- a/relayer/chains/penumbra/core/asset/v1/asset.pb.go +++ b/relayer/chains/penumbra/core/asset/v1/asset.pb.go @@ -206,6 +206,10 @@ type Metadata struct { // the asset ID on Penumbra for this denomination. PenumbraAssetId *AssetId `protobuf:"bytes,1984,opt,name=penumbra_asset_id,json=penumbraAssetId,proto3" json:"penumbra_asset_id,omitempty"` Images []*AssetImage `protobuf:"bytes,1985,rep,name=images,proto3" json:"images,omitempty"` + // An optional "score" used to prioritize token lists. + // + // This is solely for use in client-side registries. + PriorityScore uint64 `protobuf:"varint,1986,opt,name=priority_score,json=priorityScore,proto3" json:"priority_score,omitempty"` } func (m *Metadata) Reset() { *m = Metadata{} } @@ -297,6 +301,13 @@ func (m *Metadata) GetImages() []*AssetImage { return nil } +func (m *Metadata) GetPriorityScore() uint64 { + if m != nil { + return m.PriorityScore + } + return 0 +} + // DenomUnit represents a struct that describes a given denomination unit of the basic token. type DenomUnit struct { // denom represents the string name of the given denom unit (e.g uatom). @@ -927,73 +938,75 @@ func init() { } var fileDescriptor_c2e6e948c9ed8f1e = []byte{ - // 1048 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x56, 0x4f, 0x6f, 0xe3, 0x44, - 0x14, 0xaf, 0xf3, 0xa7, 0x75, 0x5e, 0x42, 0x9b, 0x8e, 0x56, 0x55, 0x36, 0x40, 0x36, 0x58, 0x48, - 0x14, 0x84, 0x1c, 0x92, 0xe5, 0x94, 0x85, 0x95, 0x9a, 0xb2, 0xa2, 0x2d, 0xac, 0x88, 0xac, 0x6d, - 0x90, 0x50, 0x25, 0x6b, 0x62, 0x4f, 0xe3, 0x51, 0x3d, 0x33, 0xc1, 0x63, 0xa7, 0xcd, 0x95, 0x0b, - 0x57, 0xee, 0xdc, 0x38, 0xf2, 0x21, 0x10, 0xdc, 0x10, 0xa7, 0x3d, 0x22, 0x4e, 0xa8, 0xbd, 0x71, - 0xe4, 0x03, 0x20, 0x34, 0x63, 0x3b, 0x6d, 0x4a, 0x4b, 0x17, 0x0e, 0x7b, 0x7b, 0x7f, 0x7e, 0xef, - 0xbd, 0xdf, 0x7b, 0x7e, 0x6f, 0x12, 0xb0, 0xa6, 0x84, 0x27, 0x6c, 0x1c, 0xe1, 0x8e, 0x27, 0x22, - 0xd2, 0xc1, 0x52, 0x92, 0xb8, 0x33, 0xeb, 0xa6, 0x82, 0x3d, 0x8d, 0x44, 0x2c, 0xd0, 0x56, 0x8e, - 0xb1, 0x15, 0xc6, 0x4e, 0x5d, 0xb3, 0x6e, 0xf3, 0xfe, 0x44, 0x88, 0x49, 0x48, 0x3a, 0x1a, 0x35, - 0x4e, 0x8e, 0x3b, 0x98, 0xcf, 0xd3, 0x90, 0x66, 0x6b, 0x39, 0x2d, 0x4f, 0x98, 0x4a, 0xca, 0x13, - 0x96, 0xfa, 0xad, 0xb7, 0x61, 0x73, 0x80, 0x43, 0xcc, 0x3d, 0xb2, 0x2b, 0x18, 0xa3, 0x31, 0x23, - 0x3c, 0x46, 0xf7, 0xa0, 0x4c, 0x39, 0x27, 0x51, 0xc3, 0x68, 0x1b, 0xdb, 0x35, 0x27, 0x55, 0xac, - 0x63, 0x58, 0xdb, 0x51, 0x15, 0xf7, 0xfd, 0x9b, 0x01, 0xe8, 0x01, 0x54, 0x71, 0x18, 0xbb, 0x63, - 0xe2, 0x05, 0x0f, 0x7b, 0xac, 0x51, 0x68, 0x1b, 0xdb, 0x15, 0x07, 0x70, 0x18, 0x0f, 0x52, 0x0b, - 0x7a, 0x13, 0xd6, 0x35, 0x00, 0x4b, 0xe2, 0xfa, 0x84, 0x0b, 0xd6, 0x28, 0x6a, 0x4c, 0x4d, 0x61, - 0xb0, 0x24, 0x1f, 0x29, 0x9b, 0xf5, 0x3a, 0x94, 0xb5, 0xa0, 0xaa, 0xa4, 0x28, 0x43, 0xa3, 0x52, - 0xc5, 0xfa, 0xab, 0x00, 0xe6, 0x53, 0x12, 0x63, 0x1f, 0xc7, 0x18, 0xb5, 0xa1, 0xea, 0x13, 0xe9, - 0x45, 0x74, 0x1a, 0x53, 0xc1, 0x33, 0xe0, 0x55, 0x13, 0x1a, 0x28, 0x04, 0x17, 0xcc, 0x4d, 0x38, - 0x8d, 0x65, 0xa3, 0xd0, 0x2e, 0x6e, 0x57, 0x7b, 0x6f, 0xd8, 0x37, 0x4f, 0xd2, 0xd6, 0x85, 0x0f, - 0x39, 0x8d, 0x1d, 0xf0, 0x73, 0x51, 0x22, 0x04, 0x25, 0xc5, 0x39, 0x63, 0xab, 0x65, 0xd4, 0x80, - 0x35, 0x9f, 0xca, 0x69, 0x88, 0xe7, 0x8d, 0x92, 0x36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, 0x87, 0x0d, 0xbb, 0xb2, 0xf7, 0xa9, - 0x05, 0x3d, 0xfe, 0x67, 0xb7, 0x77, 0x1f, 0xe3, 0x95, 0x76, 0xaf, 0x37, 0x50, 0xbc, 0xde, 0xc0, - 0xe0, 0xeb, 0xc2, 0xcf, 0xe7, 0x2d, 0xe3, 0xf9, 0x79, 0xcb, 0xf8, 0xfd, 0xbc, 0x65, 0x7c, 0x73, - 0xd1, 0x5a, 0x79, 0x7e, 0xd1, 0x5a, 0xf9, 0xf5, 0xa2, 0xb5, 0x02, 0x4d, 0x4f, 0xb0, 0x5b, 0x8a, - 0x0d, 0xd2, 0xbd, 0x1d, 0xaa, 0x93, 0x1b, 0x1a, 0x5f, 0x1c, 0x4c, 0x68, 0x1c, 0x24, 0x63, 0xdb, - 0x13, 0xac, 0xe3, 0x09, 0xc9, 0x84, 0xec, 0x44, 0x24, 0xc4, 0x73, 0x12, 0x75, 0x66, 0xbd, 0x85, - 0xe8, 0x05, 0x98, 0x72, 0xd9, 0xb9, 0xf9, 0x7f, 0xce, 0x23, 0x2d, 0xcc, 0xba, 0xdf, 0x15, 0x8a, - 0xc3, 0xdd, 0x9d, 0xef, 0x0b, 0x5b, 0xc3, 0xbc, 0xf0, 0xae, 0x2a, 0xac, 0xcb, 0xd9, 0xa3, 0xee, - 0x2f, 0x97, 0x8e, 0x23, 0xe5, 0x38, 0xd2, 0x8e, 0xa3, 0x51, 0xf7, 0xbc, 0x60, 0xdd, 0xec, 0x38, - 0xfa, 0x78, 0x38, 0xc8, 0x47, 0xf3, 0x47, 0xe1, 0x7e, 0x0e, 0xea, 0xf7, 0x15, 0xaa, 0xdf, 0xd7, - 0xb0, 0x7e, 0x7f, 0xd4, 0x1d, 0xaf, 0xea, 0x07, 0xe4, 0xe1, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, - 0xad, 0x5c, 0xe1, 0xd0, 0x89, 0x09, 0x00, 0x00, + // 1074 bytes of a gzipped FileDescriptorProto + 0x1f, 0x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0xe3, 0x9c, 0x46, 0x96, 0xd1, 0x36, 0xb6, 0x6b, + 0x38, 0x55, 0xec, 0x23, 0xd8, 0xd8, 0x51, 0x15, 0xf7, 0xfd, 0xab, 0x01, 0xe8, 0x1e, 0x54, 0x49, + 0x10, 0xbb, 0x63, 0xea, 0x4d, 0xef, 0xf7, 0x42, 0xab, 0xd0, 0x36, 0xb6, 0x2b, 0x18, 0x48, 0x10, + 0x0f, 0x52, 0x0b, 0x7a, 0x05, 0xea, 0x1a, 0x40, 0x24, 0x75, 0x7d, 0xca, 0x45, 0x68, 0x15, 0x35, + 0xa6, 0xa6, 0x30, 0x44, 0xd2, 0xf7, 0x94, 0xcd, 0x7e, 0x09, 0xca, 0x5a, 0x50, 0x55, 0x52, 0x94, + 0xa1, 0x51, 0xa9, 0x62, 0x7f, 0x53, 0x04, 0xf3, 0x09, 0x8d, 0x89, 0x4f, 0x62, 0x82, 0xda, 0x50, + 0xf5, 0xa9, 0xf4, 0x22, 0x36, 0x8b, 0x99, 0xe0, 0x19, 0xf0, 0xa2, 0x09, 0x0d, 0x14, 0x82, 0x8b, + 0xd0, 0x4d, 0x38, 0x8b, 0xa5, 0x55, 0x68, 0x17, 0xb7, 0xab, 0xbd, 0x97, 0x9d, 0xab, 0x27, 0xe9, + 0xe8, 0xc2, 0x07, 0x9c, 0xc5, 0x18, 0xfc, 0x5c, 0x94, 0x08, 0x41, 0x49, 0x71, 0xce, 0xd8, 0x6a, + 0x19, 0x59, 0xb0, 0xe1, 0x33, 0x39, 0x0b, 0xc8, 0xc2, 0x2a, 0x69, 0x73, 0xae, 0x2a, 0x34, 0x27, + 0x21, 0xb5, 0xca, 0x29, 0x5a, 0xc9, 0xe8, 0x0e, 0xac, 0xcb, 0x45, 0x38, 0x16, 0x81, 0xb5, 0xae, + 0xad, 0x99, 0x86, 0x3e, 0x84, 0xad, 0x9c, 0x89, 0xab, 0x49, 0xb8, 0xcc, 0xb7, 0xbe, 0xdf, 0x6c, + 0x1b, 0xdb, 0xd5, 0xde, 0xbd, 0xeb, 0x48, 0x66, 0x5f, 0x01, 0x6f, 0xe6, 0xfe, 0xfc, 0xb3, 0x3c, + 0x80, 0x75, 0x16, 0x92, 0x09, 0x95, 0xd6, 0x0f, 0x9b, 0xba, 0x4f, 0xfb, 0xef, 0x53, 0x28, 0x2c, + 0xce, 0x42, 0xd0, 0xab, 0x50, 0x9f, 0x45, 0x4c, 0x44, 0x2c, 0x5e, 0xb8, 0x52, 0xa1, 0xad, 0x1f, + 0x15, 0x8f, 0x12, 0xbe, 0x95, 0x9b, 0x3f, 0x56, 0xd6, 0xc7, 0x25, 0x73, 0xa3, 0x61, 0x3e, 0x2e, + 0x99, 0x66, 0xa3, 0x82, 0x8b, 0x49, 0xc4, 0x70, 0xf1, 0x00, 0xef, 0x63, 0x33, 0x89, 0x98, 0x3b, + 0x25, 0x72, 0x8a, 0x37, 0x0e, 0xf0, 0xfe, 0x1e, 0x91, 0x53, 0xfb, 0x13, 0xa8, 0x2c, 0xc7, 0x79, + 0xf5, 0xb7, 0x44, 0x4d, 0x30, 0xe9, 0xc9, 0x4c, 0x70, 0xca, 0x63, 0xbd, 0x2e, 0xb7, 0xf0, 0x52, + 0x57, 0x03, 0x26, 0x01, 0x23, 0x92, 0x4a, 0xab, 0xd8, 0x2e, 0xaa, 0x01, 0x67, 0xaa, 0xbd, 0x80, + 0xf2, 0x88, 0x04, 0x09, 0x45, 0x6f, 0xc3, 0x3a, 0x09, 0x45, 0xc2, 0x63, 0x9d, 0xb5, 0xda, 0xfb, + 0xff, 0xa5, 0x76, 0xd5, 0x9a, 0xab, 0x66, 0x35, 0x06, 0x67, 0x58, 0xd4, 0x07, 0x73, 0x39, 0xea, + 0xc2, 0x8b, 0x4d, 0x7a, 0x83, 0xa4, 0x82, 0xfd, 0x47, 0x09, 0x2a, 0xba, 0xf6, 0x88, 0xd1, 0x67, + 0x68, 0x04, 0xf5, 0x63, 0x2e, 0x9e, 0xf1, 0xf3, 0x4f, 0x97, 0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 0xb9, 0x81, 0xc1, 0x17, 0x85, 0x9f, 0x4e, 0x5b, 0xc6, + 0xf3, 0xd3, 0x96, 0xf1, 0xdb, 0x69, 0xcb, 0xf8, 0xf2, 0xac, 0xb5, 0xf6, 0xfc, 0xac, 0xb5, 0xf6, + 0xcb, 0x59, 0x6b, 0x0d, 0x9a, 0x9e, 0x08, 0xaf, 0x29, 0x36, 0x48, 0xf7, 0x76, 0xa8, 0x9e, 0xdc, + 0xd0, 0xf8, 0xf4, 0xf1, 0x84, 0xc5, 0xd3, 0x64, 0xec, 0x78, 0x22, 0xec, 0x78, 0x42, 0x86, 0x42, + 0x76, 0x22, 0x1a, 0x90, 0x05, 0x8d, 0x3a, 0xf3, 0xde, 0x52, 0xf4, 0xa6, 0x84, 0x71, 0xd9, 0xb9, + 0xfa, 0xff, 0xd0, 0x03, 0x2d, 0xcc, 0xbb, 0x5f, 0x17, 0x8a, 0xc3, 0xdd, 0x9d, 0x6f, 0x0b, 0x77, + 0x86, 0x79, 0xe1, 0x5d, 0x55, 0x58, 0x97, 0x73, 0x46, 0xdd, 0x9f, 0xcf, 0x1d, 0x87, 0xca, 0x71, + 0xa8, 0x1d, 0x87, 0xa3, 0xee, 0x69, 0xc1, 0xbe, 0xda, 0x71, 0xf8, 0xfe, 0x70, 0x90, 0x8f, 0xe6, + 0xf7, 0xc2, 0xdd, 0x1c, 0xd4, 0xef, 0x2b, 0x54, 0xbf, 0xaf, 0x61, 0xfd, 0xfe, 0xa8, 0x3b, 0x5e, + 0xd7, 0x07, 0xe4, 0xfe, 0x9f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xad, 0x7a, 0xcc, 0xbe, 0xb1, 0x09, + 0x00, 0x00, } func (m *BalanceCommitment) Marshal() (dAtA []byte, err error) { @@ -1120,6 +1133,13 @@ func (m *Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if m.PriorityScore != 0 { + i = encodeVarintAsset(dAtA, i, uint64(m.PriorityScore)) + i-- + dAtA[i] = 0x7c + i-- + dAtA[i] = 0x90 + } if len(m.Images) > 0 { for iNdEx := len(m.Images) - 1; iNdEx >= 0; iNdEx-- { { @@ -1796,6 +1816,9 @@ func (m *Metadata) Size() (n int) { n += 2 + l + sovAsset(uint64(l)) } } + if m.PriorityScore != 0 { + n += 2 + sovAsset(uint64(m.PriorityScore)) + } return n } @@ -2614,6 +2637,25 @@ func (m *Metadata) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 1986: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PriorityScore", wireType) + } + m.PriorityScore = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAsset + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.PriorityScore |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipAsset(dAtA[iNdEx:]) diff --git a/relayer/chains/penumbra/core/component/auction/v1/auction.pb.go b/relayer/chains/penumbra/core/component/auction/v1/auction.pb.go new file mode 100644 index 000000000..2991ab3e5 --- /dev/null +++ b/relayer/chains/penumbra/core/component/auction/v1/auction.pb.go @@ -0,0 +1,6119 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: penumbra/core/component/auction/v1/auction.proto + +package auctionv1 + +import ( + context "context" + fmt "fmt" + types "github.com/cosmos/cosmos-sdk/codec/types" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" + v11 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/asset/v1" + v1 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/dex/v1" + v12 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/num/v1" + 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 + +// The reason the auction ended. +type EventDutchAuctionEnded_Reason int32 + +const ( + EventDutchAuctionEnded_REASON_UNSPECIFIED EventDutchAuctionEnded_Reason = 0 + // The auction ended due to reaching its terminal height. + EventDutchAuctionEnded_REASON_EXPIRED EventDutchAuctionEnded_Reason = 1 + // The auction ran out of reserves. + EventDutchAuctionEnded_REASON_FILLED EventDutchAuctionEnded_Reason = 2 + // The auction ended was terminated by the initiator. + EventDutchAuctionEnded_REASON_CLOSED_BY_OWNER EventDutchAuctionEnded_Reason = 3 +) + +var EventDutchAuctionEnded_Reason_name = map[int32]string{ + 0: "REASON_UNSPECIFIED", + 1: "REASON_EXPIRED", + 2: "REASON_FILLED", + 3: "REASON_CLOSED_BY_OWNER", +} + +var EventDutchAuctionEnded_Reason_value = map[string]int32{ + "REASON_UNSPECIFIED": 0, + "REASON_EXPIRED": 1, + "REASON_FILLED": 2, + "REASON_CLOSED_BY_OWNER": 3, +} + +func (x EventDutchAuctionEnded_Reason) String() string { + return proto.EnumName(EventDutchAuctionEnded_Reason_name, int32(x)) +} + +func (EventDutchAuctionEnded_Reason) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_5bd5c1fb0f471c5d, []int{19, 0} +} + +// The configuration parameters for the auction component. +type AuctionParameters struct { +} + +func (m *AuctionParameters) Reset() { *m = AuctionParameters{} } +func (m *AuctionParameters) String() string { return proto.CompactTextString(m) } +func (*AuctionParameters) ProtoMessage() {} +func (*AuctionParameters) Descriptor() ([]byte, []int) { + return fileDescriptor_5bd5c1fb0f471c5d, []int{0} +} +func (m *AuctionParameters) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AuctionParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AuctionParameters.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 *AuctionParameters) XXX_Merge(src proto.Message) { + xxx_messageInfo_AuctionParameters.Merge(m, src) +} +func (m *AuctionParameters) XXX_Size() int { + return m.Size() +} +func (m *AuctionParameters) XXX_DiscardUnknown() { + xxx_messageInfo_AuctionParameters.DiscardUnknown(m) +} + +var xxx_messageInfo_AuctionParameters proto.InternalMessageInfo + +// Genesis data for the auction component. +type GenesisContent struct { + // The configuration parameters for the auction component at genesis. + Params *AuctionParameters `protobuf:"bytes,1,opt,name=params,proto3" json:"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_5bd5c1fb0f471c5d, []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) GetParams() *AuctionParameters { + if m != nil { + return m.Params + } + return nil +} + +type AuctionStateByIdRequest struct { + Id *AuctionId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` +} + +func (m *AuctionStateByIdRequest) Reset() { *m = AuctionStateByIdRequest{} } +func (m *AuctionStateByIdRequest) String() string { return proto.CompactTextString(m) } +func (*AuctionStateByIdRequest) ProtoMessage() {} +func (*AuctionStateByIdRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_5bd5c1fb0f471c5d, []int{2} +} +func (m *AuctionStateByIdRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AuctionStateByIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AuctionStateByIdRequest.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 *AuctionStateByIdRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AuctionStateByIdRequest.Merge(m, src) +} +func (m *AuctionStateByIdRequest) XXX_Size() int { + return m.Size() +} +func (m *AuctionStateByIdRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AuctionStateByIdRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_AuctionStateByIdRequest proto.InternalMessageInfo + +func (m *AuctionStateByIdRequest) GetId() *AuctionId { + if m != nil { + return m.Id + } + return nil +} + +type AuctionStateByIdResponse struct { + // If present, the state of the auction. If not present, no such auction is known. + Auction *types.Any `protobuf:"bytes,2,opt,name=auction,proto3" json:"auction,omitempty"` + // The state of any DEX positions relevant to the returned auction. + // + // Could be empty, depending on the auction state. + Positions []*v1.Position `protobuf:"bytes,3,rep,name=positions,proto3" json:"positions,omitempty"` +} + +func (m *AuctionStateByIdResponse) Reset() { *m = AuctionStateByIdResponse{} } +func (m *AuctionStateByIdResponse) String() string { return proto.CompactTextString(m) } +func (*AuctionStateByIdResponse) ProtoMessage() {} +func (*AuctionStateByIdResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_5bd5c1fb0f471c5d, []int{3} +} +func (m *AuctionStateByIdResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AuctionStateByIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AuctionStateByIdResponse.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 *AuctionStateByIdResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_AuctionStateByIdResponse.Merge(m, src) +} +func (m *AuctionStateByIdResponse) XXX_Size() int { + return m.Size() +} +func (m *AuctionStateByIdResponse) XXX_DiscardUnknown() { + xxx_messageInfo_AuctionStateByIdResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_AuctionStateByIdResponse proto.InternalMessageInfo + +func (m *AuctionStateByIdResponse) GetAuction() *types.Any { + if m != nil { + return m.Auction + } + return nil +} + +func (m *AuctionStateByIdResponse) GetPositions() []*v1.Position { + if m != nil { + return m.Positions + } + return nil +} + +type AuctionStateByIdsRequest struct { + // The auction IDs to request. Only known IDs will be returned in the response. + Id []*AuctionId `protobuf:"bytes,1,rep,name=id,proto3" json:"id,omitempty"` +} + +func (m *AuctionStateByIdsRequest) Reset() { *m = AuctionStateByIdsRequest{} } +func (m *AuctionStateByIdsRequest) String() string { return proto.CompactTextString(m) } +func (*AuctionStateByIdsRequest) ProtoMessage() {} +func (*AuctionStateByIdsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_5bd5c1fb0f471c5d, []int{4} +} +func (m *AuctionStateByIdsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AuctionStateByIdsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AuctionStateByIdsRequest.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 *AuctionStateByIdsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AuctionStateByIdsRequest.Merge(m, src) +} +func (m *AuctionStateByIdsRequest) XXX_Size() int { + return m.Size() +} +func (m *AuctionStateByIdsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AuctionStateByIdsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_AuctionStateByIdsRequest proto.InternalMessageInfo + +func (m *AuctionStateByIdsRequest) GetId() []*AuctionId { + if m != nil { + return m.Id + } + return nil +} + +type AuctionStateByIdsResponse struct { + // The auction ID of the returned auction. + Id *AuctionId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // The state of the returned auction. + Auction *DutchAuctionState `protobuf:"bytes,2,opt,name=auction,proto3" json:"auction,omitempty"` + // The state of any DEX positions relevant to the returned auction. + // + // Could be empty, depending on the auction state. + Positions []*v1.Position `protobuf:"bytes,3,rep,name=positions,proto3" json:"positions,omitempty"` +} + +func (m *AuctionStateByIdsResponse) Reset() { *m = AuctionStateByIdsResponse{} } +func (m *AuctionStateByIdsResponse) String() string { return proto.CompactTextString(m) } +func (*AuctionStateByIdsResponse) ProtoMessage() {} +func (*AuctionStateByIdsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_5bd5c1fb0f471c5d, []int{5} +} +func (m *AuctionStateByIdsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AuctionStateByIdsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AuctionStateByIdsResponse.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 *AuctionStateByIdsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_AuctionStateByIdsResponse.Merge(m, src) +} +func (m *AuctionStateByIdsResponse) XXX_Size() int { + return m.Size() +} +func (m *AuctionStateByIdsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_AuctionStateByIdsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_AuctionStateByIdsResponse proto.InternalMessageInfo + +func (m *AuctionStateByIdsResponse) GetId() *AuctionId { + if m != nil { + return m.Id + } + return nil +} + +func (m *AuctionStateByIdsResponse) GetAuction() *DutchAuctionState { + if m != nil { + return m.Auction + } + return nil +} + +func (m *AuctionStateByIdsResponse) GetPositions() []*v1.Position { + if m != nil { + return m.Positions + } + return nil +} + +// A unique identifier for an auction, obtained from hashing a domain separator +// along with the immutable part of an auction description. +type AuctionId struct { + Inner []byte `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` +} + +func (m *AuctionId) Reset() { *m = AuctionId{} } +func (m *AuctionId) String() string { return proto.CompactTextString(m) } +func (*AuctionId) ProtoMessage() {} +func (*AuctionId) Descriptor() ([]byte, []int) { + return fileDescriptor_5bd5c1fb0f471c5d, []int{6} +} +func (m *AuctionId) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AuctionId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AuctionId.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 *AuctionId) XXX_Merge(src proto.Message) { + xxx_messageInfo_AuctionId.Merge(m, src) +} +func (m *AuctionId) XXX_Size() int { + return m.Size() +} +func (m *AuctionId) XXX_DiscardUnknown() { + xxx_messageInfo_AuctionId.DiscardUnknown(m) +} + +var xxx_messageInfo_AuctionId proto.InternalMessageInfo + +func (m *AuctionId) GetInner() []byte { + if m != nil { + return m.Inner + } + return nil +} + +// A bearer NFT tracking ownership of an auction and its proceeds. +type AuctionNft struct { + Id *AuctionId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Seq uint64 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"` +} + +func (m *AuctionNft) Reset() { *m = AuctionNft{} } +func (m *AuctionNft) String() string { return proto.CompactTextString(m) } +func (*AuctionNft) ProtoMessage() {} +func (*AuctionNft) Descriptor() ([]byte, []int) { + return fileDescriptor_5bd5c1fb0f471c5d, []int{7} +} +func (m *AuctionNft) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AuctionNft) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AuctionNft.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 *AuctionNft) XXX_Merge(src proto.Message) { + xxx_messageInfo_AuctionNft.Merge(m, src) +} +func (m *AuctionNft) XXX_Size() int { + return m.Size() +} +func (m *AuctionNft) XXX_DiscardUnknown() { + xxx_messageInfo_AuctionNft.DiscardUnknown(m) +} + +var xxx_messageInfo_AuctionNft proto.InternalMessageInfo + +func (m *AuctionNft) GetId() *AuctionId { + if m != nil { + return m.Id + } + return nil +} + +func (m *AuctionNft) GetSeq() uint64 { + if m != nil { + return m.Seq + } + return 0 +} + +// Describes a Dutch auction using programmatic liquidity on the DEX. +type DutchAuctionDescription struct { + // The value the seller wishes to auction. + Input *v11.Value `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"` + // The asset ID of the target asset the seller wishes to acquire. + OutputId *v11.AssetId `protobuf:"bytes,2,opt,name=output_id,json=outputId,proto3" json:"output_id,omitempty"` + // The maximum output the seller can receive. + // + // This implicitly defines the starting price for the auction. + MaxOutput *v12.Amount `protobuf:"bytes,3,opt,name=max_output,json=maxOutput,proto3" json:"max_output,omitempty"` + // The minimum output the seller is willing to receive. + // + // This implicitly defines the ending price for the auction. + MinOutput *v12.Amount `protobuf:"bytes,4,opt,name=min_output,json=minOutput,proto3" json:"min_output,omitempty"` + // The block height at which the auction begins. + // + // This allows the seller to schedule an auction at a future time. + StartHeight uint64 `protobuf:"varint,5,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"` + // The block height at which the auction ends. + // + // Together with `start_height`, `max_output`, and `min_output`, + // this implicitly defines the speed of the auction. + EndHeight uint64 `protobuf:"varint,6,opt,name=end_height,json=endHeight,proto3" json:"end_height,omitempty"` + // The number of discrete price steps to use for the auction. + // + // `end_height - start_height` must be a multiple of `step_count`. + StepCount uint64 `protobuf:"varint,7,opt,name=step_count,json=stepCount,proto3" json:"step_count,omitempty"` + // A random nonce used to allow identical auctions to have + // distinct auction IDs. + Nonce []byte `protobuf:"bytes,8,opt,name=nonce,proto3" json:"nonce,omitempty"` +} + +func (m *DutchAuctionDescription) Reset() { *m = DutchAuctionDescription{} } +func (m *DutchAuctionDescription) String() string { return proto.CompactTextString(m) } +func (*DutchAuctionDescription) ProtoMessage() {} +func (*DutchAuctionDescription) Descriptor() ([]byte, []int) { + return fileDescriptor_5bd5c1fb0f471c5d, []int{8} +} +func (m *DutchAuctionDescription) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DutchAuctionDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DutchAuctionDescription.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 *DutchAuctionDescription) XXX_Merge(src proto.Message) { + xxx_messageInfo_DutchAuctionDescription.Merge(m, src) +} +func (m *DutchAuctionDescription) XXX_Size() int { + return m.Size() +} +func (m *DutchAuctionDescription) XXX_DiscardUnknown() { + xxx_messageInfo_DutchAuctionDescription.DiscardUnknown(m) +} + +var xxx_messageInfo_DutchAuctionDescription proto.InternalMessageInfo + +func (m *DutchAuctionDescription) GetInput() *v11.Value { + if m != nil { + return m.Input + } + return nil +} + +func (m *DutchAuctionDescription) GetOutputId() *v11.AssetId { + if m != nil { + return m.OutputId + } + return nil +} + +func (m *DutchAuctionDescription) GetMaxOutput() *v12.Amount { + if m != nil { + return m.MaxOutput + } + return nil +} + +func (m *DutchAuctionDescription) GetMinOutput() *v12.Amount { + if m != nil { + return m.MinOutput + } + return nil +} + +func (m *DutchAuctionDescription) GetStartHeight() uint64 { + if m != nil { + return m.StartHeight + } + return 0 +} + +func (m *DutchAuctionDescription) GetEndHeight() uint64 { + if m != nil { + return m.EndHeight + } + return 0 +} + +func (m *DutchAuctionDescription) GetStepCount() uint64 { + if m != nil { + return m.StepCount + } + return 0 +} + +func (m *DutchAuctionDescription) GetNonce() []byte { + if m != nil { + return m.Nonce + } + return nil +} + +type DutchAuctionState struct { + // The sequence number of the auction state. + // + // Dutch auctions move from: + // 0 (opened) => 1 (closed) => n (withdrawn) + Seq uint64 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"` + // If present, the current position controlled by this auction. + CurrentPosition *v1.PositionId `protobuf:"bytes,2,opt,name=current_position,json=currentPosition,proto3" json:"current_position,omitempty"` + // If present, the next trigger height to step down the price. + NextTrigger uint64 `protobuf:"varint,3,opt,name=next_trigger,json=nextTrigger,proto3" json:"next_trigger,omitempty"` + // The amount of the input asset directly owned by the auction. + // + // The auction may also own the input asset indirectly, + // via the reserves of `current_position` if it exists. + InputReserves *v12.Amount `protobuf:"bytes,4,opt,name=input_reserves,json=inputReserves,proto3" json:"input_reserves,omitempty"` + // The amount of the output asset directly owned by the auction. + // + // The auction may also own the output asset indirectly, + // via the reserves of `current_position` if it exists. + OutputReserves *v12.Amount `protobuf:"bytes,5,opt,name=output_reserves,json=outputReserves,proto3" json:"output_reserves,omitempty"` +} + +func (m *DutchAuctionState) Reset() { *m = DutchAuctionState{} } +func (m *DutchAuctionState) String() string { return proto.CompactTextString(m) } +func (*DutchAuctionState) ProtoMessage() {} +func (*DutchAuctionState) Descriptor() ([]byte, []int) { + return fileDescriptor_5bd5c1fb0f471c5d, []int{9} +} +func (m *DutchAuctionState) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DutchAuctionState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DutchAuctionState.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 *DutchAuctionState) XXX_Merge(src proto.Message) { + xxx_messageInfo_DutchAuctionState.Merge(m, src) +} +func (m *DutchAuctionState) XXX_Size() int { + return m.Size() +} +func (m *DutchAuctionState) XXX_DiscardUnknown() { + xxx_messageInfo_DutchAuctionState.DiscardUnknown(m) +} + +var xxx_messageInfo_DutchAuctionState proto.InternalMessageInfo + +func (m *DutchAuctionState) GetSeq() uint64 { + if m != nil { + return m.Seq + } + return 0 +} + +func (m *DutchAuctionState) GetCurrentPosition() *v1.PositionId { + if m != nil { + return m.CurrentPosition + } + return nil +} + +func (m *DutchAuctionState) GetNextTrigger() uint64 { + if m != nil { + return m.NextTrigger + } + return 0 +} + +func (m *DutchAuctionState) GetInputReserves() *v12.Amount { + if m != nil { + return m.InputReserves + } + return nil +} + +func (m *DutchAuctionState) GetOutputReserves() *v12.Amount { + if m != nil { + return m.OutputReserves + } + return nil +} + +type DutchAuction struct { + // The immutable data describing the auction and its auction ID. + Description *DutchAuctionDescription `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` + // The mutable data describing the auction's execution. + State *DutchAuctionState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` +} + +func (m *DutchAuction) Reset() { *m = DutchAuction{} } +func (m *DutchAuction) String() string { return proto.CompactTextString(m) } +func (*DutchAuction) ProtoMessage() {} +func (*DutchAuction) Descriptor() ([]byte, []int) { + return fileDescriptor_5bd5c1fb0f471c5d, []int{10} +} +func (m *DutchAuction) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DutchAuction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DutchAuction.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 *DutchAuction) XXX_Merge(src proto.Message) { + xxx_messageInfo_DutchAuction.Merge(m, src) +} +func (m *DutchAuction) XXX_Size() int { + return m.Size() +} +func (m *DutchAuction) XXX_DiscardUnknown() { + xxx_messageInfo_DutchAuction.DiscardUnknown(m) +} + +var xxx_messageInfo_DutchAuction proto.InternalMessageInfo + +func (m *DutchAuction) GetDescription() *DutchAuctionDescription { + if m != nil { + return m.Description + } + return nil +} + +func (m *DutchAuction) GetState() *DutchAuctionState { + if m != nil { + return m.State + } + return nil +} + +// Initiates a Dutch auction using protocol-controlled liquidity. +type ActionDutchAuctionSchedule struct { + Description *DutchAuctionDescription `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` +} + +func (m *ActionDutchAuctionSchedule) Reset() { *m = ActionDutchAuctionSchedule{} } +func (m *ActionDutchAuctionSchedule) String() string { return proto.CompactTextString(m) } +func (*ActionDutchAuctionSchedule) ProtoMessage() {} +func (*ActionDutchAuctionSchedule) Descriptor() ([]byte, []int) { + return fileDescriptor_5bd5c1fb0f471c5d, []int{11} +} +func (m *ActionDutchAuctionSchedule) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ActionDutchAuctionSchedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ActionDutchAuctionSchedule.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 *ActionDutchAuctionSchedule) XXX_Merge(src proto.Message) { + xxx_messageInfo_ActionDutchAuctionSchedule.Merge(m, src) +} +func (m *ActionDutchAuctionSchedule) XXX_Size() int { + return m.Size() +} +func (m *ActionDutchAuctionSchedule) XXX_DiscardUnknown() { + xxx_messageInfo_ActionDutchAuctionSchedule.DiscardUnknown(m) +} + +var xxx_messageInfo_ActionDutchAuctionSchedule proto.InternalMessageInfo + +func (m *ActionDutchAuctionSchedule) GetDescription() *DutchAuctionDescription { + if m != nil { + return m.Description + } + return nil +} + +// Terminate the auction associated with the specified `auction_id` +type ActionDutchAuctionEnd struct { + // The auction to end. + AuctionId *AuctionId `protobuf:"bytes,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"` +} + +func (m *ActionDutchAuctionEnd) Reset() { *m = ActionDutchAuctionEnd{} } +func (m *ActionDutchAuctionEnd) String() string { return proto.CompactTextString(m) } +func (*ActionDutchAuctionEnd) ProtoMessage() {} +func (*ActionDutchAuctionEnd) Descriptor() ([]byte, []int) { + return fileDescriptor_5bd5c1fb0f471c5d, []int{12} +} +func (m *ActionDutchAuctionEnd) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ActionDutchAuctionEnd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ActionDutchAuctionEnd.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 *ActionDutchAuctionEnd) XXX_Merge(src proto.Message) { + xxx_messageInfo_ActionDutchAuctionEnd.Merge(m, src) +} +func (m *ActionDutchAuctionEnd) XXX_Size() int { + return m.Size() +} +func (m *ActionDutchAuctionEnd) XXX_DiscardUnknown() { + xxx_messageInfo_ActionDutchAuctionEnd.DiscardUnknown(m) +} + +var xxx_messageInfo_ActionDutchAuctionEnd proto.InternalMessageInfo + +func (m *ActionDutchAuctionEnd) GetAuctionId() *AuctionId { + if m != nil { + return m.AuctionId + } + return nil +} + +// Withdraw funds from the ended auction associated with the specified `auction_id` +type ActionDutchAuctionWithdraw struct { + // The auction to withdraw funds from. + AuctionId *AuctionId `protobuf:"bytes,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"` + // The sequence number of the withdrawal. + Seq uint64 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"` + // A transparent (zero blinding factor) commitment to the + // auction's final reserves. + // + // The chain will check this commitment by recomputing it + // with the on-chain state. + ReservesCommitment *v11.BalanceCommitment `protobuf:"bytes,3,opt,name=reserves_commitment,json=reservesCommitment,proto3" json:"reserves_commitment,omitempty"` +} + +func (m *ActionDutchAuctionWithdraw) Reset() { *m = ActionDutchAuctionWithdraw{} } +func (m *ActionDutchAuctionWithdraw) String() string { return proto.CompactTextString(m) } +func (*ActionDutchAuctionWithdraw) ProtoMessage() {} +func (*ActionDutchAuctionWithdraw) Descriptor() ([]byte, []int) { + return fileDescriptor_5bd5c1fb0f471c5d, []int{13} +} +func (m *ActionDutchAuctionWithdraw) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ActionDutchAuctionWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ActionDutchAuctionWithdraw.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 *ActionDutchAuctionWithdraw) XXX_Merge(src proto.Message) { + xxx_messageInfo_ActionDutchAuctionWithdraw.Merge(m, src) +} +func (m *ActionDutchAuctionWithdraw) XXX_Size() int { + return m.Size() +} +func (m *ActionDutchAuctionWithdraw) XXX_DiscardUnknown() { + xxx_messageInfo_ActionDutchAuctionWithdraw.DiscardUnknown(m) +} + +var xxx_messageInfo_ActionDutchAuctionWithdraw proto.InternalMessageInfo + +func (m *ActionDutchAuctionWithdraw) GetAuctionId() *AuctionId { + if m != nil { + return m.AuctionId + } + return nil +} + +func (m *ActionDutchAuctionWithdraw) GetSeq() uint64 { + if m != nil { + return m.Seq + } + return 0 +} + +func (m *ActionDutchAuctionWithdraw) GetReservesCommitment() *v11.BalanceCommitment { + if m != nil { + return m.ReservesCommitment + } + return nil +} + +// A plan to a `ActionDutchAuctionWithdraw` which contains both private and public data. +type ActionDutchAuctionWithdrawPlan struct { + AuctionId *AuctionId `protobuf:"bytes,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"` + Seq uint64 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"` + ReservesInput *v11.Value `protobuf:"bytes,3,opt,name=reserves_input,json=reservesInput,proto3" json:"reserves_input,omitempty"` + ReservesOutput *v11.Value `protobuf:"bytes,4,opt,name=reserves_output,json=reservesOutput,proto3" json:"reserves_output,omitempty"` +} + +func (m *ActionDutchAuctionWithdrawPlan) Reset() { *m = ActionDutchAuctionWithdrawPlan{} } +func (m *ActionDutchAuctionWithdrawPlan) String() string { return proto.CompactTextString(m) } +func (*ActionDutchAuctionWithdrawPlan) ProtoMessage() {} +func (*ActionDutchAuctionWithdrawPlan) Descriptor() ([]byte, []int) { + return fileDescriptor_5bd5c1fb0f471c5d, []int{14} +} +func (m *ActionDutchAuctionWithdrawPlan) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ActionDutchAuctionWithdrawPlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ActionDutchAuctionWithdrawPlan.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 *ActionDutchAuctionWithdrawPlan) XXX_Merge(src proto.Message) { + xxx_messageInfo_ActionDutchAuctionWithdrawPlan.Merge(m, src) +} +func (m *ActionDutchAuctionWithdrawPlan) XXX_Size() int { + return m.Size() +} +func (m *ActionDutchAuctionWithdrawPlan) XXX_DiscardUnknown() { + xxx_messageInfo_ActionDutchAuctionWithdrawPlan.DiscardUnknown(m) +} + +var xxx_messageInfo_ActionDutchAuctionWithdrawPlan proto.InternalMessageInfo + +func (m *ActionDutchAuctionWithdrawPlan) GetAuctionId() *AuctionId { + if m != nil { + return m.AuctionId + } + return nil +} + +func (m *ActionDutchAuctionWithdrawPlan) GetSeq() uint64 { + if m != nil { + return m.Seq + } + return 0 +} + +func (m *ActionDutchAuctionWithdrawPlan) GetReservesInput() *v11.Value { + if m != nil { + return m.ReservesInput + } + return nil +} + +func (m *ActionDutchAuctionWithdrawPlan) GetReservesOutput() *v11.Value { + if m != nil { + return m.ReservesOutput + } + return nil +} + +// An `ActionDutchAuctionSchedule` augmented with additional metadata. +type ActionDutchAuctionScheduleView struct { + Action *ActionDutchAuctionSchedule `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` + AuctionId *AuctionId `protobuf:"bytes,2,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"` + InputMetadata *v11.Metadata `protobuf:"bytes,3,opt,name=input_metadata,json=inputMetadata,proto3" json:"input_metadata,omitempty"` + OutputMetadata *v11.Metadata `protobuf:"bytes,4,opt,name=output_metadata,json=outputMetadata,proto3" json:"output_metadata,omitempty"` +} + +func (m *ActionDutchAuctionScheduleView) Reset() { *m = ActionDutchAuctionScheduleView{} } +func (m *ActionDutchAuctionScheduleView) String() string { return proto.CompactTextString(m) } +func (*ActionDutchAuctionScheduleView) ProtoMessage() {} +func (*ActionDutchAuctionScheduleView) Descriptor() ([]byte, []int) { + return fileDescriptor_5bd5c1fb0f471c5d, []int{15} +} +func (m *ActionDutchAuctionScheduleView) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ActionDutchAuctionScheduleView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ActionDutchAuctionScheduleView.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 *ActionDutchAuctionScheduleView) XXX_Merge(src proto.Message) { + xxx_messageInfo_ActionDutchAuctionScheduleView.Merge(m, src) +} +func (m *ActionDutchAuctionScheduleView) XXX_Size() int { + return m.Size() +} +func (m *ActionDutchAuctionScheduleView) XXX_DiscardUnknown() { + xxx_messageInfo_ActionDutchAuctionScheduleView.DiscardUnknown(m) +} + +var xxx_messageInfo_ActionDutchAuctionScheduleView proto.InternalMessageInfo + +func (m *ActionDutchAuctionScheduleView) GetAction() *ActionDutchAuctionSchedule { + if m != nil { + return m.Action + } + return nil +} + +func (m *ActionDutchAuctionScheduleView) GetAuctionId() *AuctionId { + if m != nil { + return m.AuctionId + } + return nil +} + +func (m *ActionDutchAuctionScheduleView) GetInputMetadata() *v11.Metadata { + if m != nil { + return m.InputMetadata + } + return nil +} + +func (m *ActionDutchAuctionScheduleView) GetOutputMetadata() *v11.Metadata { + if m != nil { + return m.OutputMetadata + } + return nil +} + +// An `ActionDutchAuctionWithdraw` augmented with additional metadata. +type ActionDutchAuctionWithdrawView struct { + Action *ActionDutchAuctionWithdraw `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` + // A sequence of values that sum together to the provided + // reserves commitment. + Reserves []*v11.ValueView `protobuf:"bytes,2,rep,name=reserves,proto3" json:"reserves,omitempty"` +} + +func (m *ActionDutchAuctionWithdrawView) Reset() { *m = ActionDutchAuctionWithdrawView{} } +func (m *ActionDutchAuctionWithdrawView) String() string { return proto.CompactTextString(m) } +func (*ActionDutchAuctionWithdrawView) ProtoMessage() {} +func (*ActionDutchAuctionWithdrawView) Descriptor() ([]byte, []int) { + return fileDescriptor_5bd5c1fb0f471c5d, []int{16} +} +func (m *ActionDutchAuctionWithdrawView) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ActionDutchAuctionWithdrawView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ActionDutchAuctionWithdrawView.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 *ActionDutchAuctionWithdrawView) XXX_Merge(src proto.Message) { + xxx_messageInfo_ActionDutchAuctionWithdrawView.Merge(m, src) +} +func (m *ActionDutchAuctionWithdrawView) XXX_Size() int { + return m.Size() +} +func (m *ActionDutchAuctionWithdrawView) XXX_DiscardUnknown() { + xxx_messageInfo_ActionDutchAuctionWithdrawView.DiscardUnknown(m) +} + +var xxx_messageInfo_ActionDutchAuctionWithdrawView proto.InternalMessageInfo + +func (m *ActionDutchAuctionWithdrawView) GetAction() *ActionDutchAuctionWithdraw { + if m != nil { + return m.Action + } + return nil +} + +func (m *ActionDutchAuctionWithdrawView) GetReserves() []*v11.ValueView { + if m != nil { + return m.Reserves + } + return nil +} + +type EventDutchAuctionScheduled struct { + AuctionId *AuctionId `protobuf:"bytes,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"` + Description *DutchAuctionDescription `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` +} + +func (m *EventDutchAuctionScheduled) Reset() { *m = EventDutchAuctionScheduled{} } +func (m *EventDutchAuctionScheduled) String() string { return proto.CompactTextString(m) } +func (*EventDutchAuctionScheduled) ProtoMessage() {} +func (*EventDutchAuctionScheduled) Descriptor() ([]byte, []int) { + return fileDescriptor_5bd5c1fb0f471c5d, []int{17} +} +func (m *EventDutchAuctionScheduled) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventDutchAuctionScheduled) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventDutchAuctionScheduled.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 *EventDutchAuctionScheduled) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventDutchAuctionScheduled.Merge(m, src) +} +func (m *EventDutchAuctionScheduled) XXX_Size() int { + return m.Size() +} +func (m *EventDutchAuctionScheduled) XXX_DiscardUnknown() { + xxx_messageInfo_EventDutchAuctionScheduled.DiscardUnknown(m) +} + +var xxx_messageInfo_EventDutchAuctionScheduled proto.InternalMessageInfo + +func (m *EventDutchAuctionScheduled) GetAuctionId() *AuctionId { + if m != nil { + return m.AuctionId + } + return nil +} + +func (m *EventDutchAuctionScheduled) GetDescription() *DutchAuctionDescription { + if m != nil { + return m.Description + } + return nil +} + +type EventDutchAuctionUpdated struct { + AuctionId *AuctionId `protobuf:"bytes,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"` + State *DutchAuctionState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` +} + +func (m *EventDutchAuctionUpdated) Reset() { *m = EventDutchAuctionUpdated{} } +func (m *EventDutchAuctionUpdated) String() string { return proto.CompactTextString(m) } +func (*EventDutchAuctionUpdated) ProtoMessage() {} +func (*EventDutchAuctionUpdated) Descriptor() ([]byte, []int) { + return fileDescriptor_5bd5c1fb0f471c5d, []int{18} +} +func (m *EventDutchAuctionUpdated) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventDutchAuctionUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventDutchAuctionUpdated.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 *EventDutchAuctionUpdated) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventDutchAuctionUpdated.Merge(m, src) +} +func (m *EventDutchAuctionUpdated) XXX_Size() int { + return m.Size() +} +func (m *EventDutchAuctionUpdated) XXX_DiscardUnknown() { + xxx_messageInfo_EventDutchAuctionUpdated.DiscardUnknown(m) +} + +var xxx_messageInfo_EventDutchAuctionUpdated proto.InternalMessageInfo + +func (m *EventDutchAuctionUpdated) GetAuctionId() *AuctionId { + if m != nil { + return m.AuctionId + } + return nil +} + +func (m *EventDutchAuctionUpdated) GetState() *DutchAuctionState { + if m != nil { + return m.State + } + return nil +} + +type EventDutchAuctionEnded struct { + AuctionId *AuctionId `protobuf:"bytes,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"` + State *DutchAuctionState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` + Reason EventDutchAuctionEnded_Reason `protobuf:"varint,3,opt,name=reason,proto3,enum=penumbra.core.component.auction.v1.EventDutchAuctionEnded_Reason" json:"reason,omitempty"` +} + +func (m *EventDutchAuctionEnded) Reset() { *m = EventDutchAuctionEnded{} } +func (m *EventDutchAuctionEnded) String() string { return proto.CompactTextString(m) } +func (*EventDutchAuctionEnded) ProtoMessage() {} +func (*EventDutchAuctionEnded) Descriptor() ([]byte, []int) { + return fileDescriptor_5bd5c1fb0f471c5d, []int{19} +} +func (m *EventDutchAuctionEnded) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventDutchAuctionEnded) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventDutchAuctionEnded.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 *EventDutchAuctionEnded) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventDutchAuctionEnded.Merge(m, src) +} +func (m *EventDutchAuctionEnded) XXX_Size() int { + return m.Size() +} +func (m *EventDutchAuctionEnded) XXX_DiscardUnknown() { + xxx_messageInfo_EventDutchAuctionEnded.DiscardUnknown(m) +} + +var xxx_messageInfo_EventDutchAuctionEnded proto.InternalMessageInfo + +func (m *EventDutchAuctionEnded) GetAuctionId() *AuctionId { + if m != nil { + return m.AuctionId + } + return nil +} + +func (m *EventDutchAuctionEnded) GetState() *DutchAuctionState { + if m != nil { + return m.State + } + return nil +} + +func (m *EventDutchAuctionEnded) GetReason() EventDutchAuctionEnded_Reason { + if m != nil { + return m.Reason + } + return EventDutchAuctionEnded_REASON_UNSPECIFIED +} + +// A message emitted when value flows *into* the auction component. +type EventValueCircuitBreakerCredit struct { + // The asset ID being deposited into the Auction component. + AssetId *v11.AssetId `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` + // The previous balance of the asset in the Auction component. + PreviousBalance *v12.Amount `protobuf:"bytes,2,opt,name=previous_balance,json=previousBalance,proto3" json:"previous_balance,omitempty"` + // The new balance of the asset in the Auction component. + NewBalance *v12.Amount `protobuf:"bytes,3,opt,name=new_balance,json=newBalance,proto3" json:"new_balance,omitempty"` +} + +func (m *EventValueCircuitBreakerCredit) Reset() { *m = EventValueCircuitBreakerCredit{} } +func (m *EventValueCircuitBreakerCredit) String() string { return proto.CompactTextString(m) } +func (*EventValueCircuitBreakerCredit) ProtoMessage() {} +func (*EventValueCircuitBreakerCredit) Descriptor() ([]byte, []int) { + return fileDescriptor_5bd5c1fb0f471c5d, []int{20} +} +func (m *EventValueCircuitBreakerCredit) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventValueCircuitBreakerCredit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventValueCircuitBreakerCredit.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 *EventValueCircuitBreakerCredit) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventValueCircuitBreakerCredit.Merge(m, src) +} +func (m *EventValueCircuitBreakerCredit) XXX_Size() int { + return m.Size() +} +func (m *EventValueCircuitBreakerCredit) XXX_DiscardUnknown() { + xxx_messageInfo_EventValueCircuitBreakerCredit.DiscardUnknown(m) +} + +var xxx_messageInfo_EventValueCircuitBreakerCredit proto.InternalMessageInfo + +func (m *EventValueCircuitBreakerCredit) GetAssetId() *v11.AssetId { + if m != nil { + return m.AssetId + } + return nil +} + +func (m *EventValueCircuitBreakerCredit) GetPreviousBalance() *v12.Amount { + if m != nil { + return m.PreviousBalance + } + return nil +} + +func (m *EventValueCircuitBreakerCredit) GetNewBalance() *v12.Amount { + if m != nil { + return m.NewBalance + } + return nil +} + +// A message emitted when value flows *out* of the auction component. +type EventValueCircuitBreakerDebit struct { + // The asset ID being deposited into the Auction component. + AssetId *v11.AssetId `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` + // The previous balance of the asset in the Auction component. + PreviousBalance *v12.Amount `protobuf:"bytes,2,opt,name=previous_balance,json=previousBalance,proto3" json:"previous_balance,omitempty"` + // The new balance of the asset in the Auction component. + NewBalance *v12.Amount `protobuf:"bytes,3,opt,name=new_balance,json=newBalance,proto3" json:"new_balance,omitempty"` +} + +func (m *EventValueCircuitBreakerDebit) Reset() { *m = EventValueCircuitBreakerDebit{} } +func (m *EventValueCircuitBreakerDebit) String() string { return proto.CompactTextString(m) } +func (*EventValueCircuitBreakerDebit) ProtoMessage() {} +func (*EventValueCircuitBreakerDebit) Descriptor() ([]byte, []int) { + return fileDescriptor_5bd5c1fb0f471c5d, []int{21} +} +func (m *EventValueCircuitBreakerDebit) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventValueCircuitBreakerDebit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventValueCircuitBreakerDebit.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 *EventValueCircuitBreakerDebit) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventValueCircuitBreakerDebit.Merge(m, src) +} +func (m *EventValueCircuitBreakerDebit) XXX_Size() int { + return m.Size() +} +func (m *EventValueCircuitBreakerDebit) XXX_DiscardUnknown() { + xxx_messageInfo_EventValueCircuitBreakerDebit.DiscardUnknown(m) +} + +var xxx_messageInfo_EventValueCircuitBreakerDebit proto.InternalMessageInfo + +func (m *EventValueCircuitBreakerDebit) GetAssetId() *v11.AssetId { + if m != nil { + return m.AssetId + } + return nil +} + +func (m *EventValueCircuitBreakerDebit) GetPreviousBalance() *v12.Amount { + if m != nil { + return m.PreviousBalance + } + return nil +} + +func (m *EventValueCircuitBreakerDebit) GetNewBalance() *v12.Amount { + if m != nil { + return m.NewBalance + } + return nil +} + +func init() { + proto.RegisterEnum("penumbra.core.component.auction.v1.EventDutchAuctionEnded_Reason", EventDutchAuctionEnded_Reason_name, EventDutchAuctionEnded_Reason_value) + proto.RegisterType((*AuctionParameters)(nil), "penumbra.core.component.auction.v1.AuctionParameters") + proto.RegisterType((*GenesisContent)(nil), "penumbra.core.component.auction.v1.GenesisContent") + proto.RegisterType((*AuctionStateByIdRequest)(nil), "penumbra.core.component.auction.v1.AuctionStateByIdRequest") + proto.RegisterType((*AuctionStateByIdResponse)(nil), "penumbra.core.component.auction.v1.AuctionStateByIdResponse") + proto.RegisterType((*AuctionStateByIdsRequest)(nil), "penumbra.core.component.auction.v1.AuctionStateByIdsRequest") + proto.RegisterType((*AuctionStateByIdsResponse)(nil), "penumbra.core.component.auction.v1.AuctionStateByIdsResponse") + proto.RegisterType((*AuctionId)(nil), "penumbra.core.component.auction.v1.AuctionId") + proto.RegisterType((*AuctionNft)(nil), "penumbra.core.component.auction.v1.AuctionNft") + proto.RegisterType((*DutchAuctionDescription)(nil), "penumbra.core.component.auction.v1.DutchAuctionDescription") + proto.RegisterType((*DutchAuctionState)(nil), "penumbra.core.component.auction.v1.DutchAuctionState") + proto.RegisterType((*DutchAuction)(nil), "penumbra.core.component.auction.v1.DutchAuction") + proto.RegisterType((*ActionDutchAuctionSchedule)(nil), "penumbra.core.component.auction.v1.ActionDutchAuctionSchedule") + proto.RegisterType((*ActionDutchAuctionEnd)(nil), "penumbra.core.component.auction.v1.ActionDutchAuctionEnd") + proto.RegisterType((*ActionDutchAuctionWithdraw)(nil), "penumbra.core.component.auction.v1.ActionDutchAuctionWithdraw") + proto.RegisterType((*ActionDutchAuctionWithdrawPlan)(nil), "penumbra.core.component.auction.v1.ActionDutchAuctionWithdrawPlan") + proto.RegisterType((*ActionDutchAuctionScheduleView)(nil), "penumbra.core.component.auction.v1.ActionDutchAuctionScheduleView") + proto.RegisterType((*ActionDutchAuctionWithdrawView)(nil), "penumbra.core.component.auction.v1.ActionDutchAuctionWithdrawView") + proto.RegisterType((*EventDutchAuctionScheduled)(nil), "penumbra.core.component.auction.v1.EventDutchAuctionScheduled") + proto.RegisterType((*EventDutchAuctionUpdated)(nil), "penumbra.core.component.auction.v1.EventDutchAuctionUpdated") + proto.RegisterType((*EventDutchAuctionEnded)(nil), "penumbra.core.component.auction.v1.EventDutchAuctionEnded") + proto.RegisterType((*EventValueCircuitBreakerCredit)(nil), "penumbra.core.component.auction.v1.EventValueCircuitBreakerCredit") + proto.RegisterType((*EventValueCircuitBreakerDebit)(nil), "penumbra.core.component.auction.v1.EventValueCircuitBreakerDebit") +} + +func init() { + proto.RegisterFile("penumbra/core/component/auction/v1/auction.proto", fileDescriptor_5bd5c1fb0f471c5d) +} + +var fileDescriptor_5bd5c1fb0f471c5d = []byte{ + // 1372 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x58, 0xcd, 0x6e, 0xdb, 0x46, + 0x10, 0x36, 0xe9, 0x9f, 0xd8, 0x63, 0xc7, 0x56, 0x36, 0x69, 0xa2, 0x08, 0x8d, 0x9a, 0xf0, 0x10, + 0xb8, 0x05, 0x4a, 0x45, 0x0e, 0x7a, 0x91, 0xe3, 0x02, 0xfa, 0xb3, 0x2b, 0xd4, 0xb1, 0x55, 0xba, + 0x71, 0x7e, 0xe0, 0x80, 0xa0, 0xc9, 0x89, 0x45, 0xd4, 0x5c, 0x2a, 0xe4, 0x52, 0xb6, 0xd1, 0x67, + 0x68, 0x51, 0xe4, 0x11, 0x7a, 0x6c, 0x8f, 0x45, 0x51, 0xa0, 0x4f, 0xd0, 0xf6, 0x94, 0x4b, 0x81, + 0xa0, 0xa7, 0xc2, 0xee, 0xa9, 0xd7, 0x9c, 0x0b, 0x14, 0x24, 0x77, 0x29, 0x45, 0xb2, 0x62, 0xc5, + 0x56, 0x80, 0xa2, 0x17, 0x61, 0x39, 0x9c, 0xef, 0x9b, 0x99, 0x6f, 0x67, 0x47, 0x24, 0xe1, 0x56, + 0x13, 0x69, 0xe0, 0x6c, 0x7b, 0x46, 0xce, 0x74, 0x3d,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, 0x59, 0x82, 0x99, + 0x4e, 0xb5, 0xc8, 0x63, 0x98, 0xb6, 0xda, 0x1d, 0xcb, 0x1b, 0x75, 0xf1, 0x4d, 0x4f, 0x77, 0x47, + 0xd3, 0x6b, 0x9d, 0x7c, 0xe4, 0x53, 0x18, 0xf7, 0xc3, 0x0d, 0x39, 0xdb, 0xd8, 0x88, 0x39, 0x94, + 0x2f, 0x21, 0x53, 0x8c, 0xc3, 0x75, 0x7a, 0x98, 0x0d, 0xb4, 0x82, 0x5d, 0x7c, 0xcb, 0x95, 0x28, + 0x08, 0xef, 0xf4, 0x06, 0xaf, 0x52, 0x8b, 0xac, 0x02, 0x70, 0x2e, 0xfd, 0xb4, 0x93, 0x65, 0xca, + 0x10, 0x4b, 0xe5, 0x85, 0x74, 0x5c, 0x91, 0xf7, 0x6d, 0xd6, 0xb0, 0x3c, 0x63, 0x6f, 0xb8, 0xc1, + 0x7a, 0xa7, 0x19, 0x79, 0x04, 0x17, 0x45, 0x7f, 0xe9, 0xa6, 0xeb, 0x38, 0x36, 0x73, 0x90, 0x8a, + 0x39, 0xf2, 0x7e, 0xbf, 0x31, 0x54, 0x32, 0x76, 0x0d, 0x6a, 0x62, 0x39, 0x01, 0x68, 0x44, 0xb0, + 0xb4, 0x6d, 0xca, 0xd7, 0x32, 0x64, 0xfb, 0x97, 0x56, 0xdf, 0x35, 0xe8, 0x5b, 0x2f, 0xaf, 0x02, + 0xb3, 0x49, 0x79, 0xf1, 0x64, 0x1e, 0x1d, 0x64, 0x32, 0x9f, 0x17, 0xa0, 0x5a, 0x34, 0xa1, 0x97, + 0x61, 0x2e, 0x61, 0x79, 0x65, 0x56, 0x9e, 0x40, 0x93, 0xc4, 0x8e, 0x27, 0xa6, 0xf2, 0xc7, 0xb1, + 0x82, 0x88, 0x86, 0xde, 0xb4, 0x71, 0x8f, 0x6c, 0xc2, 0x84, 0x61, 0x76, 0xf4, 0xf3, 0xc7, 0x03, + 0x89, 0xd1, 0x97, 0x53, 0xe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95, 0xfe, 0x3c, 0xcc, 0x4a, 0xdf, 0x1c, 0x65, 0x47, 0x9e, 0x1f, 0x65, 0x47, 0x5e, 0x1c, 0x65, + 0x47, 0xe0, 0xa6, 0xe9, 0x3a, 0x03, 0xd0, 0x97, 0x66, 0xc4, 0xe7, 0x16, 0xcf, 0x65, 0x6e, 0x5d, + 0x7a, 0xf4, 0x60, 0xc7, 0x66, 0x8d, 0x60, 0x3b, 0x74, 0xce, 0x99, 0xae, 0xef, 0xb8, 0x7e, 0xce, + 0xc3, 0x5d, 0xe3, 0x00, 0xbd, 0x5c, 0x6b, 0x21, 0x59, 0x9a, 0x0d, 0xc3, 0xa6, 0x7e, 0xee, 0xe4, + 0x8f, 0x5c, 0x8b, 0x7c, 0xd9, 0xca, 0x7f, 0x2b, 0x8f, 0xd5, 0xcb, 0xe5, 0xe2, 0x77, 0xb2, 0x52, + 0x17, 0x59, 0x95, 0xc3, 0xac, 0xca, 0x49, 0x56, 0x3c, 0x13, 0x75, 0x33, 0xff, 0x5b, 0xdb, 0x69, + 0x2b, 0x74, 0xda, 0x4a, 0x9c, 0xb6, 0xb8, 0xd3, 0xd6, 0x66, 0xfe, 0x50, 0x56, 0x4f, 0x76, 0xda, + 0x5a, 0xa9, 0x97, 0xc4, 0xbf, 0xfc, 0xdf, 0xf2, 0x4d, 0x01, 0x28, 0x14, 0x42, 0x44, 0xf8, 0xcb, + 0x21, 0x85, 0x02, 0xc7, 0x14, 0x0a, 0x9b, 0xf9, 0xed, 0x89, 0xe8, 0xc3, 0xce, 0xed, 0x7f, 0x03, + 0x00, 0x00, 0xff, 0xff, 0x69, 0xe3, 0xc7, 0x9d, 0xc6, 0x13, 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 { + // Get the current state of an auction by ID. + AuctionStateById(ctx context.Context, in *AuctionStateByIdRequest, opts ...grpc.CallOption) (*AuctionStateByIdResponse, error) + // Get the current state of a group of auctions by ID. + AuctionStateByIds(ctx context.Context, in *AuctionStateByIdsRequest, opts ...grpc.CallOption) (QueryService_AuctionStateByIdsClient, error) +} + +type queryServiceClient struct { + cc grpc1.ClientConn +} + +func NewQueryServiceClient(cc grpc1.ClientConn) QueryServiceClient { + return &queryServiceClient{cc} +} + +func (c *queryServiceClient) AuctionStateById(ctx context.Context, in *AuctionStateByIdRequest, opts ...grpc.CallOption) (*AuctionStateByIdResponse, error) { + out := new(AuctionStateByIdResponse) + err := c.cc.Invoke(ctx, "/penumbra.core.component.auction.v1.QueryService/AuctionStateById", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryServiceClient) AuctionStateByIds(ctx context.Context, in *AuctionStateByIdsRequest, opts ...grpc.CallOption) (QueryService_AuctionStateByIdsClient, error) { + stream, err := c.cc.NewStream(ctx, &_QueryService_serviceDesc.Streams[0], "/penumbra.core.component.auction.v1.QueryService/AuctionStateByIds", opts...) + if err != nil { + return nil, err + } + x := &queryServiceAuctionStateByIdsClient{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_AuctionStateByIdsClient interface { + Recv() (*AuctionStateByIdsResponse, error) + grpc.ClientStream +} + +type queryServiceAuctionStateByIdsClient struct { + grpc.ClientStream +} + +func (x *queryServiceAuctionStateByIdsClient) Recv() (*AuctionStateByIdsResponse, error) { + m := new(AuctionStateByIdsResponse) + 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 { + // Get the current state of an auction by ID. + AuctionStateById(context.Context, *AuctionStateByIdRequest) (*AuctionStateByIdResponse, error) + // Get the current state of a group of auctions by ID. + AuctionStateByIds(*AuctionStateByIdsRequest, QueryService_AuctionStateByIdsServer) error +} + +// UnimplementedQueryServiceServer can be embedded to have forward compatible implementations. +type UnimplementedQueryServiceServer struct { +} + +func (*UnimplementedQueryServiceServer) AuctionStateById(ctx context.Context, req *AuctionStateByIdRequest) (*AuctionStateByIdResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AuctionStateById not implemented") +} +func (*UnimplementedQueryServiceServer) AuctionStateByIds(req *AuctionStateByIdsRequest, srv QueryService_AuctionStateByIdsServer) error { + return status.Errorf(codes.Unimplemented, "method AuctionStateByIds not implemented") +} + +func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer) { + s.RegisterService(&_QueryService_serviceDesc, srv) +} + +func _QueryService_AuctionStateById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AuctionStateByIdRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).AuctionStateById(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/penumbra.core.component.auction.v1.QueryService/AuctionStateById", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).AuctionStateById(ctx, req.(*AuctionStateByIdRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _QueryService_AuctionStateByIds_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(AuctionStateByIdsRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(QueryServiceServer).AuctionStateByIds(m, &queryServiceAuctionStateByIdsServer{stream}) +} + +type QueryService_AuctionStateByIdsServer interface { + Send(*AuctionStateByIdsResponse) error + grpc.ServerStream +} + +type queryServiceAuctionStateByIdsServer struct { + grpc.ServerStream +} + +func (x *queryServiceAuctionStateByIdsServer) Send(m *AuctionStateByIdsResponse) error { + return x.ServerStream.SendMsg(m) +} + +var _QueryService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "penumbra.core.component.auction.v1.QueryService", + HandlerType: (*QueryServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "AuctionStateById", + Handler: _QueryService_AuctionStateById_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "AuctionStateByIds", + Handler: _QueryService_AuctionStateByIds_Handler, + ServerStreams: true, + }, + }, + Metadata: "penumbra/core/component/auction/v1/auction.proto", +} + +func (m *AuctionParameters) 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 *AuctionParameters) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *AuctionParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + 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.Params != nil { + { + size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *AuctionStateByIdRequest) 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 *AuctionStateByIdRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *AuctionStateByIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Id != nil { + { + size, err := m.Id.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *AuctionStateByIdResponse) 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 *AuctionStateByIdResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *AuctionStateByIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Positions) > 0 { + for iNdEx := len(m.Positions) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Positions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + } + if m.Auction != nil { + { + size, err := m.Auction.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + return len(dAtA) - i, nil +} + +func (m *AuctionStateByIdsRequest) 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 *AuctionStateByIdsRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *AuctionStateByIdsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Id) > 0 { + for iNdEx := len(m.Id) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Id[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *AuctionStateByIdsResponse) 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 *AuctionStateByIdsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *AuctionStateByIdsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Positions) > 0 { + for iNdEx := len(m.Positions) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Positions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + } + if m.Auction != nil { + { + size, err := m.Auction.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.Id != nil { + { + size, err := m.Id.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *AuctionId) 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 *AuctionId) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *AuctionId) 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 = encodeVarintAuction(dAtA, i, uint64(len(m.Inner))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *AuctionNft) 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 *AuctionNft) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *AuctionNft) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Seq != 0 { + i = encodeVarintAuction(dAtA, i, uint64(m.Seq)) + i-- + dAtA[i] = 0x10 + } + if m.Id != nil { + { + size, err := m.Id.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *DutchAuctionDescription) 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 *DutchAuctionDescription) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DutchAuctionDescription) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Nonce) > 0 { + i -= len(m.Nonce) + copy(dAtA[i:], m.Nonce) + i = encodeVarintAuction(dAtA, i, uint64(len(m.Nonce))) + i-- + dAtA[i] = 0x42 + } + if m.StepCount != 0 { + i = encodeVarintAuction(dAtA, i, uint64(m.StepCount)) + i-- + dAtA[i] = 0x38 + } + if m.EndHeight != 0 { + i = encodeVarintAuction(dAtA, i, uint64(m.EndHeight)) + i-- + dAtA[i] = 0x30 + } + if m.StartHeight != 0 { + i = encodeVarintAuction(dAtA, i, uint64(m.StartHeight)) + i-- + dAtA[i] = 0x28 + } + if m.MinOutput != nil { + { + size, err := m.MinOutput.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if m.MaxOutput != nil { + { + size, err := m.MaxOutput.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.OutputId != nil { + { + size, err := m.OutputId.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.Input != nil { + { + size, err := m.Input.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *DutchAuctionState) 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 *DutchAuctionState) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DutchAuctionState) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.OutputReserves != nil { + { + size, err := m.OutputReserves.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + if m.InputReserves != nil { + { + size, err := m.InputReserves.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if m.NextTrigger != 0 { + i = encodeVarintAuction(dAtA, i, uint64(m.NextTrigger)) + i-- + dAtA[i] = 0x18 + } + if m.CurrentPosition != nil { + { + size, err := m.CurrentPosition.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.Seq != 0 { + i = encodeVarintAuction(dAtA, i, uint64(m.Seq)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *DutchAuction) 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 *DutchAuction) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DutchAuction) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.State != nil { + { + size, err := m.State.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.Description != nil { + { + size, err := m.Description.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ActionDutchAuctionSchedule) 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 *ActionDutchAuctionSchedule) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ActionDutchAuctionSchedule) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Description != nil { + { + size, err := m.Description.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ActionDutchAuctionEnd) 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 *ActionDutchAuctionEnd) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ActionDutchAuctionEnd) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.AuctionId != nil { + { + size, err := m.AuctionId.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ActionDutchAuctionWithdraw) 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 *ActionDutchAuctionWithdraw) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ActionDutchAuctionWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.ReservesCommitment != nil { + { + size, err := m.ReservesCommitment.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.Seq != 0 { + i = encodeVarintAuction(dAtA, i, uint64(m.Seq)) + i-- + dAtA[i] = 0x10 + } + if m.AuctionId != nil { + { + size, err := m.AuctionId.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ActionDutchAuctionWithdrawPlan) 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 *ActionDutchAuctionWithdrawPlan) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ActionDutchAuctionWithdrawPlan) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.ReservesOutput != nil { + { + size, err := m.ReservesOutput.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if m.ReservesInput != nil { + { + size, err := m.ReservesInput.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.Seq != 0 { + i = encodeVarintAuction(dAtA, i, uint64(m.Seq)) + i-- + dAtA[i] = 0x10 + } + if m.AuctionId != nil { + { + size, err := m.AuctionId.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ActionDutchAuctionScheduleView) 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 *ActionDutchAuctionScheduleView) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ActionDutchAuctionScheduleView) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.OutputMetadata != nil { + { + size, err := m.OutputMetadata.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if m.InputMetadata != nil { + { + size, err := m.InputMetadata.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.AuctionId != nil { + { + size, err := m.AuctionId.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.Action != nil { + { + size, err := m.Action.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ActionDutchAuctionWithdrawView) 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 *ActionDutchAuctionWithdrawView) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ActionDutchAuctionWithdrawView) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Reserves) > 0 { + for iNdEx := len(m.Reserves) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Reserves[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + } + if m.Action != nil { + { + size, err := m.Action.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *EventDutchAuctionScheduled) 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 *EventDutchAuctionScheduled) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventDutchAuctionScheduled) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Description != nil { + { + size, err := m.Description.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.AuctionId != nil { + { + size, err := m.AuctionId.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *EventDutchAuctionUpdated) 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 *EventDutchAuctionUpdated) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventDutchAuctionUpdated) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.State != nil { + { + size, err := m.State.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.AuctionId != nil { + { + size, err := m.AuctionId.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *EventDutchAuctionEnded) 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 *EventDutchAuctionEnded) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventDutchAuctionEnded) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Reason != 0 { + i = encodeVarintAuction(dAtA, i, uint64(m.Reason)) + i-- + dAtA[i] = 0x18 + } + if m.State != nil { + { + size, err := m.State.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.AuctionId != nil { + { + size, err := m.AuctionId.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *EventValueCircuitBreakerCredit) 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 *EventValueCircuitBreakerCredit) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventValueCircuitBreakerCredit) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.NewBalance != nil { + { + size, err := m.NewBalance.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.PreviousBalance != nil { + { + size, err := m.PreviousBalance.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.AssetId != nil { + { + size, err := m.AssetId.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *EventValueCircuitBreakerDebit) 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 *EventValueCircuitBreakerDebit) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventValueCircuitBreakerDebit) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.NewBalance != nil { + { + size, err := m.NewBalance.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.PreviousBalance != nil { + { + size, err := m.PreviousBalance.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.AssetId != nil { + { + size, err := m.AssetId.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintAuction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintAuction(dAtA []byte, offset int, v uint64) int { + offset -= sovAuction(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *AuctionParameters) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *GenesisContent) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Params != nil { + l = m.Params.Size() + n += 1 + l + sovAuction(uint64(l)) + } + return n +} + +func (m *AuctionStateByIdRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Id != nil { + l = m.Id.Size() + n += 1 + l + sovAuction(uint64(l)) + } + return n +} + +func (m *AuctionStateByIdResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Auction != nil { + l = m.Auction.Size() + n += 1 + l + sovAuction(uint64(l)) + } + if len(m.Positions) > 0 { + for _, e := range m.Positions { + l = e.Size() + n += 1 + l + sovAuction(uint64(l)) + } + } + return n +} + +func (m *AuctionStateByIdsRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Id) > 0 { + for _, e := range m.Id { + l = e.Size() + n += 1 + l + sovAuction(uint64(l)) + } + } + return n +} + +func (m *AuctionStateByIdsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Id != nil { + l = m.Id.Size() + n += 1 + l + sovAuction(uint64(l)) + } + if m.Auction != nil { + l = m.Auction.Size() + n += 1 + l + sovAuction(uint64(l)) + } + if len(m.Positions) > 0 { + for _, e := range m.Positions { + l = e.Size() + n += 1 + l + sovAuction(uint64(l)) + } + } + return n +} + +func (m *AuctionId) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Inner) + if l > 0 { + n += 1 + l + sovAuction(uint64(l)) + } + return n +} + +func (m *AuctionNft) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Id != nil { + l = m.Id.Size() + n += 1 + l + sovAuction(uint64(l)) + } + if m.Seq != 0 { + n += 1 + sovAuction(uint64(m.Seq)) + } + return n +} + +func (m *DutchAuctionDescription) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Input != nil { + l = m.Input.Size() + n += 1 + l + sovAuction(uint64(l)) + } + if m.OutputId != nil { + l = m.OutputId.Size() + n += 1 + l + sovAuction(uint64(l)) + } + if m.MaxOutput != nil { + l = m.MaxOutput.Size() + n += 1 + l + sovAuction(uint64(l)) + } + if m.MinOutput != nil { + l = m.MinOutput.Size() + n += 1 + l + sovAuction(uint64(l)) + } + if m.StartHeight != 0 { + n += 1 + sovAuction(uint64(m.StartHeight)) + } + if m.EndHeight != 0 { + n += 1 + sovAuction(uint64(m.EndHeight)) + } + if m.StepCount != 0 { + n += 1 + sovAuction(uint64(m.StepCount)) + } + l = len(m.Nonce) + if l > 0 { + n += 1 + l + sovAuction(uint64(l)) + } + return n +} + +func (m *DutchAuctionState) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Seq != 0 { + n += 1 + sovAuction(uint64(m.Seq)) + } + if m.CurrentPosition != nil { + l = m.CurrentPosition.Size() + n += 1 + l + sovAuction(uint64(l)) + } + if m.NextTrigger != 0 { + n += 1 + sovAuction(uint64(m.NextTrigger)) + } + if m.InputReserves != nil { + l = m.InputReserves.Size() + n += 1 + l + sovAuction(uint64(l)) + } + if m.OutputReserves != nil { + l = m.OutputReserves.Size() + n += 1 + l + sovAuction(uint64(l)) + } + return n +} + +func (m *DutchAuction) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Description != nil { + l = m.Description.Size() + n += 1 + l + sovAuction(uint64(l)) + } + if m.State != nil { + l = m.State.Size() + n += 1 + l + sovAuction(uint64(l)) + } + return n +} + +func (m *ActionDutchAuctionSchedule) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Description != nil { + l = m.Description.Size() + n += 1 + l + sovAuction(uint64(l)) + } + return n +} + +func (m *ActionDutchAuctionEnd) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AuctionId != nil { + l = m.AuctionId.Size() + n += 1 + l + sovAuction(uint64(l)) + } + return n +} + +func (m *ActionDutchAuctionWithdraw) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AuctionId != nil { + l = m.AuctionId.Size() + n += 1 + l + sovAuction(uint64(l)) + } + if m.Seq != 0 { + n += 1 + sovAuction(uint64(m.Seq)) + } + if m.ReservesCommitment != nil { + l = m.ReservesCommitment.Size() + n += 1 + l + sovAuction(uint64(l)) + } + return n +} + +func (m *ActionDutchAuctionWithdrawPlan) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AuctionId != nil { + l = m.AuctionId.Size() + n += 1 + l + sovAuction(uint64(l)) + } + if m.Seq != 0 { + n += 1 + sovAuction(uint64(m.Seq)) + } + if m.ReservesInput != nil { + l = m.ReservesInput.Size() + n += 1 + l + sovAuction(uint64(l)) + } + if m.ReservesOutput != nil { + l = m.ReservesOutput.Size() + n += 1 + l + sovAuction(uint64(l)) + } + return n +} + +func (m *ActionDutchAuctionScheduleView) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Action != nil { + l = m.Action.Size() + n += 1 + l + sovAuction(uint64(l)) + } + if m.AuctionId != nil { + l = m.AuctionId.Size() + n += 1 + l + sovAuction(uint64(l)) + } + if m.InputMetadata != nil { + l = m.InputMetadata.Size() + n += 1 + l + sovAuction(uint64(l)) + } + if m.OutputMetadata != nil { + l = m.OutputMetadata.Size() + n += 1 + l + sovAuction(uint64(l)) + } + return n +} + +func (m *ActionDutchAuctionWithdrawView) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Action != nil { + l = m.Action.Size() + n += 1 + l + sovAuction(uint64(l)) + } + if len(m.Reserves) > 0 { + for _, e := range m.Reserves { + l = e.Size() + n += 1 + l + sovAuction(uint64(l)) + } + } + return n +} + +func (m *EventDutchAuctionScheduled) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AuctionId != nil { + l = m.AuctionId.Size() + n += 1 + l + sovAuction(uint64(l)) + } + if m.Description != nil { + l = m.Description.Size() + n += 1 + l + sovAuction(uint64(l)) + } + return n +} + +func (m *EventDutchAuctionUpdated) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AuctionId != nil { + l = m.AuctionId.Size() + n += 1 + l + sovAuction(uint64(l)) + } + if m.State != nil { + l = m.State.Size() + n += 1 + l + sovAuction(uint64(l)) + } + return n +} + +func (m *EventDutchAuctionEnded) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AuctionId != nil { + l = m.AuctionId.Size() + n += 1 + l + sovAuction(uint64(l)) + } + if m.State != nil { + l = m.State.Size() + n += 1 + l + sovAuction(uint64(l)) + } + if m.Reason != 0 { + n += 1 + sovAuction(uint64(m.Reason)) + } + return n +} + +func (m *EventValueCircuitBreakerCredit) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AssetId != nil { + l = m.AssetId.Size() + n += 1 + l + sovAuction(uint64(l)) + } + if m.PreviousBalance != nil { + l = m.PreviousBalance.Size() + n += 1 + l + sovAuction(uint64(l)) + } + if m.NewBalance != nil { + l = m.NewBalance.Size() + n += 1 + l + sovAuction(uint64(l)) + } + return n +} + +func (m *EventValueCircuitBreakerDebit) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AssetId != nil { + l = m.AssetId.Size() + n += 1 + l + sovAuction(uint64(l)) + } + if m.PreviousBalance != nil { + l = m.PreviousBalance.Size() + n += 1 + l + sovAuction(uint64(l)) + } + if m.NewBalance != nil { + l = m.NewBalance.Size() + n += 1 + l + sovAuction(uint64(l)) + } + return n +} + +func sovAuction(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozAuction(x uint64) (n int) { + return sovAuction(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *AuctionParameters) 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 ErrIntOverflowAuction + } + 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: AuctionParameters: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: AuctionParameters: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipAuction(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAuction + } + 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 ErrIntOverflowAuction + } + 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 Params", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Params == nil { + m.Params = &AuctionParameters{} + } + if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipAuction(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAuction + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *AuctionStateByIdRequest) 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 ErrIntOverflowAuction + } + 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: AuctionStateByIdRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: AuctionStateByIdRequest: 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 msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Id == nil { + m.Id = &AuctionId{} + } + if err := m.Id.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipAuction(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAuction + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *AuctionStateByIdResponse) 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 ErrIntOverflowAuction + } + 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: AuctionStateByIdResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: AuctionStateByIdResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Auction", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Auction == nil { + m.Auction = &types.Any{} + } + if err := m.Auction.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Positions", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Positions = append(m.Positions, &v1.Position{}) + if err := m.Positions[len(m.Positions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipAuction(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAuction + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *AuctionStateByIdsRequest) 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 ErrIntOverflowAuction + } + 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: AuctionStateByIdsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: AuctionStateByIdsRequest: 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 msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Id = append(m.Id, &AuctionId{}) + if err := m.Id[len(m.Id)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipAuction(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAuction + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *AuctionStateByIdsResponse) 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 ErrIntOverflowAuction + } + 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: AuctionStateByIdsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: AuctionStateByIdsResponse: 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 msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Id == nil { + m.Id = &AuctionId{} + } + if err := m.Id.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Auction", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Auction == nil { + m.Auction = &DutchAuctionState{} + } + if err := m.Auction.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Positions", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Positions = append(m.Positions, &v1.Position{}) + if err := m.Positions[len(m.Positions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipAuction(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAuction + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *AuctionId) 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 ErrIntOverflowAuction + } + 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: AuctionId: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: AuctionId: 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 ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + 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 := skipAuction(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAuction + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *AuctionNft) 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 ErrIntOverflowAuction + } + 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: AuctionNft: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: AuctionNft: 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 msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Id == nil { + m.Id = &AuctionId{} + } + if err := m.Id.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Seq", wireType) + } + m.Seq = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Seq |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipAuction(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAuction + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DutchAuctionDescription) 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 ErrIntOverflowAuction + } + 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: DutchAuctionDescription: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DutchAuctionDescription: 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) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Input == nil { + m.Input = &v11.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 OutputId", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.OutputId == nil { + m.OutputId = &v11.AssetId{} + } + if err := m.OutputId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxOutput", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.MaxOutput == nil { + m.MaxOutput = &v12.Amount{} + } + if err := m.MaxOutput.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MinOutput", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.MinOutput == nil { + m.MinOutput = &v12.Amount{} + } + if err := m.MinOutput.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + 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 ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StartHeight |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + 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 ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.EndHeight |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StepCount", wireType) + } + m.StepCount = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StepCount |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Nonce = append(m.Nonce[:0], dAtA[iNdEx:postIndex]...) + if m.Nonce == nil { + m.Nonce = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipAuction(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAuction + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DutchAuctionState) 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 ErrIntOverflowAuction + } + 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: DutchAuctionState: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DutchAuctionState: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Seq", wireType) + } + m.Seq = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Seq |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CurrentPosition", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.CurrentPosition == nil { + m.CurrentPosition = &v1.PositionId{} + } + if err := m.CurrentPosition.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field NextTrigger", wireType) + } + m.NextTrigger = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.NextTrigger |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field InputReserves", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.InputReserves == nil { + m.InputReserves = &v12.Amount{} + } + if err := m.InputReserves.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OutputReserves", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.OutputReserves == nil { + m.OutputReserves = &v12.Amount{} + } + if err := m.OutputReserves.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipAuction(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAuction + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DutchAuction) 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 ErrIntOverflowAuction + } + 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: DutchAuction: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DutchAuction: 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 ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Description == nil { + m.Description = &DutchAuctionDescription{} + } + 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 State", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.State == nil { + m.State = &DutchAuctionState{} + } + if err := m.State.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipAuction(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAuction + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ActionDutchAuctionSchedule) 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 ErrIntOverflowAuction + } + 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: ActionDutchAuctionSchedule: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ActionDutchAuctionSchedule: 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 ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Description == nil { + m.Description = &DutchAuctionDescription{} + } + if err := m.Description.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipAuction(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAuction + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ActionDutchAuctionEnd) 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 ErrIntOverflowAuction + } + 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: ActionDutchAuctionEnd: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ActionDutchAuctionEnd: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AuctionId", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.AuctionId == nil { + m.AuctionId = &AuctionId{} + } + if err := m.AuctionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipAuction(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAuction + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ActionDutchAuctionWithdraw) 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 ErrIntOverflowAuction + } + 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: ActionDutchAuctionWithdraw: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ActionDutchAuctionWithdraw: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AuctionId", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.AuctionId == nil { + m.AuctionId = &AuctionId{} + } + if err := m.AuctionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Seq", wireType) + } + m.Seq = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Seq |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ReservesCommitment", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ReservesCommitment == nil { + m.ReservesCommitment = &v11.BalanceCommitment{} + } + if err := m.ReservesCommitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipAuction(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAuction + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ActionDutchAuctionWithdrawPlan) 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 ErrIntOverflowAuction + } + 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: ActionDutchAuctionWithdrawPlan: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ActionDutchAuctionWithdrawPlan: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AuctionId", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.AuctionId == nil { + m.AuctionId = &AuctionId{} + } + if err := m.AuctionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Seq", wireType) + } + m.Seq = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Seq |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ReservesInput", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ReservesInput == nil { + m.ReservesInput = &v11.Value{} + } + if err := m.ReservesInput.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ReservesOutput", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ReservesOutput == nil { + m.ReservesOutput = &v11.Value{} + } + if err := m.ReservesOutput.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipAuction(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAuction + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ActionDutchAuctionScheduleView) 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 ErrIntOverflowAuction + } + 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: ActionDutchAuctionScheduleView: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ActionDutchAuctionScheduleView: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Action", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Action == nil { + m.Action = &ActionDutchAuctionSchedule{} + } + if err := m.Action.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AuctionId", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.AuctionId == nil { + m.AuctionId = &AuctionId{} + } + if err := m.AuctionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field InputMetadata", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.InputMetadata == nil { + m.InputMetadata = &v11.Metadata{} + } + if err := m.InputMetadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OutputMetadata", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.OutputMetadata == nil { + m.OutputMetadata = &v11.Metadata{} + } + if err := m.OutputMetadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipAuction(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAuction + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ActionDutchAuctionWithdrawView) 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 ErrIntOverflowAuction + } + 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: ActionDutchAuctionWithdrawView: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ActionDutchAuctionWithdrawView: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Action", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Action == nil { + m.Action = &ActionDutchAuctionWithdraw{} + } + if err := m.Action.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Reserves", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Reserves = append(m.Reserves, &v11.ValueView{}) + if err := m.Reserves[len(m.Reserves)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipAuction(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAuction + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EventDutchAuctionScheduled) 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 ErrIntOverflowAuction + } + 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: EventDutchAuctionScheduled: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventDutchAuctionScheduled: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AuctionId", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.AuctionId == nil { + m.AuctionId = &AuctionId{} + } + if err := m.AuctionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + 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 ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Description == nil { + m.Description = &DutchAuctionDescription{} + } + if err := m.Description.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipAuction(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAuction + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EventDutchAuctionUpdated) 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 ErrIntOverflowAuction + } + 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: EventDutchAuctionUpdated: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventDutchAuctionUpdated: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AuctionId", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.AuctionId == nil { + m.AuctionId = &AuctionId{} + } + if err := m.AuctionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.State == nil { + m.State = &DutchAuctionState{} + } + if err := m.State.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipAuction(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAuction + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EventDutchAuctionEnded) 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 ErrIntOverflowAuction + } + 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: EventDutchAuctionEnded: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventDutchAuctionEnded: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AuctionId", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.AuctionId == nil { + m.AuctionId = &AuctionId{} + } + if err := m.AuctionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.State == nil { + m.State = &DutchAuctionState{} + } + if err := m.State.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) + } + m.Reason = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Reason |= EventDutchAuctionEnded_Reason(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipAuction(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAuction + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EventValueCircuitBreakerCredit) 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 ErrIntOverflowAuction + } + 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: EventValueCircuitBreakerCredit: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventValueCircuitBreakerCredit: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AssetId", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.AssetId == nil { + m.AssetId = &v11.AssetId{} + } + if err := m.AssetId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PreviousBalance", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.PreviousBalance == nil { + m.PreviousBalance = &v12.Amount{} + } + if err := m.PreviousBalance.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NewBalance", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.NewBalance == nil { + m.NewBalance = &v12.Amount{} + } + if err := m.NewBalance.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipAuction(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAuction + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EventValueCircuitBreakerDebit) 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 ErrIntOverflowAuction + } + 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: EventValueCircuitBreakerDebit: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventValueCircuitBreakerDebit: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AssetId", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.AssetId == nil { + m.AssetId = &v11.AssetId{} + } + if err := m.AssetId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PreviousBalance", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.PreviousBalance == nil { + m.PreviousBalance = &v12.Amount{} + } + if err := m.PreviousBalance.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NewBalance", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAuction + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthAuction + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthAuction + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.NewBalance == nil { + m.NewBalance = &v12.Amount{} + } + if err := m.NewBalance.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipAuction(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAuction + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipAuction(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, ErrIntOverflowAuction + } + 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, ErrIntOverflowAuction + } + 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, ErrIntOverflowAuction + } + 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, ErrInvalidLengthAuction + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupAuction + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthAuction + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthAuction = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowAuction = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupAuction = fmt.Errorf("proto: unexpected end of group") +) diff --git a/relayer/chains/penumbra/core/component/compact_block/v1/compact_block.pb.go b/relayer/chains/penumbra/core/component/compact_block/v1/compact_block.pb.go index d0c34ba7e..f9eacaf42 100644 --- a/relayer/chains/penumbra/core/component/compact_block/v1/compact_block.pb.go +++ b/relayer/chains/penumbra/core/component/compact_block/v1/compact_block.pb.go @@ -53,6 +53,8 @@ type CompactBlock struct { AppParametersUpdated bool `protobuf:"varint,9,opt,name=app_parameters_updated,json=appParametersUpdated,proto3" json:"app_parameters_updated,omitempty"` // Updated gas prices, if they have changed. GasPrices *v14.GasPrices `protobuf:"bytes,10,opt,name=gas_prices,json=gasPrices,proto3" json:"gas_prices,omitempty"` + // Updated gas prices for alternative fee tokens, if they have changed. + AltGasPrices []*v14.GasPrices `protobuf:"bytes,100,rep,name=alt_gas_prices,json=altGasPrices,proto3" json:"alt_gas_prices,omitempty"` // The epoch index EpochIndex uint64 `protobuf:"varint,11,opt,name=epoch_index,json=epochIndex,proto3" json:"epoch_index,omitempty"` } @@ -160,6 +162,13 @@ func (m *CompactBlock) GetGasPrices() *v14.GasPrices { return nil } +func (m *CompactBlock) GetAltGasPrices() []*v14.GasPrices { + if m != nil { + return m.AltGasPrices + } + return nil +} + func (m *CompactBlock) GetEpochIndex() uint64 { if m != nil { return m.EpochIndex @@ -623,70 +632,71 @@ func init() { } var fileDescriptor_5be1c543aaa156af = []byte{ - // 999 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x96, 0x4d, 0x8f, 0xdb, 0x44, - 0x18, 0xc7, 0xd7, 0xd9, 0x74, 0xd9, 0x4c, 0xb2, 0x2d, 0x0c, 0x55, 0x65, 0x56, 0x22, 0x2c, 0xb9, - 0x34, 0x55, 0xc1, 0xa9, 0x53, 0x5e, 0xa4, 0x2d, 0x50, 0x35, 0x41, 0x6c, 0xf6, 0xd0, 0x92, 0x75, - 0xd4, 0x3d, 0x40, 0xa8, 0x35, 0x6b, 0x3f, 0x49, 0xac, 0xb5, 0x3d, 0x83, 0x67, 0xec, 0xee, 0x8a, - 0x0b, 0x5f, 0x00, 0x89, 0x4f, 0xc0, 0x81, 0x23, 0x5f, 0x82, 0x2b, 0xe2, 0xd4, 0x23, 0xe2, 0x54, - 0xed, 0xde, 0xf8, 0x14, 0x68, 0xc6, 0x76, 0x62, 0x03, 0xd1, 0x86, 0x20, 0x71, 0x89, 0x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, 0x0b, 0xeb, 0x93, 0x75, 0xe5, 0x69, 0x44, - 0xbd, 0x6f, 0x37, 0x7f, 0xb9, 0x68, 0x6a, 0x2f, 0x2e, 0x9a, 0xda, 0xcb, 0x8b, 0xa6, 0xf6, 0xfd, - 0x65, 0x73, 0xe3, 0xc5, 0x65, 0x73, 0xe3, 0xb7, 0xcb, 0xe6, 0x06, 0x7a, 0xc7, 0xa1, 0xc1, 0xca, - 0xf4, 0x5e, 0xa9, 0xec, 0x43, 0xf9, 0xf0, 0x18, 0x6a, 0x5f, 0xb8, 0x53, 0x4f, 0xcc, 0xe2, 0x13, - 0xe9, 0xdd, 0x71, 0x28, 0x0f, 0x28, 0xef, 0x44, 0xe0, 0x93, 0x73, 0x88, 0x3a, 0x49, 0x77, 0x3e, - 0x74, 0x66, 0xc4, 0x0b, 0x79, 0x67, 0xd5, 0xc7, 0xde, 0x83, 0x92, 0x21, 0x31, 0x7f, 0xac, 0x54, - 0x87, 0xfd, 0x7e, 0xff, 0xa7, 0xca, 0xed, 0x61, 0x1e, 0x6c, 0x5f, 0x06, 0xdb, 0x9f, 0x07, 0x5b, - 0x0c, 0xcd, 0x38, 0x36, 0x7f, 0x5d, 0x78, 0x8e, 0xa5, 0xe7, 0x78, 0xee, 0x39, 0x2e, 0x7a, 0x8e, - 0x8f, 0xcd, 0x8b, 0xca, 0xfd, 0x15, 0x3d, 0xc7, 0x07, 0xc3, 0xde, 0x63, 0x10, 0xc4, 0x25, 0x82, - 0xfc, 0x51, 0xb9, 0x9b, 0xab, 0xf6, 0xf7, 0xa5, 0x4c, 0xfe, 0x66, 0xba, 0x74, 0x98, 0x0b, 0xf7, - 0xf7, 0x8f, 0xcd, 0x93, 0x2d, 0xf5, 0x4c, 0xbb, 0xff, 0x67, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbe, - 0xa3, 0xa4, 0x6d, 0xee, 0x0a, 0x00, 0x00, + // 1020 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x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x41, 0xe0, 0x89, 0x00, 0x42, 0x31, 0x54, + 0x3a, 0x2b, 0xd3, 0xe3, 0x67, 0xa8, 0x16, 0x51, 0xdf, 0x07, 0xd7, 0x8e, 0x99, 0x5e, 0x51, 0xb0, + 0x07, 0xab, 0xb5, 0x96, 0x61, 0x29, 0xce, 0x53, 0xd6, 0x5f, 0xb3, 0x36, 0xa3, 0x6c, 0x8c, 0x8f, + 0x51, 0x35, 0xa4, 0x02, 0xf4, 0x75, 0x85, 0xbe, 0xbf, 0x22, 0xfa, 0x31, 0x15, 0xd0, 0x5f, 0xb3, + 0x14, 0x4a, 0x22, 0xe5, 0x71, 0xc8, 0x5a, 0x6c, 0x55, 0xa4, 0x3c, 0x61, 0x12, 0x29, 0x51, 0x3b, + 0x43, 0xb4, 0x99, 0x47, 0x8f, 0x0f, 0x11, 0x72, 0x66, 0xd5, 0xca, 0xea, 0x7b, 0x7b, 0x51, 0x13, + 0x2a, 0xe4, 0xbc, 0xb8, 0x56, 0x41, 0xba, 0x73, 0x8c, 0xaa, 0x32, 0x6e, 0x7c, 0x94, 0x95, 0x20, + 0xad, 0xee, 0x07, 0xcb, 0x77, 0x97, 0x54, 0xe7, 0xf7, 0x96, 0x42, 0xec, 0x1c, 0xa2, 0xaa, 0x8c, + 0x1b, 0x3f, 0xc8, 0x4a, 0x90, 0x22, 0xef, 0x5e, 0xd7, 0x52, 0x52, 0x33, 0x03, 0x49, 0x61, 0xf7, + 0x06, 0xda, 0x2a, 0x5d, 0xab, 0xad, 0x6f, 0x90, 0x5e, 0xbc, 0x8f, 0x2d, 0x12, 0x4e, 0xc0, 0x82, + 0xaf, 0x63, 0xe0, 0x02, 0xbf, 0x83, 0x1a, 0xea, 0x2a, 0xb1, 0xb3, 0x1b, 0xba, 0xa2, 0x0e, 0x68, + 0x5d, 0xd9, 0xfa, 0xe9, 0x35, 0xfd, 0x16, 0x42, 0x10, 0xba, 0xb9, 0xc3, 0xba, 0x72, 0xa8, 0x41, + 0xe8, 0x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x99, 0x12, 0x2f, 0xe4, 0x9d, 0x65, 0xff, 0x1e, 0xef, 0x97, + 0x0c, 0x89, 0xf9, 0x63, 0xa5, 0x3a, 0xe8, 0xf5, 0x7a, 0x3f, 0x55, 0x6e, 0x0f, 0xf2, 0x60, 0x7b, + 0x32, 0xd8, 0xde, 0x2c, 0xd8, 0x62, 0x68, 0xc6, 0x89, 0xf9, 0xdb, 0xdc, 0x73, 0x24, 0x3d, 0x47, + 0x33, 0xcf, 0x51, 0xd1, 0x73, 0x74, 0x62, 0x5e, 0x56, 0xf6, 0x97, 0xf4, 0x1c, 0x1d, 0x0e, 0xba, + 0x8f, 0x40, 0x10, 0x97, 0x08, 0xf2, 0x47, 0xe5, 0x6e, 0xae, 0x3a, 0x38, 0x90, 0x32, 0xf9, 0xcc, + 0x74, 0xe9, 0x30, 0x17, 0x1e, 0x1c, 0x9c, 0x98, 0xa7, 0x1b, 0xea, 0xbf, 0x6f, 0xff, 0xcf, 0x00, + 0x00, 0x00, 0xff, 0xff, 0x51, 0x2b, 0x46, 0xab, 0x3f, 0x0b, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -861,6 +871,22 @@ func (m *CompactBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if len(m.AltGasPrices) > 0 { + for iNdEx := len(m.AltGasPrices) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.AltGasPrices[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCompactBlock(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x6 + i-- + dAtA[i] = 0xa2 + } + } if m.EpochIndex != 0 { i = encodeVarintCompactBlock(dAtA, i, uint64(m.EpochIndex)) i-- @@ -1400,6 +1426,12 @@ func (m *CompactBlock) Size() (n int) { if m.EpochIndex != 0 { n += 1 + sovCompactBlock(uint64(m.EpochIndex)) } + if len(m.AltGasPrices) > 0 { + for _, e := range m.AltGasPrices { + l = e.Size() + n += 2 + l + sovCompactBlock(uint64(l)) + } + } return n } @@ -1909,6 +1941,40 @@ func (m *CompactBlock) Unmarshal(dAtA []byte) error { break } } + case 100: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AltGasPrices", 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 + } + m.AltGasPrices = append(m.AltGasPrices, &v14.GasPrices{}) + if err := m.AltGasPrices[len(m.AltGasPrices)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipCompactBlock(dAtA[iNdEx:]) diff --git a/relayer/chains/penumbra/core/component/dex/v1/dex.pb.go b/relayer/chains/penumbra/core/component/dex/v1/dex.pb.go index d0e1a90e3..b5a46d5b3 100644 --- a/relayer/chains/penumbra/core/component/dex/v1/dex.pb.go +++ b/relayer/chains/penumbra/core/component/dex/v1/dex.pb.go @@ -765,7 +765,6 @@ func (m *SwapClaimPlan) GetProofBlindingS() []byte { type SwapView struct { // Types that are valid to be assigned to SwapView: - // // *SwapView_Visible_ // *SwapView_Opaque_ SwapView isSwapView_SwapView `protobuf_oneof:"swap_view"` @@ -975,6 +974,28 @@ func (m *SwapView_Visible) GetAsset_2Metadata() *v14.Metadata { type SwapView_Opaque struct { Swap *Swap `protobuf:"bytes,1,opt,name=swap,proto3" json:"swap,omitempty"` + // Optionally, if the swap has been confirmed, the batch price it received. + // + // As soon as the swap is detected, the view server can in principle record + // the relevant BSOD and provide it as part of the view. This allows providing + // info about the execution of the swap. + BatchSwapOutputData *BatchSwapOutputData `protobuf:"bytes,20,opt,name=batch_swap_output_data,json=batchSwapOutputData,proto3" json:"batch_swap_output_data,omitempty"` + // Optionally, if the swap has been confirmed, the output value of asset 1. + // + // This is the value of the note that will be minted by the SwapClaim action. + // Note that unlike the `Visible` variant, this is only a `ValueView` since + // the details of the note (in particular the claim address) are not publicly known. + Output_1Value *v14.ValueView `protobuf:"bytes,30,opt,name=output_1_value,json=output1Value,proto3" json:"output_1_value,omitempty"` + // Optionally, if the swap has been confirmed, the output value of asset 2. + // + // This is the note that will be minted by the SwapClaim action. + // Note that unlike the `Visible` variant, this is only a `ValueView` since + // the details of the note (in particular the claim address) are not publicly known. + Output_2Value *v14.ValueView `protobuf:"bytes,31,opt,name=output_2_value,json=output2Value,proto3" json:"output_2_value,omitempty"` + // Optionally, metadata about asset 1 in the `swap`'s trading pair. + Asset_1Metadata *v14.Metadata `protobuf:"bytes,40,opt,name=asset_1_metadata,json=asset1Metadata,proto3" json:"asset_1_metadata,omitempty"` + // Optionally, metadata about asset 2 in the `swap`'s trading pair. + Asset_2Metadata *v14.Metadata `protobuf:"bytes,41,opt,name=asset_2_metadata,json=asset2Metadata,proto3" json:"asset_2_metadata,omitempty"` } func (m *SwapView_Opaque) Reset() { *m = SwapView_Opaque{} } @@ -1017,6 +1038,41 @@ func (m *SwapView_Opaque) GetSwap() *Swap { return nil } +func (m *SwapView_Opaque) GetBatchSwapOutputData() *BatchSwapOutputData { + if m != nil { + return m.BatchSwapOutputData + } + return nil +} + +func (m *SwapView_Opaque) GetOutput_1Value() *v14.ValueView { + if m != nil { + return m.Output_1Value + } + return nil +} + +func (m *SwapView_Opaque) GetOutput_2Value() *v14.ValueView { + if m != nil { + return m.Output_2Value + } + return nil +} + +func (m *SwapView_Opaque) GetAsset_1Metadata() *v14.Metadata { + if m != nil { + return m.Asset_1Metadata + } + return nil +} + +func (m *SwapView_Opaque) GetAsset_2Metadata() *v14.Metadata { + if m != nil { + return m.Asset_2Metadata + } + return nil +} + type SwapClaimView struct { // Types that are valid to be assigned to SwapClaimView: // @@ -1355,7 +1411,9 @@ type BatchSwapOutputData struct { // The trading pair associated with the batch swap. TradingPair *TradingPair `protobuf:"bytes,8,opt,name=trading_pair,json=tradingPair,proto3" json:"trading_pair,omitempty"` // The starting block height of the epoch for which the batch swap data is valid. - EpochStartingHeight uint64 `protobuf:"varint,9,opt,name=epoch_starting_height,json=epochStartingHeight,proto3" json:"epoch_starting_height,omitempty"` + EpochStartingHeight uint64 `protobuf:"varint,9,opt,name=epoch_starting_height,json=epochStartingHeight,proto3" json:"epoch_starting_height,omitempty"` // Deprecated: Do not use. + // The prefix (epoch, block) of the position where this batch swap occurred. + SctPositionPrefix uint64 `protobuf:"varint,10,opt,name=sct_position_prefix,json=sctPositionPrefix,proto3" json:"sct_position_prefix,omitempty"` } func (m *BatchSwapOutputData) Reset() { *m = BatchSwapOutputData{} } @@ -1447,6 +1505,7 @@ func (m *BatchSwapOutputData) GetTradingPair() *TradingPair { return nil } +// Deprecated: Do not use. func (m *BatchSwapOutputData) GetEpochStartingHeight() uint64 { if m != nil { return m.EpochStartingHeight @@ -1454,6 +1513,13 @@ func (m *BatchSwapOutputData) GetEpochStartingHeight() uint64 { return 0 } +func (m *BatchSwapOutputData) GetSctPositionPrefix() uint64 { + if m != nil { + return m.SctPositionPrefix + } + return 0 +} + // The trading function for a specific pair. // For a pair (asset_1, asset_2), a trading function is defined by: // `phi(R) = p*R_1 + q*R_2` and `gamma = 1 - fee`. @@ -3203,7 +3269,8 @@ func (m *LiquidityPositionsByPriceRequest) GetLimit() uint64 { } type LiquidityPositionsByPriceResponse struct { - Data *Position `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` + Data *Position `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` + Id *PositionId `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` } func (m *LiquidityPositionsByPriceResponse) Reset() { *m = LiquidityPositionsByPriceResponse{} } @@ -3246,6 +3313,13 @@ func (m *LiquidityPositionsByPriceResponse) GetData() *Position { return nil } +func (m *LiquidityPositionsByPriceResponse) GetId() *PositionId { + if m != nil { + return m.Id + } + return nil +} + type SpreadRequest struct { TradingPair *TradingPair `protobuf:"bytes,2,opt,name=trading_pair,json=tradingPair,proto3" json:"trading_pair,omitempty"` } @@ -3906,6 +3980,51 @@ func (m *EventPositionClose) GetPositionId() *PositionId { return nil } +type EventQueuePositionClose struct { + // The ID of the position queued that is closed for closure. + PositionId *PositionId `protobuf:"bytes,1,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` +} + +func (m *EventQueuePositionClose) Reset() { *m = EventQueuePositionClose{} } +func (m *EventQueuePositionClose) String() string { return proto.CompactTextString(m) } +func (*EventQueuePositionClose) ProtoMessage() {} +func (*EventQueuePositionClose) Descriptor() ([]byte, []int) { + return fileDescriptor_ec17dcdac15b4004, []int{55} +} +func (m *EventQueuePositionClose) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventQueuePositionClose) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventQueuePositionClose.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 *EventQueuePositionClose) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventQueuePositionClose.Merge(m, src) +} +func (m *EventQueuePositionClose) XXX_Size() int { + return m.Size() +} +func (m *EventQueuePositionClose) XXX_DiscardUnknown() { + xxx_messageInfo_EventQueuePositionClose.DiscardUnknown(m) +} + +var xxx_messageInfo_EventQueuePositionClose proto.InternalMessageInfo + +func (m *EventQueuePositionClose) 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"` @@ -3923,7 +4042,7 @@ 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_ec17dcdac15b4004, []int{55} + return fileDescriptor_ec17dcdac15b4004, []int{56} } func (m *EventPositionWithdraw) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4008,7 +4127,7 @@ func (m *EventPositionExecution) Reset() { *m = EventPositionExecution{} func (m *EventPositionExecution) String() string { return proto.CompactTextString(m) } func (*EventPositionExecution) ProtoMessage() {} func (*EventPositionExecution) Descriptor() ([]byte, []int) { - return fileDescriptor_ec17dcdac15b4004, []int{56} + return fileDescriptor_ec17dcdac15b4004, []int{57} } func (m *EventPositionExecution) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4099,7 +4218,7 @@ func (m *EventBatchSwap) Reset() { *m = EventBatchSwap{} } func (m *EventBatchSwap) String() string { return proto.CompactTextString(m) } func (*EventBatchSwap) ProtoMessage() {} func (*EventBatchSwap) Descriptor() ([]byte, []int) { - return fileDescriptor_ec17dcdac15b4004, []int{57} + return fileDescriptor_ec17dcdac15b4004, []int{58} } func (m *EventBatchSwap) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4160,7 +4279,7 @@ func (m *EventArbExecution) Reset() { *m = EventArbExecution{} } func (m *EventArbExecution) String() string { return proto.CompactTextString(m) } func (*EventArbExecution) ProtoMessage() {} func (*EventArbExecution) Descriptor() ([]byte, []int) { - return fileDescriptor_ec17dcdac15b4004, []int{58} + return fileDescriptor_ec17dcdac15b4004, []int{59} } func (m *EventArbExecution) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4217,7 +4336,7 @@ func (m *EventValueCircuitBreakerCredit) Reset() { *m = EventValueCircui func (m *EventValueCircuitBreakerCredit) String() string { return proto.CompactTextString(m) } func (*EventValueCircuitBreakerCredit) ProtoMessage() {} func (*EventValueCircuitBreakerCredit) Descriptor() ([]byte, []int) { - return fileDescriptor_ec17dcdac15b4004, []int{59} + return fileDescriptor_ec17dcdac15b4004, []int{60} } func (m *EventValueCircuitBreakerCredit) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4281,7 +4400,7 @@ func (m *EventValueCircuitBreakerDebit) Reset() { *m = EventValueCircuit func (m *EventValueCircuitBreakerDebit) String() string { return proto.CompactTextString(m) } func (*EventValueCircuitBreakerDebit) ProtoMessage() {} func (*EventValueCircuitBreakerDebit) Descriptor() ([]byte, []int) { - return fileDescriptor_ec17dcdac15b4004, []int{60} + return fileDescriptor_ec17dcdac15b4004, []int{61} } func (m *EventValueCircuitBreakerDebit) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4338,13 +4457,17 @@ type DexParameters struct { FixedCandidates []*v14.AssetId `protobuf:"bytes,2,rep,name=fixed_candidates,json=fixedCandidates,proto3" json:"fixed_candidates,omitempty"` // The number of hops to traverse while routing from A to B. MaxHops uint32 `protobuf:"varint,3,opt,name=max_hops,json=maxHops,proto3" json:"max_hops,omitempty"` + // The maximum number of positions per trading pair. + // If this number is exceeded, positions with the least + // inventory get evicted from the DEX. + MaxPositionsPerPair uint32 `protobuf:"varint,4,opt,name=max_positions_per_pair,json=maxPositionsPerPair,proto3" json:"max_positions_per_pair,omitempty"` } func (m *DexParameters) Reset() { *m = DexParameters{} } func (m *DexParameters) String() string { return proto.CompactTextString(m) } func (*DexParameters) ProtoMessage() {} func (*DexParameters) Descriptor() ([]byte, []int) { - return fileDescriptor_ec17dcdac15b4004, []int{61} + return fileDescriptor_ec17dcdac15b4004, []int{62} } func (m *DexParameters) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4394,6 +4517,13 @@ func (m *DexParameters) GetMaxHops() uint32 { return 0 } +func (m *DexParameters) GetMaxPositionsPerPair() uint32 { + if m != nil { + return m.MaxPositionsPerPair + } + return 0 +} + type GenesisContent struct { // The initial parameters for the DEX. DexParams *DexParameters `protobuf:"bytes,1,opt,name=dex_params,json=dexParams,proto3" json:"dex_params,omitempty"` @@ -4403,7 +4533,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_ec17dcdac15b4004, []int{62} + return fileDescriptor_ec17dcdac15b4004, []int{63} } func (m *GenesisContent) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4439,1271 +4569,1415 @@ func (m *GenesisContent) GetDexParams() *DexParameters { return nil } -func init() { - proto.RegisterEnum("penumbra.core.component.dex.v1.PositionState_PositionStateEnum", PositionState_PositionStateEnum_name, PositionState_PositionStateEnum_value) - proto.RegisterType((*ZKSwapProof)(nil), "penumbra.core.component.dex.v1.ZKSwapProof") - proto.RegisterType((*ZKSwapClaimProof)(nil), "penumbra.core.component.dex.v1.ZKSwapClaimProof") - proto.RegisterType((*Swap)(nil), "penumbra.core.component.dex.v1.Swap") - proto.RegisterType((*SwapClaim)(nil), "penumbra.core.component.dex.v1.SwapClaim") - proto.RegisterType((*SwapClaimBody)(nil), "penumbra.core.component.dex.v1.SwapClaimBody") - proto.RegisterType((*SwapBody)(nil), "penumbra.core.component.dex.v1.SwapBody") - proto.RegisterType((*SwapPayload)(nil), "penumbra.core.component.dex.v1.SwapPayload") - proto.RegisterType((*SwapPlaintext)(nil), "penumbra.core.component.dex.v1.SwapPlaintext") - proto.RegisterType((*SwapPlan)(nil), "penumbra.core.component.dex.v1.SwapPlan") - proto.RegisterType((*SwapClaimPlan)(nil), "penumbra.core.component.dex.v1.SwapClaimPlan") - proto.RegisterType((*SwapView)(nil), "penumbra.core.component.dex.v1.SwapView") - proto.RegisterType((*SwapView_Visible)(nil), "penumbra.core.component.dex.v1.SwapView.Visible") - proto.RegisterType((*SwapView_Opaque)(nil), "penumbra.core.component.dex.v1.SwapView.Opaque") - proto.RegisterType((*SwapClaimView)(nil), "penumbra.core.component.dex.v1.SwapClaimView") - proto.RegisterType((*SwapClaimView_Visible)(nil), "penumbra.core.component.dex.v1.SwapClaimView.Visible") - proto.RegisterType((*SwapClaimView_Opaque)(nil), "penumbra.core.component.dex.v1.SwapClaimView.Opaque") - proto.RegisterType((*TradingPair)(nil), "penumbra.core.component.dex.v1.TradingPair") - proto.RegisterType((*DirectedTradingPair)(nil), "penumbra.core.component.dex.v1.DirectedTradingPair") - proto.RegisterType((*BatchSwapOutputData)(nil), "penumbra.core.component.dex.v1.BatchSwapOutputData") - proto.RegisterType((*TradingFunction)(nil), "penumbra.core.component.dex.v1.TradingFunction") - proto.RegisterType((*BareTradingFunction)(nil), "penumbra.core.component.dex.v1.BareTradingFunction") - proto.RegisterType((*Reserves)(nil), "penumbra.core.component.dex.v1.Reserves") - proto.RegisterType((*Position)(nil), "penumbra.core.component.dex.v1.Position") - proto.RegisterType((*PositionId)(nil), "penumbra.core.component.dex.v1.PositionId") - proto.RegisterType((*PositionState)(nil), "penumbra.core.component.dex.v1.PositionState") - proto.RegisterType((*LpNft)(nil), "penumbra.core.component.dex.v1.LpNft") - proto.RegisterType((*PositionOpen)(nil), "penumbra.core.component.dex.v1.PositionOpen") - proto.RegisterType((*PositionClose)(nil), "penumbra.core.component.dex.v1.PositionClose") - proto.RegisterType((*PositionWithdraw)(nil), "penumbra.core.component.dex.v1.PositionWithdraw") - proto.RegisterType((*PositionRewardClaim)(nil), "penumbra.core.component.dex.v1.PositionRewardClaim") - proto.RegisterType((*SwapExecution)(nil), "penumbra.core.component.dex.v1.SwapExecution") - proto.RegisterType((*SwapExecution_Trace)(nil), "penumbra.core.component.dex.v1.SwapExecution.Trace") - proto.RegisterType((*PositionWithdrawPlan)(nil), "penumbra.core.component.dex.v1.PositionWithdrawPlan") - proto.RegisterType((*PositionRewardClaimPlan)(nil), "penumbra.core.component.dex.v1.PositionRewardClaimPlan") - proto.RegisterType((*BatchSwapOutputDataRequest)(nil), "penumbra.core.component.dex.v1.BatchSwapOutputDataRequest") - proto.RegisterType((*BatchSwapOutputDataResponse)(nil), "penumbra.core.component.dex.v1.BatchSwapOutputDataResponse") - proto.RegisterType((*SwapExecutionRequest)(nil), "penumbra.core.component.dex.v1.SwapExecutionRequest") - proto.RegisterType((*SwapExecutionResponse)(nil), "penumbra.core.component.dex.v1.SwapExecutionResponse") - proto.RegisterType((*ArbExecutionRequest)(nil), "penumbra.core.component.dex.v1.ArbExecutionRequest") - proto.RegisterType((*ArbExecutionResponse)(nil), "penumbra.core.component.dex.v1.ArbExecutionResponse") - proto.RegisterType((*SwapExecutionsRequest)(nil), "penumbra.core.component.dex.v1.SwapExecutionsRequest") - proto.RegisterType((*SwapExecutionsResponse)(nil), "penumbra.core.component.dex.v1.SwapExecutionsResponse") - proto.RegisterType((*ArbExecutionsRequest)(nil), "penumbra.core.component.dex.v1.ArbExecutionsRequest") - proto.RegisterType((*ArbExecutionsResponse)(nil), "penumbra.core.component.dex.v1.ArbExecutionsResponse") - proto.RegisterType((*LiquidityPositionsRequest)(nil), "penumbra.core.component.dex.v1.LiquidityPositionsRequest") - proto.RegisterType((*LiquidityPositionsResponse)(nil), "penumbra.core.component.dex.v1.LiquidityPositionsResponse") - proto.RegisterType((*LiquidityPositionByIdRequest)(nil), "penumbra.core.component.dex.v1.LiquidityPositionByIdRequest") - proto.RegisterType((*LiquidityPositionByIdResponse)(nil), "penumbra.core.component.dex.v1.LiquidityPositionByIdResponse") - proto.RegisterType((*LiquidityPositionsByIdRequest)(nil), "penumbra.core.component.dex.v1.LiquidityPositionsByIdRequest") - proto.RegisterType((*LiquidityPositionsByIdResponse)(nil), "penumbra.core.component.dex.v1.LiquidityPositionsByIdResponse") - proto.RegisterType((*LiquidityPositionsByPriceRequest)(nil), "penumbra.core.component.dex.v1.LiquidityPositionsByPriceRequest") - proto.RegisterType((*LiquidityPositionsByPriceResponse)(nil), "penumbra.core.component.dex.v1.LiquidityPositionsByPriceResponse") - proto.RegisterType((*SpreadRequest)(nil), "penumbra.core.component.dex.v1.SpreadRequest") - proto.RegisterType((*SpreadResponse)(nil), "penumbra.core.component.dex.v1.SpreadResponse") - proto.RegisterType((*SimulateTradeRequest)(nil), "penumbra.core.component.dex.v1.SimulateTradeRequest") - proto.RegisterType((*SimulateTradeRequest_Routing)(nil), "penumbra.core.component.dex.v1.SimulateTradeRequest.Routing") - proto.RegisterType((*SimulateTradeRequest_Routing_SingleHop)(nil), "penumbra.core.component.dex.v1.SimulateTradeRequest.Routing.SingleHop") - proto.RegisterType((*SimulateTradeRequest_Routing_Default)(nil), "penumbra.core.component.dex.v1.SimulateTradeRequest.Routing.Default") - proto.RegisterType((*SimulateTradeResponse)(nil), "penumbra.core.component.dex.v1.SimulateTradeResponse") - proto.RegisterType((*EventSwap)(nil), "penumbra.core.component.dex.v1.EventSwap") - proto.RegisterType((*EventSwapClaim)(nil), "penumbra.core.component.dex.v1.EventSwapClaim") - proto.RegisterType((*EventPositionOpen)(nil), "penumbra.core.component.dex.v1.EventPositionOpen") - proto.RegisterType((*EventPositionClose)(nil), "penumbra.core.component.dex.v1.EventPositionClose") - proto.RegisterType((*EventPositionWithdraw)(nil), "penumbra.core.component.dex.v1.EventPositionWithdraw") - proto.RegisterType((*EventPositionExecution)(nil), "penumbra.core.component.dex.v1.EventPositionExecution") - proto.RegisterType((*EventBatchSwap)(nil), "penumbra.core.component.dex.v1.EventBatchSwap") - proto.RegisterType((*EventArbExecution)(nil), "penumbra.core.component.dex.v1.EventArbExecution") - proto.RegisterType((*EventValueCircuitBreakerCredit)(nil), "penumbra.core.component.dex.v1.EventValueCircuitBreakerCredit") - proto.RegisterType((*EventValueCircuitBreakerDebit)(nil), "penumbra.core.component.dex.v1.EventValueCircuitBreakerDebit") - proto.RegisterType((*DexParameters)(nil), "penumbra.core.component.dex.v1.DexParameters") - proto.RegisterType((*GenesisContent)(nil), "penumbra.core.component.dex.v1.GenesisContent") +type CandlestickData struct { + // The height of the candlestick data. + Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` + // The first observed price during the block execution. + Open float64 `protobuf:"fixed64,2,opt,name=open,proto3" json:"open,omitempty"` + // The last observed price during the block execution. + Close float64 `protobuf:"fixed64,3,opt,name=close,proto3" json:"close,omitempty"` + // The highest observed price during the block execution. + High float64 `protobuf:"fixed64,4,opt,name=high,proto3" json:"high,omitempty"` + // The lowest observed price during the block execution. + Low float64 `protobuf:"fixed64,5,opt,name=low,proto3" json:"low,omitempty"` + // The volume that traded "directly", during individual position executions. + DirectVolume float64 `protobuf:"fixed64,6,opt,name=direct_volume,json=directVolume,proto3" json:"direct_volume,omitempty"` + // The volume that traded as part of swaps, which could have traversed multiple routes. + SwapVolume float64 `protobuf:"fixed64,7,opt,name=swap_volume,json=swapVolume,proto3" json:"swap_volume,omitempty"` +} + +func (m *CandlestickData) Reset() { *m = CandlestickData{} } +func (m *CandlestickData) String() string { return proto.CompactTextString(m) } +func (*CandlestickData) ProtoMessage() {} +func (*CandlestickData) Descriptor() ([]byte, []int) { + return fileDescriptor_ec17dcdac15b4004, []int{64} +} +func (m *CandlestickData) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } - -func init() { - proto.RegisterFile("penumbra/core/component/dex/v1/dex.proto", fileDescriptor_ec17dcdac15b4004) +func (m *CandlestickData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CandlestickData.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } } - -var fileDescriptor_ec17dcdac15b4004 = []byte{ - // 3392 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5b, 0x6f, 0x6c, 0xdb, 0xd6, - 0xb5, 0x37, 0x29, 0xd9, 0x92, 0x8e, 0x6c, 0xc7, 0xb9, 0x4e, 0xf2, 0x5c, 0xb5, 0x71, 0x12, 0xa6,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 0x03, 0xb3, 0xd8, 0x34, - 0x6a, 0x7b, 0xb2, 0xda, 0xb2, 0x14, 0x47, 0x33, 0xf4, 0x85, 0xd4, 0x79, 0xee, 0x52, 0x52, 0x9a, - 0xa1, 0xa3, 0x25, 0x36, 0x28, 0x7c, 0x2b, 0x01, 0x33, 0x21, 0x76, 0x74, 0x03, 0x32, 0x7a, 0xab, - 0xd1, 0xd0, 0xea, 0x1a, 0xb3, 0x7a, 0x56, 0x7c, 0xb6, 0xaf, 0x00, 0xc4, 0x53, 0xdb, 0x85, 0xfc, - 0xa6, 0xc7, 0x20, 0x75, 0x79, 0xd1, 0x15, 0x48, 0xd4, 0x31, 0x66, 0x3a, 0x5c, 0xec, 0x0b, 0x41, - 0xc2, 0xa2, 0x5d, 0xc8, 0xaf, 0x61, 0x2c, 0x11, 0x7a, 0x74, 0x1b, 0xe6, 0x8d, 0x96, 0x63, 0xb6, - 0x1c, 0xb9, 0x20, 0xd7, 0x8c, 0x66, 0x53, 0x73, 0x9a, 0x58, 0x77, 0x16, 0x12, 0x14, 0xe6, 0x5f, - 0x02, 0x30, 0xd4, 0xd5, 0xf2, 0x8e, 0x2b, 0xc1, 0xb6, 0xa3, 0x38, 0xb8, 0xe8, 0x93, 0x4b, 0x27, - 0x5d, 0x8c, 0x42, 0x77, 0x28, 0x00, 0x2c, 0x06, 0x81, 0x93, 0x23, 0x01, 0x8b, 0x01, 0xe0, 0x1d, - 0xc8, 0x32, 0x60, 0x55, 0x71, 0x94, 0x85, 0x29, 0x0a, 0x78, 0x79, 0xd0, 0xa2, 0xad, 0x2a, 0x4e, - 0x6d, 0x8f, 0x98, 0x7e, 0x8b, 0xf2, 0x96, 0x14, 0x47, 0x91, 0xc0, 0xf0, 0x7f, 0x0b, 0x7f, 0xe0, - 0x21, 0xed, 0x39, 0x1b, 0xda, 0x84, 0x69, 0xc7, 0x52, 0x54, 0x4d, 0xbf, 0x27, 0x9b, 0x8a, 0x66, - 0xc5, 0x75, 0xf7, 0x1d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, 0x95, 0x62, 0xb1, 0xf4, 0x5d, 0x7e, 0xb1, 0xe2, - 0x49, 0x51, 0x24, 0x52, 0x14, 0x7d, 0x29, 0x4a, 0xb8, 0x93, 0xdf, 0x2d, 0x7c, 0xd2, 0x25, 0xb8, - 0x4b, 0x08, 0xee, 0xfa, 0x04, 0x77, 0x4b, 0xb8, 0x73, 0x77, 0xb7, 0xf0, 0x80, 0x7f, 0xee, 0x68, - 0x82, 0xbb, 0x37, 0x2a, 0xab, 0xde, 0x7d, 0xf8, 0x3f, 0xf2, 0x82, 0x47, 0xbc, 0xbc, 0x4c, 0xa8, - 0xc9, 0xbf, 0x8c, 0x7c, 0x79, 0xb9, 0x84, 0x3b, 0xcb, 0xcb, 0xbb, 0x85, 0xea, 0x14, 0xfd, 0xf3, - 0xd8, 0xcb, 0x7f, 0x0f, 0x00, 0x00, 0xff, 0xff, 0xe1, 0x5a, 0x64, 0xb3, 0xaa, 0x3c, 0x00, 0x00, +func (m *CandlestickData) XXX_Merge(src proto.Message) { + xxx_messageInfo_CandlestickData.Merge(m, src) +} +func (m *CandlestickData) XXX_Size() int { + return m.Size() +} +func (m *CandlestickData) XXX_DiscardUnknown() { + xxx_messageInfo_CandlestickData.DiscardUnknown(m) } -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConn +var xxx_messageInfo_CandlestickData proto.InternalMessageInfo -// 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 +func (m *CandlestickData) GetHeight() uint64 { + if m != nil { + return m.Height + } + return 0 +} -// 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 { - // Get the batch clearing prices for a specific block height and trading pair. - BatchSwapOutputData(ctx context.Context, in *BatchSwapOutputDataRequest, opts ...grpc.CallOption) (*BatchSwapOutputDataResponse, error) - // Get the precise swap execution used for a specific batch swap. - SwapExecution(ctx context.Context, in *SwapExecutionRequest, opts ...grpc.CallOption) (*SwapExecutionResponse, error) - // Get the precise execution used to perform on-chain arbitrage. - ArbExecution(ctx context.Context, in *ArbExecutionRequest, opts ...grpc.CallOption) (*ArbExecutionResponse, error) - // Stream all swap executions over a range of heights, optionally subscribing to future executions. - SwapExecutions(ctx context.Context, in *SwapExecutionsRequest, opts ...grpc.CallOption) (QueryService_SwapExecutionsClient, error) - // Stream all arbitrage executions over a range of heights, optionally subscribing to future executions. - ArbExecutions(ctx context.Context, in *ArbExecutionsRequest, opts ...grpc.CallOption) (QueryService_ArbExecutionsClient, error) - // Query all liquidity positions on the DEX. - LiquidityPositions(ctx context.Context, in *LiquidityPositionsRequest, opts ...grpc.CallOption) (QueryService_LiquidityPositionsClient, error) - // Query liquidity positions by ID. - // - // To get multiple positions, use `LiquidityPositionsById`. - LiquidityPositionById(ctx context.Context, in *LiquidityPositionByIdRequest, opts ...grpc.CallOption) (*LiquidityPositionByIdResponse, error) - // Query multiple liquidity positions by ID. - LiquidityPositionsById(ctx context.Context, in *LiquidityPositionsByIdRequest, opts ...grpc.CallOption) (QueryService_LiquidityPositionsByIdClient, error) - // Query liquidity positions on a specific pair, sorted by effective price. - LiquidityPositionsByPrice(ctx context.Context, in *LiquidityPositionsByPriceRequest, opts ...grpc.CallOption) (QueryService_LiquidityPositionsByPriceClient, error) - // Get the current (direct) spread on a trading pair. - // - // This method doesn't do simulation, so actually executing might result in a - // better price (if the chain takes a different route to the target asset). - Spread(ctx context.Context, in *SpreadRequest, opts ...grpc.CallOption) (*SpreadResponse, error) +func (m *CandlestickData) GetOpen() float64 { + if m != nil { + return m.Open + } + return 0 } -type queryServiceClient struct { - cc grpc1.ClientConn +func (m *CandlestickData) GetClose() float64 { + if m != nil { + return m.Close + } + return 0 } -func NewQueryServiceClient(cc grpc1.ClientConn) QueryServiceClient { - return &queryServiceClient{cc} +func (m *CandlestickData) GetHigh() float64 { + if m != nil { + return m.High + } + return 0 } -func (c *queryServiceClient) BatchSwapOutputData(ctx context.Context, in *BatchSwapOutputDataRequest, opts ...grpc.CallOption) (*BatchSwapOutputDataResponse, error) { - out := new(BatchSwapOutputDataResponse) - err := c.cc.Invoke(ctx, "/penumbra.core.component.dex.v1.QueryService/BatchSwapOutputData", in, out, opts...) - if err != nil { - return nil, err +func (m *CandlestickData) GetLow() float64 { + if m != nil { + return m.Low } - return out, nil + return 0 } -func (c *queryServiceClient) SwapExecution(ctx context.Context, in *SwapExecutionRequest, opts ...grpc.CallOption) (*SwapExecutionResponse, error) { - out := new(SwapExecutionResponse) - err := c.cc.Invoke(ctx, "/penumbra.core.component.dex.v1.QueryService/SwapExecution", in, out, opts...) - if err != nil { - return nil, err +func (m *CandlestickData) GetDirectVolume() float64 { + if m != nil { + return m.DirectVolume } - return out, nil + return 0 } -func (c *queryServiceClient) ArbExecution(ctx context.Context, in *ArbExecutionRequest, opts ...grpc.CallOption) (*ArbExecutionResponse, error) { - out := new(ArbExecutionResponse) - err := c.cc.Invoke(ctx, "/penumbra.core.component.dex.v1.QueryService/ArbExecution", in, out, opts...) - if err != nil { - return nil, err +func (m *CandlestickData) GetSwapVolume() float64 { + if m != nil { + return m.SwapVolume } - return out, nil + return 0 } -func (c *queryServiceClient) SwapExecutions(ctx context.Context, in *SwapExecutionsRequest, opts ...grpc.CallOption) (QueryService_SwapExecutionsClient, error) { - stream, err := c.cc.NewStream(ctx, &_QueryService_serviceDesc.Streams[0], "/penumbra.core.component.dex.v1.QueryService/SwapExecutions", opts...) - if err != nil { - return nil, err - } - x := &queryServiceSwapExecutionsClient{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 CandlestickDataRequest struct { + // The directed trading pair to request candlestick data for. + // + // NOTE: the returned data will only have trades from the SOURCE asset to the + // DEST asset, not the other direction. Make another request if you want both + // sets of data. + Pair *DirectedTradingPair `protobuf:"bytes,1,opt,name=pair,proto3" json:"pair,omitempty"` + // The maximum number of candlestick data points to return. + // + // The server may clamp this limit to a maximum value. + Limit uint64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` + // The height to start the query from. + // + // If this is unset (= 0), the server will return the most recent data points. + StartHeight uint64 `protobuf:"varint,3,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"` } -type QueryService_SwapExecutionsClient interface { - Recv() (*SwapExecutionsResponse, error) - grpc.ClientStream +func (m *CandlestickDataRequest) Reset() { *m = CandlestickDataRequest{} } +func (m *CandlestickDataRequest) String() string { return proto.CompactTextString(m) } +func (*CandlestickDataRequest) ProtoMessage() {} +func (*CandlestickDataRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ec17dcdac15b4004, []int{65} } - -type queryServiceSwapExecutionsClient struct { - grpc.ClientStream +func (m *CandlestickDataRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } - -func (x *queryServiceSwapExecutionsClient) Recv() (*SwapExecutionsResponse, error) { - m := new(SwapExecutionsResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err +func (m *CandlestickDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CandlestickDataRequest.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 m, nil } - -func (c *queryServiceClient) ArbExecutions(ctx context.Context, in *ArbExecutionsRequest, opts ...grpc.CallOption) (QueryService_ArbExecutionsClient, error) { - stream, err := c.cc.NewStream(ctx, &_QueryService_serviceDesc.Streams[1], "/penumbra.core.component.dex.v1.QueryService/ArbExecutions", opts...) - if err != nil { - return nil, err - } - x := &queryServiceArbExecutionsClient{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 +func (m *CandlestickDataRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CandlestickDataRequest.Merge(m, src) } - -type QueryService_ArbExecutionsClient interface { - Recv() (*ArbExecutionsResponse, error) - grpc.ClientStream +func (m *CandlestickDataRequest) XXX_Size() int { + return m.Size() } - -type queryServiceArbExecutionsClient struct { - grpc.ClientStream +func (m *CandlestickDataRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CandlestickDataRequest.DiscardUnknown(m) } -func (x *queryServiceArbExecutionsClient) Recv() (*ArbExecutionsResponse, error) { - m := new(ArbExecutionsResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err +var xxx_messageInfo_CandlestickDataRequest proto.InternalMessageInfo + +func (m *CandlestickDataRequest) GetPair() *DirectedTradingPair { + if m != nil { + return m.Pair } - return m, nil + return nil } -func (c *queryServiceClient) LiquidityPositions(ctx context.Context, in *LiquidityPositionsRequest, opts ...grpc.CallOption) (QueryService_LiquidityPositionsClient, error) { - stream, err := c.cc.NewStream(ctx, &_QueryService_serviceDesc.Streams[2], "/penumbra.core.component.dex.v1.QueryService/LiquidityPositions", opts...) - if err != nil { - return nil, err - } - x := &queryServiceLiquidityPositionsClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err +func (m *CandlestickDataRequest) GetLimit() uint64 { + if m != nil { + return m.Limit } - return x, nil + return 0 } -type QueryService_LiquidityPositionsClient interface { - Recv() (*LiquidityPositionsResponse, error) - grpc.ClientStream +func (m *CandlestickDataRequest) GetStartHeight() uint64 { + if m != nil { + return m.StartHeight + } + return 0 } -type queryServiceLiquidityPositionsClient struct { - grpc.ClientStream +type CandlestickDataResponse struct { + // The candlestick data points. + Data []*CandlestickData `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` } -func (x *queryServiceLiquidityPositionsClient) Recv() (*LiquidityPositionsResponse, error) { - m := new(LiquidityPositionsResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil +func (m *CandlestickDataResponse) Reset() { *m = CandlestickDataResponse{} } +func (m *CandlestickDataResponse) String() string { return proto.CompactTextString(m) } +func (*CandlestickDataResponse) ProtoMessage() {} +func (*CandlestickDataResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ec17dcdac15b4004, []int{66} } - -func (c *queryServiceClient) LiquidityPositionById(ctx context.Context, in *LiquidityPositionByIdRequest, opts ...grpc.CallOption) (*LiquidityPositionByIdResponse, error) { - out := new(LiquidityPositionByIdResponse) - err := c.cc.Invoke(ctx, "/penumbra.core.component.dex.v1.QueryService/LiquidityPositionById", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (m *CandlestickDataResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } - -func (c *queryServiceClient) LiquidityPositionsById(ctx context.Context, in *LiquidityPositionsByIdRequest, opts ...grpc.CallOption) (QueryService_LiquidityPositionsByIdClient, error) { - stream, err := c.cc.NewStream(ctx, &_QueryService_serviceDesc.Streams[3], "/penumbra.core.component.dex.v1.QueryService/LiquidityPositionsById", opts...) - if err != nil { - return nil, err - } - x := &queryServiceLiquidityPositionsByIdClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err +func (m *CandlestickDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CandlestickDataResponse.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 x, nil } - -type QueryService_LiquidityPositionsByIdClient interface { - Recv() (*LiquidityPositionsByIdResponse, error) - grpc.ClientStream +func (m *CandlestickDataResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CandlestickDataResponse.Merge(m, src) } - -type queryServiceLiquidityPositionsByIdClient struct { - grpc.ClientStream +func (m *CandlestickDataResponse) XXX_Size() int { + return m.Size() } - -func (x *queryServiceLiquidityPositionsByIdClient) Recv() (*LiquidityPositionsByIdResponse, error) { - m := new(LiquidityPositionsByIdResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil +func (m *CandlestickDataResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CandlestickDataResponse.DiscardUnknown(m) } -func (c *queryServiceClient) LiquidityPositionsByPrice(ctx context.Context, in *LiquidityPositionsByPriceRequest, opts ...grpc.CallOption) (QueryService_LiquidityPositionsByPriceClient, error) { - stream, err := c.cc.NewStream(ctx, &_QueryService_serviceDesc.Streams[4], "/penumbra.core.component.dex.v1.QueryService/LiquidityPositionsByPrice", opts...) - if err != nil { - return nil, err - } - x := &queryServiceLiquidityPositionsByPriceClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err +var xxx_messageInfo_CandlestickDataResponse proto.InternalMessageInfo + +func (m *CandlestickDataResponse) GetData() []*CandlestickData { + if m != nil { + return m.Data } - return x, nil + return nil } -type QueryService_LiquidityPositionsByPriceClient interface { - Recv() (*LiquidityPositionsByPriceResponse, error) - grpc.ClientStream +type CandlestickDataStreamRequest struct { + // The directed trading pair to subscribe to. + Pair *DirectedTradingPair `protobuf:"bytes,1,opt,name=pair,proto3" json:"pair,omitempty"` } -type queryServiceLiquidityPositionsByPriceClient struct { - grpc.ClientStream +func (m *CandlestickDataStreamRequest) Reset() { *m = CandlestickDataStreamRequest{} } +func (m *CandlestickDataStreamRequest) String() string { return proto.CompactTextString(m) } +func (*CandlestickDataStreamRequest) ProtoMessage() {} +func (*CandlestickDataStreamRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ec17dcdac15b4004, []int{67} } - -func (x *queryServiceLiquidityPositionsByPriceClient) Recv() (*LiquidityPositionsByPriceResponse, error) { - m := new(LiquidityPositionsByPriceResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err +func (m *CandlestickDataStreamRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CandlestickDataStreamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CandlestickDataStreamRequest.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 m, nil +} +func (m *CandlestickDataStreamRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CandlestickDataStreamRequest.Merge(m, src) +} +func (m *CandlestickDataStreamRequest) XXX_Size() int { + return m.Size() +} +func (m *CandlestickDataStreamRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CandlestickDataStreamRequest.DiscardUnknown(m) } -func (c *queryServiceClient) Spread(ctx context.Context, in *SpreadRequest, opts ...grpc.CallOption) (*SpreadResponse, error) { - out := new(SpreadResponse) - err := c.cc.Invoke(ctx, "/penumbra.core.component.dex.v1.QueryService/Spread", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_CandlestickDataStreamRequest proto.InternalMessageInfo + +func (m *CandlestickDataStreamRequest) GetPair() *DirectedTradingPair { + if m != nil { + return m.Pair } - return out, nil + return nil } -// QueryServiceServer is the server API for QueryService service. -type QueryServiceServer interface { - // Get the batch clearing prices for a specific block height and trading pair. - BatchSwapOutputData(context.Context, *BatchSwapOutputDataRequest) (*BatchSwapOutputDataResponse, error) - // Get the precise swap execution used for a specific batch swap. - SwapExecution(context.Context, *SwapExecutionRequest) (*SwapExecutionResponse, error) - // Get the precise execution used to perform on-chain arbitrage. - ArbExecution(context.Context, *ArbExecutionRequest) (*ArbExecutionResponse, error) - // Stream all swap executions over a range of heights, optionally subscribing to future executions. - SwapExecutions(*SwapExecutionsRequest, QueryService_SwapExecutionsServer) error - // Stream all arbitrage executions over a range of heights, optionally subscribing to future executions. - ArbExecutions(*ArbExecutionsRequest, QueryService_ArbExecutionsServer) error - // Query all liquidity positions on the DEX. - LiquidityPositions(*LiquidityPositionsRequest, QueryService_LiquidityPositionsServer) error - // Query liquidity positions by ID. - // - // To get multiple positions, use `LiquidityPositionsById`. - LiquidityPositionById(context.Context, *LiquidityPositionByIdRequest) (*LiquidityPositionByIdResponse, error) - // Query multiple liquidity positions by ID. - LiquidityPositionsById(*LiquidityPositionsByIdRequest, QueryService_LiquidityPositionsByIdServer) error - // Query liquidity positions on a specific pair, sorted by effective price. - LiquidityPositionsByPrice(*LiquidityPositionsByPriceRequest, QueryService_LiquidityPositionsByPriceServer) error - // Get the current (direct) spread on a trading pair. - // - // This method doesn't do simulation, so actually executing might result in a - // better price (if the chain takes a different route to the target asset). - Spread(context.Context, *SpreadRequest) (*SpreadResponse, error) +type CandlestickDataStreamResponse struct { + // The candlestick data point. + Data *CandlestickData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } -// UnimplementedQueryServiceServer can be embedded to have forward compatible implementations. -type UnimplementedQueryServiceServer struct { +func (m *CandlestickDataStreamResponse) Reset() { *m = CandlestickDataStreamResponse{} } +func (m *CandlestickDataStreamResponse) String() string { return proto.CompactTextString(m) } +func (*CandlestickDataStreamResponse) ProtoMessage() {} +func (*CandlestickDataStreamResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ec17dcdac15b4004, []int{68} } - -func (*UnimplementedQueryServiceServer) BatchSwapOutputData(ctx context.Context, req *BatchSwapOutputDataRequest) (*BatchSwapOutputDataResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method BatchSwapOutputData not implemented") +func (m *CandlestickDataStreamResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } -func (*UnimplementedQueryServiceServer) SwapExecution(ctx context.Context, req *SwapExecutionRequest) (*SwapExecutionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SwapExecution not implemented") +func (m *CandlestickDataStreamResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CandlestickDataStreamResponse.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 (*UnimplementedQueryServiceServer) ArbExecution(ctx context.Context, req *ArbExecutionRequest) (*ArbExecutionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ArbExecution not implemented") +func (m *CandlestickDataStreamResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CandlestickDataStreamResponse.Merge(m, src) } -func (*UnimplementedQueryServiceServer) SwapExecutions(req *SwapExecutionsRequest, srv QueryService_SwapExecutionsServer) error { - return status.Errorf(codes.Unimplemented, "method SwapExecutions not implemented") +func (m *CandlestickDataStreamResponse) XXX_Size() int { + return m.Size() } -func (*UnimplementedQueryServiceServer) ArbExecutions(req *ArbExecutionsRequest, srv QueryService_ArbExecutionsServer) error { - return status.Errorf(codes.Unimplemented, "method ArbExecutions not implemented") +func (m *CandlestickDataStreamResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CandlestickDataStreamResponse.DiscardUnknown(m) } -func (*UnimplementedQueryServiceServer) LiquidityPositions(req *LiquidityPositionsRequest, srv QueryService_LiquidityPositionsServer) error { - return status.Errorf(codes.Unimplemented, "method LiquidityPositions not implemented") + +var xxx_messageInfo_CandlestickDataStreamResponse proto.InternalMessageInfo + +func (m *CandlestickDataStreamResponse) GetData() *CandlestickData { + if m != nil { + return m.Data + } + return nil } -func (*UnimplementedQueryServiceServer) LiquidityPositionById(ctx context.Context, req *LiquidityPositionByIdRequest) (*LiquidityPositionByIdResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method LiquidityPositionById not implemented") + +func init() { + proto.RegisterEnum("penumbra.core.component.dex.v1.PositionState_PositionStateEnum", PositionState_PositionStateEnum_name, PositionState_PositionStateEnum_value) + proto.RegisterType((*ZKSwapProof)(nil), "penumbra.core.component.dex.v1.ZKSwapProof") + proto.RegisterType((*ZKSwapClaimProof)(nil), "penumbra.core.component.dex.v1.ZKSwapClaimProof") + proto.RegisterType((*Swap)(nil), "penumbra.core.component.dex.v1.Swap") + proto.RegisterType((*SwapClaim)(nil), "penumbra.core.component.dex.v1.SwapClaim") + proto.RegisterType((*SwapClaimBody)(nil), "penumbra.core.component.dex.v1.SwapClaimBody") + proto.RegisterType((*SwapBody)(nil), "penumbra.core.component.dex.v1.SwapBody") + proto.RegisterType((*SwapPayload)(nil), "penumbra.core.component.dex.v1.SwapPayload") + proto.RegisterType((*SwapPlaintext)(nil), "penumbra.core.component.dex.v1.SwapPlaintext") + proto.RegisterType((*SwapPlan)(nil), "penumbra.core.component.dex.v1.SwapPlan") + proto.RegisterType((*SwapClaimPlan)(nil), "penumbra.core.component.dex.v1.SwapClaimPlan") + proto.RegisterType((*SwapView)(nil), "penumbra.core.component.dex.v1.SwapView") + proto.RegisterType((*SwapView_Visible)(nil), "penumbra.core.component.dex.v1.SwapView.Visible") + proto.RegisterType((*SwapView_Opaque)(nil), "penumbra.core.component.dex.v1.SwapView.Opaque") + proto.RegisterType((*SwapClaimView)(nil), "penumbra.core.component.dex.v1.SwapClaimView") + proto.RegisterType((*SwapClaimView_Visible)(nil), "penumbra.core.component.dex.v1.SwapClaimView.Visible") + proto.RegisterType((*SwapClaimView_Opaque)(nil), "penumbra.core.component.dex.v1.SwapClaimView.Opaque") + proto.RegisterType((*TradingPair)(nil), "penumbra.core.component.dex.v1.TradingPair") + proto.RegisterType((*DirectedTradingPair)(nil), "penumbra.core.component.dex.v1.DirectedTradingPair") + proto.RegisterType((*BatchSwapOutputData)(nil), "penumbra.core.component.dex.v1.BatchSwapOutputData") + proto.RegisterType((*TradingFunction)(nil), "penumbra.core.component.dex.v1.TradingFunction") + proto.RegisterType((*BareTradingFunction)(nil), "penumbra.core.component.dex.v1.BareTradingFunction") + proto.RegisterType((*Reserves)(nil), "penumbra.core.component.dex.v1.Reserves") + proto.RegisterType((*Position)(nil), "penumbra.core.component.dex.v1.Position") + proto.RegisterType((*PositionId)(nil), "penumbra.core.component.dex.v1.PositionId") + proto.RegisterType((*PositionState)(nil), "penumbra.core.component.dex.v1.PositionState") + proto.RegisterType((*LpNft)(nil), "penumbra.core.component.dex.v1.LpNft") + proto.RegisterType((*PositionOpen)(nil), "penumbra.core.component.dex.v1.PositionOpen") + proto.RegisterType((*PositionClose)(nil), "penumbra.core.component.dex.v1.PositionClose") + proto.RegisterType((*PositionWithdraw)(nil), "penumbra.core.component.dex.v1.PositionWithdraw") + proto.RegisterType((*PositionRewardClaim)(nil), "penumbra.core.component.dex.v1.PositionRewardClaim") + proto.RegisterType((*SwapExecution)(nil), "penumbra.core.component.dex.v1.SwapExecution") + proto.RegisterType((*SwapExecution_Trace)(nil), "penumbra.core.component.dex.v1.SwapExecution.Trace") + proto.RegisterType((*PositionWithdrawPlan)(nil), "penumbra.core.component.dex.v1.PositionWithdrawPlan") + proto.RegisterType((*PositionRewardClaimPlan)(nil), "penumbra.core.component.dex.v1.PositionRewardClaimPlan") + proto.RegisterType((*BatchSwapOutputDataRequest)(nil), "penumbra.core.component.dex.v1.BatchSwapOutputDataRequest") + proto.RegisterType((*BatchSwapOutputDataResponse)(nil), "penumbra.core.component.dex.v1.BatchSwapOutputDataResponse") + proto.RegisterType((*SwapExecutionRequest)(nil), "penumbra.core.component.dex.v1.SwapExecutionRequest") + proto.RegisterType((*SwapExecutionResponse)(nil), "penumbra.core.component.dex.v1.SwapExecutionResponse") + proto.RegisterType((*ArbExecutionRequest)(nil), "penumbra.core.component.dex.v1.ArbExecutionRequest") + proto.RegisterType((*ArbExecutionResponse)(nil), "penumbra.core.component.dex.v1.ArbExecutionResponse") + proto.RegisterType((*SwapExecutionsRequest)(nil), "penumbra.core.component.dex.v1.SwapExecutionsRequest") + proto.RegisterType((*SwapExecutionsResponse)(nil), "penumbra.core.component.dex.v1.SwapExecutionsResponse") + proto.RegisterType((*ArbExecutionsRequest)(nil), "penumbra.core.component.dex.v1.ArbExecutionsRequest") + proto.RegisterType((*ArbExecutionsResponse)(nil), "penumbra.core.component.dex.v1.ArbExecutionsResponse") + proto.RegisterType((*LiquidityPositionsRequest)(nil), "penumbra.core.component.dex.v1.LiquidityPositionsRequest") + proto.RegisterType((*LiquidityPositionsResponse)(nil), "penumbra.core.component.dex.v1.LiquidityPositionsResponse") + proto.RegisterType((*LiquidityPositionByIdRequest)(nil), "penumbra.core.component.dex.v1.LiquidityPositionByIdRequest") + proto.RegisterType((*LiquidityPositionByIdResponse)(nil), "penumbra.core.component.dex.v1.LiquidityPositionByIdResponse") + proto.RegisterType((*LiquidityPositionsByIdRequest)(nil), "penumbra.core.component.dex.v1.LiquidityPositionsByIdRequest") + proto.RegisterType((*LiquidityPositionsByIdResponse)(nil), "penumbra.core.component.dex.v1.LiquidityPositionsByIdResponse") + proto.RegisterType((*LiquidityPositionsByPriceRequest)(nil), "penumbra.core.component.dex.v1.LiquidityPositionsByPriceRequest") + proto.RegisterType((*LiquidityPositionsByPriceResponse)(nil), "penumbra.core.component.dex.v1.LiquidityPositionsByPriceResponse") + proto.RegisterType((*SpreadRequest)(nil), "penumbra.core.component.dex.v1.SpreadRequest") + proto.RegisterType((*SpreadResponse)(nil), "penumbra.core.component.dex.v1.SpreadResponse") + proto.RegisterType((*SimulateTradeRequest)(nil), "penumbra.core.component.dex.v1.SimulateTradeRequest") + proto.RegisterType((*SimulateTradeRequest_Routing)(nil), "penumbra.core.component.dex.v1.SimulateTradeRequest.Routing") + proto.RegisterType((*SimulateTradeRequest_Routing_SingleHop)(nil), "penumbra.core.component.dex.v1.SimulateTradeRequest.Routing.SingleHop") + proto.RegisterType((*SimulateTradeRequest_Routing_Default)(nil), "penumbra.core.component.dex.v1.SimulateTradeRequest.Routing.Default") + proto.RegisterType((*SimulateTradeResponse)(nil), "penumbra.core.component.dex.v1.SimulateTradeResponse") + proto.RegisterType((*EventSwap)(nil), "penumbra.core.component.dex.v1.EventSwap") + proto.RegisterType((*EventSwapClaim)(nil), "penumbra.core.component.dex.v1.EventSwapClaim") + proto.RegisterType((*EventPositionOpen)(nil), "penumbra.core.component.dex.v1.EventPositionOpen") + proto.RegisterType((*EventPositionClose)(nil), "penumbra.core.component.dex.v1.EventPositionClose") + proto.RegisterType((*EventQueuePositionClose)(nil), "penumbra.core.component.dex.v1.EventQueuePositionClose") + proto.RegisterType((*EventPositionWithdraw)(nil), "penumbra.core.component.dex.v1.EventPositionWithdraw") + proto.RegisterType((*EventPositionExecution)(nil), "penumbra.core.component.dex.v1.EventPositionExecution") + proto.RegisterType((*EventBatchSwap)(nil), "penumbra.core.component.dex.v1.EventBatchSwap") + proto.RegisterType((*EventArbExecution)(nil), "penumbra.core.component.dex.v1.EventArbExecution") + proto.RegisterType((*EventValueCircuitBreakerCredit)(nil), "penumbra.core.component.dex.v1.EventValueCircuitBreakerCredit") + proto.RegisterType((*EventValueCircuitBreakerDebit)(nil), "penumbra.core.component.dex.v1.EventValueCircuitBreakerDebit") + proto.RegisterType((*DexParameters)(nil), "penumbra.core.component.dex.v1.DexParameters") + proto.RegisterType((*GenesisContent)(nil), "penumbra.core.component.dex.v1.GenesisContent") + proto.RegisterType((*CandlestickData)(nil), "penumbra.core.component.dex.v1.CandlestickData") + proto.RegisterType((*CandlestickDataRequest)(nil), "penumbra.core.component.dex.v1.CandlestickDataRequest") + proto.RegisterType((*CandlestickDataResponse)(nil), "penumbra.core.component.dex.v1.CandlestickDataResponse") + proto.RegisterType((*CandlestickDataStreamRequest)(nil), "penumbra.core.component.dex.v1.CandlestickDataStreamRequest") + proto.RegisterType((*CandlestickDataStreamResponse)(nil), "penumbra.core.component.dex.v1.CandlestickDataStreamResponse") } -func (*UnimplementedQueryServiceServer) LiquidityPositionsById(req *LiquidityPositionsByIdRequest, srv QueryService_LiquidityPositionsByIdServer) error { - return status.Errorf(codes.Unimplemented, "method LiquidityPositionsById not implemented") + +func init() { + proto.RegisterFile("penumbra/core/component/dex/v1/dex.proto", fileDescriptor_ec17dcdac15b4004) } -func (*UnimplementedQueryServiceServer) LiquidityPositionsByPrice(req *LiquidityPositionsByPriceRequest, srv QueryService_LiquidityPositionsByPriceServer) error { - return status.Errorf(codes.Unimplemented, "method LiquidityPositionsByPrice not implemented") + +var fileDescriptor_ec17dcdac15b4004 = []byte{ + // 3717 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5c, 0x5d, 0x6c, 0x23, 0x59, + 0x56, 0x4e, 0x95, 0x9d, 0xd8, 0x3e, 0x89, 0xd3, 0xe9, 0x9b, 0x74, 0x26, 0xeb, 0x9d, 0xa4, 0xbb, + 0xab, 0x77, 0xa1, 0x77, 0x60, 0x9d, 0x71, 0xf5, 0xf4, 0xcc, 0x6e, 0xa6, 0x97, 0xd9, 0xc4, 0xce, + 0xdf, 0x4e, 0x77, 0xe2, 0xa9, 0x64, 0x32, 0xa3, 0x51, 0x33, 0x45, 0xc5, 0x75, 0x1d, 0x97, 0xc6, + 0xae, 0xaa, 0xae, 0x2a, 0x3b, 0x8e, 0xc4, 0x8f, 0x06, 0xc1, 0x82, 0x40, 0xa0, 0x05, 0x21, 0xd0, + 0x20, 0xf1, 0xc0, 0x4a, 0xbc, 0xf0, 0x06, 0x12, 0x6f, 0xa0, 0xd9, 0x17, 0x10, 0x1a, 0x24, 0xb4, + 0xe2, 0x61, 0x17, 0x09, 0x09, 0xa1, 0x19, 0x24, 0x24, 0x9e, 0x78, 0xe3, 0x85, 0x07, 0x74, 0x7f, + 0xaa, 0x5c, 0xe5, 0x94, 0xe3, 0xb2, 0xe3, 0x66, 0xd0, 0x68, 0x5f, 0xa6, 0x7d, 0x6f, 0x9d, 0xf3, + 0xdd, 0x73, 0xce, 0x3d, 0xf7, 0xdc, 0x73, 0xcf, 0xbd, 0x13, 0xb8, 0x6f, 0x63, 0xb3, 0xdd, 0x3a, + 0x75, 0xb4, 0xf5, 0x9a, 0xe5, 0xe0, 0xf5, 0x9a, 0xd5, 0xb2, 0x2d, 0x13, 0x9b, 0xde, 0xba, 0x8e, + 0xbb, 0xeb, 0x9d, 0x12, 0xf9, 0xa7, 0x68, 0x3b, 0x96, 0x67, 0xa1, 0x35, 0x9f, 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x7f, 0x64, 0x3b, 0x58, 0x0b, 0x26, 0xfc, 0x20, 0xd6, 0x3c, 0xe3, 0xa7, 0x16, 0x7f, 0x27, 0xc2, + 0xbc, 0x3f, 0x02, 0xd7, 0xf6, 0x5d, 0x58, 0x3a, 0xc5, 0xae, 0xa7, 0x96, 0x54, 0xcf, 0x52, 0x65, + 0x75, 0xec, 0x93, 0xde, 0x02, 0x41, 0x29, 0x1d, 0x5b, 0x72, 0x50, 0x78, 0xf1, 0x91, 0x65, 0x82, + 0x5c, 0x52, 0x23, 0x57, 0xd6, 0x23, 0x23, 0xcb, 0xc7, 0x56, 0x29, 0x40, 0x7e, 0x03, 0x56, 0x35, + 0xdb, 0x76, 0xac, 0xae, 0x8a, 0xeb, 0x75, 0x5c, 0xf3, 0x8c, 0x0e, 0x56, 0x6d, 0x32, 0x87, 0x5c, + 0x0b, 0x1a, 0x4e, 0x05, 0x65, 0x85, 0x11, 0x6d, 0xfb, 0x34, 0x74, 0x9a, 0x89, 0x88, 0x57, 0x00, + 0x30, 0x61, 0x69, 0x1c, 0x1b, 0x00, 0x40, 0x24, 0x91, 0x7e, 0x94, 0x82, 0xa5, 0x23, 0xa3, 0xd5, + 0x6e, 0x6a, 0x1e, 0xad, 0xa7, 0x05, 0x0e, 0x1d, 0x1c, 0x48, 0x84, 0x11, 0x0e, 0x24, 0xaf, 0x05, + 0x07, 0x92, 0xa4, 0xc5, 0x73, 0x46, 0x8e, 0x4e, 0x20, 0xe3, 0x58, 0x6d, 0xcf, 0x30, 0xcf, 0xf8, + 0x96, 0xf6, 0x68, 0xe8, 0x26, 0x10, 0x23, 0x74, 0x51, 0x61, 0x18, 0x8a, 0x0f, 0x56, 0xf8, 0x6f, + 0x01, 0x32, 0xbc, 0x13, 0xfd, 0x02, 0x64, 0x74, 0x5c, 0xd7, 0xda, 0x4d, 0x5f, 0xa7, 0xca, 0x75, + 0xc6, 0x28, 0x56, 0x18, 0xd6, 0xde, 0x94, 0xe2, 0xc3, 0xa2, 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xc5, 0xb5, 0xaa, 0x2f, 0x45, 0x99, 0x48, 0x51, 0x0e, 0xa4, 0xa8, 0xe0, 0x6e, 0xf1, 0xa4, 0xf4, + 0x49, 0x8f, 0xe0, 0x29, 0x21, 0x78, 0x1a, 0x10, 0x3c, 0xad, 0xe0, 0xee, 0xd3, 0x93, 0xd2, 0xa7, + 0xe2, 0x4b, 0x57, 0x13, 0x3c, 0xdd, 0xad, 0x6e, 0xf9, 0xff, 0x17, 0xce, 0x7f, 0x8a, 0x92, 0x4f, + 0xbc, 0xb1, 0x41, 0xa8, 0xc9, 0x7f, 0x39, 0xf9, 0xc6, 0x46, 0x05, 0x77, 0x37, 0x36, 0x4e, 0x4a, + 0xa7, 0x33, 0xf4, 0xaf, 0x2d, 0x3c, 0xf8, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x53, 0xbb, 0xeb, + 0x2e, 0xf9, 0x42, 0x00, 0x00, } -func (*UnimplementedQueryServiceServer) Spread(ctx context.Context, req *SpreadRequest) (*SpreadResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Spread not implemented") + +// 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 { + // Get the batch clearing prices for a specific block height and trading pair. + BatchSwapOutputData(ctx context.Context, in *BatchSwapOutputDataRequest, opts ...grpc.CallOption) (*BatchSwapOutputDataResponse, error) + // Get the precise swap execution used for a specific batch swap. + SwapExecution(ctx context.Context, in *SwapExecutionRequest, opts ...grpc.CallOption) (*SwapExecutionResponse, error) + // Get the precise execution used to perform on-chain arbitrage. + ArbExecution(ctx context.Context, in *ArbExecutionRequest, opts ...grpc.CallOption) (*ArbExecutionResponse, error) + // Stream all swap executions over a range of heights, optionally subscribing to future executions. + SwapExecutions(ctx context.Context, in *SwapExecutionsRequest, opts ...grpc.CallOption) (QueryService_SwapExecutionsClient, error) + // Stream all arbitrage executions over a range of heights, optionally subscribing to future executions. + ArbExecutions(ctx context.Context, in *ArbExecutionsRequest, opts ...grpc.CallOption) (QueryService_ArbExecutionsClient, error) + // Query all liquidity positions on the DEX. + LiquidityPositions(ctx context.Context, in *LiquidityPositionsRequest, opts ...grpc.CallOption) (QueryService_LiquidityPositionsClient, error) + // Query liquidity positions by ID. + // + // To get multiple positions, use `LiquidityPositionsById`. + LiquidityPositionById(ctx context.Context, in *LiquidityPositionByIdRequest, opts ...grpc.CallOption) (*LiquidityPositionByIdResponse, error) + // Query multiple liquidity positions by ID. + LiquidityPositionsById(ctx context.Context, in *LiquidityPositionsByIdRequest, opts ...grpc.CallOption) (QueryService_LiquidityPositionsByIdClient, error) + // Query liquidity positions on a specific pair, sorted by effective price. + LiquidityPositionsByPrice(ctx context.Context, in *LiquidityPositionsByPriceRequest, opts ...grpc.CallOption) (QueryService_LiquidityPositionsByPriceClient, error) + // Get the current (direct) spread on a trading pair. + // + // This method doesn't do simulation, so actually executing might result in a + // better price (if the chain takes a different route to the target asset). + Spread(ctx context.Context, in *SpreadRequest, opts ...grpc.CallOption) (*SpreadResponse, error) + // Get historical candlestick data for a given trading pair. + // + // Note that this RPC is directional, to get data for both directions, make a second request. + CandlestickData(ctx context.Context, in *CandlestickDataRequest, opts ...grpc.CallOption) (*CandlestickDataResponse, error) + // Subscribe to candlestick data updates. + CandlestickDataStream(ctx context.Context, in *CandlestickDataStreamRequest, opts ...grpc.CallOption) (QueryService_CandlestickDataStreamClient, error) } -func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer) { - s.RegisterService(&_QueryService_serviceDesc, srv) +type queryServiceClient struct { + cc grpc1.ClientConn } -func _QueryService_BatchSwapOutputData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(BatchSwapOutputDataRequest) - if err := dec(in); err != nil { +func NewQueryServiceClient(cc grpc1.ClientConn) QueryServiceClient { + return &queryServiceClient{cc} +} + +func (c *queryServiceClient) BatchSwapOutputData(ctx context.Context, in *BatchSwapOutputDataRequest, opts ...grpc.CallOption) (*BatchSwapOutputDataResponse, error) { + out := new(BatchSwapOutputDataResponse) + err := c.cc.Invoke(ctx, "/penumbra.core.component.dex.v1.QueryService/BatchSwapOutputData", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServiceServer).BatchSwapOutputData(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/penumbra.core.component.dex.v1.QueryService/BatchSwapOutputData", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServiceServer).BatchSwapOutputData(ctx, req.(*BatchSwapOutputDataRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _QueryService_SwapExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SwapExecutionRequest) - if err := dec(in); err != nil { +func (c *queryServiceClient) SwapExecution(ctx context.Context, in *SwapExecutionRequest, opts ...grpc.CallOption) (*SwapExecutionResponse, error) { + out := new(SwapExecutionResponse) + err := c.cc.Invoke(ctx, "/penumbra.core.component.dex.v1.QueryService/SwapExecution", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServiceServer).SwapExecution(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/penumbra.core.component.dex.v1.QueryService/SwapExecution", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServiceServer).SwapExecution(ctx, req.(*SwapExecutionRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _QueryService_ArbExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ArbExecutionRequest) - if err := dec(in); err != nil { +func (c *queryServiceClient) ArbExecution(ctx context.Context, in *ArbExecutionRequest, opts ...grpc.CallOption) (*ArbExecutionResponse, error) { + out := new(ArbExecutionResponse) + err := c.cc.Invoke(ctx, "/penumbra.core.component.dex.v1.QueryService/ArbExecution", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServiceServer).ArbExecution(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/penumbra.core.component.dex.v1.QueryService/ArbExecution", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServiceServer).ArbExecution(ctx, req.(*ArbExecutionRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _QueryService_SwapExecutions_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(SwapExecutionsRequest) - if err := stream.RecvMsg(m); err != nil { - return err +func (c *queryServiceClient) SwapExecutions(ctx context.Context, in *SwapExecutionsRequest, opts ...grpc.CallOption) (QueryService_SwapExecutionsClient, error) { + stream, err := c.cc.NewStream(ctx, &_QueryService_serviceDesc.Streams[0], "/penumbra.core.component.dex.v1.QueryService/SwapExecutions", opts...) + if err != nil { + return nil, err } - return srv.(QueryServiceServer).SwapExecutions(m, &queryServiceSwapExecutionsServer{stream}) + x := &queryServiceSwapExecutionsClient{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_SwapExecutionsServer interface { - Send(*SwapExecutionsResponse) error - grpc.ServerStream +type QueryService_SwapExecutionsClient interface { + Recv() (*SwapExecutionsResponse, error) + grpc.ClientStream } -type queryServiceSwapExecutionsServer struct { - grpc.ServerStream +type queryServiceSwapExecutionsClient struct { + grpc.ClientStream } -func (x *queryServiceSwapExecutionsServer) Send(m *SwapExecutionsResponse) error { - return x.ServerStream.SendMsg(m) +func (x *queryServiceSwapExecutionsClient) Recv() (*SwapExecutionsResponse, error) { + m := new(SwapExecutionsResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil } -func _QueryService_ArbExecutions_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ArbExecutionsRequest) - if err := stream.RecvMsg(m); err != nil { - return err +func (c *queryServiceClient) ArbExecutions(ctx context.Context, in *ArbExecutionsRequest, opts ...grpc.CallOption) (QueryService_ArbExecutionsClient, error) { + stream, err := c.cc.NewStream(ctx, &_QueryService_serviceDesc.Streams[1], "/penumbra.core.component.dex.v1.QueryService/ArbExecutions", opts...) + if err != nil { + return nil, err } - return srv.(QueryServiceServer).ArbExecutions(m, &queryServiceArbExecutionsServer{stream}) + x := &queryServiceArbExecutionsClient{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_ArbExecutionsServer interface { - Send(*ArbExecutionsResponse) error - grpc.ServerStream -} - -type queryServiceArbExecutionsServer struct { - grpc.ServerStream +type QueryService_ArbExecutionsClient interface { + Recv() (*ArbExecutionsResponse, error) + grpc.ClientStream } -func (x *queryServiceArbExecutionsServer) Send(m *ArbExecutionsResponse) error { - return x.ServerStream.SendMsg(m) +type queryServiceArbExecutionsClient struct { + grpc.ClientStream } -func _QueryService_LiquidityPositions_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(LiquidityPositionsRequest) - if err := stream.RecvMsg(m); err != nil { - return err +func (x *queryServiceArbExecutionsClient) Recv() (*ArbExecutionsResponse, error) { + m := new(ArbExecutionsResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err } - return srv.(QueryServiceServer).LiquidityPositions(m, &queryServiceLiquidityPositionsServer{stream}) -} - -type QueryService_LiquidityPositionsServer interface { - Send(*LiquidityPositionsResponse) error - grpc.ServerStream -} - -type queryServiceLiquidityPositionsServer struct { - grpc.ServerStream -} - -func (x *queryServiceLiquidityPositionsServer) Send(m *LiquidityPositionsResponse) error { - return x.ServerStream.SendMsg(m) + return m, nil } -func _QueryService_LiquidityPositionById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(LiquidityPositionByIdRequest) - if err := dec(in); err != nil { +func (c *queryServiceClient) LiquidityPositions(ctx context.Context, in *LiquidityPositionsRequest, opts ...grpc.CallOption) (QueryService_LiquidityPositionsClient, error) { + stream, err := c.cc.NewStream(ctx, &_QueryService_serviceDesc.Streams[2], "/penumbra.core.component.dex.v1.QueryService/LiquidityPositions", opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServiceServer).LiquidityPositionById(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/penumbra.core.component.dex.v1.QueryService/LiquidityPositionById", + x := &queryServiceLiquidityPositionsClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServiceServer).LiquidityPositionById(ctx, req.(*LiquidityPositionByIdRequest)) + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err } - return interceptor(ctx, in, info, handler) + return x, nil } -func _QueryService_LiquidityPositionsById_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(LiquidityPositionsByIdRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(QueryServiceServer).LiquidityPositionsById(m, &queryServiceLiquidityPositionsByIdServer{stream}) +type QueryService_LiquidityPositionsClient interface { + Recv() (*LiquidityPositionsResponse, error) + grpc.ClientStream } -type QueryService_LiquidityPositionsByIdServer interface { - Send(*LiquidityPositionsByIdResponse) error - grpc.ServerStream +type queryServiceLiquidityPositionsClient struct { + grpc.ClientStream } -type queryServiceLiquidityPositionsByIdServer struct { - grpc.ServerStream +func (x *queryServiceLiquidityPositionsClient) Recv() (*LiquidityPositionsResponse, error) { + m := new(LiquidityPositionsResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil } -func (x *queryServiceLiquidityPositionsByIdServer) Send(m *LiquidityPositionsByIdResponse) error { - return x.ServerStream.SendMsg(m) +func (c *queryServiceClient) LiquidityPositionById(ctx context.Context, in *LiquidityPositionByIdRequest, opts ...grpc.CallOption) (*LiquidityPositionByIdResponse, error) { + out := new(LiquidityPositionByIdResponse) + err := c.cc.Invoke(ctx, "/penumbra.core.component.dex.v1.QueryService/LiquidityPositionById", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil } -func _QueryService_LiquidityPositionsByPrice_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(LiquidityPositionsByPriceRequest) - if err := stream.RecvMsg(m); err != nil { - return err +func (c *queryServiceClient) LiquidityPositionsById(ctx context.Context, in *LiquidityPositionsByIdRequest, opts ...grpc.CallOption) (QueryService_LiquidityPositionsByIdClient, error) { + stream, err := c.cc.NewStream(ctx, &_QueryService_serviceDesc.Streams[3], "/penumbra.core.component.dex.v1.QueryService/LiquidityPositionsById", opts...) + if err != nil { + return nil, err } - return srv.(QueryServiceServer).LiquidityPositionsByPrice(m, &queryServiceLiquidityPositionsByPriceServer{stream}) + x := &queryServiceLiquidityPositionsByIdClient{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_LiquidityPositionsByPriceServer interface { - Send(*LiquidityPositionsByPriceResponse) error - grpc.ServerStream +type QueryService_LiquidityPositionsByIdClient interface { + Recv() (*LiquidityPositionsByIdResponse, error) + grpc.ClientStream } -type queryServiceLiquidityPositionsByPriceServer struct { - grpc.ServerStream +type queryServiceLiquidityPositionsByIdClient struct { + grpc.ClientStream } -func (x *queryServiceLiquidityPositionsByPriceServer) Send(m *LiquidityPositionsByPriceResponse) error { - return x.ServerStream.SendMsg(m) +func (x *queryServiceLiquidityPositionsByIdClient) Recv() (*LiquidityPositionsByIdResponse, error) { + m := new(LiquidityPositionsByIdResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil } -func _QueryService_Spread_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SpreadRequest) - if err := dec(in); err != nil { +func (c *queryServiceClient) LiquidityPositionsByPrice(ctx context.Context, in *LiquidityPositionsByPriceRequest, opts ...grpc.CallOption) (QueryService_LiquidityPositionsByPriceClient, error) { + stream, err := c.cc.NewStream(ctx, &_QueryService_serviceDesc.Streams[4], "/penumbra.core.component.dex.v1.QueryService/LiquidityPositionsByPrice", opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServiceServer).Spread(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/penumbra.core.component.dex.v1.QueryService/Spread", + x := &queryServiceLiquidityPositionsByPriceClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServiceServer).Spread(ctx, req.(*SpreadRequest)) + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err } - return interceptor(ctx, in, info, handler) -} - -var _QueryService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "penumbra.core.component.dex.v1.QueryService", - HandlerType: (*QueryServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "BatchSwapOutputData", - Handler: _QueryService_BatchSwapOutputData_Handler, - }, - { - MethodName: "SwapExecution", - Handler: _QueryService_SwapExecution_Handler, - }, - { - MethodName: "ArbExecution", - Handler: _QueryService_ArbExecution_Handler, - }, - { - MethodName: "LiquidityPositionById", - Handler: _QueryService_LiquidityPositionById_Handler, - }, - { - MethodName: "Spread", - Handler: _QueryService_Spread_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "SwapExecutions", - Handler: _QueryService_SwapExecutions_Handler, - ServerStreams: true, - }, - { - StreamName: "ArbExecutions", - Handler: _QueryService_ArbExecutions_Handler, - ServerStreams: true, - }, - { - StreamName: "LiquidityPositions", - Handler: _QueryService_LiquidityPositions_Handler, - ServerStreams: true, - }, - { - StreamName: "LiquidityPositionsById", - Handler: _QueryService_LiquidityPositionsById_Handler, - ServerStreams: true, - }, - { - StreamName: "LiquidityPositionsByPrice", - Handler: _QueryService_LiquidityPositionsByPrice_Handler, - ServerStreams: true, - }, - }, - Metadata: "penumbra/core/component/dex/v1/dex.proto", + return x, nil } -// SimulationServiceClient is the client API for SimulationService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type SimulationServiceClient interface { - // Simulate routing and trade execution. - SimulateTrade(ctx context.Context, in *SimulateTradeRequest, opts ...grpc.CallOption) (*SimulateTradeResponse, error) +type QueryService_LiquidityPositionsByPriceClient interface { + Recv() (*LiquidityPositionsByPriceResponse, error) + grpc.ClientStream } -type simulationServiceClient struct { - cc grpc1.ClientConn +type queryServiceLiquidityPositionsByPriceClient struct { + grpc.ClientStream } -func NewSimulationServiceClient(cc grpc1.ClientConn) SimulationServiceClient { - return &simulationServiceClient{cc} +func (x *queryServiceLiquidityPositionsByPriceClient) Recv() (*LiquidityPositionsByPriceResponse, error) { + m := new(LiquidityPositionsByPriceResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil } -func (c *simulationServiceClient) SimulateTrade(ctx context.Context, in *SimulateTradeRequest, opts ...grpc.CallOption) (*SimulateTradeResponse, error) { - out := new(SimulateTradeResponse) - err := c.cc.Invoke(ctx, "/penumbra.core.component.dex.v1.SimulationService/SimulateTrade", in, out, opts...) +func (c *queryServiceClient) Spread(ctx context.Context, in *SpreadRequest, opts ...grpc.CallOption) (*SpreadResponse, error) { + out := new(SpreadResponse) + err := c.cc.Invoke(ctx, "/penumbra.core.component.dex.v1.QueryService/Spread", in, out, opts...) if err != nil { return nil, err } return out, nil } -// SimulationServiceServer is the server API for SimulationService service. -type SimulationServiceServer interface { - // Simulate routing and trade execution. - SimulateTrade(context.Context, *SimulateTradeRequest) (*SimulateTradeResponse, error) +func (c *queryServiceClient) CandlestickData(ctx context.Context, in *CandlestickDataRequest, opts ...grpc.CallOption) (*CandlestickDataResponse, error) { + out := new(CandlestickDataResponse) + err := c.cc.Invoke(ctx, "/penumbra.core.component.dex.v1.QueryService/CandlestickData", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil } -// UnimplementedSimulationServiceServer can be embedded to have forward compatible implementations. -type UnimplementedSimulationServiceServer struct { +func (c *queryServiceClient) CandlestickDataStream(ctx context.Context, in *CandlestickDataStreamRequest, opts ...grpc.CallOption) (QueryService_CandlestickDataStreamClient, error) { + stream, err := c.cc.NewStream(ctx, &_QueryService_serviceDesc.Streams[5], "/penumbra.core.component.dex.v1.QueryService/CandlestickDataStream", opts...) + if err != nil { + return nil, err + } + x := &queryServiceCandlestickDataStreamClient{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 } -func (*UnimplementedSimulationServiceServer) SimulateTrade(ctx context.Context, req *SimulateTradeRequest) (*SimulateTradeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SimulateTrade not implemented") +type QueryService_CandlestickDataStreamClient interface { + Recv() (*CandlestickDataStreamResponse, error) + grpc.ClientStream } -func RegisterSimulationServiceServer(s grpc1.Server, srv SimulationServiceServer) { - s.RegisterService(&_SimulationService_serviceDesc, srv) +type queryServiceCandlestickDataStreamClient struct { + grpc.ClientStream } -func _SimulationService_SimulateTrade_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SimulateTradeRequest) - if err := dec(in); err != nil { +func (x *queryServiceCandlestickDataStreamClient) Recv() (*CandlestickDataStreamResponse, error) { + m := new(CandlestickDataStreamResponse) + 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 { + // Get the batch clearing prices for a specific block height and trading pair. + BatchSwapOutputData(context.Context, *BatchSwapOutputDataRequest) (*BatchSwapOutputDataResponse, error) + // Get the precise swap execution used for a specific batch swap. + SwapExecution(context.Context, *SwapExecutionRequest) (*SwapExecutionResponse, error) + // Get the precise execution used to perform on-chain arbitrage. + ArbExecution(context.Context, *ArbExecutionRequest) (*ArbExecutionResponse, error) + // Stream all swap executions over a range of heights, optionally subscribing to future executions. + SwapExecutions(*SwapExecutionsRequest, QueryService_SwapExecutionsServer) error + // Stream all arbitrage executions over a range of heights, optionally subscribing to future executions. + ArbExecutions(*ArbExecutionsRequest, QueryService_ArbExecutionsServer) error + // Query all liquidity positions on the DEX. + LiquidityPositions(*LiquidityPositionsRequest, QueryService_LiquidityPositionsServer) error + // Query liquidity positions by ID. + // + // To get multiple positions, use `LiquidityPositionsById`. + LiquidityPositionById(context.Context, *LiquidityPositionByIdRequest) (*LiquidityPositionByIdResponse, error) + // Query multiple liquidity positions by ID. + LiquidityPositionsById(*LiquidityPositionsByIdRequest, QueryService_LiquidityPositionsByIdServer) error + // Query liquidity positions on a specific pair, sorted by effective price. + LiquidityPositionsByPrice(*LiquidityPositionsByPriceRequest, QueryService_LiquidityPositionsByPriceServer) error + // Get the current (direct) spread on a trading pair. + // + // This method doesn't do simulation, so actually executing might result in a + // better price (if the chain takes a different route to the target asset). + Spread(context.Context, *SpreadRequest) (*SpreadResponse, error) + // Get historical candlestick data for a given trading pair. + // + // Note that this RPC is directional, to get data for both directions, make a second request. + CandlestickData(context.Context, *CandlestickDataRequest) (*CandlestickDataResponse, error) + // Subscribe to candlestick data updates. + CandlestickDataStream(*CandlestickDataStreamRequest, QueryService_CandlestickDataStreamServer) error +} + +// UnimplementedQueryServiceServer can be embedded to have forward compatible implementations. +type UnimplementedQueryServiceServer struct { +} + +func (*UnimplementedQueryServiceServer) BatchSwapOutputData(ctx context.Context, req *BatchSwapOutputDataRequest) (*BatchSwapOutputDataResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method BatchSwapOutputData not implemented") +} +func (*UnimplementedQueryServiceServer) SwapExecution(ctx context.Context, req *SwapExecutionRequest) (*SwapExecutionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SwapExecution not implemented") +} +func (*UnimplementedQueryServiceServer) ArbExecution(ctx context.Context, req *ArbExecutionRequest) (*ArbExecutionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ArbExecution not implemented") +} +func (*UnimplementedQueryServiceServer) SwapExecutions(req *SwapExecutionsRequest, srv QueryService_SwapExecutionsServer) error { + return status.Errorf(codes.Unimplemented, "method SwapExecutions not implemented") +} +func (*UnimplementedQueryServiceServer) ArbExecutions(req *ArbExecutionsRequest, srv QueryService_ArbExecutionsServer) error { + return status.Errorf(codes.Unimplemented, "method ArbExecutions not implemented") +} +func (*UnimplementedQueryServiceServer) LiquidityPositions(req *LiquidityPositionsRequest, srv QueryService_LiquidityPositionsServer) error { + return status.Errorf(codes.Unimplemented, "method LiquidityPositions not implemented") +} +func (*UnimplementedQueryServiceServer) LiquidityPositionById(ctx context.Context, req *LiquidityPositionByIdRequest) (*LiquidityPositionByIdResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method LiquidityPositionById not implemented") +} +func (*UnimplementedQueryServiceServer) LiquidityPositionsById(req *LiquidityPositionsByIdRequest, srv QueryService_LiquidityPositionsByIdServer) error { + return status.Errorf(codes.Unimplemented, "method LiquidityPositionsById not implemented") +} +func (*UnimplementedQueryServiceServer) LiquidityPositionsByPrice(req *LiquidityPositionsByPriceRequest, srv QueryService_LiquidityPositionsByPriceServer) error { + return status.Errorf(codes.Unimplemented, "method LiquidityPositionsByPrice not implemented") +} +func (*UnimplementedQueryServiceServer) Spread(ctx context.Context, req *SpreadRequest) (*SpreadResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Spread not implemented") +} +func (*UnimplementedQueryServiceServer) CandlestickData(ctx context.Context, req *CandlestickDataRequest) (*CandlestickDataResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CandlestickData not implemented") +} +func (*UnimplementedQueryServiceServer) CandlestickDataStream(req *CandlestickDataStreamRequest, srv QueryService_CandlestickDataStreamServer) error { + return status.Errorf(codes.Unimplemented, "method CandlestickDataStream not implemented") +} + +func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer) { + s.RegisterService(&_QueryService_serviceDesc, srv) +} + +func _QueryService_BatchSwapOutputData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(BatchSwapOutputDataRequest) + if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(SimulationServiceServer).SimulateTrade(ctx, in) + return srv.(QueryServiceServer).BatchSwapOutputData(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/penumbra.core.component.dex.v1.SimulationService/SimulateTrade", + FullMethod: "/penumbra.core.component.dex.v1.QueryService/BatchSwapOutputData", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SimulationServiceServer).SimulateTrade(ctx, req.(*SimulateTradeRequest)) + return srv.(QueryServiceServer).BatchSwapOutputData(ctx, req.(*BatchSwapOutputDataRequest)) } return interceptor(ctx, in, info, handler) } -var _SimulationService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "penumbra.core.component.dex.v1.SimulationService", - HandlerType: (*SimulationServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "SimulateTrade", - Handler: _SimulationService_SimulateTrade_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "penumbra/core/component/dex/v1/dex.proto", +func _QueryService_SwapExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SwapExecutionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).SwapExecution(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/penumbra.core.component.dex.v1.QueryService/SwapExecution", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).SwapExecution(ctx, req.(*SwapExecutionRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *ZKSwapProof) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _QueryService_ArbExecution_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ArbExecutionRequest) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(QueryServiceServer).ArbExecution(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/penumbra.core.component.dex.v1.QueryService/ArbExecution", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).ArbExecution(ctx, req.(*ArbExecutionRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *ZKSwapProof) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _QueryService_SwapExecutions_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(SwapExecutionsRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(QueryServiceServer).SwapExecutions(m, &queryServiceSwapExecutionsServer{stream}) } -func (m *ZKSwapProof) 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 = encodeVarintDex(dAtA, i, uint64(len(m.Inner))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil +type QueryService_SwapExecutionsServer interface { + Send(*SwapExecutionsResponse) error + grpc.ServerStream } -func (m *ZKSwapClaimProof) 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 +type queryServiceSwapExecutionsServer struct { + grpc.ServerStream } -func (m *ZKSwapClaimProof) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (x *queryServiceSwapExecutionsServer) Send(m *SwapExecutionsResponse) error { + return x.ServerStream.SendMsg(m) } -func (m *ZKSwapClaimProof) 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 = encodeVarintDex(dAtA, i, uint64(len(m.Inner))) - i-- - dAtA[i] = 0xa +func _QueryService_ArbExecutions_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ArbExecutionsRequest) + if err := stream.RecvMsg(m); err != nil { + return err } - return len(dAtA) - i, nil + return srv.(QueryServiceServer).ArbExecutions(m, &queryServiceArbExecutionsServer{stream}) } -func (m *Swap) 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 +type QueryService_ArbExecutionsServer interface { + Send(*ArbExecutionsResponse) error + grpc.ServerStream } -func (m *Swap) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +type queryServiceArbExecutionsServer struct { + grpc.ServerStream } -func (m *Swap) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Body != nil { - { - size, err := m.Body.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintDex(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - if m.Proof != nil { - { - size, err := m.Proof.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 (x *queryServiceArbExecutionsServer) Send(m *ArbExecutionsResponse) error { + return x.ServerStream.SendMsg(m) } -func (m *SwapClaim) 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 _QueryService_LiquidityPositions_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(LiquidityPositionsRequest) + if err := stream.RecvMsg(m); err != nil { + return err } - return dAtA[:n], nil + return srv.(QueryServiceServer).LiquidityPositions(m, &queryServiceLiquidityPositionsServer{stream}) } -func (m *SwapClaim) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +type QueryService_LiquidityPositionsServer interface { + Send(*LiquidityPositionsResponse) error + grpc.ServerStream } -func (m *SwapClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.EpochDuration != 0 { - i = encodeVarintDex(dAtA, i, uint64(m.EpochDuration)) - i-- - dAtA[i] = 0x38 +type queryServiceLiquidityPositionsServer struct { + grpc.ServerStream +} + +func (x *queryServiceLiquidityPositionsServer) Send(m *LiquidityPositionsResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _QueryService_LiquidityPositionById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(LiquidityPositionByIdRequest) + if err := dec(in); err != nil { + return nil, err } - if m.Body != nil { - { - size, err := m.Body.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintDex(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 + if interceptor == nil { + return srv.(QueryServiceServer).LiquidityPositionById(ctx, in) } - if m.Proof != nil { - { - size, err := m.Proof.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintDex(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/penumbra.core.component.dex.v1.QueryService/LiquidityPositionById", } - return len(dAtA) - i, nil + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).LiquidityPositionById(ctx, req.(*LiquidityPositionByIdRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *SwapClaimBody) 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 _QueryService_LiquidityPositionsById_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(LiquidityPositionsByIdRequest) + if err := stream.RecvMsg(m); err != nil { + return err } - return dAtA[:n], nil + return srv.(QueryServiceServer).LiquidityPositionsById(m, &queryServiceLiquidityPositionsByIdServer{stream}) } -func (m *SwapClaimBody) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +type QueryService_LiquidityPositionsByIdServer interface { + Send(*LiquidityPositionsByIdResponse) error + grpc.ServerStream } -func (m *SwapClaimBody) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.OutputData != nil { - { - size, err := m.OutputData.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintDex(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 +type queryServiceLiquidityPositionsByIdServer struct { + grpc.ServerStream +} + +func (x *queryServiceLiquidityPositionsByIdServer) Send(m *LiquidityPositionsByIdResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _QueryService_LiquidityPositionsByPrice_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(LiquidityPositionsByPriceRequest) + if err := stream.RecvMsg(m); err != nil { + return err } - 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] = 0x22 + return srv.(QueryServiceServer).LiquidityPositionsByPrice(m, &queryServiceLiquidityPositionsByPriceServer{stream}) +} + +type QueryService_LiquidityPositionsByPriceServer interface { + Send(*LiquidityPositionsByPriceResponse) error + grpc.ServerStream +} + +type queryServiceLiquidityPositionsByPriceServer struct { + grpc.ServerStream +} + +func (x *queryServiceLiquidityPositionsByPriceServer) Send(m *LiquidityPositionsByPriceResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _QueryService_Spread_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SpreadRequest) + if err := dec(in); err != nil { + return nil, err } - if m.Output_1Commitment != nil { - { - 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] = 0x1a + if interceptor == nil { + return srv.(QueryServiceServer).Spread(ctx, in) } - if m.Fee != nil { - { - size, err := m.Fee.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintDex(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/penumbra.core.component.dex.v1.QueryService/Spread", } - if m.Nullifier != nil { - { - size, err := m.Nullifier.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintDex(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).Spread(ctx, req.(*SpreadRequest)) } - return len(dAtA) - i, nil + return interceptor(ctx, in, info, handler) } -func (m *SwapBody) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _QueryService_CandlestickData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CandlestickDataRequest) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(QueryServiceServer).CandlestickData(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/penumbra.core.component.dex.v1.QueryService/CandlestickData", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).CandlestickData(ctx, req.(*CandlestickDataRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *SwapBody) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _QueryService_CandlestickDataStream_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(CandlestickDataStreamRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(QueryServiceServer).CandlestickDataStream(m, &queryServiceCandlestickDataStreamServer{stream}) } -func (m *SwapBody) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Payload != nil { +type QueryService_CandlestickDataStreamServer interface { + Send(*CandlestickDataStreamResponse) error + grpc.ServerStream +} + +type queryServiceCandlestickDataStreamServer struct { + grpc.ServerStream +} + +func (x *queryServiceCandlestickDataStreamServer) Send(m *CandlestickDataStreamResponse) error { + return x.ServerStream.SendMsg(m) +} + +var _QueryService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "penumbra.core.component.dex.v1.QueryService", + HandlerType: (*QueryServiceServer)(nil), + Methods: []grpc.MethodDesc{ { - size, err := m.Payload.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintDex(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - if m.FeeCommitment != nil { + MethodName: "BatchSwapOutputData", + Handler: _QueryService_BatchSwapOutputData_Handler, + }, { - size, err := m.FeeCommitment.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 { + MethodName: "SwapExecution", + Handler: _QueryService_SwapExecution_Handler, + }, { - 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 - } - if m.Delta_1I != nil { + MethodName: "ArbExecution", + Handler: _QueryService_ArbExecution_Handler, + }, { - 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 + MethodName: "LiquidityPositionById", + Handler: _QueryService_LiquidityPositionById_Handler, + }, + { + MethodName: "Spread", + Handler: _QueryService_Spread_Handler, + }, + { + MethodName: "CandlestickData", + Handler: _QueryService_CandlestickData_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "SwapExecutions", + Handler: _QueryService_SwapExecutions_Handler, + ServerStreams: true, + }, + { + StreamName: "ArbExecutions", + Handler: _QueryService_ArbExecutions_Handler, + ServerStreams: true, + }, + { + StreamName: "LiquidityPositions", + Handler: _QueryService_LiquidityPositions_Handler, + ServerStreams: true, + }, + { + StreamName: "LiquidityPositionsById", + Handler: _QueryService_LiquidityPositionsById_Handler, + ServerStreams: true, + }, + { + StreamName: "LiquidityPositionsByPrice", + Handler: _QueryService_LiquidityPositionsByPrice_Handler, + ServerStreams: true, + }, + { + StreamName: "CandlestickDataStream", + Handler: _QueryService_CandlestickDataStream_Handler, + ServerStreams: true, + }, + }, + Metadata: "penumbra/core/component/dex/v1/dex.proto", +} + +// SimulationServiceClient is the client API for SimulationService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type SimulationServiceClient interface { + // Simulate routing and trade execution. + SimulateTrade(ctx context.Context, in *SimulateTradeRequest, opts ...grpc.CallOption) (*SimulateTradeResponse, error) +} + +type simulationServiceClient struct { + cc grpc1.ClientConn +} + +func NewSimulationServiceClient(cc grpc1.ClientConn) SimulationServiceClient { + return &simulationServiceClient{cc} +} + +func (c *simulationServiceClient) SimulateTrade(ctx context.Context, in *SimulateTradeRequest, opts ...grpc.CallOption) (*SimulateTradeResponse, error) { + out := new(SimulateTradeResponse) + err := c.cc.Invoke(ctx, "/penumbra.core.component.dex.v1.SimulationService/SimulateTrade", in, out, opts...) + if err != nil { + return nil, err } - if m.TradingPair != nil { + return out, nil +} + +// SimulationServiceServer is the server API for SimulationService service. +type SimulationServiceServer interface { + // Simulate routing and trade execution. + SimulateTrade(context.Context, *SimulateTradeRequest) (*SimulateTradeResponse, error) +} + +// UnimplementedSimulationServiceServer can be embedded to have forward compatible implementations. +type UnimplementedSimulationServiceServer struct { +} + +func (*UnimplementedSimulationServiceServer) SimulateTrade(ctx context.Context, req *SimulateTradeRequest) (*SimulateTradeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SimulateTrade not implemented") +} + +func RegisterSimulationServiceServer(s grpc1.Server, srv SimulationServiceServer) { + s.RegisterService(&_SimulationService_serviceDesc, srv) +} + +func _SimulationService_SimulateTrade_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SimulateTradeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SimulationServiceServer).SimulateTrade(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/penumbra.core.component.dex.v1.SimulationService/SimulateTrade", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SimulationServiceServer).SimulateTrade(ctx, req.(*SimulateTradeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _SimulationService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "penumbra.core.component.dex.v1.SimulationService", + HandlerType: (*SimulationServiceServer)(nil), + Methods: []grpc.MethodDesc{ { - size, err := m.TradingPair.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintDex(dAtA, i, uint64(size)) - } + MethodName: "SimulateTrade", + Handler: _SimulationService_SimulateTrade_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "penumbra/core/component/dex/v1/dex.proto", +} + +func (m *ZKSwapProof) 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 *ZKSwapProof) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ZKSwapProof) 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 = encodeVarintDex(dAtA, i, uint64(len(m.Inner))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *SwapPayload) Marshal() (dAtA []byte, err error) { +func (m *ZKSwapClaimProof) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5713,39 +5987,27 @@ func (m *SwapPayload) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SwapPayload) MarshalTo(dAtA []byte) (int, error) { +func (m *ZKSwapClaimProof) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SwapPayload) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ZKSwapClaimProof) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.EncryptedSwap) > 0 { - i -= len(m.EncryptedSwap) - copy(dAtA[i:], m.EncryptedSwap) - i = encodeVarintDex(dAtA, i, uint64(len(m.EncryptedSwap))) - i-- - dAtA[i] = 0x12 - } - if m.Commitment != nil { - { - size, err := m.Commitment.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintDex(dAtA, i, uint64(size)) - } + if len(m.Inner) > 0 { + i -= len(m.Inner) + copy(dAtA[i:], m.Inner) + i = encodeVarintDex(dAtA, i, uint64(len(m.Inner))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *SwapPlaintext) Marshal() (dAtA []byte, err error) { +func (m *Swap) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5755,26 +6017,19 @@ func (m *SwapPlaintext) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SwapPlaintext) MarshalTo(dAtA []byte) (int, error) { +func (m *Swap) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SwapPlaintext) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Swap) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Rseed) > 0 { - i -= len(m.Rseed) - copy(dAtA[i:], m.Rseed) - i = encodeVarintDex(dAtA, i, uint64(len(m.Rseed))) - i-- - dAtA[i] = 0x32 - } - if m.ClaimAddress != nil { + if m.Body != nil { { - size, err := m.ClaimAddress.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Body.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -5782,11 +6037,11 @@ func (m *SwapPlaintext) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintDex(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x2a + dAtA[i] = 0x22 } - if m.ClaimFee != nil { + if m.Proof != nil { { - size, err := m.ClaimFee.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Proof.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -5794,23 +6049,39 @@ func (m *SwapPlaintext) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintDex(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x22 + dAtA[i] = 0xa } - 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)) - } + return len(dAtA) - i, nil +} + +func (m *SwapClaim) 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 *SwapClaim) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SwapClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.EpochDuration != 0 { + i = encodeVarintDex(dAtA, i, uint64(m.EpochDuration)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x38 } - if m.Delta_1I != nil { + if m.Body != nil { { - size, err := m.Delta_1I.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Body.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -5820,9 +6091,9 @@ func (m *SwapPlaintext) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if m.TradingPair != nil { + if m.Proof != nil { { - size, err := m.TradingPair.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Proof.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -5835,7 +6106,7 @@ func (m *SwapPlaintext) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *SwapPlan) Marshal() (dAtA []byte, err error) { +func (m *SwapClaimBody) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5845,40 +6116,67 @@ func (m *SwapPlan) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SwapPlan) MarshalTo(dAtA []byte) (int, error) { +func (m *SwapClaimBody) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SwapPlan) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SwapClaimBody) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.ProofBlindingS) > 0 { - i -= len(m.ProofBlindingS) - copy(dAtA[i:], m.ProofBlindingS) - i = encodeVarintDex(dAtA, i, uint64(len(m.ProofBlindingS))) + if m.OutputData != nil { + { + size, err := m.OutputData.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + 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] = 0x22 } - if len(m.ProofBlindingR) > 0 { - i -= len(m.ProofBlindingR) - copy(dAtA[i:], m.ProofBlindingR) - i = encodeVarintDex(dAtA, i, uint64(len(m.ProofBlindingR))) + if m.Output_1Commitment != nil { + { + 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] = 0x1a } - if len(m.FeeBlinding) > 0 { - i -= len(m.FeeBlinding) - copy(dAtA[i:], m.FeeBlinding) - i = encodeVarintDex(dAtA, i, uint64(len(m.FeeBlinding))) + if m.Fee != nil { + { + size, err := m.Fee.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0x12 } - if m.SwapPlaintext != nil { + if m.Nullifier != nil { { - size, err := m.SwapPlaintext.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Nullifier.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -5891,7 +6189,7 @@ func (m *SwapPlan) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *SwapClaimPlan) Marshal() (dAtA []byte, err error) { +func (m *SwapBody) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5901,38 +6199,43 @@ func (m *SwapClaimPlan) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SwapClaimPlan) MarshalTo(dAtA []byte) (int, error) { +func (m *SwapBody) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SwapClaimPlan) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SwapBody) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.ProofBlindingS) > 0 { - i -= len(m.ProofBlindingS) - copy(dAtA[i:], m.ProofBlindingS) - i = encodeVarintDex(dAtA, i, uint64(len(m.ProofBlindingS))) - i-- - dAtA[i] = 0x32 - } - if len(m.ProofBlindingR) > 0 { - i -= len(m.ProofBlindingR) - copy(dAtA[i:], m.ProofBlindingR) - i = encodeVarintDex(dAtA, i, uint64(len(m.ProofBlindingR))) + if m.Payload != nil { + { + size, err := m.Payload.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0x2a } - if m.EpochDuration != 0 { - i = encodeVarintDex(dAtA, i, uint64(m.EpochDuration)) + if m.FeeCommitment != nil { + { + size, err := m.FeeCommitment.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x20 + dAtA[i] = 0x22 } - if m.OutputData != nil { + if m.Delta_2I != nil { { - size, err := m.OutputData.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Delta_2I.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -5942,14 +6245,21 @@ func (m *SwapClaimPlan) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x1a } - if m.Position != 0 { - i = encodeVarintDex(dAtA, i, uint64(m.Position)) + 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] = 0x10 + dAtA[i] = 0x12 } - if m.SwapPlaintext != nil { + if m.TradingPair != nil { { - size, err := m.SwapPlaintext.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.TradingPair.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -5962,7 +6272,7 @@ func (m *SwapClaimPlan) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *SwapView) Marshal() (dAtA []byte, err error) { +func (m *SwapPayload) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5972,38 +6282,26 @@ func (m *SwapView) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SwapView) MarshalTo(dAtA []byte) (int, error) { +func (m *SwapPayload) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SwapView) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SwapPayload) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.SwapView != nil { - { - size := m.SwapView.Size() - i -= size - if _, err := m.SwapView.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - } + if len(m.EncryptedSwap) > 0 { + i -= len(m.EncryptedSwap) + copy(dAtA[i:], m.EncryptedSwap) + i = encodeVarintDex(dAtA, i, uint64(len(m.EncryptedSwap))) + i-- + dAtA[i] = 0x12 } - return len(dAtA) - i, nil -} - -func (m *SwapView_Visible_) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SwapView_Visible_) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.Visible != nil { + if m.Commitment != nil { { - size, err := m.Visible.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Commitment.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -6015,28 +6313,8 @@ func (m *SwapView_Visible_) MarshalToSizedBuffer(dAtA []byte) (int, error) { } return len(dAtA) - i, nil } -func (m *SwapView_Opaque_) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} -func (m *SwapView_Opaque_) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - if m.Opaque != nil { - { - size, err := m.Opaque.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintDex(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - return len(dAtA) - i, nil -} -func (m *SwapView_Visible) Marshal() (dAtA []byte, err error) { +func (m *SwapPlaintext) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6046,61 +6324,26 @@ func (m *SwapView_Visible) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SwapView_Visible) MarshalTo(dAtA []byte) (int, error) { +func (m *SwapPlaintext) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SwapView_Visible) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SwapPlaintext) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Asset_2Metadata != nil { - { - size, err := m.Asset_2Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintDex(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xca - } - if m.Asset_1Metadata != nil { - { - size, err := m.Asset_1Metadata.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintDex(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2 - i-- - dAtA[i] = 0xc2 - } - if m.Output_2 != nil { - { - size, err := m.Output_2.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintDex(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 + if len(m.Rseed) > 0 { + i -= len(m.Rseed) + copy(dAtA[i:], m.Rseed) + i = encodeVarintDex(dAtA, i, uint64(len(m.Rseed))) i-- - dAtA[i] = 0xfa + dAtA[i] = 0x32 } - if m.Output_1 != nil { + if m.ClaimAddress != nil { { - size, err := m.Output_1.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.ClaimAddress.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -6108,13 +6351,11 @@ func (m *SwapView_Visible) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintDex(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xf2 + dAtA[i] = 0x2a } - if m.BatchSwapOutputData != nil { + if m.ClaimFee != nil { { - size, err := m.BatchSwapOutputData.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.ClaimFee.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -6122,13 +6363,11 @@ func (m *SwapView_Visible) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintDex(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xa2 + dAtA[i] = 0x22 } - if m.ClaimTx != nil { + if m.Delta_2I != nil { { - size, err := m.ClaimTx.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Delta_2I.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -6136,11 +6375,11 @@ func (m *SwapView_Visible) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintDex(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x22 + dAtA[i] = 0x1a } - if m.SwapPlaintext != nil { + if m.Delta_1I != nil { { - size, err := m.SwapPlaintext.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Delta_1I.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -6148,11 +6387,11 @@ func (m *SwapView_Visible) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintDex(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x1a + dAtA[i] = 0x12 } - if m.Swap != nil { + if m.TradingPair != nil { { - size, err := m.Swap.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.TradingPair.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -6165,7 +6404,7 @@ func (m *SwapView_Visible) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *SwapView_Opaque) Marshal() (dAtA []byte, err error) { +func (m *SwapPlan) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6175,19 +6414,40 @@ func (m *SwapView_Opaque) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SwapView_Opaque) MarshalTo(dAtA []byte) (int, error) { +func (m *SwapPlan) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SwapView_Opaque) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SwapPlan) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Swap != nil { + if len(m.ProofBlindingS) > 0 { + i -= len(m.ProofBlindingS) + copy(dAtA[i:], m.ProofBlindingS) + i = encodeVarintDex(dAtA, i, uint64(len(m.ProofBlindingS))) + i-- + dAtA[i] = 0x22 + } + if len(m.ProofBlindingR) > 0 { + i -= len(m.ProofBlindingR) + copy(dAtA[i:], m.ProofBlindingR) + i = encodeVarintDex(dAtA, i, uint64(len(m.ProofBlindingR))) + i-- + dAtA[i] = 0x1a + } + if len(m.FeeBlinding) > 0 { + i -= len(m.FeeBlinding) + copy(dAtA[i:], m.FeeBlinding) + i = encodeVarintDex(dAtA, i, uint64(len(m.FeeBlinding))) + i-- + dAtA[i] = 0x12 + } + if m.SwapPlaintext != nil { { - size, err := m.Swap.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.SwapPlaintext.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -6200,7 +6460,7 @@ func (m *SwapView_Opaque) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *SwapClaimView) Marshal() (dAtA []byte, err error) { +func (m *SwapClaimPlan) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6210,34 +6470,105 @@ func (m *SwapClaimView) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SwapClaimView) MarshalTo(dAtA []byte) (int, error) { +func (m *SwapClaimPlan) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SwapClaimView) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SwapClaimPlan) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.SwapClaimView != nil { + if len(m.ProofBlindingS) > 0 { + i -= len(m.ProofBlindingS) + copy(dAtA[i:], m.ProofBlindingS) + i = encodeVarintDex(dAtA, i, uint64(len(m.ProofBlindingS))) + i-- + dAtA[i] = 0x32 + } + if len(m.ProofBlindingR) > 0 { + i -= len(m.ProofBlindingR) + copy(dAtA[i:], m.ProofBlindingR) + i = encodeVarintDex(dAtA, i, uint64(len(m.ProofBlindingR))) + i-- + dAtA[i] = 0x2a + } + if m.EpochDuration != 0 { + i = encodeVarintDex(dAtA, i, uint64(m.EpochDuration)) + i-- + dAtA[i] = 0x20 + } + if m.OutputData != nil { { - size := m.SwapClaimView.Size() + size, err := m.OutputData.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } i -= size - if _, err := m.SwapClaimView.MarshalTo(dAtA[i:]); err != nil { + i = encodeVarintDex(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.Position != 0 { + i = encodeVarintDex(dAtA, i, uint64(m.Position)) + i-- + dAtA[i] = 0x10 + } + if m.SwapPlaintext != nil { + { + size, err := m.SwapPlaintext.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 *SwapClaimView_Visible_) MarshalTo(dAtA []byte) (int, error) { +func (m *SwapView) 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 *SwapView) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SwapClaimView_Visible_) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SwapView) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.SwapView != nil { + { + size := m.SwapView.Size() + i -= size + if _, err := m.SwapView.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + } + } + return len(dAtA) - i, nil +} + +func (m *SwapView_Visible_) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SwapView_Visible_) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) if m.Visible != nil { { @@ -6253,12 +6584,12 @@ func (m *SwapClaimView_Visible_) MarshalToSizedBuffer(dAtA []byte) (int, error) } return len(dAtA) - i, nil } -func (m *SwapClaimView_Opaque_) MarshalTo(dAtA []byte) (int, error) { +func (m *SwapView_Opaque_) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SwapClaimView_Opaque_) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SwapView_Opaque_) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) if m.Opaque != nil { { @@ -6274,7 +6605,7 @@ func (m *SwapClaimView_Opaque_) MarshalToSizedBuffer(dAtA []byte) (int, error) { } return len(dAtA) - i, nil } -func (m *SwapClaimView_Visible) Marshal() (dAtA []byte, err error) { +func (m *SwapView_Visible) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6284,19 +6615,19 @@ func (m *SwapClaimView_Visible) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SwapClaimView_Visible) MarshalTo(dAtA []byte) (int, error) { +func (m *SwapView_Visible) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SwapClaimView_Visible) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SwapView_Visible) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.SwapTx != nil { + if m.Asset_2Metadata != nil { { - size, err := m.SwapTx.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Asset_2Metadata.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -6304,7 +6635,23 @@ func (m *SwapClaimView_Visible) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintDex(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x22 + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xca + } + if m.Asset_1Metadata != nil { + { + size, err := m.Asset_1Metadata.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xc2 } if m.Output_2 != nil { { @@ -6316,7 +6663,9 @@ func (m *SwapClaimView_Visible) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintDex(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x1a + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xfa } if m.Output_1 != nil { { @@ -6328,11 +6677,13 @@ func (m *SwapClaimView_Visible) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintDex(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xf2 } - if m.SwapClaim != nil { + if m.BatchSwapOutputData != nil { { - size, err := m.SwapClaim.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.BatchSwapOutputData.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -6340,34 +6691,13 @@ func (m *SwapClaimView_Visible) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintDex(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *SwapClaimView_Opaque) 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[i] = 0x1 + i-- + dAtA[i] = 0xa2 } - return dAtA[:n], nil -} - -func (m *SwapClaimView_Opaque) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *SwapClaimView_Opaque) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.SwapClaim != nil { + if m.ClaimTx != nil { { - size, err := m.SwapClaim.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.ClaimTx.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -6375,34 +6705,11 @@ func (m *SwapClaimView_Opaque) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintDex(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *TradingPair) 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[i] = 0x22 } - return dAtA[:n], nil -} - -func (m *TradingPair) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *TradingPair) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Asset_2 != nil { + if m.SwapPlaintext != nil { { - size, err := m.Asset_2.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.SwapPlaintext.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -6410,11 +6717,11 @@ func (m *TradingPair) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintDex(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 + dAtA[i] = 0x1a } - if m.Asset_1 != nil { + if m.Swap != nil { { - size, err := m.Asset_1.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Swap.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -6427,7 +6734,7 @@ func (m *TradingPair) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *DirectedTradingPair) Marshal() (dAtA []byte, err error) { +func (m *SwapView_Opaque) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6437,19 +6744,19 @@ func (m *DirectedTradingPair) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *DirectedTradingPair) MarshalTo(dAtA []byte) (int, error) { +func (m *SwapView_Opaque) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *DirectedTradingPair) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SwapView_Opaque) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.End != nil { + if m.Asset_2Metadata != nil { { - size, err := m.End.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Asset_2Metadata.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -6457,11 +6764,13 @@ func (m *DirectedTradingPair) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintDex(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xca } - if m.Start != nil { + if m.Asset_1Metadata != nil { { - size, err := m.Start.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Asset_1Metadata.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -6469,39 +6778,13 @@ func (m *DirectedTradingPair) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintDex(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *BatchSwapOutputData) 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[i] = 0x2 + i-- + dAtA[i] = 0xc2 } - return dAtA[:n], nil -} - -func (m *BatchSwapOutputData) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *BatchSwapOutputData) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.EpochStartingHeight != 0 { - i = encodeVarintDex(dAtA, i, uint64(m.EpochStartingHeight)) - i-- - dAtA[i] = 0x48 - } - if m.TradingPair != nil { + if m.Output_2Value != nil { { - size, err := m.TradingPair.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Output_2Value.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -6509,16 +6792,13 @@ func (m *BatchSwapOutputData) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintDex(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x42 - } - if m.Height != 0 { - i = encodeVarintDex(dAtA, i, uint64(m.Height)) + dAtA[i] = 0x1 i-- - dAtA[i] = 0x38 + dAtA[i] = 0xfa } - if m.Unfilled_2 != nil { + if m.Output_1Value != nil { { - size, err := m.Unfilled_2.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Output_1Value.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -6526,11 +6806,13 @@ func (m *BatchSwapOutputData) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintDex(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x32 + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xf2 } - if m.Unfilled_1 != nil { + if m.BatchSwapOutputData != nil { { - size, err := m.Unfilled_1.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.BatchSwapOutputData.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -6538,11 +6820,13 @@ func (m *BatchSwapOutputData) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintDex(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x2a + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa2 } - if m.Lambda_2 != nil { + if m.Swap != nil { { - size, err := m.Lambda_2.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Swap.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -6550,23 +6834,53 @@ func (m *BatchSwapOutputData) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintDex(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x22 + dAtA[i] = 0xa } - if m.Lambda_1 != nil { + return len(dAtA) - i, nil +} + +func (m *SwapClaimView) 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 *SwapClaimView) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SwapClaimView) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.SwapClaimView != nil { { - size, err := m.Lambda_1.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { + size := m.SwapClaimView.Size() + i -= size + if _, err := m.SwapClaimView.MarshalTo(dAtA[i:]); err != nil { return 0, err } - i -= size - i = encodeVarintDex(dAtA, i, uint64(size)) } - i-- - dAtA[i] = 0x1a } - if m.Delta_2 != nil { + return len(dAtA) - i, nil +} + +func (m *SwapClaimView_Visible_) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SwapClaimView_Visible_) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.Visible != nil { { - size, err := m.Delta_2.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Visible.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -6574,11 +6888,20 @@ func (m *BatchSwapOutputData) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintDex(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 + dAtA[i] = 0xa } - if m.Delta_1 != nil { + return len(dAtA) - i, nil +} +func (m *SwapClaimView_Opaque_) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SwapClaimView_Opaque_) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.Opaque != nil { { - size, err := m.Delta_1.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Opaque.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -6586,12 +6909,11 @@ func (m *BatchSwapOutputData) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintDex(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0xa + dAtA[i] = 0x12 } return len(dAtA) - i, nil } - -func (m *TradingFunction) Marshal() (dAtA []byte, err error) { +func (m *SwapClaimView_Visible) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6601,19 +6923,43 @@ func (m *TradingFunction) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *TradingFunction) MarshalTo(dAtA []byte) (int, error) { +func (m *SwapClaimView_Visible) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *TradingFunction) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SwapClaimView_Visible) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Pair != nil { + if m.SwapTx != nil { { - size, err := m.Pair.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.SwapTx.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if m.Output_2 != nil { + { + size, err := m.Output_2.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.Output_1 != nil { + { + size, err := m.Output_1.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -6623,9 +6969,9 @@ func (m *TradingFunction) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if m.Component != nil { + if m.SwapClaim != nil { { - size, err := m.Component.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.SwapClaim.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -6638,7 +6984,7 @@ func (m *TradingFunction) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *BareTradingFunction) Marshal() (dAtA []byte, err error) { +func (m *SwapClaimView_Opaque) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6648,31 +6994,19 @@ func (m *BareTradingFunction) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *BareTradingFunction) MarshalTo(dAtA []byte) (int, error) { +func (m *SwapClaimView_Opaque) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *BareTradingFunction) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SwapClaimView_Opaque) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Q != nil { - { - size, err := m.Q.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintDex(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.P != nil { + if m.SwapClaim != nil { { - size, err := m.P.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.SwapClaim.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -6680,17 +7014,12 @@ func (m *BareTradingFunction) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintDex(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 - } - if m.Fee != 0 { - i = encodeVarintDex(dAtA, i, uint64(m.Fee)) - i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *Reserves) Marshal() (dAtA []byte, err error) { +func (m *TradingPair) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6700,19 +7029,19 @@ func (m *Reserves) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Reserves) MarshalTo(dAtA []byte) (int, error) { +func (m *TradingPair) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Reserves) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *TradingPair) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.R2 != nil { + if m.Asset_2 != nil { { - size, err := m.R2.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Asset_2.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -6722,9 +7051,9 @@ func (m *Reserves) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if m.R1 != nil { + if m.Asset_1 != nil { { - size, err := m.R1.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Asset_1.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -6737,7 +7066,7 @@ func (m *Reserves) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *Position) Marshal() (dAtA []byte, err error) { +func (m *DirectedTradingPair) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6747,41 +7076,19 @@ func (m *Position) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Position) MarshalTo(dAtA []byte) (int, error) { +func (m *DirectedTradingPair) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Position) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *DirectedTradingPair) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.CloseOnFill { - i-- - if m.CloseOnFill { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x28 - } - if m.Reserves != nil { - { - size, err := m.Reserves.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintDex(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } - if m.State != nil { + if m.End != nil { { - size, err := m.State.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.End.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -6789,18 +7096,11 @@ func (m *Position) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintDex(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x1a - } - if len(m.Nonce) > 0 { - i -= len(m.Nonce) - copy(dAtA[i:], m.Nonce) - i = encodeVarintDex(dAtA, i, uint64(len(m.Nonce))) - i-- dAtA[i] = 0x12 } - if m.Phi != nil { + if m.Start != nil { { - size, err := m.Phi.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Start.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -6813,7 +7113,7 @@ func (m *Position) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *PositionId) Marshal() (dAtA []byte, err error) { +func (m *BatchSwapOutputData) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6823,89 +7123,70 @@ func (m *PositionId) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PositionId) MarshalTo(dAtA []byte) (int, error) { +func (m *BatchSwapOutputData) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *PositionId) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *BatchSwapOutputData) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.AltBech32M) > 0 { - i -= len(m.AltBech32M) - copy(dAtA[i:], m.AltBech32M) - i = encodeVarintDex(dAtA, i, uint64(len(m.AltBech32M))) + if m.SctPositionPrefix != 0 { + i = encodeVarintDex(dAtA, i, uint64(m.SctPositionPrefix)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x50 } - if len(m.Inner) > 0 { - i -= len(m.Inner) - copy(dAtA[i:], m.Inner) - i = encodeVarintDex(dAtA, i, uint64(len(m.Inner))) + if m.EpochStartingHeight != 0 { + i = encodeVarintDex(dAtA, i, uint64(m.EpochStartingHeight)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x48 } - return len(dAtA) - i, nil -} - -func (m *PositionState) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + 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] = 0x42 } - return dAtA[:n], nil -} - -func (m *PositionState) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *PositionState) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Sequence != 0 { - i = encodeVarintDex(dAtA, i, uint64(m.Sequence)) + if m.Height != 0 { + i = encodeVarintDex(dAtA, i, uint64(m.Height)) i-- - dAtA[i] = 0x10 + dAtA[i] = 0x38 } - if m.State != 0 { - i = encodeVarintDex(dAtA, i, uint64(m.State)) + if m.Unfilled_2 != nil { + { + size, err := m.Unfilled_2.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x8 + dAtA[i] = 0x32 } - return len(dAtA) - i, nil -} - -func (m *LpNft) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + if m.Unfilled_1 != nil { + { + size, err := m.Unfilled_1.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a } - return dAtA[:n], nil -} - -func (m *LpNft) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *LpNft) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.State != nil { + if m.Lambda_2 != nil { { - size, err := m.State.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Lambda_2.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -6913,11 +7194,11 @@ func (m *LpNft) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintDex(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 + dAtA[i] = 0x22 } - if m.PositionId != nil { + if m.Lambda_1 != nil { { - size, err := m.PositionId.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Lambda_1.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -6925,34 +7206,23 @@ func (m *LpNft) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintDex(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0xa + dAtA[i] = 0x1a } - return len(dAtA) - i, nil -} - -func (m *PositionOpen) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + if m.Delta_2 != nil { + { + size, err := m.Delta_2.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 } - return dAtA[:n], nil -} - -func (m *PositionOpen) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *PositionOpen) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Position != nil { + if m.Delta_1 != nil { { - size, err := m.Position.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Delta_1.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -6965,7 +7235,7 @@ func (m *PositionOpen) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *PositionClose) Marshal() (dAtA []byte, err error) { +func (m *TradingFunction) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6975,19 +7245,31 @@ func (m *PositionClose) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PositionClose) MarshalTo(dAtA []byte) (int, error) { +func (m *TradingFunction) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *PositionClose) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *TradingFunction) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.PositionId != nil { + if m.Pair != nil { { - size, err := m.PositionId.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Pair.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.Component != nil { + { + size, err := m.Component.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -7000,7 +7282,7 @@ func (m *PositionClose) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *PositionWithdraw) Marshal() (dAtA []byte, err error) { +func (m *BareTradingFunction) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7010,24 +7292,19 @@ func (m *PositionWithdraw) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PositionWithdraw) MarshalTo(dAtA []byte) (int, error) { +func (m *BareTradingFunction) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *PositionWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *BareTradingFunction) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Sequence != 0 { - i = encodeVarintDex(dAtA, i, uint64(m.Sequence)) - i-- - dAtA[i] = 0x18 - } - if m.ReservesCommitment != nil { + if m.Q != nil { { - size, err := m.ReservesCommitment.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Q.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -7035,11 +7312,11 @@ func (m *PositionWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintDex(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 + dAtA[i] = 0x1a } - if m.PositionId != nil { + if m.P != nil { { - size, err := m.PositionId.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.P.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -7047,12 +7324,17 @@ func (m *PositionWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintDex(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0xa + dAtA[i] = 0x12 + } + if m.Fee != 0 { + i = encodeVarintDex(dAtA, i, uint64(m.Fee)) + i-- + dAtA[i] = 0x8 } return len(dAtA) - i, nil } -func (m *PositionRewardClaim) Marshal() (dAtA []byte, err error) { +func (m *Reserves) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7062,19 +7344,19 @@ func (m *PositionRewardClaim) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PositionRewardClaim) MarshalTo(dAtA []byte) (int, error) { +func (m *Reserves) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *PositionRewardClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Reserves) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.RewardsCommitment != nil { + if m.R2 != nil { { - size, err := m.RewardsCommitment.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.R2.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -7084,9 +7366,9 @@ func (m *PositionRewardClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if m.PositionId != nil { + if m.R1 != nil { { - size, err := m.PositionId.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.R1.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -7099,7 +7381,7 @@ func (m *PositionRewardClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *SwapExecution) Marshal() (dAtA []byte, err error) { +func (m *Position) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7109,19 +7391,29 @@ func (m *SwapExecution) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SwapExecution) MarshalTo(dAtA []byte) (int, error) { +func (m *Position) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SwapExecution) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Position) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Output != nil { + if m.CloseOnFill { + i-- + if m.CloseOnFill { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if m.Reserves != nil { { - size, err := m.Output.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Reserves.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -7129,11 +7421,11 @@ func (m *SwapExecution) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintDex(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x1a + dAtA[i] = 0x22 } - if m.Input != nil { + if m.State != nil { { - size, err := m.Input.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.State.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -7141,26 +7433,31 @@ func (m *SwapExecution) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintDex(dAtA, i, uint64(size)) } i-- + dAtA[i] = 0x1a + } + if len(m.Nonce) > 0 { + i -= len(m.Nonce) + copy(dAtA[i:], m.Nonce) + i = encodeVarintDex(dAtA, i, uint64(len(m.Nonce))) + i-- dAtA[i] = 0x12 } - if len(m.Traces) > 0 { - for iNdEx := len(m.Traces) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Traces[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintDex(dAtA, i, uint64(size)) + if m.Phi != nil { + { + size, err := m.Phi.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0xa + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *SwapExecution_Trace) Marshal() (dAtA []byte, err error) { +func (m *PositionId) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7170,34 +7467,34 @@ func (m *SwapExecution_Trace) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SwapExecution_Trace) MarshalTo(dAtA []byte) (int, error) { +func (m *PositionId) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SwapExecution_Trace) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *PositionId) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Value) > 0 { - for iNdEx := len(m.Value) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Value[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintDex(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } + if len(m.AltBech32M) > 0 { + i -= len(m.AltBech32M) + copy(dAtA[i:], m.AltBech32M) + i = encodeVarintDex(dAtA, i, uint64(len(m.AltBech32M))) + i-- + dAtA[i] = 0x12 + } + if len(m.Inner) > 0 { + i -= len(m.Inner) + copy(dAtA[i:], m.Inner) + i = encodeVarintDex(dAtA, i, uint64(len(m.Inner))) + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *PositionWithdrawPlan) Marshal() (dAtA []byte, err error) { +func (m *PositionState) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7207,50 +7504,52 @@ func (m *PositionWithdrawPlan) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PositionWithdrawPlan) MarshalTo(dAtA []byte) (int, error) { +func (m *PositionState) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *PositionWithdrawPlan) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *PositionState) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Rewards) > 0 { - for iNdEx := len(m.Rewards) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Rewards[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintDex(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } if m.Sequence != 0 { i = encodeVarintDex(dAtA, i, uint64(m.Sequence)) i-- - dAtA[i] = 0x20 + dAtA[i] = 0x10 } - if m.Pair != nil { - { - size, err := m.Pair.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintDex(dAtA, i, uint64(size)) - } + if m.State != 0 { + i = encodeVarintDex(dAtA, i, uint64(m.State)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x8 } - if m.PositionId != nil { + return len(dAtA) - i, nil +} + +func (m *LpNft) 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 *LpNft) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *LpNft) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.State != nil { { - size, err := m.PositionId.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.State.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -7260,9 +7559,9 @@ func (m *PositionWithdrawPlan) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x12 } - if m.Reserves != nil { + if m.PositionId != nil { { - size, err := m.Reserves.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.PositionId.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -7275,7 +7574,7 @@ func (m *PositionWithdrawPlan) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *PositionRewardClaimPlan) Marshal() (dAtA []byte, err error) { +func (m *PositionOpen) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7285,19 +7584,19 @@ func (m *PositionRewardClaimPlan) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *PositionRewardClaimPlan) MarshalTo(dAtA []byte) (int, error) { +func (m *PositionOpen) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *PositionRewardClaimPlan) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *PositionOpen) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Reserves != nil { + if m.Position != nil { { - size, err := m.Reserves.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Position.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -7310,7 +7609,7 @@ func (m *PositionRewardClaimPlan) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *BatchSwapOutputDataRequest) Marshal() (dAtA []byte, err error) { +func (m *PositionClose) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7320,19 +7619,19 @@ func (m *BatchSwapOutputDataRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *BatchSwapOutputDataRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *PositionClose) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *BatchSwapOutputDataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *PositionClose) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.TradingPair != nil { + if m.PositionId != nil { { - size, err := m.TradingPair.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.PositionId.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -7340,17 +7639,12 @@ func (m *BatchSwapOutputDataRequest) MarshalToSizedBuffer(dAtA []byte) (int, err i = encodeVarintDex(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x1a - } - if m.Height != 0 { - i = encodeVarintDex(dAtA, i, uint64(m.Height)) - i-- - dAtA[i] = 0x10 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *BatchSwapOutputDataResponse) Marshal() (dAtA []byte, err error) { +func (m *PositionWithdraw) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7360,19 +7654,36 @@ func (m *BatchSwapOutputDataResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *BatchSwapOutputDataResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *PositionWithdraw) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *BatchSwapOutputDataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *PositionWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Data != nil { + if m.Sequence != 0 { + i = encodeVarintDex(dAtA, i, uint64(m.Sequence)) + i-- + dAtA[i] = 0x18 + } + if m.ReservesCommitment != nil { { - size, err := m.Data.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.ReservesCommitment.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 } @@ -7385,7 +7696,7 @@ func (m *BatchSwapOutputDataResponse) MarshalToSizedBuffer(dAtA []byte) (int, er return len(dAtA) - i, nil } -func (m *SwapExecutionRequest) Marshal() (dAtA []byte, err error) { +func (m *PositionRewardClaim) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7395,19 +7706,19 @@ func (m *SwapExecutionRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SwapExecutionRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *PositionRewardClaim) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SwapExecutionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *PositionRewardClaim) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.TradingPair != nil { + if m.RewardsCommitment != nil { { - size, err := m.TradingPair.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.RewardsCommitment.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -7415,17 +7726,24 @@ func (m *SwapExecutionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintDex(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x1a + dAtA[i] = 0x12 } - if m.Height != 0 { - i = encodeVarintDex(dAtA, i, uint64(m.Height)) + 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] = 0x10 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *SwapExecutionResponse) Marshal() (dAtA []byte, err error) { +func (m *SwapExecution) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7435,19 +7753,19 @@ func (m *SwapExecutionResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SwapExecutionResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *SwapExecution) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SwapExecutionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SwapExecution) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.SwapExecution != nil { + if m.Output != nil { { - size, err := m.SwapExecution.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Output.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -7455,12 +7773,38 @@ func (m *SwapExecutionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintDex(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0xa + dAtA[i] = 0x1a + } + if m.Input != nil { + { + size, err := m.Input.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Traces) > 0 { + for iNdEx := len(m.Traces) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Traces[iNdEx].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 *ArbExecutionRequest) Marshal() (dAtA []byte, err error) { +func (m *SwapExecution_Trace) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7470,25 +7814,34 @@ func (m *ArbExecutionRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ArbExecutionRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *SwapExecution_Trace) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ArbExecutionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SwapExecution_Trace) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Height != 0 { - i = encodeVarintDex(dAtA, i, uint64(m.Height)) - i-- - dAtA[i] = 0x10 + if len(m.Value) > 0 { + for iNdEx := len(m.Value) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Value[iNdEx].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 *ArbExecutionResponse) Marshal() (dAtA []byte, err error) { +func (m *PositionWithdrawPlan) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7498,26 +7851,64 @@ func (m *ArbExecutionResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ArbExecutionResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *PositionWithdrawPlan) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ArbExecutionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *PositionWithdrawPlan) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Height != 0 { - i = encodeVarintDex(dAtA, i, uint64(m.Height)) - i-- - dAtA[i] = 0x10 - } - if m.SwapExecution != nil { - { - size, err := m.SwapExecution.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err + if len(m.Rewards) > 0 { + for iNdEx := len(m.Rewards) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Rewards[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + } + if m.Sequence != 0 { + i = encodeVarintDex(dAtA, i, uint64(m.Sequence)) + i-- + dAtA[i] = 0x20 + } + if m.Pair != nil { + { + size, err := m.Pair.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + 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] = 0x12 + } + if m.Reserves != nil { + { + size, err := m.Reserves.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } i -= size i = encodeVarintDex(dAtA, i, uint64(size)) @@ -7528,7 +7919,7 @@ func (m *ArbExecutionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *SwapExecutionsRequest) Marshal() (dAtA []byte, err error) { +func (m *PositionRewardClaimPlan) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7538,19 +7929,19 @@ func (m *SwapExecutionsRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SwapExecutionsRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *PositionRewardClaimPlan) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SwapExecutionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *PositionRewardClaimPlan) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.TradingPair != nil { + if m.Reserves != nil { { - size, err := m.TradingPair.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Reserves.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -7558,22 +7949,12 @@ func (m *SwapExecutionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintDex(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x22 - } - if m.EndHeight != 0 { - i = encodeVarintDex(dAtA, i, uint64(m.EndHeight)) - i-- - dAtA[i] = 0x18 - } - if m.StartHeight != 0 { - i = encodeVarintDex(dAtA, i, uint64(m.StartHeight)) - i-- - dAtA[i] = 0x10 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *SwapExecutionsResponse) Marshal() (dAtA []byte, err error) { +func (m *BatchSwapOutputDataRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7583,12 +7964,12 @@ func (m *SwapExecutionsResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SwapExecutionsResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *BatchSwapOutputDataRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SwapExecutionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *BatchSwapOutputDataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -7610,9 +7991,32 @@ func (m *SwapExecutionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) i-- dAtA[i] = 0x10 } - if m.SwapExecution != nil { + return len(dAtA) - i, nil +} + +func (m *BatchSwapOutputDataResponse) 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 *BatchSwapOutputDataResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *BatchSwapOutputDataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Data != nil { { - size, err := m.SwapExecution.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Data.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -7625,7 +8029,7 @@ func (m *SwapExecutionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *ArbExecutionsRequest) Marshal() (dAtA []byte, err error) { +func (m *SwapExecutionRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7635,30 +8039,37 @@ func (m *ArbExecutionsRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ArbExecutionsRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *SwapExecutionRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ArbExecutionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SwapExecutionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.EndHeight != 0 { - i = encodeVarintDex(dAtA, i, uint64(m.EndHeight)) + 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] = 0x18 + dAtA[i] = 0x1a } - if m.StartHeight != 0 { - i = encodeVarintDex(dAtA, i, uint64(m.StartHeight)) + if m.Height != 0 { + i = encodeVarintDex(dAtA, i, uint64(m.Height)) i-- dAtA[i] = 0x10 } return len(dAtA) - i, nil } -func (m *ArbExecutionsResponse) Marshal() (dAtA []byte, err error) { +func (m *SwapExecutionResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7668,21 +8079,16 @@ func (m *ArbExecutionsResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ArbExecutionsResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *SwapExecutionResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ArbExecutionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SwapExecutionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Height != 0 { - i = encodeVarintDex(dAtA, i, uint64(m.Height)) - i-- - dAtA[i] = 0x10 - } if m.SwapExecution != nil { { size, err := m.SwapExecution.MarshalToSizedBuffer(dAtA[:i]) @@ -7698,7 +8104,7 @@ func (m *ArbExecutionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *LiquidityPositionsRequest) Marshal() (dAtA []byte, err error) { +func (m *ArbExecutionRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7708,30 +8114,25 @@ func (m *LiquidityPositionsRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *LiquidityPositionsRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *ArbExecutionRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *LiquidityPositionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ArbExecutionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.IncludeClosed { - i-- - if m.IncludeClosed { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } + if m.Height != 0 { + i = encodeVarintDex(dAtA, i, uint64(m.Height)) i-- - dAtA[i] = 0x20 + dAtA[i] = 0x10 } return len(dAtA) - i, nil } -func (m *LiquidityPositionsResponse) Marshal() (dAtA []byte, err error) { +func (m *ArbExecutionResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7741,19 +8142,24 @@ func (m *LiquidityPositionsResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *LiquidityPositionsResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *ArbExecutionResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *LiquidityPositionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ArbExecutionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Data != nil { + if m.Height != 0 { + i = encodeVarintDex(dAtA, i, uint64(m.Height)) + i-- + dAtA[i] = 0x10 + } + if m.SwapExecution != nil { { - size, err := m.Data.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.SwapExecution.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -7766,7 +8172,7 @@ func (m *LiquidityPositionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, err return len(dAtA) - i, nil } -func (m *LiquidityPositionByIdRequest) Marshal() (dAtA []byte, err error) { +func (m *SwapExecutionsRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7776,19 +8182,19 @@ func (m *LiquidityPositionByIdRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *LiquidityPositionByIdRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *SwapExecutionsRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *LiquidityPositionByIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SwapExecutionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.PositionId != nil { + if m.TradingPair != nil { { - size, err := m.PositionId.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.TradingPair.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -7796,12 +8202,22 @@ func (m *LiquidityPositionByIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, e i = encodeVarintDex(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 + dAtA[i] = 0x22 + } + if m.EndHeight != 0 { + i = encodeVarintDex(dAtA, i, uint64(m.EndHeight)) + i-- + dAtA[i] = 0x18 + } + if m.StartHeight != 0 { + i = encodeVarintDex(dAtA, i, uint64(m.StartHeight)) + i-- + dAtA[i] = 0x10 } return len(dAtA) - i, nil } -func (m *LiquidityPositionByIdResponse) Marshal() (dAtA []byte, err error) { +func (m *SwapExecutionsResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7811,19 +8227,36 @@ func (m *LiquidityPositionByIdResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *LiquidityPositionByIdResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *SwapExecutionsResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *LiquidityPositionByIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SwapExecutionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Data != nil { + if m.TradingPair != nil { { - size, err := m.Data.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.TradingPair.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.Height != 0 { + i = encodeVarintDex(dAtA, i, uint64(m.Height)) + i-- + dAtA[i] = 0x10 + } + if m.SwapExecution != nil { + { + size, err := m.SwapExecution.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -7836,7 +8269,7 @@ func (m *LiquidityPositionByIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, return len(dAtA) - i, nil } -func (m *LiquidityPositionsByIdRequest) Marshal() (dAtA []byte, err error) { +func (m *ArbExecutionsRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7846,34 +8279,30 @@ func (m *LiquidityPositionsByIdRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *LiquidityPositionsByIdRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *ArbExecutionsRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *LiquidityPositionsByIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ArbExecutionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.PositionId) > 0 { - for iNdEx := len(m.PositionId) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.PositionId[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintDex(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } + if m.EndHeight != 0 { + i = encodeVarintDex(dAtA, i, uint64(m.EndHeight)) + i-- + dAtA[i] = 0x18 + } + if m.StartHeight != 0 { + i = encodeVarintDex(dAtA, i, uint64(m.StartHeight)) + i-- + dAtA[i] = 0x10 } return len(dAtA) - i, nil } -func (m *LiquidityPositionsByIdResponse) Marshal() (dAtA []byte, err error) { +func (m *ArbExecutionsResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7883,19 +8312,24 @@ func (m *LiquidityPositionsByIdResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *LiquidityPositionsByIdResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *ArbExecutionsResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *LiquidityPositionsByIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ArbExecutionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Data != nil { + if m.Height != 0 { + i = encodeVarintDex(dAtA, i, uint64(m.Height)) + i-- + dAtA[i] = 0x10 + } + if m.SwapExecution != nil { { - size, err := m.Data.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.SwapExecution.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -7908,7 +8342,7 @@ func (m *LiquidityPositionsByIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, return len(dAtA) - i, nil } -func (m *LiquidityPositionsByPriceRequest) Marshal() (dAtA []byte, err error) { +func (m *LiquidityPositionsRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7918,7 +8352,217 @@ func (m *LiquidityPositionsByPriceRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *LiquidityPositionsByPriceRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *LiquidityPositionsRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *LiquidityPositionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.IncludeClosed { + i-- + if m.IncludeClosed { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + return len(dAtA) - i, nil +} + +func (m *LiquidityPositionsResponse) 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 *LiquidityPositionsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *LiquidityPositionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Data != nil { + { + size, err := m.Data.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 *LiquidityPositionByIdRequest) 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 *LiquidityPositionByIdRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *LiquidityPositionByIdRequest) 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] = 0x12 + } + return len(dAtA) - i, nil +} + +func (m *LiquidityPositionByIdResponse) 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 *LiquidityPositionByIdResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *LiquidityPositionByIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Data != nil { + { + size, err := m.Data.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 *LiquidityPositionsByIdRequest) 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 *LiquidityPositionsByIdRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *LiquidityPositionsByIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.PositionId) > 0 { + for iNdEx := len(m.PositionId) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.PositionId[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + } + return len(dAtA) - i, nil +} + +func (m *LiquidityPositionsByIdResponse) 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 *LiquidityPositionsByIdResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *LiquidityPositionsByIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Data != nil { + { + size, err := m.Data.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 *LiquidityPositionsByPriceRequest) 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 *LiquidityPositionsByPriceRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } @@ -7968,6 +8612,18 @@ func (m *LiquidityPositionsByPriceResponse) MarshalToSizedBuffer(dAtA []byte) (i _ = i var l int _ = l + if m.Id != nil { + { + size, err := m.Id.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDex(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } if m.Data != nil { { size, err := m.Data.MarshalToSizedBuffer(dAtA[:i]) @@ -8556,6 +9212,41 @@ func (m *EventPositionClose) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *EventQueuePositionClose) 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 *EventQueuePositionClose) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventQueuePositionClose) 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) @@ -8976,6 +9667,11 @@ func (m *DexParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if m.MaxPositionsPerPair != 0 { + i = encodeVarintDex(dAtA, i, uint64(m.MaxPositionsPerPair)) + i-- + dAtA[i] = 0x20 + } if m.MaxHops != 0 { i = encodeVarintDex(dAtA, i, uint64(m.MaxHops)) i-- @@ -9043,7 +9739,223 @@ func (m *GenesisContent) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func encodeVarintDex(dAtA []byte, offset int, v uint64) int { +func (m *CandlestickData) 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 *CandlestickData) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CandlestickData) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.SwapVolume != 0 { + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.SwapVolume)))) + i-- + dAtA[i] = 0x39 + } + if m.DirectVolume != 0 { + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.DirectVolume)))) + i-- + dAtA[i] = 0x31 + } + if m.Low != 0 { + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Low)))) + i-- + dAtA[i] = 0x29 + } + if m.High != 0 { + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.High)))) + i-- + dAtA[i] = 0x21 + } + if m.Close != 0 { + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Close)))) + i-- + dAtA[i] = 0x19 + } + if m.Open != 0 { + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Open)))) + i-- + dAtA[i] = 0x11 + } + if m.Height != 0 { + i = encodeVarintDex(dAtA, i, uint64(m.Height)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *CandlestickDataRequest) 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 *CandlestickDataRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CandlestickDataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.StartHeight != 0 { + i = encodeVarintDex(dAtA, i, uint64(m.StartHeight)) + i-- + dAtA[i] = 0x18 + } + if m.Limit != 0 { + i = encodeVarintDex(dAtA, i, uint64(m.Limit)) + i-- + dAtA[i] = 0x10 + } + if m.Pair != nil { + { + size, err := m.Pair.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 *CandlestickDataResponse) 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 *CandlestickDataResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CandlestickDataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Data) > 0 { + for iNdEx := len(m.Data) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Data[iNdEx].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 *CandlestickDataStreamRequest) 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 *CandlestickDataStreamRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CandlestickDataStreamRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Pair != nil { + { + size, err := m.Pair.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 *CandlestickDataStreamResponse) 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 *CandlestickDataStreamResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CandlestickDataStreamResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Data != nil { + { + size, err := m.Data.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 { @@ -9368,6 +10280,26 @@ func (m *SwapView_Opaque) Size() (n int) { l = m.Swap.Size() n += 1 + l + sovDex(uint64(l)) } + if m.BatchSwapOutputData != nil { + l = m.BatchSwapOutputData.Size() + n += 2 + l + sovDex(uint64(l)) + } + if m.Output_1Value != nil { + l = m.Output_1Value.Size() + n += 2 + l + sovDex(uint64(l)) + } + if m.Output_2Value != nil { + l = m.Output_2Value.Size() + n += 2 + l + sovDex(uint64(l)) + } + if m.Asset_1Metadata != nil { + l = m.Asset_1Metadata.Size() + n += 2 + l + sovDex(uint64(l)) + } + if m.Asset_2Metadata != nil { + l = m.Asset_2Metadata.Size() + n += 2 + l + sovDex(uint64(l)) + } return n } @@ -9519,6 +10451,9 @@ func (m *BatchSwapOutputData) Size() (n int) { if m.EpochStartingHeight != 0 { n += 1 + sovDex(uint64(m.EpochStartingHeight)) } + if m.SctPositionPrefix != 0 { + n += 1 + sovDex(uint64(m.SctPositionPrefix)) + } return n } @@ -10058,6 +10993,10 @@ func (m *LiquidityPositionsByPriceResponse) Size() (n int) { l = m.Data.Size() n += 1 + l + sovDex(uint64(l)) } + if m.Id != nil { + l = m.Id.Size() + n += 1 + l + sovDex(uint64(l)) + } return n } @@ -10280,6 +11219,19 @@ func (m *EventPositionClose) Size() (n int) { return n } +func (m *EventQueuePositionClose) 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 @@ -10442,6 +11394,9 @@ func (m *DexParameters) Size() (n int) { if m.MaxHops != 0 { n += 1 + sovDex(uint64(m.MaxHops)) } + if m.MaxPositionsPerPair != 0 { + n += 1 + sovDex(uint64(m.MaxPositionsPerPair)) + } return n } @@ -10458,46 +11413,905 @@ func (m *GenesisContent) 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 *CandlestickData) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Height != 0 { + n += 1 + sovDex(uint64(m.Height)) + } + if m.Open != 0 { + n += 9 + } + if m.Close != 0 { + n += 9 + } + if m.High != 0 { + n += 9 + } + if m.Low != 0 { + n += 9 + } + if m.DirectVolume != 0 { + n += 9 + } + if m.SwapVolume != 0 { + n += 9 + } + return n } -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 + +func (m *CandlestickDataRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Pair != nil { + l = m.Pair.Size() + n += 1 + l + sovDex(uint64(l)) + } + if m.Limit != 0 { + n += 1 + sovDex(uint64(m.Limit)) + } + if m.StartHeight != 0 { + n += 1 + sovDex(uint64(m.StartHeight)) + } + return n +} + +func (m *CandlestickDataResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Data) > 0 { + for _, e := range m.Data { + l = e.Size() + n += 1 + l + sovDex(uint64(l)) + } + } + return n +} + +func (m *CandlestickDataStreamRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Pair != nil { + l = m.Pair.Size() + n += 1 + l + sovDex(uint64(l)) + } + return n +} + +func (m *CandlestickDataStreamResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Data != nil { + l = m.Data.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 = &v1.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 = &v11.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 = &v12.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 = &v12.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 { + 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 + } + if m.Delta_1I == nil { + m.Delta_1I = &v13.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) + } + 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 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 = &v13.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_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 Inner", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field FeeCommitment", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -10507,24 +12321,62 @@ 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.FeeCommitment == nil { + m.FeeCommitment = &v14.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: @@ -10548,7 +12400,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 { @@ -10571,15 +12423,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 = &v12.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 { @@ -10606,9 +12494,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: @@ -10632,7 +12520,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 { @@ -10655,15 +12543,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 { @@ -10690,16 +12578,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 { @@ -10726,66 +12614,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 = &v13.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 = &v13.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 { @@ -10812,16 +12686,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 = &v11.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 { @@ -10848,18 +12722,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 = &v15.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 @@ -10869,11 +12743,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:]) @@ -10895,7 +12784,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 { @@ -10918,15 +12807,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 { @@ -10953,18 +12842,18 @@ func (m *SwapClaimBody) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Nullifier == nil { - m.Nullifier = &v1.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 @@ -10974,33 +12863,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 = &v11.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 @@ -11010,69 +12897,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 = &v12.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 = &v12.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 @@ -11082,26 +12931,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: @@ -11125,7 +12972,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 { @@ -11148,15 +12995,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 { @@ -11183,18 +13030,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 @@ -11204,31 +13051,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 = &v13.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 { @@ -11255,18 +13085,37 @@ func (m *SwapBody) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Delta_2I == nil { - m.Delta_2I = &v13.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 @@ -11276,33 +13125,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 = &v14.BalanceCommitment{} - } - 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 @@ -11312,26 +13159,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: @@ -11355,7 +13200,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 { @@ -11378,15 +13223,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 { @@ -11413,18 +13258,17 @@ func (m *SwapPayload) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Commitment == nil { - m.Commitment = &v12.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 @@ -11434,25 +13278,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 @@ -11475,7 +13320,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 { @@ -11498,15 +13343,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) + return fmt.Errorf("proto: wrong wireType = %d for field Swap", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11533,16 +13378,16 @@ func (m *SwapPlaintext) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.TradingPair == nil { - m.TradingPair = &TradingPair{} + if m.Swap == nil { + m.Swap = &Swap{} } - if err := m.TradingPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Swap.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 Delta_1I", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SwapPlaintext", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11569,16 +13414,16 @@ func (m *SwapPlaintext) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Delta_1I == nil { - m.Delta_1I = &v13.Amount{} + if m.SwapPlaintext == nil { + m.SwapPlaintext = &SwapPlaintext{} } - if err := m.Delta_1I.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.SwapPlaintext.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 Delta_2I", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClaimTx", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11605,16 +13450,16 @@ func (m *SwapPlaintext) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Delta_2I == nil { - m.Delta_2I = &v13.Amount{} + if m.ClaimTx == nil { + m.ClaimTx = &v16.TransactionId{} } - if err := m.Delta_2I.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.ClaimTx.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 4: + case 20: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClaimFee", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field BatchSwapOutputData", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11641,16 +13486,16 @@ func (m *SwapPlaintext) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.ClaimFee == nil { - m.ClaimFee = &v11.Fee{} + if m.BatchSwapOutputData == nil { + m.BatchSwapOutputData = &BatchSwapOutputData{} } - if err := m.ClaimFee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.BatchSwapOutputData.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 5: + case 30: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClaimAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Output_1", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11677,18 +13522,18 @@ func (m *SwapPlaintext) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.ClaimAddress == nil { - m.ClaimAddress = &v15.Address{} + if m.Output_1 == nil { + m.Output_1 = &v17.NoteView{} } - if err := m.ClaimAddress.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Output_1.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 6: + case 31: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Rseed", 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 @@ -11698,79 +13543,31 @@ func (m *SwapPlaintext) 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.Rseed = append(m.Rseed[:0], dAtA[iNdEx:postIndex]...) - if m.Rseed == nil { - m.Rseed = []byte{} + if m.Output_2 == nil { + m.Output_2 = &v17.NoteView{} } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipDex(dAtA[iNdEx:]) - if err != nil { + if err := m.Output_2.Unmarshal(dAtA[iNdEx:postIndex]); 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 *SwapPlan) 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: SwapPlan: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SwapPlan: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + iNdEx = postIndex + case 40: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SwapPlaintext", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Asset_1Metadata", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11797,52 +13594,18 @@ func (m *SwapPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.SwapPlaintext == nil { - m.SwapPlaintext = &SwapPlaintext{} + if m.Asset_1Metadata == nil { + m.Asset_1Metadata = &v14.Metadata{} } - if err := m.SwapPlaintext.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Asset_1Metadata.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 - } - } - if byteLen < 0 { - return ErrInvalidLengthDex - } - postIndex := iNdEx + byteLen - if postIndex < 0 { - return ErrInvalidLengthDex - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.FeeBlinding = append(m.FeeBlinding[:0], dAtA[iNdEx:postIndex]...) - if m.FeeBlinding == nil { - m.FeeBlinding = []byte{} - } - iNdEx = postIndex - case 3: + case 41: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProofBlindingR", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Asset_2Metadata", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -11852,58 +13615,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.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 ProofBlindingS", 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 + if m.Asset_2Metadata == nil { + m.Asset_2Metadata = &v14.Metadata{} } - m.ProofBlindingS = append(m.ProofBlindingS[:0], dAtA[iNdEx:postIndex]...) - if m.ProofBlindingS == nil { - m.ProofBlindingS = []byte{} + if err := m.Asset_2Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } iNdEx = postIndex default: @@ -11927,7 +13658,7 @@ func (m *SwapPlan) Unmarshal(dAtA []byte) error { } return nil } -func (m *SwapClaimPlan) Unmarshal(dAtA []byte) error { +func (m *SwapView_Opaque) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11950,15 +13681,51 @@ 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: Opaque: 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: 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 { + 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.Swap == nil { + m.Swap = &Swap{} + } + if err := m.Swap.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 20: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BatchSwapOutputData", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11985,35 +13752,16 @@ func (m *SwapClaimPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.SwapPlaintext == nil { - m.SwapPlaintext = &SwapPlaintext{} + if m.BatchSwapOutputData == nil { + m.BatchSwapOutputData = &BatchSwapOutputData{} } - if err := m.SwapPlaintext.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.BatchSwapOutputData.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: + case 30: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OutputData", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Output_1Value", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12040,18 +13788,18 @@ func (m *SwapClaimPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.OutputData == nil { - m.OutputData = &BatchSwapOutputData{} + if m.Output_1Value == nil { + m.Output_1Value = &v14.ValueView{} } - if err := m.OutputData.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Output_1Value.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) + case 31: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Output_2Value", wireType) } - m.EpochDuration = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -12061,16 +13809,33 @@ func (m *SwapClaimPlan) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.EpochDuration |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - case 5: + if msglen < 0 { + return ErrInvalidLengthDex + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Output_2Value == nil { + m.Output_2Value = &v14.ValueView{} + } + if err := m.Output_2Value.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 40: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProofBlindingR", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Asset_1Metadata", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -12080,31 +13845,33 @@ 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.Asset_1Metadata == nil { + m.Asset_1Metadata = &v14.Metadata{} + } + if err := m.Asset_1Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } iNdEx = postIndex - case 6: + case 41: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProofBlindingS", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Asset_2Metadata", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -12114,24 +13881,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.Asset_2Metadata == nil { + m.Asset_2Metadata = &v14.Metadata{} + } + if err := m.Asset_2Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } iNdEx = postIndex default: @@ -12155,7 +13924,7 @@ func (m *SwapClaimPlan) Unmarshal(dAtA []byte) error { } return nil } -func (m *SwapView) Unmarshal(dAtA []byte) error { +func (m *SwapClaimView) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12178,10 +13947,10 @@ 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: SwapClaimView: 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: SwapClaimView: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -12213,11 +13982,11 @@ func (m *SwapView) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &SwapView_Visible{} + v := &SwapClaimView_Visible{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.SwapView = &SwapView_Visible_{v} + m.SwapClaimView = &SwapClaimView_Visible_{v} iNdEx = postIndex case 2: if wireType != 2 { @@ -12248,11 +14017,11 @@ func (m *SwapView) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &SwapView_Opaque{} + v := &SwapClaimView_Opaque{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.SwapView = &SwapView_Opaque_{v} + m.SwapClaimView = &SwapClaimView_Opaque_{v} iNdEx = postIndex default: iNdEx = preIndex @@ -12275,7 +14044,7 @@ func (m *SwapView) Unmarshal(dAtA []byte) error { } return nil } -func (m *SwapView_Visible) Unmarshal(dAtA []byte) error { +func (m *SwapClaimView_Visible) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12306,7 +14075,7 @@ func (m *SwapView_Visible) Unmarshal(dAtA []byte) error { 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 SwapClaim", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12333,16 +14102,16 @@ func (m *SwapView_Visible) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Swap == nil { - m.Swap = &Swap{} + if m.SwapClaim == nil { + m.SwapClaim = &SwapClaim{} } - if err := m.Swap.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.SwapClaim.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 Output_1", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12369,16 +14138,16 @@ func (m *SwapView_Visible) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.SwapPlaintext == nil { - m.SwapPlaintext = &SwapPlaintext{} + if m.Output_1 == nil { + m.Output_1 = &v17.NoteView{} } - if err := m.SwapPlaintext.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Output_1.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 4: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClaimTx", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Output_2", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12405,16 +14174,16 @@ func (m *SwapView_Visible) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.ClaimTx == nil { - m.ClaimTx = &v16.TransactionId{} + if m.Output_2 == nil { + m.Output_2 = &v17.NoteView{} } - if err := m.ClaimTx.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Output_2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 20: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BatchSwapOutputData", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SwapTx", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12441,124 +14210,66 @@ func (m *SwapView_Visible) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.BatchSwapOutputData == nil { - m.BatchSwapOutputData = &BatchSwapOutputData{} + if m.SwapTx == nil { + m.SwapTx = &v16.TransactionId{} } - if err := m.BatchSwapOutputData.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.SwapTx.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 30: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Output_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 - } - if m.Output_1 == nil { - m.Output_1 = &v17.NoteView{} - } - if err := m.Output_1.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + default: + iNdEx = preIndex + skippy, err := skipDex(dAtA[iNdEx:]) + if err != nil { return err } - iNdEx = postIndex - case 31: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Output_2", 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 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthDex } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - if m.Output_2 == nil { - m.Output_2 = &v17.NoteView{} - } - if err := m.Output_2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 40: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Asset_1Metadata", 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 + 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 postIndex > l { + if iNdEx >= l { return io.ErrUnexpectedEOF } - if m.Asset_1Metadata == nil { - m.Asset_1Metadata = &v14.Metadata{} - } - if err := m.Asset_1Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break } - iNdEx = postIndex - case 41: + } + 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 Asset_2Metadata", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SwapClaim", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12585,10 +14296,10 @@ func (m *SwapView_Visible) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Asset_2Metadata == nil { - m.Asset_2Metadata = &v14.Metadata{} + if m.SwapClaim == nil { + m.SwapClaim = &SwapClaim{} } - if err := m.Asset_2Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.SwapClaim.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -12613,7 +14324,7 @@ func (m *SwapView_Visible) Unmarshal(dAtA []byte) error { } return nil } -func (m *SwapView_Opaque) Unmarshal(dAtA []byte) error { +func (m *TradingPair) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12636,15 +14347,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: TradingPair: 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: 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 Swap", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Asset_1", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12671,10 +14382,46 @@ func (m *SwapView_Opaque) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Swap == nil { - m.Swap = &Swap{} + if m.Asset_1 == nil { + m.Asset_1 = &v14.AssetId{} } - if err := m.Swap.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Asset_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 Asset_2", 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.Asset_2 == nil { + m.Asset_2 = &v14.AssetId{} + } + if err := m.Asset_2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -12699,7 +14446,7 @@ func (m *SwapView_Opaque) Unmarshal(dAtA []byte) error { } return nil } -func (m *SwapClaimView) Unmarshal(dAtA []byte) error { +func (m *DirectedTradingPair) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12722,15 +14469,15 @@ func (m *SwapClaimView) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SwapClaimView: wiretype end group for non-group") + return fmt.Errorf("proto: DirectedTradingPair: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SwapClaimView: 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 Visible", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Start", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12757,15 +14504,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.Start == nil { + m.Start = &v14.AssetId{} + } + if err := m.Start.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.SwapClaimView = &SwapClaimView_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 End", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12792,11 +14540,12 @@ 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.End == nil { + m.End = &v14.AssetId{} + } + if err := m.End.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.SwapClaimView = &SwapClaimView_Opaque_{v} iNdEx = postIndex default: iNdEx = preIndex @@ -12819,7 +14568,7 @@ func (m *SwapClaimView) Unmarshal(dAtA []byte) error { } return nil } -func (m *SwapClaimView_Visible) Unmarshal(dAtA []byte) error { +func (m *BatchSwapOutputData) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12842,15 +14591,15 @@ func (m *SwapClaimView_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: BatchSwapOutputData: 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: 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 SwapClaim", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Delta_1", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12877,16 +14626,16 @@ func (m *SwapClaimView_Visible) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.SwapClaim == nil { - m.SwapClaim = &SwapClaim{} + if m.Delta_1 == nil { + m.Delta_1 = &v13.Amount{} } - if err := m.SwapClaim.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Delta_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 Output_1", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Delta_2", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12913,16 +14662,16 @@ func (m *SwapClaimView_Visible) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Output_1 == nil { - m.Output_1 = &v17.NoteView{} + if m.Delta_2 == nil { + m.Delta_2 = &v13.Amount{} } - if err := m.Output_1.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + 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 Output_2", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Lambda_1", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12949,16 +14698,16 @@ func (m *SwapClaimView_Visible) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Output_2 == nil { - m.Output_2 = &v17.NoteView{} + if m.Lambda_1 == nil { + m.Lambda_1 = &v13.Amount{} } - if err := m.Output_2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Lambda_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 SwapTx", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Lambda_2", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12985,66 +14734,107 @@ func (m *SwapClaimView_Visible) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.SwapTx == nil { - m.SwapTx = &v16.TransactionId{} + if m.Lambda_2 == nil { + m.Lambda_2 = &v13.Amount{} } - if err := m.SwapTx.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Lambda_2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } 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 { + 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 *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 m.Unfilled_1 == nil { + m.Unfilled_1 = &v13.Amount{} } - if iNdEx >= l { + 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 Unfilled_2", 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.Unfilled_2 == nil { + m.Unfilled_2 = &v13.Amount{} + } + if err := m.Unfilled_2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType) } - } - 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: + 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 SwapClaim", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TradingPair", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -13071,13 +14861,51 @@ func (m *SwapClaimView_Opaque) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.SwapClaim == nil { - m.SwapClaim = &SwapClaim{} + if m.TradingPair == nil { + m.TradingPair = &TradingPair{} } - if err := m.SwapClaim.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.TradingPair.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) + } + m.EpochStartingHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.EpochStartingHeight |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 10: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SctPositionPrefix", wireType) + } + m.SctPositionPrefix = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.SctPositionPrefix |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -13099,7 +14927,7 @@ func (m *SwapClaimView_Opaque) Unmarshal(dAtA []byte) error { } return nil } -func (m *TradingPair) Unmarshal(dAtA []byte) error { +func (m *TradingFunction) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13122,15 +14950,15 @@ 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: TradingFunction: 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: 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 Asset_1", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Component", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -13157,16 +14985,16 @@ func (m *TradingPair) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Asset_1 == nil { - m.Asset_1 = &v14.AssetId{} + if m.Component == nil { + m.Component = &BareTradingFunction{} } - if err := m.Asset_1.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 Asset_2", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Pair", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -13193,10 +15021,10 @@ func (m *TradingPair) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Asset_2 == nil { - m.Asset_2 = &v14.AssetId{} + if m.Pair == nil { + m.Pair = &TradingPair{} } - if err := m.Asset_2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Pair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -13221,7 +15049,7 @@ func (m *TradingPair) Unmarshal(dAtA []byte) error { } return nil } -func (m *DirectedTradingPair) Unmarshal(dAtA []byte) error { +func (m *BareTradingFunction) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13244,15 +15072,34 @@ 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: BareTradingFunction: 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: 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 Start", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field P", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -13279,16 +15126,16 @@ func (m *DirectedTradingPair) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Start == nil { - m.Start = &v14.AssetId{} + if m.P == nil { + m.P = &v13.Amount{} } - if err := m.Start.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 End", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Q", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -13315,10 +15162,10 @@ func (m *DirectedTradingPair) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.End == nil { - m.End = &v14.AssetId{} + if m.Q == nil { + m.Q = &v13.Amount{} } - if err := m.End.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Q.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -13343,7 +15190,7 @@ func (m *DirectedTradingPair) Unmarshal(dAtA []byte) error { } return nil } -func (m *BatchSwapOutputData) Unmarshal(dAtA []byte) error { +func (m *Reserves) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13366,15 +15213,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: Reserves: 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: 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 Delta_1", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field R1", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -13401,16 +15248,16 @@ func (m *BatchSwapOutputData) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Delta_1 == nil { - m.Delta_1 = &v13.Amount{} + if m.R1 == nil { + m.R1 = &v13.Amount{} } - if err := m.Delta_1.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 Delta_2", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field R2", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -13437,52 +15284,66 @@ func (m *BatchSwapOutputData) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Delta_2 == nil { - m.Delta_2 = &v13.Amount{} + if m.R2 == nil { + m.R2 = &v13.Amount{} } - if err := m.Delta_2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.R2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Lambda_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 + default: + iNdEx = preIndex + skippy, err := skipDex(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + msglen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthDex } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - if m.Lambda_1 == nil { - m.Lambda_1 = &v13.Amount{} + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Position) 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 err := m.Lambda_1.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + if iNdEx >= l { + return io.ErrUnexpectedEOF } - iNdEx = postIndex - case 4: + 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: Position: wiretype end group for non-group") + } + if fieldNum <= 0 { + 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 Lambda_2", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Phi", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -13509,18 +15370,18 @@ func (m *BatchSwapOutputData) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Lambda_2 == nil { - m.Lambda_2 = &v13.Amount{} + if m.Phi == nil { + m.Phi = &TradingFunction{} } - if err := m.Lambda_2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Phi.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 5: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Unfilled_1", 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 @@ -13530,31 +15391,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.Unfilled_1 == nil { - m.Unfilled_1 = &v13.Amount{} + if postIndex > l { + return io.ErrUnexpectedEOF } - if err := m.Unfilled_1.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 6: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Unfilled_2", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -13581,35 +15440,16 @@ func (m *BatchSwapOutputData) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Unfilled_2 == nil { - m.Unfilled_2 = &v13.Amount{} + if m.State == nil { + m.State = &PositionState{} } - if err := m.Unfilled_2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.State.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - 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: + 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 Reserves", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -13636,18 +15476,18 @@ func (m *BatchSwapOutputData) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.TradingPair == nil { - m.TradingPair = &TradingPair{} + if m.Reserves == nil { + m.Reserves = &Reserves{} } - if err := m.TradingPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Reserves.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 9: + case 5: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field EpochStartingHeight", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CloseOnFill", wireType) } - m.EpochStartingHeight = 0 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -13657,11 +15497,12 @@ func (m *BatchSwapOutputData) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.EpochStartingHeight |= uint64(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } + m.CloseOnFill = bool(v != 0) default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -13683,7 +15524,7 @@ func (m *BatchSwapOutputData) Unmarshal(dAtA []byte) error { } return nil } -func (m *TradingFunction) Unmarshal(dAtA []byte) error { +func (m *PositionId) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13706,17 +15547,17 @@ 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: PositionId: 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: 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 Component", 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 @@ -13726,33 +15567,31 @@ func (m *TradingFunction) 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.Component == nil { - m.Component = &BareTradingFunction{} - } - if err := m.Component.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 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pair", 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 @@ -13762,27 +15601,23 @@ func (m *TradingFunction) 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.Pair == nil { - m.Pair = &TradingPair{} - } - if err := m.Pair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.AltBech32M = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -13805,7 +15640,7 @@ func (m *TradingFunction) Unmarshal(dAtA []byte) error { } return nil } -func (m *BareTradingFunction) Unmarshal(dAtA []byte) error { +func (m *PositionState) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13828,17 +15663,17 @@ 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: PositionState: 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: 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 Fee", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) } - m.Fee = 0 + m.State = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -13848,14 +15683,83 @@ func (m *BareTradingFunction) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Fee |= uint32(b&0x7F) << shift + m.State |= PositionState_PositionStateEnum(b&0x7F) << shift if b < 0x80 { break } } case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Sequence", wireType) + } + m.Sequence = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Sequence |= 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 *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 P", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PositionId", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -13882,16 +15786,16 @@ func (m *BareTradingFunction) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.P == nil { - m.P = &v13.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 State", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -13918,10 +15822,10 @@ func (m *BareTradingFunction) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Q == nil { - m.Q = &v13.Amount{} + if m.State == nil { + m.State = &PositionState{} } - if err := m.Q.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.State.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -13946,7 +15850,7 @@ func (m *BareTradingFunction) Unmarshal(dAtA []byte) error { } return nil } -func (m *Reserves) Unmarshal(dAtA []byte) error { +func (m *PositionOpen) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13969,15 +15873,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: PositionOpen: 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: 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 R1", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -14004,16 +15908,66 @@ func (m *Reserves) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.R1 == nil { - m.R1 = &v13.Amount{} + if m.Position == nil { + m.Position = &Position{} } - if err := m.R1.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 R2", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PositionId", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -14040,10 +15994,10 @@ func (m *Reserves) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.R2 == nil { - m.R2 = &v13.Amount{} + if m.PositionId == nil { + m.PositionId = &PositionId{} } - if err := m.R2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.PositionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -14068,7 +16022,7 @@ func (m *Reserves) Unmarshal(dAtA []byte) error { } return nil } -func (m *Position) Unmarshal(dAtA []byte) error { +func (m *PositionWithdraw) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14091,15 +16045,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: PositionWithdraw: 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: PositionWithdraw: 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 PositionId", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -14126,18 +16080,18 @@ func (m *Position) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Phi == nil { - m.Phi = &TradingFunction{} + if m.PositionId == nil { + m.PositionId = &PositionId{} } - if err := m.Phi.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 Nonce", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ReservesCommitment", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -14147,31 +16101,33 @@ 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.ReservesCommitment == nil { + m.ReservesCommitment = &v14.BalanceCommitment{} + } + if err := m.ReservesCommitment.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) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Sequence", wireType) } - var msglen int + m.Sequence = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -14181,31 +16137,64 @@ func (m *Position) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.Sequence |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthDex + default: + iNdEx = preIndex + skippy, err := skipDex(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + msglen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthDex } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - if m.State == nil { - m.State = &PositionState{} + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PositionRewardClaim) 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 err := m.State.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + if iNdEx >= l { + return io.ErrUnexpectedEOF } - iNdEx = postIndex - case 4: + 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: PositionRewardClaim: wiretype end group for non-group") + } + if fieldNum <= 0 { + 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 Reserves", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PositionId", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -14232,18 +16221,18 @@ func (m *Position) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Reserves == nil { - m.Reserves = &Reserves{} + if m.PositionId == nil { + m.PositionId = &PositionId{} } - if err := m.Reserves.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.PositionId.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) + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RewardsCommitment", wireType) } - var v int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -14253,12 +16242,28 @@ func (m *Position) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - m.CloseOnFill = bool(v != 0) + if msglen < 0 { + return ErrInvalidLengthDex + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.RewardsCommitment == nil { + m.RewardsCommitment = &v14.BalanceCommitment{} + } + if err := m.RewardsCommitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -14280,7 +16285,7 @@ func (m *Position) Unmarshal(dAtA []byte) error { } return nil } -func (m *PositionId) Unmarshal(dAtA []byte) error { +func (m *SwapExecution) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14303,17 +16308,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: SwapExecution: 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: 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 Inner", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Traces", wireType) } - var byteLen int + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -14323,31 +16328,31 @@ 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{} + 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 AltBech32M", 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 @@ -14357,23 +16362,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 } - m.AltBech32M = string(dAtA[iNdEx:postIndex]) + if m.Input == nil { + m.Input = &v14.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) + } + 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 == nil { + m.Output = &v14.Value{} + } + if err := m.Output.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -14396,7 +16441,7 @@ func (m *PositionId) Unmarshal(dAtA []byte) error { } return nil } -func (m *PositionState) Unmarshal(dAtA []byte) error { +func (m *SwapExecution_Trace) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14419,17 +16464,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: Trace: 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: Trace: 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 Value", wireType) } - m.State = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -14439,30 +16484,26 @@ 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 } } - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Sequence", wireType) + if msglen < 0 { + return ErrInvalidLengthDex } - m.Sequence = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowDex - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Sequence |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDex + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Value = append(m.Value, &v14.Value{}) + if err := m.Value[len(m.Value)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -14484,7 +16525,7 @@ func (m *PositionState) Unmarshal(dAtA []byte) error { } return nil } -func (m *LpNft) Unmarshal(dAtA []byte) error { +func (m *PositionWithdrawPlan) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14507,15 +16548,15 @@ 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: PositionWithdrawPlan: 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: 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 PositionId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Reserves", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -14542,16 +16583,16 @@ func (m *LpNft) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.PositionId == nil { - m.PositionId = &PositionId{} + if m.Reserves == nil { + m.Reserves = &Reserves{} } - if err := m.PositionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + 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 State", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PositionId", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -14578,66 +16619,71 @@ func (m *LpNft) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.State == nil { - m.State = &PositionState{} + if m.PositionId == nil { + m.PositionId = &PositionId{} } - if err := m.State.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.PositionId.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 Pair", wireType) } - if (skippy < 0) || (iNdEx+skippy) < 0 { + 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 *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 m.Pair == nil { + m.Pair = &TradingPair{} } - if iNdEx >= l { - return io.ErrUnexpectedEOF + if err := m.Pair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Sequence", wireType) } - } - 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: + m.Sequence = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Sequence |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Rewards", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -14664,10 +16710,8 @@ func (m *PositionOpen) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Position == nil { - m.Position = &Position{} - } - if err := m.Position.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.Rewards = append(m.Rewards, &v14.Value{}) + if err := m.Rewards[len(m.Rewards)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -14692,7 +16736,7 @@ func (m *PositionOpen) Unmarshal(dAtA []byte) error { } return nil } -func (m *PositionClose) Unmarshal(dAtA []byte) error { +func (m *PositionRewardClaimPlan) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14715,15 +16759,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: PositionRewardClaimPlan: 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: PositionRewardClaimPlan: 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 Reserves", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -14750,10 +16794,10 @@ func (m *PositionClose) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.PositionId == nil { - m.PositionId = &PositionId{} + if m.Reserves == nil { + m.Reserves = &Reserves{} } - if err := m.PositionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Reserves.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -14778,7 +16822,7 @@ func (m *PositionClose) Unmarshal(dAtA []byte) error { } return nil } -func (m *PositionWithdraw) Unmarshal(dAtA []byte) error { +func (m *BatchSwapOutputDataRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14801,17 +16845,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: BatchSwapOutputDataRequest: 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: 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) + case 2: + 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 @@ -14821,31 +16865,14 @@ func (m *PositionWithdraw) 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.PositionId == nil { - m.PositionId = &PositionId{} - } - if err := m.PositionId.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 ReservesCommitment", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TradingPair", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -14872,32 +16899,13 @@ func (m *PositionWithdraw) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.ReservesCommitment == nil { - m.ReservesCommitment = &v14.BalanceCommitment{} + if m.TradingPair == nil { + m.TradingPair = &TradingPair{} } - if err := m.ReservesCommitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.TradingPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Sequence", wireType) - } - m.Sequence = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowDex - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Sequence |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -14919,7 +16927,7 @@ func (m *PositionWithdraw) Unmarshal(dAtA []byte) error { } return nil } -func (m *PositionRewardClaim) Unmarshal(dAtA []byte) error { +func (m *BatchSwapOutputDataResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14937,56 +16945,20 @@ func (m *PositionRewardClaim) Unmarshal(dAtA []byte) error { wire |= uint64(b&0x7F) << shift if b < 0x80 { break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: PositionRewardClaim: wiretype end group for non-group") - } - if fieldNum <= 0 { - 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 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: + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: BatchSwapOutputDataResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + 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 RewardsCommitment", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -15013,10 +16985,10 @@ func (m *PositionRewardClaim) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.RewardsCommitment == nil { - m.RewardsCommitment = &v14.BalanceCommitment{} + if m.Data == nil { + m.Data = &BatchSwapOutputData{} } - if err := m.RewardsCommitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -15041,7 +17013,7 @@ func (m *PositionRewardClaim) Unmarshal(dAtA []byte) error { } return nil } -func (m *SwapExecution) Unmarshal(dAtA []byte) error { +func (m *SwapExecutionRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15064,17 +17036,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: SwapExecutionRequest: 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: 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 Traces", wireType) + case 2: + 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 @@ -15084,29 +17056,14 @@ 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 - } - 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: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Input", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TradingPair", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -15133,16 +17090,66 @@ func (m *SwapExecution) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Input == nil { - m.Input = &v14.Value{} + if m.TradingPair == nil { + m.TradingPair = &DirectedTradingPair{} } - 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 3: + 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 *SwapExecutionResponse) 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: SwapExecutionResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + 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 Output", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SwapExecution", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -15169,10 +17176,10 @@ func (m *SwapExecution) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Output == nil { - m.Output = &v14.Value{} + if m.SwapExecution == nil { + m.SwapExecution = &SwapExecution{} } - if err := m.Output.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.SwapExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -15197,7 +17204,7 @@ func (m *SwapExecution) Unmarshal(dAtA []byte) error { } return nil } -func (m *SwapExecution_Trace) Unmarshal(dAtA []byte) error { +func (m *ArbExecutionRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15220,17 +17227,17 @@ 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: ArbExecutionRequest: 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: 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 Value", wireType) + case 2: + 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 @@ -15240,26 +17247,11 @@ func (m *SwapExecution_Trace) 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 - } - m.Value = append(m.Value, &v14.Value{}) - if err := m.Value[len(m.Value)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -15281,7 +17273,7 @@ func (m *SwapExecution_Trace) Unmarshal(dAtA []byte) error { } return nil } -func (m *PositionWithdrawPlan) Unmarshal(dAtA []byte) error { +func (m *ArbExecutionResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15304,15 +17296,15 @@ 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: ArbExecutionResponse: 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: 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 Reserves", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SwapExecution", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -15339,18 +17331,18 @@ func (m *PositionWithdrawPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Reserves == nil { - m.Reserves = &Reserves{} + if m.SwapExecution == nil { + m.SwapExecution = &SwapExecution{} } - if err := m.Reserves.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.SwapExecution.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) + 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 @@ -15360,33 +17352,66 @@ func (m *PositionWithdrawPlan) 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 + default: + iNdEx = preIndex + skippy, err := skipDex(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + msglen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthDex } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - if m.PositionId == nil { - m.PositionId = &PositionId{} + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SwapExecutionsRequest) 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 err := m.PositionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + if iNdEx >= l { + return io.ErrUnexpectedEOF } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pair", wireType) + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break } - var msglen int + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SwapExecutionsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SwapExecutionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + 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 @@ -15395,34 +17420,17 @@ func (m *PositionWithdrawPlan) Unmarshal(dAtA []byte) error { 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++ + m.StartHeight |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - iNdEx = postIndex - case 4: + case 3: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Sequence", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EndHeight", wireType) } - m.Sequence = 0 + m.EndHeight = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -15432,14 +17440,14 @@ func (m *PositionWithdrawPlan) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Sequence |= uint64(b&0x7F) << shift + m.EndHeight |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 5: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Rewards", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TradingPair", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -15466,8 +17474,10 @@ func (m *PositionWithdrawPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Rewards = append(m.Rewards, &v14.Value{}) - if err := m.Rewards[len(m.Rewards)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.TradingPair == nil { + m.TradingPair = &DirectedTradingPair{} + } + if err := m.TradingPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -15492,7 +17502,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 { @@ -15515,15 +17525,15 @@ 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 { @@ -15550,10 +17560,65 @@ func (m *PositionRewardClaimPlan) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Reserves == nil { - m.Reserves = &Reserves{} + if m.SwapExecution == nil { + m.SwapExecution = &SwapExecution{} } - if err := m.Reserves.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 + } + } + 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 { + 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 @@ -15578,7 +17643,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 { @@ -15601,17 +17666,17 @@ 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 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 @@ -15621,16 +17686,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 @@ -15640,28 +17705,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:]) @@ -15683,7 +17731,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 { @@ -15706,15 +17754,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 { @@ -15741,13 +17789,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:]) @@ -15769,7 +17836,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 { @@ -15792,36 +17859,17 @@ 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 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 @@ -15831,28 +17879,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:]) @@ -15874,7 +17906,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 { @@ -15897,15 +17929,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 { @@ -15932,10 +17964,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 @@ -15960,7 +17992,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 { @@ -15983,17 +18015,17 @@ 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 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 @@ -16003,11 +18035,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:]) @@ -16029,7 +18078,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 { @@ -16052,15 +18101,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 { @@ -16087,32 +18136,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:]) @@ -16134,7 +18164,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 { @@ -16157,53 +18187,15 @@ 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 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 { @@ -16230,10 +18222,8 @@ func (m *SwapExecutionsRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.TradingPair == nil { - m.TradingPair = &DirectedTradingPair{} - } - 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 @@ -16258,7 +18248,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 { @@ -16281,70 +18271,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 { @@ -16371,10 +18306,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 @@ -16399,7 +18334,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 { @@ -16422,17 +18357,17 @@ 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 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 @@ -16442,16 +18377,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 @@ -16461,7 +18413,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 } @@ -16487,7 +18439,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 { @@ -16510,15 +18462,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 { @@ -16545,18 +18497,18 @@ 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) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) } - m.Height = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -16566,11 +18518,28 @@ func (m *ArbExecutionsResponse) 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.Id == nil { + m.Id = &PositionId{} + } + if err := m.Id.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -16592,7 +18561,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 { @@ -16615,17 +18584,17 @@ 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 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 @@ -16635,12 +18604,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:]) @@ -16662,7 +18647,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 { @@ -16685,15 +18670,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 { @@ -16720,13 +18705,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:]) @@ -16748,7 +18791,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 { @@ -16771,15 +18814,51 @@ 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 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 = &v14.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 { @@ -16806,10 +18885,46 @@ 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 = &v14.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 + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Routing", 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.Routing == nil { + m.Routing = &SimulateTradeRequest_Routing{} + } + if err := m.Routing.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -16834,7 +18949,7 @@ func (m *LiquidityPositionByIdRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *LiquidityPositionByIdResponse) Unmarshal(dAtA []byte) error { +func (m *SimulateTradeRequest_Routing) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -16857,15 +18972,15 @@ func (m *LiquidityPositionByIdResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: LiquidityPositionByIdResponse: wiretype end group for non-group") + return fmt.Errorf("proto: Routing: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: LiquidityPositionByIdResponse: 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 Data", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Default", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -16892,12 +19007,46 @@ func (m *LiquidityPositionByIdResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Data == nil { - m.Data = &Position{} + v := &SimulateTradeRequest_Routing_Default{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + 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 + } + 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 @@ -16920,7 +19069,7 @@ func (m *LiquidityPositionByIdResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *LiquidityPositionsByIdRequest) Unmarshal(dAtA []byte) error { +func (m *SimulateTradeRequest_Routing_SingleHop) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -16943,46 +19092,12 @@ 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: SingleHop: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: LiquidityPositionsByIdRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 2: - 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 - } - m.PositionId = append(m.PositionId, &PositionId{}) - if err := m.PositionId[len(m.PositionId)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex + return fmt.Errorf("proto: SingleHop: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -17004,7 +19119,7 @@ func (m *LiquidityPositionsByIdRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *LiquidityPositionsByIdResponse) Unmarshal(dAtA []byte) error { +func (m *SimulateTradeRequest_Routing_Default) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -17027,48 +19142,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: Default: 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: Default: 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:]) @@ -17090,7 +19169,7 @@ func (m *LiquidityPositionsByIdResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *LiquidityPositionsByPriceRequest) Unmarshal(dAtA []byte) error { +func (m *SimulateTradeResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -17113,15 +19192,15 @@ 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") + return fmt.Errorf("proto: SimulateTradeResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: LiquidityPositionsByPriceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SimulateTradeResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 2: + 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 Output", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -17148,18 +19227,18 @@ func (m *LiquidityPositionsByPriceRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.TradingPair == nil { - m.TradingPair = &DirectedTradingPair{} + if m.Output == nil { + m.Output = &SwapExecution{} } - if err := m.TradingPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Output.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) + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Unfilled", wireType) } - m.Limit = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -17169,11 +19248,28 @@ func (m *LiquidityPositionsByPriceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Limit |= 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.Unfilled == nil { + m.Unfilled = &v14.Value{} + } + if err := m.Unfilled.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -17195,7 +19291,7 @@ func (m *LiquidityPositionsByPriceRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *LiquidityPositionsByPriceResponse) Unmarshal(dAtA []byte) error { +func (m *EventSwap) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -17218,15 +19314,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: EventSwap: 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: 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 Data", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TradingPair", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -17253,66 +19349,16 @@ func (m *LiquidityPositionsByPriceResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Data == nil { - m.Data = &Position{} + if m.TradingPair == nil { + m.TradingPair = &TradingPair{} } - if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.TradingPair.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 *SpreadRequest) 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: SpreadRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SpreadRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { 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 { @@ -17339,66 +19385,16 @@ 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 = &v13.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 - 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 *SpreadResponse) 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: SpreadResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SpreadResponse: 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 Best_1To_2Position", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Delta_2I", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -17425,16 +19421,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.Delta_2I == nil { + m.Delta_2I = &v13.Amount{} } - if err := m.Best_1To_2Position.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Delta_2I.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 2: + case 4: 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 SwapCommitment", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -17461,35 +19457,13 @@ 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.SwapCommitment == nil { + m.SwapCommitment = &v12.StateCommitment{} } - if err := m.Best_2To_1Position.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.SwapCommitment.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:]) @@ -17511,7 +19485,7 @@ func (m *SpreadResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *SimulateTradeRequest) Unmarshal(dAtA []byte) error { +func (m *EventSwapClaim) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -17534,15 +19508,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: EventSwapClaim: 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: 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 Input", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TradingPair", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -17569,16 +19543,16 @@ func (m *SimulateTradeRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Input == nil { - m.Input = &v14.Value{} + 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: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Output", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Output_1Commitment", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -17605,16 +19579,16 @@ func (m *SimulateTradeRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Output == nil { - m.Output = &v14.AssetId{} + if m.Output_1Commitment == nil { + m.Output_1Commitment = &v12.StateCommitment{} } - if err := m.Output.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 != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Routing", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Output_2Commitment", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -17641,10 +19615,46 @@ func (m *SimulateTradeRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Routing == nil { - m.Routing = &SimulateTradeRequest_Routing{} + if m.Output_2Commitment == nil { + m.Output_2Commitment = &v12.StateCommitment{} } - if err := m.Routing.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Output_2Commitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + 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 = &v1.Nullifier{} + } + if err := m.Nullifier.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -17669,7 +19679,7 @@ func (m *SimulateTradeRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *SimulateTradeRequest_Routing) Unmarshal(dAtA []byte) error { +func (m *EventPositionOpen) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -17692,15 +19702,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: EventPositionOpen: 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: 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 Default", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PositionId", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -17727,15 +19737,16 @@ 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 { + if m.PositionId == nil { + m.PositionId = &PositionId{} + } + if err := m.PositionId.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) + return fmt.Errorf("proto: wrong wireType = %d for field TradingPair", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -17762,165 +19773,52 @@ func (m *SimulateTradeRequest_Routing) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &SimulateTradeRequest_Routing_SingleHop{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + if m.TradingPair == nil { + m.TradingPair = &TradingPair{} } - m.Setting = &SimulateTradeRequest_Routing_SingleHop_{v} - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipDex(dAtA[iNdEx:]) - if err != nil { + if err := m.TradingPair.Unmarshal(dAtA[iNdEx:postIndex]); 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 *SimulateTradeRequest_Routing_SingleHop) 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 + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Reserves_1", wireType) } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: SingleHop: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: SingleHop: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipDex(dAtA[iNdEx:]) - if err != nil { - return err + 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 (skippy < 0) || (iNdEx+skippy) < 0 { + if msglen < 0 { return ErrInvalidLengthDex } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - 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 - } - 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: 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 { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { + postIndex := iNdEx + msglen + if postIndex < 0 { return ErrInvalidLengthDex } - if (iNdEx + skippy) > l { + 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 iNdEx >= l { - return io.ErrUnexpectedEOF + if m.Reserves_1 == nil { + m.Reserves_1 = &v13.Amount{} } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + if err := m.Reserves_1.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - } - 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: + 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 { @@ -17947,18 +19845,18 @@ 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 = &v13.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 - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Unfilled", wireType) + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TradingFee", wireType) } - var msglen int + m.TradingFee = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -17968,28 +19866,11 @@ func (m *SimulateTradeResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.TradingFee |= uint32(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.Unfilled == nil { - m.Unfilled = &v14.Value{} - } - if err := m.Unfilled.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -18011,7 +19892,7 @@ func (m *SimulateTradeResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventSwap) Unmarshal(dAtA []byte) error { +func (m *EventPositionClose) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -18034,15 +19915,15 @@ func (m *EventSwap) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventSwap: wiretype end group for non-group") + return fmt.Errorf("proto: EventPositionClose: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventSwap: 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 TradingPair", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PositionId", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -18069,88 +19950,66 @@ func (m *EventSwap) 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 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 + default: + iNdEx = preIndex + skippy, err := skipDex(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + msglen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthDex } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - if m.Delta_1I == nil { - m.Delta_1I = &v13.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) - } - 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 + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EventQueuePositionClose) 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 postIndex > l { + if iNdEx >= l { return io.ErrUnexpectedEOF } - if m.Delta_2I == nil { - m.Delta_2I = &v13.Amount{} - } - if err := m.Delta_2I.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break } - iNdEx = postIndex - case 4: + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: EventQueuePositionClose: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventQueuePositionClose: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SwapCommitment", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PositionId", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -18177,10 +20036,10 @@ func (m *EventSwap) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.SwapCommitment == nil { - m.SwapCommitment = &v12.StateCommitment{} + if m.PositionId == nil { + m.PositionId = &PositionId{} } - if err := m.SwapCommitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.PositionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -18205,7 +20064,7 @@ func (m *EventSwap) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventSwapClaim) Unmarshal(dAtA []byte) error { +func (m *EventPositionWithdraw) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -18228,15 +20087,15 @@ func (m *EventSwapClaim) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventSwapClaim: wiretype end group for non-group") + return fmt.Errorf("proto: EventPositionWithdraw: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventSwapClaim: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventPositionWithdraw: 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 { @@ -18263,16 +20122,16 @@ func (m *EventSwapClaim) 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 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Output_1Commitment", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TradingPair", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -18299,16 +20158,16 @@ func (m *EventSwapClaim) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Output_1Commitment == nil { - m.Output_1Commitment = &v12.StateCommitment{} + if m.TradingPair == nil { + m.TradingPair = &TradingPair{} } - if err := m.Output_1Commitment.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_2Commitment", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Reserves_1", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -18335,16 +20194,16 @@ func (m *EventSwapClaim) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Output_2Commitment == nil { - m.Output_2Commitment = &v12.StateCommitment{} + if m.Reserves_1 == nil { + m.Reserves_1 = &v13.Amount{} } - if err := m.Output_2Commitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + 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 Nullifier", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Reserves_2", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -18371,13 +20230,32 @@ func (m *EventSwapClaim) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Nullifier == nil { - m.Nullifier = &v1.Nullifier{} + if m.Reserves_2 == nil { + m.Reserves_2 = &v13.Amount{} } - if err := m.Nullifier.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 Sequence", wireType) + } + m.Sequence = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Sequence |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -18399,7 +20277,7 @@ func (m *EventSwapClaim) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventPositionOpen) Unmarshal(dAtA []byte) error { +func (m *EventPositionExecution) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -18422,10 +20300,10 @@ func (m *EventPositionOpen) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventPositionOpen: wiretype end group for non-group") + return fmt.Errorf("proto: EventPositionExecution: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventPositionOpen: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventPositionExecution: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -18529,16 +20407,52 @@ func (m *EventPositionOpen) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Reserves_1 == nil { - m.Reserves_1 = &v13.Amount{} + if m.Reserves_1 == nil { + m.Reserves_1 = &v13.Amount{} + } + 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 Reserves_2", 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.Reserves_2 == nil { + m.Reserves_2 = &v13.Amount{} } - if err := m.Reserves_1.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Reserves_2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 4: + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reserves_2", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PrevReserves_1", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -18565,18 +20479,18 @@ func (m *EventPositionOpen) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Reserves_2 == nil { - m.Reserves_2 = &v13.Amount{} + if m.PrevReserves_1 == nil { + m.PrevReserves_1 = &v13.Amount{} } - if err := m.Reserves_2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.PrevReserves_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 TradingFee", wireType) + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PrevReserves_2", wireType) } - m.TradingFee = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -18586,64 +20500,31 @@ func (m *EventPositionOpen) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.TradingFee |= uint32(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - default: - iNdEx = preIndex - skippy, err := skipDex(dAtA[iNdEx:]) - if err != nil { - return err + if msglen < 0 { + return ErrInvalidLengthDex } - if (skippy < 0) || (iNdEx+skippy) < 0 { + postIndex := iNdEx + msglen + if postIndex < 0 { return ErrInvalidLengthDex } - if (iNdEx + skippy) > l { + if postIndex > l { return io.ErrUnexpectedEOF } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *EventPositionClose) 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 + if m.PrevReserves_2 == nil { + m.PrevReserves_2 = &v13.Amount{} } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + if err := m.PrevReserves_2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: EventPositionClose: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: EventPositionClose: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + iNdEx = postIndex + case 7: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PositionId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Context", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -18670,10 +20551,10 @@ func (m *EventPositionClose) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.PositionId == nil { - m.PositionId = &PositionId{} + if m.Context == nil { + m.Context = &DirectedTradingPair{} } - if err := m.PositionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Context.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -18698,7 +20579,7 @@ func (m *EventPositionClose) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventPositionWithdraw) Unmarshal(dAtA []byte) error { +func (m *EventBatchSwap) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -18721,15 +20602,15 @@ func (m *EventPositionWithdraw) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventPositionWithdraw: wiretype end group for non-group") + return fmt.Errorf("proto: EventBatchSwap: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventPositionWithdraw: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventBatchSwap: 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 BatchSwapOutputData", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -18756,16 +20637,16 @@ func (m *EventPositionWithdraw) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.PositionId == nil { - m.PositionId = &PositionId{} + if m.BatchSwapOutputData == nil { + m.BatchSwapOutputData = &BatchSwapOutputData{} } - if err := m.PositionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.BatchSwapOutputData.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 SwapExecution_1For_2", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -18792,52 +20673,16 @@ func (m *EventPositionWithdraw) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.TradingPair == nil { - m.TradingPair = &TradingPair{} + if m.SwapExecution_1For_2 == nil { + m.SwapExecution_1For_2 = &SwapExecution{} } - if err := m.TradingPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.SwapExecution_1For_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 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 - } - if m.Reserves_1 == nil { - m.Reserves_1 = &v13.Amount{} - } - 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 Reserves_2", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SwapExecution_2For_1", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -18864,32 +20709,13 @@ func (m *EventPositionWithdraw) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Reserves_2 == nil { - m.Reserves_2 = &v13.Amount{} + if m.SwapExecution_2For_1 == nil { + m.SwapExecution_2For_1 = &SwapExecution{} } - if err := m.Reserves_2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.SwapExecution_2For_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 Sequence", wireType) - } - m.Sequence = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowDex - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Sequence |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -18911,7 +20737,7 @@ func (m *EventPositionWithdraw) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventPositionExecution) Unmarshal(dAtA []byte) error { +func (m *EventArbExecution) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -18934,15 +20760,34 @@ func (m *EventPositionExecution) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventPositionExecution: wiretype end group for non-group") + return fmt.Errorf("proto: EventArbExecution: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventPositionExecution: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventArbExecution: 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) + } + 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 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PositionId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SwapExecution", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -18969,16 +20814,66 @@ func (m *EventPositionExecution) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.PositionId == nil { - m.PositionId = &PositionId{} + if m.SwapExecution == nil { + m.SwapExecution = &SwapExecution{} } - if err := m.PositionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.SwapExecution.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 *EventValueCircuitBreakerCredit) 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: EventValueCircuitBreakerCredit: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventValueCircuitBreakerCredit: 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 AssetId", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -19005,16 +20900,16 @@ func (m *EventPositionExecution) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.TradingPair == nil { - m.TradingPair = &TradingPair{} + if m.AssetId == nil { + m.AssetId = &v14.AssetId{} } - if err := m.TradingPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.AssetId.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 Reserves_1", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PreviousBalance", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -19041,16 +20936,16 @@ func (m *EventPositionExecution) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Reserves_1 == nil { - m.Reserves_1 = &v13.Amount{} + if m.PreviousBalance == nil { + m.PreviousBalance = &v13.Amount{} } - if err := m.Reserves_1.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.PreviousBalance.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 4: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reserves_2", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field NewBalance", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -19077,16 +20972,66 @@ func (m *EventPositionExecution) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Reserves_2 == nil { - m.Reserves_2 = &v13.Amount{} + if m.NewBalance == nil { + m.NewBalance = &v13.Amount{} } - if err := m.Reserves_2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.NewBalance.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 5: + 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 *EventValueCircuitBreakerDebit) 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: EventValueCircuitBreakerDebit: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventValueCircuitBreakerDebit: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PrevReserves_1", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AssetId", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -19113,16 +21058,16 @@ func (m *EventPositionExecution) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.PrevReserves_1 == nil { - m.PrevReserves_1 = &v13.Amount{} + if m.AssetId == nil { + m.AssetId = &v14.AssetId{} } - if err := m.PrevReserves_1.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.AssetId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 6: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PrevReserves_2", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PreviousBalance", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -19149,16 +21094,16 @@ func (m *EventPositionExecution) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.PrevReserves_2 == nil { - m.PrevReserves_2 = &v13.Amount{} + if m.PreviousBalance == nil { + m.PreviousBalance = &v13.Amount{} } - if err := m.PrevReserves_2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.PreviousBalance.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 7: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Context", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field NewBalance", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -19185,10 +21130,10 @@ func (m *EventPositionExecution) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Context == nil { - m.Context = &DirectedTradingPair{} + if m.NewBalance == nil { + m.NewBalance = &v13.Amount{} } - if err := m.Context.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.NewBalance.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -19213,7 +21158,7 @@ func (m *EventPositionExecution) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventBatchSwap) Unmarshal(dAtA []byte) error { +func (m *DexParameters) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -19236,15 +21181,35 @@ func (m *EventBatchSwap) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventBatchSwap: wiretype end group for non-group") + return fmt.Errorf("proto: DexParameters: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventBatchSwap: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: DexParameters: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsEnabled", 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.IsEnabled = bool(v != 0) + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BatchSwapOutputData", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field FixedCandidates", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -19271,18 +21236,16 @@ func (m *EventBatchSwap) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.BatchSwapOutputData == nil { - m.BatchSwapOutputData = &BatchSwapOutputData{} - } - if err := m.BatchSwapOutputData.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.FixedCandidates = append(m.FixedCandidates, &v14.AssetId{}) + if err := m.FixedCandidates[len(m.FixedCandidates)-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 SwapExecution_1For_2", wireType) + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxHops", wireType) } - var msglen int + m.MaxHops = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -19292,31 +21255,83 @@ func (m *EventBatchSwap) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.MaxHops |= uint32(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthDex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxPositionsPerPair", wireType) } - postIndex := iNdEx + msglen - if postIndex < 0 { + m.MaxPositionsPerPair = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDex + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxPositionsPerPair |= uint32(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 postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - if m.SwapExecution_1For_2 == nil { - m.SwapExecution_1For_2 = &SwapExecution{} + 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 ErrIntOverflowDex } - if err := m.SwapExecution_1For_2.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + if iNdEx >= l { + return io.ErrUnexpectedEOF } - iNdEx = postIndex - case 3: + 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 SwapExecution_2For_1", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DexParams", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -19343,10 +21358,10 @@ func (m *EventBatchSwap) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.SwapExecution_2For_1 == nil { - m.SwapExecution_2For_1 = &SwapExecution{} + if m.DexParams == nil { + m.DexParams = &DexParameters{} } - if err := m.SwapExecution_2For_1.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.DexParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -19371,7 +21386,7 @@ func (m *EventBatchSwap) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventArbExecution) Unmarshal(dAtA []byte) error { +func (m *CandlestickData) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -19394,10 +21409,10 @@ func (m *EventArbExecution) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventArbExecution: wiretype end group for non-group") + return fmt.Errorf("proto: CandlestickData: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventArbExecution: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CandlestickData: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -19419,42 +21434,72 @@ func (m *EventArbExecution) Unmarshal(dAtA []byte) error { break } } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SwapExecution", wireType) + case 2: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field Open", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.Open = float64(math.Float64frombits(v)) + case 3: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field Close", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.Close = float64(math.Float64frombits(v)) + case 4: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field High", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF } - 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 - } + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.High = float64(math.Float64frombits(v)) + case 5: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field Low", wireType) } - if msglen < 0 { - return ErrInvalidLengthDex + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthDex + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.Low = float64(math.Float64frombits(v)) + case 6: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field DirectVolume", wireType) } - if postIndex > l { + var v uint64 + if (iNdEx + 8) > l { return io.ErrUnexpectedEOF } - if m.SwapExecution == nil { - m.SwapExecution = &SwapExecution{} + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.DirectVolume = float64(math.Float64frombits(v)) + case 7: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field SwapVolume", wireType) } - if err := m.SwapExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF } - iNdEx = postIndex + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.SwapVolume = float64(math.Float64frombits(v)) default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -19476,7 +21521,7 @@ func (m *EventArbExecution) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventValueCircuitBreakerCredit) Unmarshal(dAtA []byte) error { +func (m *CandlestickDataRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -19499,15 +21544,15 @@ func (m *EventValueCircuitBreakerCredit) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventValueCircuitBreakerCredit: wiretype end group for non-group") + return fmt.Errorf("proto: CandlestickDataRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventValueCircuitBreakerCredit: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CandlestickDataRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AssetId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Pair", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -19534,18 +21579,18 @@ func (m *EventValueCircuitBreakerCredit) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.AssetId == nil { - m.AssetId = &v14.AssetId{} + if m.Pair == nil { + m.Pair = &DirectedTradingPair{} } - if err := m.AssetId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Pair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PreviousBalance", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType) } - var msglen int + m.Limit = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowDex @@ -19555,33 +21600,16 @@ func (m *EventValueCircuitBreakerCredit) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.Limit |= 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.PreviousBalance == nil { - m.PreviousBalance = &v13.Amount{} - } - if err := m.PreviousBalance.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NewBalance", 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 @@ -19591,28 +21619,11 @@ func (m *EventValueCircuitBreakerCredit) 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.NewBalance == nil { - m.NewBalance = &v13.Amount{} - } - if err := m.NewBalance.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -19634,7 +21645,7 @@ func (m *EventValueCircuitBreakerCredit) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventValueCircuitBreakerDebit) Unmarshal(dAtA []byte) error { +func (m *CandlestickDataResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -19657,87 +21668,15 @@ func (m *EventValueCircuitBreakerDebit) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventValueCircuitBreakerDebit: wiretype end group for non-group") + return fmt.Errorf("proto: CandlestickDataResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventValueCircuitBreakerDebit: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CandlestickDataResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AssetId", 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.AssetId == nil { - m.AssetId = &v14.AssetId{} - } - if err := m.AssetId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PreviousBalance", 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.PreviousBalance == nil { - m.PreviousBalance = &v13.Amount{} - } - if err := m.PreviousBalance.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NewBalance", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -19764,10 +21703,8 @@ func (m *EventValueCircuitBreakerDebit) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.NewBalance == nil { - m.NewBalance = &v13.Amount{} - } - if err := m.NewBalance.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.Data = append(m.Data, &CandlestickData{}) + if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -19792,7 +21729,7 @@ func (m *EventValueCircuitBreakerDebit) Unmarshal(dAtA []byte) error { } return nil } -func (m *DexParameters) Unmarshal(dAtA []byte) error { +func (m *CandlestickDataStreamRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -19815,35 +21752,15 @@ func (m *DexParameters) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: DexParameters: wiretype end group for non-group") + return fmt.Errorf("proto: CandlestickDataStreamRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: DexParameters: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CandlestickDataStreamRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field IsEnabled", 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.IsEnabled = bool(v != 0) - case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FixedCandidates", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Pair", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -19870,30 +21787,13 @@ func (m *DexParameters) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.FixedCandidates = append(m.FixedCandidates, &v14.AssetId{}) - if err := m.FixedCandidates[len(m.FixedCandidates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.Pair == nil { + m.Pair = &DirectedTradingPair{} + } + if err := m.Pair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MaxHops", wireType) - } - m.MaxHops = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowDex - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.MaxHops |= uint32(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := skipDex(dAtA[iNdEx:]) @@ -19915,7 +21815,7 @@ func (m *DexParameters) Unmarshal(dAtA []byte) error { } return nil } -func (m *GenesisContent) Unmarshal(dAtA []byte) error { +func (m *CandlestickDataStreamResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -19938,15 +21838,15 @@ func (m *GenesisContent) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GenesisContent: wiretype end group for non-group") + return fmt.Errorf("proto: CandlestickDataStreamResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GenesisContent: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: CandlestickDataStreamResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DexParams", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -19973,10 +21873,10 @@ func (m *GenesisContent) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.DexParams == nil { - m.DexParams = &DexParameters{} + if m.Data == nil { + m.Data = &CandlestickData{} } - if err := m.DexParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex diff --git a/relayer/chains/penumbra/core/component/fee/v1/fee.pb.go b/relayer/chains/penumbra/core/component/fee/v1/fee.pb.go index 5d6e30f68..9ffc29b5a 100644 --- a/relayer/chains/penumbra/core/component/fee/v1/fee.pb.go +++ b/relayer/chains/penumbra/core/component/fee/v1/fee.pb.go @@ -118,6 +118,10 @@ func (m *Fee) GetAssetId() *v11.AssetId { } type GasPrices struct { + // The asset ID of the fee token these prices are for. + // + // If absent, specifies the staking token implicitly. + AssetId *v11.AssetId `protobuf:"bytes,15,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` // The price per unit block space in terms of the staking token, with an implicit 1,000 denominator. BlockSpacePrice uint64 `protobuf:"varint,1,opt,name=block_space_price,json=blockSpacePrice,proto3" json:"block_space_price,omitempty"` // The price per unit compact block space in terms of the staking token, with an implicit 1,000 denominator. @@ -161,6 +165,13 @@ func (m *GasPrices) XXX_DiscardUnknown() { var xxx_messageInfo_GasPrices proto.InternalMessageInfo +func (m *GasPrices) GetAssetId() *v11.AssetId { + if m != nil { + return m.AssetId + } + return nil +} + func (m *GasPrices) GetBlockSpacePrice() uint64 { if m != nil { return m.BlockSpacePrice @@ -236,10 +247,21 @@ func (m *FeeTier) GetFeeTier() FeeTier_Tier { // Fee component configuration data. type FeeParameters struct { - // Fixed gas prices used to compute transactions' base fees. + // Fixed gas prices in the native token used to compute transactions' base + // fees. // - // In the future, this should be removed and replaced with parameters for dynamic gas pricing. + // In the future, this should be removed and replaced with parameters for + // dynamic gas pricing. FixedGasPrices *GasPrices `protobuf:"bytes,1,opt,name=fixed_gas_prices,json=fixedGasPrices,proto3" json:"fixed_gas_prices,omitempty"` + // Fixed gas prices in other tokens used to compute transactions' base fees. + // + // In the future, this should be removed and replaced with fixed multiples of + // the native token's price (so that there is one set of dynamically + // determined gas prices in the native token, and derived gas prices in other + // alternative tokens). + // + // If this is empty, no other tokens are accepted for gas. + FixedAltGasPrices []*GasPrices `protobuf:"bytes,2,rep,name=fixed_alt_gas_prices,json=fixedAltGasPrices,proto3" json:"fixed_alt_gas_prices,omitempty"` } func (m *FeeParameters) Reset() { *m = FeeParameters{} } @@ -282,6 +304,13 @@ func (m *FeeParameters) GetFixedGasPrices() *GasPrices { return nil } +func (m *FeeParameters) GetFixedAltGasPrices() []*GasPrices { + if m != nil { + return m.FixedAltGasPrices + } + return nil +} + // Fee-specific genesis content. type GenesisContent struct { // The FeeParameters present at genesis. @@ -365,8 +394,10 @@ func (m *CurrentGasPricesRequest) XXX_DiscardUnknown() { var xxx_messageInfo_CurrentGasPricesRequest proto.InternalMessageInfo type CurrentGasPricesResponse struct { - // The current gas prices. + // The current gas prices, in the preferred (native) token. GasPrices *GasPrices `protobuf:"bytes,1,opt,name=gas_prices,json=gasPrices,proto3" json:"gas_prices,omitempty"` + // Other gas prices for other accepted tokens. + AltGasPrices []*GasPrices `protobuf:"bytes,2,rep,name=alt_gas_prices,json=altGasPrices,proto3" json:"alt_gas_prices,omitempty"` } func (m *CurrentGasPricesResponse) Reset() { *m = CurrentGasPricesResponse{} } @@ -409,6 +440,13 @@ func (m *CurrentGasPricesResponse) GetGasPrices() *GasPrices { return nil } +func (m *CurrentGasPricesResponse) GetAltGasPrices() []*GasPrices { + if m != nil { + return m.AltGasPrices + } + return nil +} + func init() { proto.RegisterEnum("penumbra.core.component.fee.v1.FeeTier_Tier", FeeTier_Tier_name, FeeTier_Tier_value) proto.RegisterType((*Fee)(nil), "penumbra.core.component.fee.v1.Fee") @@ -425,51 +463,53 @@ func init() { } var fileDescriptor_80e267509eb0355f = []byte{ - // 689 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x94, 0x4f, 0x6f, 0xd3, 0x4c, - 0x10, 0xc6, 0x63, 0x37, 0x6a, 0x93, 0x69, 0x9b, 0xa6, 0xd6, 0xab, 0xf7, 0x6d, 0xab, 0x57, 0x06, - 0xf9, 0x42, 0xa9, 0xa8, 0xad, 0x04, 0x24, 0x20, 0x9c, 0x48, 0x1a, 0xa7, 0x41, 0x2d, 0x98, 0xa4, - 0x2d, 0x12, 0x8a, 0x88, 0x36, 0xce, 0xa4, 0xb5, 0xa8, 0xed, 0xb0, 0xbb, 0x0e, 0xed, 0x07, 0xe0, - 0xce, 0x89, 0x23, 0x07, 0x8e, 0xdc, 0xf9, 0x0e, 0xa8, 0xa7, 0x1e, 0x39, 0xa2, 0xf4, 0xc6, 0xa7, - 0x40, 0xbb, 0x4e, 0xdc, 0x7f, 0xa2, 0x05, 0x71, 0x71, 0x66, 0x67, 0x7f, 0xcf, 0xcc, 0x33, 0xbb, - 0xd1, 0xc2, 0x72, 0x1f, 0x83, 0xc8, 0xef, 0x50, 0x62, 0xb9, 0x21, 0x45, 0xcb, 0x0d, 0xfd, 0x7e, - 0x18, 0x60, 0xc0, 0xad, 0x1e, 0xa2, 0x35, 0x28, 0x88, 0x1f, 0xb3, 0x4f, 0x43, 0x1e, 0x6a, 0xfa, - 0x98, 0x34, 0x05, 0x69, 0x26, 0xa4, 0x29, 0x90, 0x41, 0x61, 0xc9, 0x38, 0x5f, 0x89, 0x30, 0x86, - 0x5c, 0x54, 0x90, 0x41, 0x5c, 0x63, 0x49, 0x3f, 0xcf, 0x04, 0x91, 0x2f, 0x88, 0x20, 0xf2, 0xe3, - 0x7d, 0xe3, 0x2d, 0x4c, 0xd8, 0x88, 0xda, 0x3d, 0x98, 0x24, 0x7e, 0x18, 0x05, 0x7c, 0x41, 0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d, 0xf9, 0x3e, 0xd4, 0x95, - 0xf7, 0x27, 0x7a, 0xea, 0xf8, 0x44, 0x4f, 0x7d, 0x3b, 0xd1, 0x53, 0x60, 0xb8, 0xa1, 0x7f, 0x4d, - 0xdd, 0x72, 0x46, 0x1c, 0xb9, 0x78, 0x0f, 0x1c, 0xe5, 0xa5, 0xb3, 0xeb, 0xf1, 0xbd, 0xa8, 0x23, - 0x20, 0xcb, 0x0d, 0x99, 0x1f, 0x32, 0x8b, 0xe2, 0x3e, 0x39, 0x44, 0x6a, 0x0d, 0x8a, 0x49, 0xe8, - 0xee, 0x11, 0x2f, 0x60, 0xd6, 0xd5, 0x6f, 0xd9, 0xa3, 0x1e, 0xe2, 0xa0, 0xf0, 0x49, 0x4d, 0x3b, - 0x95, 0x8a, 0xfd, 0x59, 0xd5, 0x9d, 0xb1, 0x8b, 0x8a, 0x70, 0x51, 0x49, 0x5c, 0xd8, 0x88, 0xe6, - 0x4e, 0xe1, 0xe8, 0x14, 0x68, 0x09, 0xa0, 0x95, 0x00, 0x2d, 0x1b, 0xb1, 0xb5, 0x53, 0x18, 0xaa, - 0x2b, 0x57, 0x03, 0xad, 0x9a, 0x53, 0xde, 0x44, 0x4e, 0xba, 0x84, 0x93, 0x1f, 0xaa, 0x31, 0x86, - 0x4b, 0x25, 0x41, 0x8b, 0xef, 0x08, 0x2f, 0x95, 0x6c, 0xc4, 0x52, 0x69, 0xa7, 0xd0, 0x99, 0x94, - 0xaf, 0xe0, 0xdd, 0x9f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x50, 0x18, 0x19, 0x16, 0x95, 0x05, 0x00, - 0x00, + // 732 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x94, 0x4f, 0x4f, 0xdb, 0x48, + 0x18, 0xc6, 0x63, 0x27, 0x82, 0x64, 0x80, 0x24, 0x58, 0x68, 0x17, 0xd0, 0xca, 0x8b,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 0x7d, 0x59, 0x38, 0xef, 0xcb, 0xc2, 0x8f, 0xbe, 0x2c, 0xbc, 0xbf, 0x90, 0x63, 0xe7, 0x17, + 0x72, 0xec, 0xfb, 0x85, 0x1c, 0x43, 0x8a, 0xe5, 0x39, 0x37, 0xf8, 0x16, 0x93, 0xec, 0x23, 0xb2, + 0xa7, 0xcf, 0x10, 0x0e, 0x8d, 0x23, 0x9b, 0x1e, 0x07, 0x4d, 0x06, 0x69, 0x96, 0x47, 0x1c, 0x8f, + 0x68, 0x3e, 0x74, 0xf0, 0x29, 0xf8, 0x5a, 0x2f, 0x1f, 0x0d, 0xad, 0x63, 0x6c, 0xbb, 0x44, 0xbb, + 0xfe, 0xd9, 0x7e, 0xd2, 0x06, 0xe8, 0xe5, 0x3e, 0x89, 0x09, 0xa3, 0x54, 0xd2, 0x3f, 0x8b, 0xb2, + 0x31, 0xac, 0xa2, 0xc4, 0xaa, 0x28, 0x45, 0x55, 0xe8, 0x00, 0xea, 0x41, 0xee, 0xdb, 0x08, 0xa8, + 0x33, 0xa0, 0x1e, 0x01, 0x75, 0x1d, 0xa0, 0x7e, 0x90, 0xeb, 0x8b, 0x6b, 0xd7, 0x03, 0xf5, 0x8a, + 0x51, 0xdc, 0x01, 0x8a, 0x5b, 0x98, 0xe2, 0x9f, 0xa2, 0x32, 0x84, 0x0b, 0x05, 0x46, 0xb3, 0xdf, + 0x01, 0x5e, 0x28, 0xe8, 0x00, 0x85, 0xc2, 0x41, 0xae, 0x39, 0xc5, 0x1f, 0xfc, 0xfb, 0xbf, 0x02, + 0x00, 0x00, 0xff, 0xff, 0x3a, 0xdd, 0x61, 0xb6, 0x80, 0x06, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -621,6 +661,18 @@ func (m *GasPrices) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if m.AssetId != nil { + { + size, err := m.AssetId.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintFee(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x7a + } if m.ExecutionPrice != 0 { i = encodeVarintFee(dAtA, i, uint64(m.ExecutionPrice)) i-- @@ -692,6 +744,20 @@ func (m *FeeParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if len(m.FixedAltGasPrices) > 0 { + for iNdEx := len(m.FixedAltGasPrices) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.FixedAltGasPrices[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintFee(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + } if m.FixedGasPrices != nil { { size, err := m.FixedGasPrices.MarshalToSizedBuffer(dAtA[:i]) @@ -785,6 +851,20 @@ func (m *CurrentGasPricesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error _ = i var l int _ = l + if len(m.AltGasPrices) > 0 { + for iNdEx := len(m.AltGasPrices) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.AltGasPrices[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintFee(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + } if m.GasPrices != nil { { size, err := m.GasPrices.MarshalToSizedBuffer(dAtA[:i]) @@ -846,6 +926,10 @@ func (m *GasPrices) Size() (n int) { if m.ExecutionPrice != 0 { n += 1 + sovFee(uint64(m.ExecutionPrice)) } + if m.AssetId != nil { + l = m.AssetId.Size() + n += 1 + l + sovFee(uint64(l)) + } return n } @@ -871,6 +955,12 @@ func (m *FeeParameters) Size() (n int) { l = m.FixedGasPrices.Size() n += 1 + l + sovFee(uint64(l)) } + if len(m.FixedAltGasPrices) > 0 { + for _, e := range m.FixedAltGasPrices { + l = e.Size() + n += 1 + l + sovFee(uint64(l)) + } + } return n } @@ -906,6 +996,12 @@ func (m *CurrentGasPricesResponse) Size() (n int) { l = m.GasPrices.Size() n += 1 + l + sovFee(uint64(l)) } + if len(m.AltGasPrices) > 0 { + for _, e := range m.AltGasPrices { + l = e.Size() + n += 1 + l + sovFee(uint64(l)) + } + } return n } @@ -1142,6 +1238,42 @@ func (m *GasPrices) Unmarshal(dAtA []byte) error { break } } + case 15: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AssetId", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowFee + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthFee + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthFee + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.AssetId == nil { + m.AssetId = &v11.AssetId{} + } + if err := m.AssetId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipFee(dAtA[iNdEx:]) @@ -1297,6 +1429,40 @@ func (m *FeeParameters) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FixedAltGasPrices", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowFee + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthFee + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthFee + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FixedAltGasPrices = append(m.FixedAltGasPrices, &GasPrices{}) + if err := m.FixedAltGasPrices[len(m.FixedAltGasPrices)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipFee(dAtA[iNdEx:]) @@ -1519,6 +1685,40 @@ func (m *CurrentGasPricesResponse) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AltGasPrices", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowFee + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthFee + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthFee + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AltGasPrices = append(m.AltGasPrices, &GasPrices{}) + if err := m.AltGasPrices[len(m.AltGasPrices)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipFee(dAtA[iNdEx:]) diff --git a/relayer/chains/penumbra/core/component/governance/v1/governance.pb.go b/relayer/chains/penumbra/core/component/governance/v1/governance.pb.go index e1125806c..394075980 100644 --- a/relayer/chains/penumbra/core/component/governance/v1/governance.pb.go +++ b/relayer/chains/penumbra/core/component/governance/v1/governance.pb.go @@ -10,6 +10,7 @@ import ( grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" v13 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/asset/v1" + v113 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/auction/v1" v17 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/community_pool/v1" v112 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/dex/v1" v110 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/distributions/v1" @@ -1973,7 +1974,7 @@ func (m *Proposal_Signaling) GetCommit() string { return "" } -// An emergency proposal can be passed instantaneously by a 2/3 majority of validators, without +// An emergency proposal can be passed instantaneously by a 1/3 majority of validators, without // waiting for the voting period to expire. // // If the boolean `halt_chain` is set to `true`, then the chain will halt immediately when the @@ -2026,14 +2027,19 @@ func (m *Proposal_Emergency) GetHaltChain() bool { // A parameter change proposal describes a replacement of the app parameters, which should take // effect when the proposal is passed. type Proposal_ParameterChange struct { - // The old app parameters to be replaced: even if the proposal passes, the update will not be - // applied if the app parameters have changed *at all* from these app parameters. Usually, - // this should be set to the current app parameters at time of proposal. - OldParameters *ChangedAppParameters `protobuf:"bytes,1,opt,name=old_parameters,json=oldParameters,proto3" json:"old_parameters,omitempty"` - // The new app parameters to be set: the *entire* app parameters will be replaced with these - // at the time the proposal is passed, for every component's parameters that is set. If a component's - // parameters are not set, then they were not changed by the proposal, and will not be updated. - NewParameters *ChangedAppParameters `protobuf:"bytes,2,opt,name=new_parameters,json=newParameters,proto3" json:"new_parameters,omitempty"` + // DEPRECATED + OldParameters *ChangedAppParameters `protobuf:"bytes,1,opt,name=old_parameters,json=oldParameters,proto3" json:"old_parameters,omitempty"` // Deprecated: Do not use. + // DEPRECATED + NewParameters *ChangedAppParameters `protobuf:"bytes,2,opt,name=new_parameters,json=newParameters,proto3" json:"new_parameters,omitempty"` // Deprecated: Do not use. + // A list of encoded preconditions for the parameter change: even if the + // proposal passes, the update will not be applied if the value of the + // precondition does not match the proposal at the time it is enacted. + // + // This can be empty, in which case the changes will be applied + // unconditionally. + Preconditions []*EncodedParameter `protobuf:"bytes,3,rep,name=preconditions,proto3" json:"preconditions,omitempty"` + // A list of encoded changes to the application parameters. + Changes []*EncodedParameter `protobuf:"bytes,4,rep,name=changes,proto3" json:"changes,omitempty"` } func (m *Proposal_ParameterChange) Reset() { *m = Proposal_ParameterChange{} } @@ -2069,6 +2075,7 @@ func (m *Proposal_ParameterChange) XXX_DiscardUnknown() { var xxx_messageInfo_Proposal_ParameterChange proto.InternalMessageInfo +// Deprecated: Do not use. func (m *Proposal_ParameterChange) GetOldParameters() *ChangedAppParameters { if m != nil { return m.OldParameters @@ -2076,6 +2083,7 @@ func (m *Proposal_ParameterChange) GetOldParameters() *ChangedAppParameters { return nil } +// Deprecated: Do not use. func (m *Proposal_ParameterChange) GetNewParameters() *ChangedAppParameters { if m != nil { return m.NewParameters @@ -2083,6 +2091,20 @@ func (m *Proposal_ParameterChange) GetNewParameters() *ChangedAppParameters { return nil } +func (m *Proposal_ParameterChange) GetPreconditions() []*EncodedParameter { + if m != nil { + return m.Preconditions + } + return nil +} + +func (m *Proposal_ParameterChange) GetChanges() []*EncodedParameter { + if m != nil { + return m.Changes + } + return nil +} + // 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. @@ -2957,8 +2979,78 @@ func (m *GenesisContent) GetGovernanceParams() *GovernanceParameters { return nil } -// Note: must be kept in sync with AppParameters. -// Each field here is optional. +type EncodedParameter struct { + // The component name in the `AppParameters`. + // + // This is the ProtoJSON-produced key in the `AppParameters` structure. + Component string `protobuf:"bytes,1,opt,name=component,proto3" json:"component,omitempty"` + // The parameter key in the component parameters. + // + // This is the ProtoJSON-produced field name in the component's substructure. + Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` + // The parameter value. + // + // This is the ProtoJSON-encoded value of the parameter. + Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` +} + +func (m *EncodedParameter) Reset() { *m = EncodedParameter{} } +func (m *EncodedParameter) String() string { return proto.CompactTextString(m) } +func (*EncodedParameter) ProtoMessage() {} +func (*EncodedParameter) Descriptor() ([]byte, []int) { + return fileDescriptor_a9098f9e68b782a3, []int{31} +} +func (m *EncodedParameter) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EncodedParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EncodedParameter.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 *EncodedParameter) XXX_Merge(src proto.Message) { + xxx_messageInfo_EncodedParameter.Merge(m, src) +} +func (m *EncodedParameter) XXX_Size() int { + return m.Size() +} +func (m *EncodedParameter) XXX_DiscardUnknown() { + xxx_messageInfo_EncodedParameter.DiscardUnknown(m) +} + +var xxx_messageInfo_EncodedParameter proto.InternalMessageInfo + +func (m *EncodedParameter) GetComponent() string { + if m != nil { + return m.Component + } + return "" +} + +func (m *EncodedParameter) GetKey() string { + if m != nil { + return m.Key + } + return "" +} + +func (m *EncodedParameter) GetValue() string { + if m != nil { + return m.Value + } + return "" +} + +// DEPRECATED +// +// Deprecated: Do not use. type ChangedAppParameters struct { // Sct module parameters. SctParams *v14.SctParameters `protobuf:"bytes,1,opt,name=sct_params,json=sctParams,proto3" json:"sct_params,omitempty"` @@ -2980,13 +3072,15 @@ type ChangedAppParameters struct { ShieldedPoolParams *v15.ShieldedPoolParameters `protobuf:"bytes,9,opt,name=shielded_pool_params,json=shieldedPoolParams,proto3" json:"shielded_pool_params,omitempty"` // DEX component parameters DexParams *v112.DexParameters `protobuf:"bytes,10,opt,name=dex_params,json=dexParams,proto3" json:"dex_params,omitempty"` + // Auction module parameters. + AuctionParams *v113.AuctionParameters `protobuf:"bytes,11,opt,name=auction_params,json=auctionParams,proto3" json:"auction_params,omitempty"` } func (m *ChangedAppParameters) Reset() { *m = ChangedAppParameters{} } func (m *ChangedAppParameters) String() string { return proto.CompactTextString(m) } func (*ChangedAppParameters) ProtoMessage() {} func (*ChangedAppParameters) Descriptor() ([]byte, []int) { - return fileDescriptor_a9098f9e68b782a3, []int{31} + return fileDescriptor_a9098f9e68b782a3, []int{32} } func (m *ChangedAppParameters) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3085,6 +3179,16 @@ func (m *ChangedAppParameters) GetDexParams() *v112.DexParameters { return nil } +func (m *ChangedAppParameters) GetAuctionParams() *v113.AuctionParameters { + if m != nil { + return m.AuctionParams + } + return nil +} + +// DEPRECATED +// +// Deprecated: Do not use. type ChangedAppParametersSet struct { // The set of app parameters at the time the proposal was submitted. Old *ChangedAppParameters `protobuf:"bytes,1,opt,name=old,proto3" json:"old,omitempty"` @@ -3096,7 +3200,7 @@ func (m *ChangedAppParametersSet) Reset() { *m = ChangedAppParametersSet func (m *ChangedAppParametersSet) String() string { return proto.CompactTextString(m) } func (*ChangedAppParametersSet) ProtoMessage() {} func (*ChangedAppParametersSet) Descriptor() ([]byte, []int) { - return fileDescriptor_a9098f9e68b782a3, []int{32} + return fileDescriptor_a9098f9e68b782a3, []int{33} } func (m *ChangedAppParametersSet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3150,7 +3254,7 @@ func (m *VotingPowerAtProposalStartRequest) Reset() { *m = VotingPowerAt func (m *VotingPowerAtProposalStartRequest) String() string { return proto.CompactTextString(m) } func (*VotingPowerAtProposalStartRequest) ProtoMessage() {} func (*VotingPowerAtProposalStartRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a9098f9e68b782a3, []int{33} + return fileDescriptor_a9098f9e68b782a3, []int{34} } func (m *VotingPowerAtProposalStartRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3205,7 +3309,7 @@ func (m *VotingPowerAtProposalStartResponse) Reset() { *m = VotingPowerA func (m *VotingPowerAtProposalStartResponse) String() string { return proto.CompactTextString(m) } func (*VotingPowerAtProposalStartResponse) ProtoMessage() {} func (*VotingPowerAtProposalStartResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a9098f9e68b782a3, []int{34} + return fileDescriptor_a9098f9e68b782a3, []int{35} } func (m *VotingPowerAtProposalStartResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3254,7 +3358,7 @@ func (m *AllTalliedDelegatorVotesForProposalRequest) String() string { } func (*AllTalliedDelegatorVotesForProposalRequest) ProtoMessage() {} func (*AllTalliedDelegatorVotesForProposalRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a9098f9e68b782a3, []int{35} + return fileDescriptor_a9098f9e68b782a3, []int{36} } func (m *AllTalliedDelegatorVotesForProposalRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3305,7 +3409,7 @@ func (m *AllTalliedDelegatorVotesForProposalResponse) String() string { } func (*AllTalliedDelegatorVotesForProposalResponse) ProtoMessage() {} func (*AllTalliedDelegatorVotesForProposalResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a9098f9e68b782a3, []int{36} + return fileDescriptor_a9098f9e68b782a3, []int{37} } func (m *AllTalliedDelegatorVotesForProposalResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3355,7 +3459,7 @@ func (m *NextProposalIdRequest) Reset() { *m = NextProposalIdRequest{} } func (m *NextProposalIdRequest) String() string { return proto.CompactTextString(m) } func (*NextProposalIdRequest) ProtoMessage() {} func (*NextProposalIdRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a9098f9e68b782a3, []int{37} + return fileDescriptor_a9098f9e68b782a3, []int{38} } func (m *NextProposalIdRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3393,7 +3497,7 @@ func (m *NextProposalIdResponse) Reset() { *m = NextProposalIdResponse{} func (m *NextProposalIdResponse) String() string { return proto.CompactTextString(m) } func (*NextProposalIdResponse) ProtoMessage() {} func (*NextProposalIdResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a9098f9e68b782a3, []int{38} + return fileDescriptor_a9098f9e68b782a3, []int{39} } func (m *NextProposalIdResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3441,7 +3545,7 @@ func (m *Ratio) Reset() { *m = Ratio{} } func (m *Ratio) String() string { return proto.CompactTextString(m) } func (*Ratio) ProtoMessage() {} func (*Ratio) Descriptor() ([]byte, []int) { - return fileDescriptor_a9098f9e68b782a3, []int{39} + return fileDescriptor_a9098f9e68b782a3, []int{40} } func (m *Ratio) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3493,7 +3597,7 @@ func (m *EventDelegatorVote) Reset() { *m = EventDelegatorVote{} } func (m *EventDelegatorVote) String() string { return proto.CompactTextString(m) } func (*EventDelegatorVote) ProtoMessage() {} func (*EventDelegatorVote) Descriptor() ([]byte, []int) { - return fileDescriptor_a9098f9e68b782a3, []int{40} + return fileDescriptor_a9098f9e68b782a3, []int{41} } func (m *EventDelegatorVote) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3538,7 +3642,7 @@ func (m *EventProposalDepositClaim) Reset() { *m = EventProposalDepositC func (m *EventProposalDepositClaim) String() string { return proto.CompactTextString(m) } func (*EventProposalDepositClaim) ProtoMessage() {} func (*EventProposalDepositClaim) Descriptor() ([]byte, []int) { - return fileDescriptor_a9098f9e68b782a3, []int{41} + return fileDescriptor_a9098f9e68b782a3, []int{42} } func (m *EventProposalDepositClaim) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3583,7 +3687,7 @@ func (m *EventValidatorVote) Reset() { *m = EventValidatorVote{} } func (m *EventValidatorVote) String() string { return proto.CompactTextString(m) } func (*EventValidatorVote) ProtoMessage() {} func (*EventValidatorVote) Descriptor() ([]byte, []int) { - return fileDescriptor_a9098f9e68b782a3, []int{42} + return fileDescriptor_a9098f9e68b782a3, []int{43} } func (m *EventValidatorVote) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3628,7 +3732,7 @@ func (m *EventProposalWithdraw) Reset() { *m = EventProposalWithdraw{} } func (m *EventProposalWithdraw) String() string { return proto.CompactTextString(m) } func (*EventProposalWithdraw) ProtoMessage() {} func (*EventProposalWithdraw) Descriptor() ([]byte, []int) { - return fileDescriptor_a9098f9e68b782a3, []int{43} + return fileDescriptor_a9098f9e68b782a3, []int{44} } func (m *EventProposalWithdraw) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3673,7 +3777,7 @@ func (m *EventProposalSubmit) Reset() { *m = EventProposalSubmit{} } func (m *EventProposalSubmit) String() string { return proto.CompactTextString(m) } func (*EventProposalSubmit) ProtoMessage() {} func (*EventProposalSubmit) Descriptor() ([]byte, []int) { - return fileDescriptor_a9098f9e68b782a3, []int{44} + return fileDescriptor_a9098f9e68b782a3, []int{45} } func (m *EventProposalSubmit) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3718,7 +3822,7 @@ func (m *EventEnactProposal) Reset() { *m = EventEnactProposal{} } func (m *EventEnactProposal) String() string { return proto.CompactTextString(m) } func (*EventEnactProposal) ProtoMessage() {} func (*EventEnactProposal) Descriptor() ([]byte, []int) { - return fileDescriptor_a9098f9e68b782a3, []int{45} + return fileDescriptor_a9098f9e68b782a3, []int{46} } func (m *EventEnactProposal) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3763,7 +3867,7 @@ func (m *EventProposalFailed) Reset() { *m = EventProposalFailed{} } func (m *EventProposalFailed) String() string { return proto.CompactTextString(m) } func (*EventProposalFailed) ProtoMessage() {} func (*EventProposalFailed) Descriptor() ([]byte, []int) { - return fileDescriptor_a9098f9e68b782a3, []int{46} + return fileDescriptor_a9098f9e68b782a3, []int{47} } func (m *EventProposalFailed) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3808,7 +3912,7 @@ func (m *EventProposalSlashed) Reset() { *m = EventProposalSlashed{} } func (m *EventProposalSlashed) String() string { return proto.CompactTextString(m) } func (*EventProposalSlashed) ProtoMessage() {} func (*EventProposalSlashed) Descriptor() ([]byte, []int) { - return fileDescriptor_a9098f9e68b782a3, []int{47} + return fileDescriptor_a9098f9e68b782a3, []int{48} } func (m *EventProposalSlashed) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3894,6 +3998,7 @@ func init() { proto.RegisterType((*ValidatorVotesResponse)(nil), "penumbra.core.component.governance.v1.ValidatorVotesResponse") proto.RegisterType((*GovernanceParameters)(nil), "penumbra.core.component.governance.v1.GovernanceParameters") proto.RegisterType((*GenesisContent)(nil), "penumbra.core.component.governance.v1.GenesisContent") + proto.RegisterType((*EncodedParameter)(nil), "penumbra.core.component.governance.v1.EncodedParameter") proto.RegisterType((*ChangedAppParameters)(nil), "penumbra.core.component.governance.v1.ChangedAppParameters") proto.RegisterType((*ChangedAppParametersSet)(nil), "penumbra.core.component.governance.v1.ChangedAppParametersSet") proto.RegisterType((*VotingPowerAtProposalStartRequest)(nil), "penumbra.core.component.governance.v1.VotingPowerAtProposalStartRequest") @@ -3918,204 +4023,211 @@ func init() { } var fileDescriptor_a9098f9e68b782a3 = []byte{ - // 3138 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5b, 0xcd, 0x8f, 0x1b, 0xc7, - 0xb1, 0xdf, 0xe1, 0x7e, 0x90, 0xac, 0x5d, 0x51, 0x54, 0x8b, 0x92, 0xd6, 0x7c, 0xf6, 0x3e, 0x79, - 0xfc, 0x04, 0xc8, 0xb6, 0xcc, 0x15, 0x65, 0x59, 0xd6, 0x5b, 0xd9, 0xd6, 0xdb, 0xa5, 0xf6, 0xeb, - 0xc9, 0x92, 0xa8, 0xa1, 0xb4, 0x8e, 0xed, 0x85, 0xe9, 0xe1, 0x4c, 0x93, 0x1c, 0x68, 0xd8, 0x43, - 0xcf, 0xf4, 0x50, 0xa2, 0x81, 0x1c, 0x02, 0x18, 0x08, 0x82, 0x20, 0x48, 0x2e, 0x41, 0xae, 0x81, - 0x91, 0x53, 0x0e, 0x02, 0x72, 0x4a, 0xfe, 0x04, 0x27, 0x08, 0x0c, 0x5f, 0x02, 0x38, 0xb7, 0x40, - 0xbe, 0x05, 0x30, 0x90, 0x53, 0xce, 0x41, 0x7f, 0xcc, 0x70, 0x86, 0x1f, 0xbb, 0x24, 0x41, 0x01, - 0x39, 0xe4, 0x22, 0xb1, 0x7b, 0xaa, 0x7e, 0x55, 0x5d, 0x55, 0x5d, 0x5d, 0xd5, 0x33, 0x0b, 0xd7, - 0xda, 0x98, 0xf8, 0xad, 0x9a, 0xab, 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, 0x90, 0x82, 0x25, 0xb1, - 0xda, 0x7c, 0x13, 0x96, 0x84, 0x7a, 0xf1, 0x4d, 0x36, 0x59, 0x0d, 0xd5, 0xaf, 0x56, 0xa8, 0x40, - 0x64, 0x93, 0xe5, 0x2d, 0x48, 0x4a, 0x75, 0x9f, 0xb7, 0xa8, 0xad, 0x74, 0x18, 0x80, 0x6a, 0x09, - 0x16, 0x1f, 0xe8, 0xb6, 0xdd, 0x45, 0x59, 0x98, 0xef, 0x62, 0x4f, 0x96, 0x08, 0xec, 0x27, 0xca, - 0x40, 0x82, 0x38, 0xb2, 0x22, 0x48, 0x10, 0x07, 0xad, 0x42, 0x52, 0xaf, 0x79, 0x54, 0xb7, 0x44, - 0x8e, 0x59, 0xd0, 0x82, 0xa1, 0xfa, 0x67, 0x80, 0x54, 0x20, 0x98, 0xb1, 0x59, 0x22, 0x4d, 0x2c, - 0x68, 0x09, 0xcb, 0x44, 0x39, 0x58, 0xa4, 0x16, 0x95, 0x75, 0x67, 0x5a, 0x13, 0x03, 0x74, 0x1e, - 0x96, 0x4d, 0xec, 0x19, 0xae, 0xd5, 0x0e, 0xeb, 0x8e, 0xb4, 0x16, 0x9d, 0x42, 0x1f, 0x42, 0xda, - 0x63, 0x7d, 0x8d, 0xcd, 0xd2, 0xa5, 0xc8, 0x0c, 0xff, 0x3b, 0xa1, 0x11, 0x0a, 0x95, 0x00, 0x80, - 0xe5, 0xb3, 0x10, 0x8d, 0x41, 0xe3, 0x16, 0x76, 0x1b, 0x98, 0x18, 0x5d, 0x59, 0x06, 0x4c, 0x0c, - 0xbd, 0x1d, 0x00, 0x30, 0xe8, 0x10, 0x0d, 0xd9, 0x90, 0x6d, 0xeb, 0xae, 0xde, 0xc2, 0x14, 0xbb, - 0x55, 0xa3, 0xa9, 0x93, 0x06, 0x96, 0x35, 0xfd, 0xcd, 0x49, 0x25, 0x94, 0x03, 0x9c, 0x12, 0x87, - 0xd9, 0x9b, 0xd3, 0x4e, 0xb6, 0xe3, 0x53, 0xa8, 0x03, 0xb9, 0xf8, 0x65, 0x66, 0xd5, 0x63, 0xe7, - 0x39, 0x2f, 0x39, 0x96, 0xaf, 0x6c, 0x4d, 0x2a, 0x71, 0xb0, 0x32, 0xd8, 0x9b, 0xd3, 0x90, 0x31, - 0x58, 0x2f, 0x7c, 0x0a, 0x2b, 0x7e, 0xbb, 0xe1, 0xea, 0x26, 0xae, 0xb6, 0x6d, 0x9d, 0xf0, 0xc2, - 0x65, 0xf2, 0xd3, 0xac, 0xf0, 0x50, 0x60, 0xb0, 0x3a, 0x75, 0x6f, 0x4e, 0x5b, 0xf6, 0x7b, 0x43, - 0xd4, 0x82, 0x53, 0x75, 0x17, 0xe3, 0xcf, 0x71, 0xd5, 0xaa, 0x19, 0x55, 0xc3, 0xb6, 0x30, 0xa1, - 0xab, 0x30, 0x9d, 0x21, 0x77, 0x38, 0xd0, 0x7e, 0xcd, 0x28, 0x71, 0x18, 0x66, 0xc8, 0x7a, 0x7c, - 0x0a, 0x79, 0x70, 0xda, 0x27, 0x83, 0x02, 0x97, 0xb9, 0xc0, 0xcd, 0x89, 0xd7, 0x45, 0xea, 0x03, - 0x22, 0x4f, 0xf9, 0xfd, 0x93, 0x2c, 0x15, 0x85, 0x01, 0xca, 0x52, 0x11, 0x33, 0xb4, 0x45, 0x83, - 0x54, 0x24, 0x46, 0xf9, 0xd7, 0x20, 0x1d, 0x86, 0x1a, 0x7a, 0x09, 0xa0, 0xa9, 0xdb, 0x94, 0x05, - 0x96, 0x25, 0x32, 0x43, 0x4a, 0x4b, 0xb3, 0x99, 0x12, 0x9b, 0xc8, 0xff, 0x55, 0x81, 0x93, 0x7d, - 0x51, 0x83, 0x6a, 0x90, 0x71, 0x6c, 0xb3, 0x1a, 0x46, 0x8e, 0x27, 0x13, 0xca, 0xb8, 0xce, 0x12, - 0x30, 0xe6, 0x66, 0xbb, 0x1d, 0x22, 0x7b, 0xda, 0x09, 0xc7, 0x36, 0x7b, 0x43, 0x26, 0x83, 0xe0, - 0xc7, 0x51, 0x19, 0x89, 0x19, 0xc8, 0x20, 0xf8, 0x71, 0x6f, 0x98, 0x7f, 0x38, 0xb4, 0x70, 0xbd, - 0x09, 0x59, 0xea, 0xea, 0xc4, 0xd3, 0x0d, 0x96, 0x33, 0x44, 0x30, 0x0a, 0xd9, 0xb9, 0x82, 0x78, - 0x9f, 0x50, 0x08, 0xde, 0x27, 0x14, 0x36, 0x49, 0x57, 0x3b, 0x19, 0xa1, 0x66, 0x71, 0x96, 0xbf, - 0x00, 0xcb, 0x91, 0x28, 0x64, 0x5e, 0x68, 0x62, 0xab, 0xd1, 0xa4, 0x32, 0x11, 0xca, 0x51, 0xbe, - 0x00, 0x27, 0xfb, 0xa2, 0x08, 0xfd, 0x17, 0xa4, 0x45, 0x94, 0x54, 0x2d, 0x53, 0xfa, 0x2c, 0x25, - 0x26, 0xf6, 0xcd, 0xfc, 0x65, 0x38, 0x35, 0x10, 0x04, 0x47, 0x72, 0xb0, 0x9c, 0xdc, 0xd6, 0xbb, - 0xb6, 0xa3, 0x9b, 0xea, 0x35, 0x38, 0x1d, 0x84, 0xd2, 0x3e, 0xa9, 0x3b, 0x1a, 0xfe, 0xcc, 0xc7, - 0x1e, 0x45, 0xff, 0x0d, 0xcb, 0x41, 0xe7, 0xc6, 0x00, 0x44, 0x62, 0x86, 0x60, 0x6a, 0xdf, 0x54, - 0x1f, 0xf5, 0xae, 0x6a, 0x05, 0x9f, 0xd7, 0x76, 0x88, 0x87, 0xd1, 0x25, 0x40, 0xa2, 0xcd, 0xab, - 0xd9, 0x8e, 0xf1, 0xa8, 0x1a, 0x5b, 0x60, 0x96, 0x3f, 0xd9, 0x62, 0x0f, 0xf6, 0xf8, 0xfc, 0x98, - 0x4d, 0x61, 0x54, 0xc9, 0x5b, 0x3a, 0xd5, 0xc7, 0x56, 0xf2, 0x8b, 0xf9, 0xc8, 0x85, 0x32, 0x67, - 0x94, 0x5a, 0xce, 0xf4, 0x0e, 0x7d, 0xf8, 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 0x69, 0xf7, 0xb7, 0x89, 0x0b, 0xe5, - 0x40, 0xc3, 0x12, 0xd3, 0xb0, 0x14, 0x6a, 0xd8, 0x53, 0xa9, 0x70, 0x50, 0xfc, 0x53, 0x8f, 0xee, - 0x90, 0xd1, 0x1d, 0x86, 0x74, 0x87, 0x3d, 0xba, 0xc3, 0x83, 0xe2, 0xb3, 0x44, 0x71, 0x2c, 0xba, - 0xc3, 0xdd, 0xf2, 0xd6, 0x1d, 0x4c, 0x75, 0x53, 0xa7, 0xfa, 0xdf, 0x13, 0xaf, 0x06, 0x3c, 0x1b, - 0x1b, 0x8c, 0x89, 0xfd, 0x2b, 0xb9, 0x36, 0x36, 0x7a, 0x6c, 0x1b, 0x1b, 0x07, 0xc5, 0xda, 0x12, - 0x7f, 0xe1, 0xf0, 0xe6, 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff, 0xc9, 0xcc, 0x34, 0x1d, 0x2f, 0x31, - 0x00, 0x00, + // 3261 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5b, 0xcf, 0x6f, 0x1b, 0xc7, + 0xf5, 0xd7, 0x52, 0xbf, 0xc8, 0x27, 0x89, 0xa6, 0xc7, 0xb4, 0xcd, 0xf0, 0x9b, 0xe8, 0xeb, 0x6c, + 0x6a, 0xc0, 0x49, 0x1c, 0xca, 0x54, 0x1c, 0xdb, 0x95, 0x93, 0xb8, 0x92, 0xac, 0x5f, 0x75, 0x6c, + 0xcb, 0x4b, 0x5b, 0xf9, 0xa5, 0x86, 0x19, 0xee, 0x0e, 0xa9, 0x85, 0x97, 0xb3, 0xcc, 0xee, 0x2c, + 0x6d, 0x06, 0xe8, 0xa1, 0x40, 0xd0, 0xa2, 0x28, 0x8a, 0x16, 0x28, 0x8a, 0x5e, 0x8b, 0xa0, 0xa7, + 0x1e, 0x8c, 0xf6, 0x56, 0xa0, 0xff, 0x40, 0xda, 0x43,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0x76, 0xe8, 0x44, 0xdd, 0x80, 0x89, + 0xb6, 0xcb, 0x88, 0xd2, 0xf6, 0xd5, 0x41, 0xc7, 0xcf, 0x55, 0x11, 0x8c, 0x68, 0x0d, 0x66, 0x6d, + 0x8b, 0x50, 0xc6, 0x83, 0xe9, 0x43, 0xd2, 0x51, 0x33, 0xa5, 0xf7, 0x00, 0x89, 0x05, 0xdc, 0x2e, + 0x97, 0xb6, 0x14, 0xe9, 0x2d, 0xd2, 0x31, 0x66, 0xec, 0x6e, 0x03, 0xdd, 0x82, 0x6c, 0x57, 0x84, + 0x00, 0x9a, 0x10, 0x40, 0xdf, 0x39, 0x00, 0x68, 0x23, 0x22, 0xe6, 0x50, 0x73, 0x8d, 0x78, 0x13, + 0x19, 0x91, 0x79, 0x26, 0x05, 0xc8, 0xd2, 0x28, 0xd3, 0x2a, 0x4d, 0x1d, 0x99, 0xf6, 0x47, 0x29, + 0x98, 0x4b, 0x04, 0x88, 0x11, 0x5d, 0x27, 0x81, 0xf1, 0x0c, 0x5d, 0x07, 0xdd, 0x83, 0xc9, 0x16, + 0x8f, 0x61, 0x6a, 0x46, 0xae, 0x0f, 0xa8, 0x5f, 0xbf, 0x30, 0x68, 0x48, 0x24, 0xfd, 0x77, 0xe3, + 0x70, 0x72, 0x9f, 0xfe, 0x87, 0xba, 0xd7, 0x79, 0xc8, 0xfa, 0x0c, 0x7b, 0xac, 0x2a, 0xd6, 0xb5, + 0xad, 0x82, 0xcb, 0x84, 0x31, 0x27, 0x7a, 0xb7, 0x55, 0x67, 0xe4, 0x85, 0xe3, 0xa3, 0x7a, 0xe1, + 0xeb, 0x30, 0xd9, 0xc6, 0x4e, 0x40, 0x94, 0xd7, 0xbc, 0xd0, 0x83, 0x20, 0x13, 0x0b, 0x39, 0xc3, + 0x01, 0x31, 0x24, 0x2d, 0x5a, 0x83, 0x13, 0x01, 0xad, 0xb9, 0x94, 0xef, 0x58, 0x2a, 0x4a, 0x4d, + 0x0e, 0x10, 0xa5,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x49, 0x7b, 0x6b, 0x34, 0x69, 0xa5, 0x6d, 0x01, 0xc2, 0xdd, + 0x4e, 0xc2, 0x71, 0xe0, 0x3a, 0xb6, 0x1d, 0x62, 0x29, 0x6f, 0x1e, 0x15, 0x78, 0x5d, 0x80, 0x70, + 0x60, 0x09, 0x87, 0x3e, 0x80, 0x69, 0xdf, 0xc1, 0xc2, 0xdd, 0x46, 0xf3, 0xe6, 0x10, 0xb9, 0x22, + 0x51, 0xb8, 0x53, 0x28, 0xc0, 0xc1, 0x5c, 0x21, 0x0d, 0x53, 0x72, 0xb4, 0xc5, 0x3d, 0x98, 0x92, + 0xea, 0x25, 0x17, 0xd9, 0x70, 0x39, 0x54, 0xaf, 0x5a, 0x91, 0x02, 0xb1, 0x45, 0x56, 0xb4, 0x61, + 0x5a, 0xa9, 0xfb, 0xac, 0x45, 0xad, 0x64, 0x22, 0x07, 0xd4, 0x57, 0x61, 0xf2, 0x3e, 0x76, 0x9c, + 0x0e, 0xca, 0xc1, 0x78, 0x87, 0xf8, 0x2a, 0x45, 0xe0, 0x9f, 0x28, 0x0b, 0x29, 0xea, 0xaa, 0x8c, + 0x20, 0x45, 0x5d, 0x54, 0x80, 0x69, 0x5c, 0xf3, 0x19, 0xb6, 0x65, 0x8c, 0x99, 0x30, 0xc2, 0xa6, + 0xfe, 0xe3, 0x59, 0x48, 0x87, 0x82, 0x39, 0x9b, 0x2d, 0xc3, 0xc4, 0x84, 0x91, 0xb2, 0x2d, 0x94, + 0x87, 0x49, 0x66, 0x33, 0x95, 0x77, 0x66, 0x0c, 0xd9, 0x40, 0xe7, 0x60, 0xc6, 0x22, 0xbe, 0xe9, + 0xd9, 0xad, 0x28, 0xef, 0xc8, 0x18, 0xf1, 0x2e, 0xf4, 0x3e, 0x64, 0x7c, 0x5e, 0xd7, 0x38, 0x3c, + 0x5c, 0xca, 0xc8, 0xf0, 0xdd, 0x21, 0x8d, 0x50, 0xaa, 0x84, 0x00, 0x3c, 0x9e, 0x45, 0x68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 0xa5, 0xd2, 0x4e, 0xf9, 0xaf, 0x5d, 0xba, 0x5d, 0x4e, 0xb7, 0x1b, 0xd1, + 0xed, 0x76, 0xe9, 0x76, 0x77, 0xca, 0x4f, 0x53, 0xe5, 0x81, 0xe8, 0x76, 0x37, 0xb6, 0x57, 0x6e, + 0x13, 0x86, 0x2d, 0xcc, 0xf0, 0x3f, 0x53, 0x2f, 0x87, 0x3c, 0x4b, 0x4b, 0x9c, 0x89, 0xff, 0xab, + 0xb8, 0x96, 0x96, 0xba, 0x6c, 0x4b, 0x4b, 0x3b, 0xe5, 0xda, 0x94, 0xb8, 0x30, 0x79, 0xfd, 0x3f, + 0x01, 0x00, 0x00, 0xff, 0xff, 0xc5, 0xe6, 0x43, 0x09, 0xdb, 0x32, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -6202,6 +6314,34 @@ func (m *Proposal_ParameterChange) MarshalToSizedBuffer(dAtA []byte) (int, error _ = i var l int _ = l + if len(m.Changes) > 0 { + for iNdEx := len(m.Changes) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Changes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + } + if len(m.Preconditions) > 0 { + for iNdEx := len(m.Preconditions) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Preconditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + } if m.NewParameters != nil { { size, err := m.NewParameters.MarshalToSizedBuffer(dAtA[:i]) @@ -6844,6 +6984,50 @@ func (m *GenesisContent) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *EncodedParameter) 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 *EncodedParameter) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EncodedParameter) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Value) > 0 { + i -= len(m.Value) + copy(dAtA[i:], m.Value) + i = encodeVarintGovernance(dAtA, i, uint64(len(m.Value))) + i-- + dAtA[i] = 0x1a + } + if len(m.Key) > 0 { + i -= len(m.Key) + copy(dAtA[i:], m.Key) + i = encodeVarintGovernance(dAtA, i, uint64(len(m.Key))) + i-- + dAtA[i] = 0x12 + } + if len(m.Component) > 0 { + i -= len(m.Component) + copy(dAtA[i:], m.Component) + i = encodeVarintGovernance(dAtA, i, uint64(len(m.Component))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *ChangedAppParameters) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -6864,6 +7048,18 @@ func (m *ChangedAppParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if m.AuctionParams != nil { + { + size, err := m.AuctionParams.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGovernance(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x5a + } if m.DexParams != nil { { size, err := m.DexParams.MarshalToSizedBuffer(dAtA[:i]) @@ -8263,6 +8459,18 @@ func (m *Proposal_ParameterChange) Size() (n int) { l = m.NewParameters.Size() n += 1 + l + sovGovernance(uint64(l)) } + if len(m.Preconditions) > 0 { + for _, e := range m.Preconditions { + l = e.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + } + if len(m.Changes) > 0 { + for _, e := range m.Changes { + l = e.Size() + n += 1 + l + sovGovernance(uint64(l)) + } + } return n } @@ -8519,6 +8727,27 @@ func (m *GenesisContent) Size() (n int) { return n } +func (m *EncodedParameter) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Component) + if l > 0 { + n += 1 + l + sovGovernance(uint64(l)) + } + l = len(m.Key) + if l > 0 { + n += 1 + l + sovGovernance(uint64(l)) + } + l = len(m.Value) + if l > 0 { + n += 1 + l + sovGovernance(uint64(l)) + } + return n +} + func (m *ChangedAppParameters) Size() (n int) { if m == nil { return 0 @@ -8565,6 +8794,10 @@ func (m *ChangedAppParameters) Size() (n int) { l = m.DexParams.Size() n += 1 + l + sovGovernance(uint64(l)) } + if m.AuctionParams != nil { + l = m.AuctionParams.Size() + n += 1 + l + sovGovernance(uint64(l)) + } return n } @@ -12778,6 +13011,74 @@ func (m *Proposal_ParameterChange) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Preconditions", 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 + } + m.Preconditions = append(m.Preconditions, &EncodedParameter{}) + if err := m.Preconditions[len(m.Preconditions)-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 Changes", 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 + } + m.Changes = append(m.Changes, &EncodedParameter{}) + if err := m.Changes[len(m.Changes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGovernance(dAtA[iNdEx:]) @@ -14441,6 +14742,152 @@ func (m *GenesisContent) Unmarshal(dAtA []byte) error { } return nil } +func (m *EncodedParameter) 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: EncodedParameter: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EncodedParameter: 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) + } + 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.Component = 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 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.Key = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", 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.Value = 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 *ChangedAppParameters) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -14830,6 +15277,42 @@ func (m *ChangedAppParameters) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AuctionParams", 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.AuctionParams == nil { + m.AuctionParams = &v113.AuctionParameters{} + } + if err := m.AuctionParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGovernance(dAtA[iNdEx:]) diff --git a/relayer/chains/penumbra/core/component/sct/v1/sct.pb.go b/relayer/chains/penumbra/core/component/sct/v1/sct.pb.go index 03329660b..9b98a0be1 100644 --- a/relayer/chains/penumbra/core/component/sct/v1/sct.pb.go +++ b/relayer/chains/penumbra/core/component/sct/v1/sct.pb.go @@ -946,6 +946,94 @@ func (m *EpochByHeightResponse) GetEpoch() *Epoch { return nil } +type AnchorByHeightRequest struct { + Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` +} + +func (m *AnchorByHeightRequest) Reset() { *m = AnchorByHeightRequest{} } +func (m *AnchorByHeightRequest) String() string { return proto.CompactTextString(m) } +func (*AnchorByHeightRequest) ProtoMessage() {} +func (*AnchorByHeightRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_85f1e312317b2642, []int{12} +} +func (m *AnchorByHeightRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AnchorByHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AnchorByHeightRequest.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 *AnchorByHeightRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AnchorByHeightRequest.Merge(m, src) +} +func (m *AnchorByHeightRequest) XXX_Size() int { + return m.Size() +} +func (m *AnchorByHeightRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AnchorByHeightRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_AnchorByHeightRequest proto.InternalMessageInfo + +func (m *AnchorByHeightRequest) GetHeight() uint64 { + if m != nil { + return m.Height + } + return 0 +} + +type AnchorByHeightResponse struct { + Anchor *v1.MerkleRoot `protobuf:"bytes,1,opt,name=anchor,proto3" json:"anchor,omitempty"` +} + +func (m *AnchorByHeightResponse) Reset() { *m = AnchorByHeightResponse{} } +func (m *AnchorByHeightResponse) String() string { return proto.CompactTextString(m) } +func (*AnchorByHeightResponse) ProtoMessage() {} +func (*AnchorByHeightResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_85f1e312317b2642, []int{13} +} +func (m *AnchorByHeightResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AnchorByHeightResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AnchorByHeightResponse.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 *AnchorByHeightResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_AnchorByHeightResponse.Merge(m, src) +} +func (m *AnchorByHeightResponse) XXX_Size() int { + return m.Size() +} +func (m *AnchorByHeightResponse) XXX_DiscardUnknown() { + xxx_messageInfo_AnchorByHeightResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_AnchorByHeightResponse proto.InternalMessageInfo + +func (m *AnchorByHeightResponse) GetAnchor() *v1.MerkleRoot { + if m != nil { + return m.Anchor + } + return nil +} + func init() { proto.RegisterType((*SctParameters)(nil), "penumbra.core.component.sct.v1.SctParameters") proto.RegisterType((*GenesisContent)(nil), "penumbra.core.component.sct.v1.GenesisContent") @@ -964,6 +1052,8 @@ func init() { proto.RegisterType((*EventBlockRoot)(nil), "penumbra.core.component.sct.v1.EventBlockRoot") proto.RegisterType((*EpochByHeightRequest)(nil), "penumbra.core.component.sct.v1.EpochByHeightRequest") proto.RegisterType((*EpochByHeightResponse)(nil), "penumbra.core.component.sct.v1.EpochByHeightResponse") + proto.RegisterType((*AnchorByHeightRequest)(nil), "penumbra.core.component.sct.v1.AnchorByHeightRequest") + proto.RegisterType((*AnchorByHeightResponse)(nil), "penumbra.core.component.sct.v1.AnchorByHeightResponse") } func init() { @@ -971,67 +1061,69 @@ func init() { } var fileDescriptor_85f1e312317b2642 = []byte{ - // 947 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xcf, 0x6f, 0x1b, 0x45, - 0x14, 0xb6, 0x4d, 0x93, 0xc6, 0xcf, 0x49, 0x0a, 0x93, 0x04, 0x59, 0x96, 0x6a, 0xda, 0x95, 0x2a, - 0x22, 0x24, 0xd6, 0xb1, 0x81, 0x08, 0xb9, 0x08, 0x81, 0xdd, 0x36, 0x8e, 0x44, 0xc1, 0xac, 0xa3, - 0x1c, 0x50, 0xc4, 0x76, 0x33, 0xfb, 0x12, 0xaf, 0xe2, 0x9d, 0xd9, 0xcc, 0xcc, 0x1a, 0x82, 0xf8, - 0x13, 0x38, 0x70, 0xe2, 0x0f, 0xe0, 0xc8, 0x9d, 0x3b, 0x47, 0xc4, 0xa9, 0x47, 0x8e, 0x28, 0xb9, - 0xf1, 0x57, 0xa0, 0x99, 0x1d, 0xff, 0x6c, 0x9b, 0x60, 0xb8, 0x24, 0x9e, 0x6f, 0xbf, 0xf7, 0x7d, - 0xef, 0xcd, 0x9b, 0x37, 0xbb, 0xb0, 0x9d, 0x20, 0x4b, 0xe3, 0x63, 0x11, 0xd4, 0x28, 0x17, 0x58, - 0xa3, 0x3c, 0x4e, 0x38, 0x43, 0xa6, 0x6a, 0x92, 0xaa, 0xda, 0xb0, 0xae, 0xff, 0xb9, 0x89, 0xe0, - 0x8a, 0x93, 0xea, 0x88,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6e, 0xf7, 0x7e, - 0x29, 0x54, 0xbb, 0xa3, 0x2c, 0xda, 0x3a, 0x8b, 0xf6, 0x38, 0x8b, 0x1e, 0x55, 0xee, 0x61, 0xfd, - 0x8f, 0x09, 0xe1, 0x48, 0x13, 0x8e, 0xc6, 0x84, 0xa3, 0x1e, 0x55, 0x47, 0x87, 0xf5, 0xcb, 0xc2, - 0x3b, 0xd7, 0x13, 0x8e, 0xf6, 0xba, 0xad, 0xa7, 0xa8, 0x82, 0x30, 0x50, 0xc1, 0xdf, 0x05, 0x67, - 0x44, 0x6e, 0x36, 0x35, 0x5b, 0xff, 0xb5, 0xf4, 0x66, 0xb3, 0x47, 0x55, 0xb3, 0x79, 0x58, 0x3f, - 0x5e, 0x36, 0x5f, 0x26, 0xef, 0xfd, 0x13, 0x00, 0x00, 0xff, 0xff, 0x62, 0x18, 0xb8, 0x98, 0x07, - 0x09, 0x00, 0x00, + // 983 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xcf, 0x6f, 0x1b, 0xc5, + 0x17, 0xb7, 0xf7, 0x9b, 0xa4, 0xf1, 0x73, 0x92, 0x7e, 0x99, 0x24, 0x95, 0x65, 0xa9, 0xa6, 0x5d, + 0xa9, 0x22, 0x42, 0x62, 0x37, 0x36, 0x34, 0x42, 0x2e, 0x42, 0x60, 0xb7, 0x8d, 0x23, 0x51, 0x30, + 0xeb, 0x28, 0x07, 0x14, 0xb1, 0xdd, 0xcc, 0x8e, 0xe3, 0x55, 0xbc, 0x33, 0x9b, 0x99, 0x59, 0x83, + 0x11, 0x12, 0x7f, 0x01, 0x12, 0x27, 0xfe, 0x00, 0x8e, 0xdc, 0xb9, 0x73, 0x44, 0x9c, 0x7a, 0xe4, + 0x88, 0x92, 0x1b, 0x7f, 0x05, 0x9a, 0xd9, 0xf1, 0xcf, 0xa6, 0x49, 0x4d, 0x2f, 0x89, 0xdf, 0xdb, + 0xcf, 0xfb, 0x7c, 0xde, 0x8f, 0x79, 0xa3, 0x81, 0x9d, 0x84, 0xd0, 0x34, 0x3e, 0xe1, 0x81, 0x8b, + 0x19, 0x27, 0x2e, 0x66, 0x71, 0xc2, 0x28, 0xa1, 0xd2, 0x15, 0x58, 0xba, 0x83, 0xaa, 0xfa, 0xe7, + 0x24, 0x9c, 0x49, 0x86, 0x2a, 0x23, 0xa4, 0xa3, 0x90, 0xce, 0x18, 0xe9, 0x28, 0xc8, 0xa0, 0x5a, + 0xbe, 0x37, 0x61, 0xe2, 0xc3, 0x44, 0x32, 0x57, 0x66, 0x0c, 0x72, 0xc4, 0x60, 0xef, 0xc1, 0x7a, + 0x07, 0xcb, 0x76, 0xc0, 0x83, 0x98, 0x48, 0xc2, 0x05, 0x7a, 0x00, 0x1b, 0x24, 0x61, 0xb8, 0xe7, + 0x87, 0x29, 0x0f, 0x64, 0xc4, 0x68, 0x29, 0x7f, 0x2f, 0xbf, 0xb3, 0xe4, 0xad, 0x6b, 0xef, 0x63, + 0xe3, 0xb4, 0xbf, 0x86, 0x8d, 0x7d, 0x42, 0x89, 0x88, 0x44, 0x93, 0x51, 0x49, 0xa8, 0x44, 0x9f, + 0x01, 0x08, 0x2c, 0xfd, 0x44, 0x51, 0x09, 0x1d, 0x54, 0xac, 0xbd, 0xe7, 0x5c, 0x9f, 0xa0, 0x33, + 0xa3, 0xed, 0x15, 0x84, 0x31, 0x85, 0xfd, 0x09, 0x2c, 0x3f, 0x51, 0x82, 0x68, 0x0b, 0x96, 0x23, + 0x1a, 0x92, 0x6f, 0x4d, 0x1a, 0x99, 0x81, 0xee, 0xc3, 0x9a, 0x90, 0x01, 0x97, 0x7e, 0x8f, 0x44, + 0xa7, 0x3d, 0x59, 0xb2, 0xf4, 0xc7, 0xa2, 0xf6, 0xb5, 0xb4, 0xcb, 0xfe, 0x79, 0x05, 0xfe, 0xdf, + 0x64, 0x71, 0x1c, 0xc9, 0x98, 0x50, 0xd9, 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0xf9, 0xbf, 0x2f, 0x2a, 0xf9, 0x9f, 0x2e, + 0x2b, 0xb9, 0x17, 0x97, 0x95, 0xdc, 0x5f, 0x97, 0x95, 0x1c, 0xd8, 0x98, 0xc5, 0x37, 0x90, 0x36, + 0x56, 0xd5, 0x1b, 0x41, 0xbd, 0x55, 0xda, 0xf9, 0xaf, 0xda, 0xa7, 0x91, 0xec, 0xa5, 0x27, 0x0a, + 0xe4, 0x62, 0x26, 0x62, 0x26, 0x5c, 0x4e, 0xfa, 0xc1, 0x90, 0x70, 0x77, 0x50, 0x1b, 0xff, 0xc4, + 0xbd, 0x20, 0xa2, 0xc2, 0xbd, 0xfe, 0x15, 0xf5, 0x48, 0x60, 0x39, 0xa8, 0xfe, 0x62, 0x2d, 0xb5, + 0x9b, 0xcd, 0xce, 0xaf, 0x56, 0xa5, 0x3d, 0xca, 0xa2, 0xa9, 0xb2, 0x68, 0x8e, 0xb3, 0xe8, 0x60, + 0xe9, 0x1c, 0x55, 0xff, 0x9c, 0x00, 0x8e, 0x15, 0xe0, 0x78, 0x0c, 0x38, 0xee, 0x60, 0x79, 0x7c, + 0x54, 0xbd, 0xb0, 0xde, 0xbd, 0x1e, 0x70, 0xbc, 0xdf, 0x6e, 0x3c, 0x23, 0x32, 0x08, 0x03, 0x19, + 0xfc, 0x63, 0xd9, 0x23, 0x70, 0xbd, 0xae, 0xd0, 0xea, 0xaf, 0x81, 0xd7, 0xeb, 0x1d, 0x2c, 0xeb, + 0xf5, 0xa3, 0xea, 0xc9, 0x8a, 0x7e, 0xa1, 0xbd, 0xff, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb3, + 0xe3, 0x58, 0xd9, 0x0f, 0x0a, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1046,6 +1138,7 @@ const _ = grpc.SupportPackageIsVersion4 // // 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 { + AnchorByHeight(ctx context.Context, in *AnchorByHeightRequest, opts ...grpc.CallOption) (*AnchorByHeightResponse, error) EpochByHeight(ctx context.Context, in *EpochByHeightRequest, opts ...grpc.CallOption) (*EpochByHeightResponse, error) } @@ -1057,6 +1150,15 @@ func NewQueryServiceClient(cc grpc1.ClientConn) QueryServiceClient { return &queryServiceClient{cc} } +func (c *queryServiceClient) AnchorByHeight(ctx context.Context, in *AnchorByHeightRequest, opts ...grpc.CallOption) (*AnchorByHeightResponse, error) { + out := new(AnchorByHeightResponse) + err := c.cc.Invoke(ctx, "/penumbra.core.component.sct.v1.QueryService/AnchorByHeight", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *queryServiceClient) EpochByHeight(ctx context.Context, in *EpochByHeightRequest, opts ...grpc.CallOption) (*EpochByHeightResponse, error) { out := new(EpochByHeightResponse) err := c.cc.Invoke(ctx, "/penumbra.core.component.sct.v1.QueryService/EpochByHeight", in, out, opts...) @@ -1068,6 +1170,7 @@ func (c *queryServiceClient) EpochByHeight(ctx context.Context, in *EpochByHeigh // QueryServiceServer is the server API for QueryService service. type QueryServiceServer interface { + AnchorByHeight(context.Context, *AnchorByHeightRequest) (*AnchorByHeightResponse, error) EpochByHeight(context.Context, *EpochByHeightRequest) (*EpochByHeightResponse, error) } @@ -1075,6 +1178,9 @@ type QueryServiceServer interface { type UnimplementedQueryServiceServer struct { } +func (*UnimplementedQueryServiceServer) AnchorByHeight(ctx context.Context, req *AnchorByHeightRequest) (*AnchorByHeightResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AnchorByHeight not implemented") +} func (*UnimplementedQueryServiceServer) EpochByHeight(ctx context.Context, req *EpochByHeightRequest) (*EpochByHeightResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method EpochByHeight not implemented") } @@ -1083,6 +1189,24 @@ func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer) { s.RegisterService(&_QueryService_serviceDesc, srv) } +func _QueryService_AnchorByHeight_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AnchorByHeightRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).AnchorByHeight(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/penumbra.core.component.sct.v1.QueryService/AnchorByHeight", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).AnchorByHeight(ctx, req.(*AnchorByHeightRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _QueryService_EpochByHeight_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(EpochByHeightRequest) if err := dec(in); err != nil { @@ -1105,6 +1229,10 @@ var _QueryService_serviceDesc = grpc.ServiceDesc{ ServiceName: "penumbra.core.component.sct.v1.QueryService", HandlerType: (*QueryServiceServer)(nil), Methods: []grpc.MethodDesc{ + { + MethodName: "AnchorByHeight", + Handler: _QueryService_AnchorByHeight_Handler, + }, { MethodName: "EpochByHeight", Handler: _QueryService_EpochByHeight_Handler, @@ -1799,6 +1927,69 @@ func (m *EpochByHeightResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *AnchorByHeightRequest) 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 *AnchorByHeightRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *AnchorByHeightRequest) 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] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *AnchorByHeightResponse) 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 *AnchorByHeightResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *AnchorByHeightResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + 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 encodeVarintSct(dAtA []byte, offset int, v uint64) int { offset -= sovSct(v) base := offset @@ -2107,6 +2298,31 @@ func (m *EpochByHeightResponse) Size() (n int) { return n } +func (m *AnchorByHeightRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Height != 0 { + n += 1 + sovSct(uint64(m.Height)) + } + return n +} + +func (m *AnchorByHeightResponse) 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)) + } + return n +} + func sovSct(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -3765,6 +3981,161 @@ func (m *EpochByHeightResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *AnchorByHeightRequest) 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: AnchorByHeightRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: AnchorByHeightRequest: 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) + } + 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 *AnchorByHeightResponse) 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: AnchorByHeightResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: AnchorByHeightResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Anchor", 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.Anchor == nil { + m.Anchor = &v1.MerkleRoot{} + } + if err := m.Anchor.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + 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 skipSct(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/relayer/chains/penumbra/core/component/shielded_pool/v1/shielded_pool.pb.go b/relayer/chains/penumbra/core/component/shielded_pool/v1/shielded_pool.pb.go index 3962a79bf..cd11cb621 100644 --- a/relayer/chains/penumbra/core/component/shielded_pool/v1/shielded_pool.pb.go +++ b/relayer/chains/penumbra/core/component/shielded_pool/v1/shielded_pool.pb.go @@ -12,6 +12,8 @@ import ( v15 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/sct/v1" v11 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/keys/v1" v1 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/num/v1" + v17 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/txhash/v1" + v16 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/crypto/decaf377_fmd/v1" v14 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/crypto/decaf377_rdsa/v1" v13 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/crypto/tct/v1" grpc "google.golang.org/grpc" @@ -35,7 +37,8 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // Configuration data for the shielded pool component. type ShieldedPoolParameters struct { - FixedFmdParams *FmdParameters `protobuf:"bytes,1,opt,name=fixed_fmd_params,json=fixedFmdParams,proto3" json:"fixed_fmd_params,omitempty"` + FixedFmdParams *FmdParameters `protobuf:"bytes,1,opt,name=fixed_fmd_params,json=fixedFmdParams,proto3" json:"fixed_fmd_params,omitempty"` // Deprecated: Do not use. + FmdMetaParams *FmdMetaParameters `protobuf:"bytes,2,opt,name=fmd_meta_params,json=fmdMetaParams,proto3" json:"fmd_meta_params,omitempty"` } func (m *ShieldedPoolParameters) Reset() { *m = ShieldedPoolParameters{} } @@ -71,6 +74,7 @@ func (m *ShieldedPoolParameters) XXX_DiscardUnknown() { var xxx_messageInfo_ShieldedPoolParameters proto.InternalMessageInfo +// Deprecated: Do not use. func (m *ShieldedPoolParameters) GetFixedFmdParams() *FmdParameters { if m != nil { return m.FixedFmdParams @@ -78,6 +82,13 @@ func (m *ShieldedPoolParameters) GetFixedFmdParams() *FmdParameters { return nil } +func (m *ShieldedPoolParameters) GetFmdMetaParams() *FmdMetaParameters { + if m != nil { + return m.FmdMetaParams + } + return nil +} + // Genesis data for the shielded pool component. type GenesisContent struct { ShieldedPoolParams *ShieldedPoolParameters `protobuf:"bytes,1,opt,name=shielded_pool_params,json=shieldedPoolParams,proto3" json:"shielded_pool_params,omitempty"` @@ -192,6 +203,91 @@ func (m *GenesisContent_Allocation) GetAddress() *v11.Address { return nil } +// The parameters which control how the FMD parameters evolve over time. +type FmdMetaParameters struct { + // How much time users have to transition to new parameters. + FmdGracePeriodBlocks uint64 `protobuf:"varint,1,opt,name=fmd_grace_period_blocks,json=fmdGracePeriodBlocks,proto3" json:"fmd_grace_period_blocks,omitempty"` + // The algorithm governing how the parameters change. + // + // Types that are valid to be assigned to Algorithm: + // + // *FmdMetaParameters_FixedPrecisionBits + Algorithm isFmdMetaParameters_Algorithm `protobuf_oneof:"algorithm"` +} + +func (m *FmdMetaParameters) Reset() { *m = FmdMetaParameters{} } +func (m *FmdMetaParameters) String() string { return proto.CompactTextString(m) } +func (*FmdMetaParameters) ProtoMessage() {} +func (*FmdMetaParameters) Descriptor() ([]byte, []int) { + return fileDescriptor_26a9f446de1cd73c, []int{2} +} +func (m *FmdMetaParameters) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *FmdMetaParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_FmdMetaParameters.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 *FmdMetaParameters) XXX_Merge(src proto.Message) { + xxx_messageInfo_FmdMetaParameters.Merge(m, src) +} +func (m *FmdMetaParameters) XXX_Size() int { + return m.Size() +} +func (m *FmdMetaParameters) XXX_DiscardUnknown() { + xxx_messageInfo_FmdMetaParameters.DiscardUnknown(m) +} + +var xxx_messageInfo_FmdMetaParameters proto.InternalMessageInfo + +type isFmdMetaParameters_Algorithm interface { + isFmdMetaParameters_Algorithm() + MarshalTo([]byte) (int, error) + Size() int +} + +type FmdMetaParameters_FixedPrecisionBits struct { + FixedPrecisionBits uint32 `protobuf:"varint,2,opt,name=fixed_precision_bits,json=fixedPrecisionBits,proto3,oneof" json:"fixed_precision_bits,omitempty"` +} + +func (*FmdMetaParameters_FixedPrecisionBits) isFmdMetaParameters_Algorithm() {} + +func (m *FmdMetaParameters) GetAlgorithm() isFmdMetaParameters_Algorithm { + if m != nil { + return m.Algorithm + } + return nil +} + +func (m *FmdMetaParameters) GetFmdGracePeriodBlocks() uint64 { + if m != nil { + return m.FmdGracePeriodBlocks + } + return 0 +} + +func (m *FmdMetaParameters) GetFixedPrecisionBits() uint32 { + if x, ok := m.GetAlgorithm().(*FmdMetaParameters_FixedPrecisionBits); ok { + return x.FixedPrecisionBits + } + return 0 +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*FmdMetaParameters) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*FmdMetaParameters_FixedPrecisionBits)(nil), + } +} + // Parameters for Fuzzy Message Detection type FmdParameters struct { PrecisionBits uint32 `protobuf:"varint,1,opt,name=precision_bits,json=precisionBits,proto3" json:"precision_bits,omitempty"` @@ -202,7 +298,7 @@ func (m *FmdParameters) Reset() { *m = FmdParameters{} } func (m *FmdParameters) String() string { return proto.CompactTextString(m) } func (*FmdParameters) ProtoMessage() {} func (*FmdParameters) Descriptor() ([]byte, []int) { - return fileDescriptor_26a9f446de1cd73c, []int{2} + return fileDescriptor_26a9f446de1cd73c, []int{3} } func (m *FmdParameters) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -255,7 +351,7 @@ func (m *Note) Reset() { *m = Note{} } func (m *Note) String() string { return proto.CompactTextString(m) } func (*Note) ProtoMessage() {} func (*Note) Descriptor() ([]byte, []int) { - return fileDescriptor_26a9f446de1cd73c, []int{3} + return fileDescriptor_26a9f446de1cd73c, []int{4} } func (m *Note) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -315,7 +411,7 @@ func (m *NoteView) Reset() { *m = NoteView{} } func (m *NoteView) String() string { return proto.CompactTextString(m) } func (*NoteView) ProtoMessage() {} func (*NoteView) Descriptor() ([]byte, []int) { - return fileDescriptor_26a9f446de1cd73c, []int{4} + return fileDescriptor_26a9f446de1cd73c, []int{5} } func (m *NoteView) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -375,7 +471,7 @@ func (m *NoteCiphertext) Reset() { *m = NoteCiphertext{} } func (m *NoteCiphertext) String() string { return proto.CompactTextString(m) } func (*NoteCiphertext) ProtoMessage() {} func (*NoteCiphertext) Descriptor() ([]byte, []int) { - return fileDescriptor_26a9f446de1cd73c, []int{5} + return fileDescriptor_26a9f446de1cd73c, []int{6} } func (m *NoteCiphertext) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -427,7 +523,7 @@ func (m *NotePayload) Reset() { *m = NotePayload{} } func (m *NotePayload) String() string { return proto.CompactTextString(m) } func (*NotePayload) ProtoMessage() {} func (*NotePayload) Descriptor() ([]byte, []int) { - return fileDescriptor_26a9f446de1cd73c, []int{6} + return fileDescriptor_26a9f446de1cd73c, []int{7} } func (m *NotePayload) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -486,7 +582,7 @@ func (m *ZKOutputProof) Reset() { *m = ZKOutputProof{} } func (m *ZKOutputProof) String() string { return proto.CompactTextString(m) } func (*ZKOutputProof) ProtoMessage() {} func (*ZKOutputProof) Descriptor() ([]byte, []int) { - return fileDescriptor_26a9f446de1cd73c, []int{7} + return fileDescriptor_26a9f446de1cd73c, []int{8} } func (m *ZKOutputProof) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -531,7 +627,7 @@ func (m *ZKSpendProof) Reset() { *m = ZKSpendProof{} } func (m *ZKSpendProof) String() string { return proto.CompactTextString(m) } func (*ZKSpendProof) ProtoMessage() {} func (*ZKSpendProof) Descriptor() ([]byte, []int) { - return fileDescriptor_26a9f446de1cd73c, []int{8} + return fileDescriptor_26a9f446de1cd73c, []int{9} } func (m *ZKSpendProof) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -576,7 +672,7 @@ func (m *ZKNullifierDerivationProof) Reset() { *m = ZKNullifierDerivatio func (m *ZKNullifierDerivationProof) String() string { return proto.CompactTextString(m) } func (*ZKNullifierDerivationProof) ProtoMessage() {} func (*ZKNullifierDerivationProof) Descriptor() ([]byte, []int) { - return fileDescriptor_26a9f446de1cd73c, []int{9} + return fileDescriptor_26a9f446de1cd73c, []int{10} } func (m *ZKNullifierDerivationProof) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -626,7 +722,7 @@ func (m *Spend) Reset() { *m = Spend{} } func (m *Spend) String() string { return proto.CompactTextString(m) } func (*Spend) ProtoMessage() {} func (*Spend) Descriptor() ([]byte, []int) { - return fileDescriptor_26a9f446de1cd73c, []int{10} + return fileDescriptor_26a9f446de1cd73c, []int{11} } func (m *Spend) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -685,7 +781,7 @@ func (m *EventSpend) Reset() { *m = EventSpend{} } func (m *EventSpend) String() string { return proto.CompactTextString(m) } func (*EventSpend) ProtoMessage() {} func (*EventSpend) Descriptor() ([]byte, []int) { - return fileDescriptor_26a9f446de1cd73c, []int{11} + return fileDescriptor_26a9f446de1cd73c, []int{12} } func (m *EventSpend) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -730,7 +826,7 @@ func (m *EventOutput) Reset() { *m = EventOutput{} } func (m *EventOutput) String() string { return proto.CompactTextString(m) } func (*EventOutput) ProtoMessage() {} func (*EventOutput) Descriptor() ([]byte, []int) { - return fileDescriptor_26a9f446de1cd73c, []int{12} + return fileDescriptor_26a9f446de1cd73c, []int{13} } func (m *EventOutput) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -766,6 +862,59 @@ func (m *EventOutput) GetNoteCommitment() *v13.StateCommitment { return nil } +// ABCI Event recording a clue. +type EventBroadcastClue struct { + Clue *v16.Clue `protobuf:"bytes,1,opt,name=clue,proto3" json:"clue,omitempty"` + Tx *v17.TransactionId `protobuf:"bytes,2,opt,name=tx,proto3" json:"tx,omitempty"` +} + +func (m *EventBroadcastClue) Reset() { *m = EventBroadcastClue{} } +func (m *EventBroadcastClue) String() string { return proto.CompactTextString(m) } +func (*EventBroadcastClue) ProtoMessage() {} +func (*EventBroadcastClue) Descriptor() ([]byte, []int) { + return fileDescriptor_26a9f446de1cd73c, []int{14} +} +func (m *EventBroadcastClue) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventBroadcastClue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventBroadcastClue.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 *EventBroadcastClue) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventBroadcastClue.Merge(m, src) +} +func (m *EventBroadcastClue) XXX_Size() int { + return m.Size() +} +func (m *EventBroadcastClue) XXX_DiscardUnknown() { + xxx_messageInfo_EventBroadcastClue.DiscardUnknown(m) +} + +var xxx_messageInfo_EventBroadcastClue proto.InternalMessageInfo + +func (m *EventBroadcastClue) GetClue() *v16.Clue { + if m != nil { + return m.Clue + } + return nil +} + +func (m *EventBroadcastClue) GetTx() *v17.TransactionId { + if m != nil { + return m.Tx + } + return nil +} + // The body of a spend description, containing only the effecting data // describing changes to the ledger, and not the authorizing data that allows // those changes to be performed. @@ -782,7 +931,7 @@ func (m *SpendBody) Reset() { *m = SpendBody{} } func (m *SpendBody) String() string { return proto.CompactTextString(m) } func (*SpendBody) ProtoMessage() {} func (*SpendBody) Descriptor() ([]byte, []int) { - return fileDescriptor_26a9f446de1cd73c, []int{13} + return fileDescriptor_26a9f446de1cd73c, []int{15} } func (m *SpendBody) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -844,7 +993,7 @@ func (m *SpendView) Reset() { *m = SpendView{} } func (m *SpendView) String() string { return proto.CompactTextString(m) } func (*SpendView) ProtoMessage() {} func (*SpendView) Descriptor() ([]byte, []int) { - return fileDescriptor_26a9f446de1cd73c, []int{14} + return fileDescriptor_26a9f446de1cd73c, []int{16} } func (m *SpendView) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -927,7 +1076,7 @@ func (m *SpendView_Visible) Reset() { *m = SpendView_Visible{} } func (m *SpendView_Visible) String() string { return proto.CompactTextString(m) } func (*SpendView_Visible) ProtoMessage() {} func (*SpendView_Visible) Descriptor() ([]byte, []int) { - return fileDescriptor_26a9f446de1cd73c, []int{14, 0} + return fileDescriptor_26a9f446de1cd73c, []int{16, 0} } func (m *SpendView_Visible) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -978,7 +1127,7 @@ func (m *SpendView_Opaque) Reset() { *m = SpendView_Opaque{} } func (m *SpendView_Opaque) String() string { return proto.CompactTextString(m) } func (*SpendView_Opaque) ProtoMessage() {} func (*SpendView_Opaque) Descriptor() ([]byte, []int) { - return fileDescriptor_26a9f446de1cd73c, []int{14, 1} + return fileDescriptor_26a9f446de1cd73c, []int{16, 1} } func (m *SpendView_Opaque) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1033,7 +1182,7 @@ func (m *SpendPlan) Reset() { *m = SpendPlan{} } func (m *SpendPlan) String() string { return proto.CompactTextString(m) } func (*SpendPlan) ProtoMessage() {} func (*SpendPlan) Descriptor() ([]byte, []int) { - return fileDescriptor_26a9f446de1cd73c, []int{15} + return fileDescriptor_26a9f446de1cd73c, []int{17} } func (m *SpendPlan) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1116,7 +1265,7 @@ func (m *Output) Reset() { *m = Output{} } func (m *Output) String() string { return proto.CompactTextString(m) } func (*Output) ProtoMessage() {} func (*Output) Descriptor() ([]byte, []int) { - return fileDescriptor_26a9f446de1cd73c, []int{16} + return fileDescriptor_26a9f446de1cd73c, []int{18} } func (m *Output) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1170,7 +1319,7 @@ type OutputBody struct { // An encrypted key for decrypting the memo. WrappedMemoKey []byte `protobuf:"bytes,3,opt,name=wrapped_memo_key,json=wrappedMemoKey,proto3" json:"wrapped_memo_key,omitempty"` // The key material used for note encryption, wrapped in encryption to the - // sender's outgoing viewing key. 80 bytes. + // sender's outgoing viewing key. 48 bytes. OvkWrappedKey []byte `protobuf:"bytes,4,opt,name=ovk_wrapped_key,json=ovkWrappedKey,proto3" json:"ovk_wrapped_key,omitempty"` } @@ -1178,7 +1327,7 @@ func (m *OutputBody) Reset() { *m = OutputBody{} } func (m *OutputBody) String() string { return proto.CompactTextString(m) } func (*OutputBody) ProtoMessage() {} func (*OutputBody) Descriptor() ([]byte, []int) { - return fileDescriptor_26a9f446de1cd73c, []int{17} + return fileDescriptor_26a9f446de1cd73c, []int{19} } func (m *OutputBody) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1247,7 +1396,7 @@ func (m *OutputView) Reset() { *m = OutputView{} } func (m *OutputView) String() string { return proto.CompactTextString(m) } func (*OutputView) ProtoMessage() {} func (*OutputView) Descriptor() ([]byte, []int) { - return fileDescriptor_26a9f446de1cd73c, []int{18} + return fileDescriptor_26a9f446de1cd73c, []int{20} } func (m *OutputView) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1331,7 +1480,7 @@ func (m *OutputView_Visible) Reset() { *m = OutputView_Visible{} } func (m *OutputView_Visible) String() string { return proto.CompactTextString(m) } func (*OutputView_Visible) ProtoMessage() {} func (*OutputView_Visible) Descriptor() ([]byte, []int) { - return fileDescriptor_26a9f446de1cd73c, []int{18, 0} + return fileDescriptor_26a9f446de1cd73c, []int{20, 0} } func (m *OutputView_Visible) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1389,7 +1538,7 @@ func (m *OutputView_Opaque) Reset() { *m = OutputView_Opaque{} } func (m *OutputView_Opaque) String() string { return proto.CompactTextString(m) } func (*OutputView_Opaque) ProtoMessage() {} func (*OutputView_Opaque) Descriptor() ([]byte, []int) { - return fileDescriptor_26a9f446de1cd73c, []int{18, 1} + return fileDescriptor_26a9f446de1cd73c, []int{20, 1} } func (m *OutputView_Opaque) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1444,7 +1593,7 @@ func (m *OutputPlan) Reset() { *m = OutputPlan{} } func (m *OutputPlan) String() string { return proto.CompactTextString(m) } func (*OutputPlan) ProtoMessage() {} func (*OutputPlan) Descriptor() ([]byte, []int) { - return fileDescriptor_26a9f446de1cd73c, []int{19} + return fileDescriptor_26a9f446de1cd73c, []int{21} } func (m *OutputPlan) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1525,7 +1674,7 @@ func (m *AssetMetadataByIdRequest) Reset() { *m = AssetMetadataByIdReque func (m *AssetMetadataByIdRequest) String() string { return proto.CompactTextString(m) } func (*AssetMetadataByIdRequest) ProtoMessage() {} func (*AssetMetadataByIdRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_26a9f446de1cd73c, []int{20} + return fileDescriptor_26a9f446de1cd73c, []int{22} } func (m *AssetMetadataByIdRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1572,7 +1721,7 @@ func (m *AssetMetadataByIdResponse) Reset() { *m = AssetMetadataByIdResp func (m *AssetMetadataByIdResponse) String() string { return proto.CompactTextString(m) } func (*AssetMetadataByIdResponse) ProtoMessage() {} func (*AssetMetadataByIdResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_26a9f446de1cd73c, []int{21} + return fileDescriptor_26a9f446de1cd73c, []int{23} } func (m *AssetMetadataByIdResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1608,10 +1757,103 @@ func (m *AssetMetadataByIdResponse) GetDenomMetadata() *v12.Metadata { return nil } +// Requests information on an asset by multiple asset ids +type AssetMetadataByIdsRequest struct { + // The asset IDs to request information on. Note that node is neither required + // nor expected to stream responses in the same order as this array. + AssetId []*v12.AssetId `protobuf:"bytes,1,rep,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` +} + +func (m *AssetMetadataByIdsRequest) Reset() { *m = AssetMetadataByIdsRequest{} } +func (m *AssetMetadataByIdsRequest) String() string { return proto.CompactTextString(m) } +func (*AssetMetadataByIdsRequest) ProtoMessage() {} +func (*AssetMetadataByIdsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_26a9f446de1cd73c, []int{24} +} +func (m *AssetMetadataByIdsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AssetMetadataByIdsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AssetMetadataByIdsRequest.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 *AssetMetadataByIdsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AssetMetadataByIdsRequest.Merge(m, src) +} +func (m *AssetMetadataByIdsRequest) XXX_Size() int { + return m.Size() +} +func (m *AssetMetadataByIdsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AssetMetadataByIdsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_AssetMetadataByIdsRequest proto.InternalMessageInfo + +func (m *AssetMetadataByIdsRequest) GetAssetId() []*v12.AssetId { + if m != nil { + return m.AssetId + } + return nil +} + +type AssetMetadataByIdsResponse struct { + // A single asset metadata streamed from the node. + DenomMetadata *v12.Metadata `protobuf:"bytes,1,opt,name=denom_metadata,json=denomMetadata,proto3" json:"denom_metadata,omitempty"` +} + +func (m *AssetMetadataByIdsResponse) Reset() { *m = AssetMetadataByIdsResponse{} } +func (m *AssetMetadataByIdsResponse) String() string { return proto.CompactTextString(m) } +func (*AssetMetadataByIdsResponse) ProtoMessage() {} +func (*AssetMetadataByIdsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_26a9f446de1cd73c, []int{25} +} +func (m *AssetMetadataByIdsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AssetMetadataByIdsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AssetMetadataByIdsResponse.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 *AssetMetadataByIdsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_AssetMetadataByIdsResponse.Merge(m, src) +} +func (m *AssetMetadataByIdsResponse) XXX_Size() int { + return m.Size() +} +func (m *AssetMetadataByIdsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_AssetMetadataByIdsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_AssetMetadataByIdsResponse proto.InternalMessageInfo + +func (m *AssetMetadataByIdsResponse) GetDenomMetadata() *v12.Metadata { + if m != nil { + return m.DenomMetadata + } + return nil +} + func init() { proto.RegisterType((*ShieldedPoolParameters)(nil), "penumbra.core.component.shielded_pool.v1.ShieldedPoolParameters") proto.RegisterType((*GenesisContent)(nil), "penumbra.core.component.shielded_pool.v1.GenesisContent") proto.RegisterType((*GenesisContent_Allocation)(nil), "penumbra.core.component.shielded_pool.v1.GenesisContent.Allocation") + proto.RegisterType((*FmdMetaParameters)(nil), "penumbra.core.component.shielded_pool.v1.FmdMetaParameters") proto.RegisterType((*FmdParameters)(nil), "penumbra.core.component.shielded_pool.v1.FmdParameters") proto.RegisterType((*Note)(nil), "penumbra.core.component.shielded_pool.v1.Note") proto.RegisterType((*NoteView)(nil), "penumbra.core.component.shielded_pool.v1.NoteView") @@ -1623,6 +1865,7 @@ func init() { proto.RegisterType((*Spend)(nil), "penumbra.core.component.shielded_pool.v1.Spend") proto.RegisterType((*EventSpend)(nil), "penumbra.core.component.shielded_pool.v1.EventSpend") proto.RegisterType((*EventOutput)(nil), "penumbra.core.component.shielded_pool.v1.EventOutput") + proto.RegisterType((*EventBroadcastClue)(nil), "penumbra.core.component.shielded_pool.v1.EventBroadcastClue") proto.RegisterType((*SpendBody)(nil), "penumbra.core.component.shielded_pool.v1.SpendBody") proto.RegisterType((*SpendView)(nil), "penumbra.core.component.shielded_pool.v1.SpendView") proto.RegisterType((*SpendView_Visible)(nil), "penumbra.core.component.shielded_pool.v1.SpendView.Visible") @@ -1636,6 +1879,8 @@ func init() { proto.RegisterType((*OutputPlan)(nil), "penumbra.core.component.shielded_pool.v1.OutputPlan") proto.RegisterType((*AssetMetadataByIdRequest)(nil), "penumbra.core.component.shielded_pool.v1.AssetMetadataByIdRequest") proto.RegisterType((*AssetMetadataByIdResponse)(nil), "penumbra.core.component.shielded_pool.v1.AssetMetadataByIdResponse") + proto.RegisterType((*AssetMetadataByIdsRequest)(nil), "penumbra.core.component.shielded_pool.v1.AssetMetadataByIdsRequest") + proto.RegisterType((*AssetMetadataByIdsResponse)(nil), "penumbra.core.component.shielded_pool.v1.AssetMetadataByIdsResponse") } func init() { @@ -1643,105 +1888,119 @@ func init() { } var fileDescriptor_26a9f446de1cd73c = []byte{ - // 1564 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0xcd, 0x6f, 0xdb, 0xc8, - 0x15, 0x37, 0xe5, 0xcf, 0x3c, 0x7d, 0x24, 0x19, 0x04, 0x85, 0x2b, 0xb4, 0xaa, 0xcb, 0x36, 0x89, - 0x83, 0x14, 0x52, 0x65, 0xbb, 0x75, 0xa0, 0xe4, 0x50, 0x4b, 0x4d, 0xec, 0xc0, 0x4d, 0xac, 0xd2, - 0x8d, 0x12, 0x18, 0x06, 0x88, 0x91, 0x38, 0xb2, 0x08, 0x93, 0x1c, 0x86, 0x33, 0x52, 0xa2, 0xf6, - 0x12, 0xf4, 0xd0, 0x4b, 0x2f, 0x45, 0x80, 0xa2, 0x3d, 0xec, 0x65, 0xf7, 0xb8, 0xc0, 0xde, 0xf6, - 0x8f, 0x58, 0xec, 0x29, 0xc7, 0xbd, 0xed, 0xc2, 0xc1, 0x5e, 0xf6, 0xb2, 0xb7, 0x3d, 0x2f, 0x66, - 0x38, 0xa4, 0x44, 0xd9, 0x32, 0x24, 0xc7, 0xc0, 0x5e, 0x12, 0xf2, 0xf1, 0xf7, 0x7e, 0xef, 0x63, - 0xde, 0xfc, 0x66, 0x2c, 0x78, 0xe0, 0x13, 0xaf, 0xeb, 0x36, 0x03, 0x5c, 0x6a, 0xd1, 0x80, 0x94, - 0x5a, 0xd4, 0xf5, 0xa9, 0x47, 0x3c, 0x5e, 0x62, 0x1d, 0x9b, 0x38, 0x16, 0xb1, 0x4c, 0x9f, 0x52, - 0xa7, 0xd4, 0x2b, 0x27, 0x0d, 0x45, 0x3f, 0xa0, 0x9c, 0xa2, 0xd5, 0xc8, 0xbb, 0x28, 0xbc, 0x8b, - 0xb1, 0x77, 0x31, 0x09, 0xee, 0x95, 0xf3, 0x7a, 0x32, 0x0e, 0x66, 0x8c, 0x70, 0xc1, 0x2a, 0x1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a1, 0xbf, 0xc1, 0x02, 0xf5, 0xf1, - 0xcb, 0x2e, 0x51, 0x43, 0x5b, 0xb9, 0x08, 0xef, 0x9e, 0x64, 0xd8, 0x99, 0x31, 0x14, 0x57, 0xfe, - 0xff, 0x1a, 0x2c, 0xaa, 0x60, 0xe8, 0x21, 0xcc, 0x33, 0x81, 0x54, 0x89, 0x97, 0xa6, 0x0c, 0x60, - 0x84, 0xde, 0xe8, 0x11, 0xcc, 0x49, 0x29, 0x0a, 0xd3, 0x5c, 0x9b, 0x4e, 0x8a, 0xa4, 0x1c, 0x4b, - 0xff, 0xfc, 0x1e, 0x2c, 0x84, 0xe9, 0x5e, 0x52, 0x62, 0xd5, 0x0c, 0x80, 0x7c, 0x30, 0x7b, 0x36, - 0x79, 0xa5, 0xff, 0x2b, 0xa5, 0x96, 0xad, 0xee, 0x60, 0x0f, 0x55, 0x55, 0xd2, 0x61, 0x84, 0xe2, - 0x74, 0x49, 0x87, 0x09, 0xa3, 0x3c, 0x2c, 0xf9, 0x94, 0xd9, 0x62, 0x36, 0xd4, 0x39, 0x1c, 0xbf, - 0xa3, 0x02, 0x40, 0x80, 0x3d, 0x8b, 0xba, 0xf6, 0xdf, 0x49, 0x20, 0x85, 0x22, 0x63, 0x0c, 0x59, - 0xc4, 0xa1, 0x2f, 0x4f, 0x35, 0xb3, 0xe9, 0xd8, 0x9e, 0x65, 0x7b, 0x47, 0x72, 0x30, 0x33, 0x46, - 0x56, 0x5a, 0xab, 0xca, 0x88, 0x56, 0xe1, 0x9a, 0x54, 0x89, 0x18, 0x66, 0x06, 0xcb, 0xf3, 0x12, - 0x98, 0x93, 0xf6, 0x08, 0x68, 0x9c, 0x81, 0x64, 0x72, 0xb7, 0x8c, 0x22, 0xf7, 0xf5, 0x8f, 0x35, - 0x58, 0x50, 0xaa, 0xb0, 0x93, 0xd0, 0xd8, 0x8d, 0xc9, 0xbb, 0x10, 0xfa, 0x0f, 0x89, 0xec, 0x93, - 0x48, 0x13, 0x53, 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x2b, 0x05, 0xc4, - 0xc1, 0x7d, 0x12, 0x94, 0x7a, 0x6b, 0xf1, 0x63, 0xab, 0x83, 0x6d, 0x8f, 0x95, 0x26, 0xfd, 0x79, - 0xea, 0x7e, 0xc2, 0xd0, 0x2b, 0x7f, 0x92, 0x9a, 0xab, 0xd7, 0x6a, 0xfb, 0x9f, 0xa6, 0x6e, 0xd7, - 0xa3, 0x64, 0x6b, 0x22, 0xd9, 0x5a, 0x9c, 0xec, 0x70, 0x6a, 0xc5, 0x46, 0xf9, 0xcb, 0x01, 0xf2, - 0x50, 0x20, 0x0f, 0x63, 0xe4, 0xe1, 0x30, 0xf2, 0xb0, 0x51, 0x3e, 0x49, 0xad, 0x4f, 0x88, 0x3c, - 0xdc, 0xae, 0x57, 0xa3, 0x06, 0x7f, 0x97, 0xba, 0x1b, 0x79, 0x55, 0x2a, 0xc2, 0x4d, 0xfc, 0xab, - 0xfc, 0x2a, 0x95, 0x61, 0xc7, 0x4a, 0xa5, 0x51, 0x6e, 0x2e, 0xc8, 0x9f, 0x93, 0xd6, 0x7f, 0x0c, - 0x00, 0x00, 0xff, 0xff, 0x74, 0xe5, 0xc5, 0x77, 0xa0, 0x13, 0x00, 0x00, + // 1783 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0xcd, 0x6f, 0x1b, 0xc7, + 0x15, 0xd7, 0x52, 0x94, 0x6c, 0x3f, 0x7e, 0xd8, 0x1e, 0x18, 0xad, 0x4a, 0xb4, 0xac, 0xbb, 0x8d, + 0x1d, 0x05, 0x29, 0xc8, 0x50, 0x72, 0xe2, 0x54, 0xf6, 0xa1, 0x22, 0x13, 0x4b, 0x86, 0xea, 0x88, + 0x1d, 0x25, 0xb2, 0x61, 0x08, 0x58, 0x0c, 0x77, 0x87, 0xe2, 0x42, 0xdc, 0x9d, 0xcd, 0xcc, 0x90, + 0x16, 0x7b, 0x0a, 0x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, 0xdb, 0x89, 0xb3, 0x2d, 0xe5, 0x6c, 0x2b, 0x75, + 0x76, 0xd2, 0xb5, 0xda, 0x61, 0xe3, 0xaf, 0x63, 0xe4, 0x91, 0x42, 0x1e, 0xa5, 0xc8, 0xa3, 0x49, + 0xe4, 0xd1, 0x61, 0xe3, 0x65, 0x6e, 0x73, 0x4e, 0xe4, 0xd1, 0x4e, 0xbb, 0x99, 0xe4, 0xf8, 0x3f, + 0xb9, 0x77, 0x13, 0xad, 0xad, 0x2d, 0xa5, 0xa6, 0xfe, 0x1a, 0xbd, 0xad, 0xad, 0x49, 0xc5, 0xad, + 0xad, 0xc3, 0x46, 0x67, 0x55, 0xff, 0x68, 0xba, 0xf9, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x41, + 0xd6, 0xa7, 0x98, 0xe0, 0x16, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1757,6 +2016,12 @@ const _ = grpc.SupportPackageIsVersion4 // 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 { AssetMetadataById(ctx context.Context, in *AssetMetadataByIdRequest, opts ...grpc.CallOption) (*AssetMetadataByIdResponse, error) + // Requests a stream of asset metadata, given an array of asset IDs. Responses + // may be streamed in a different order from that of the asset IDs in the + // request, and asset IDs unknown to the node will not receive any response + // objects -- that is, the number of responses may be smaller than the length + // of the asset IDs array. + AssetMetadataByIds(ctx context.Context, in *AssetMetadataByIdsRequest, opts ...grpc.CallOption) (QueryService_AssetMetadataByIdsClient, error) } type queryServiceClient struct { @@ -1776,9 +2041,47 @@ func (c *queryServiceClient) AssetMetadataById(ctx context.Context, in *AssetMet return out, nil } +func (c *queryServiceClient) AssetMetadataByIds(ctx context.Context, in *AssetMetadataByIdsRequest, opts ...grpc.CallOption) (QueryService_AssetMetadataByIdsClient, error) { + stream, err := c.cc.NewStream(ctx, &_QueryService_serviceDesc.Streams[0], "/penumbra.core.component.shielded_pool.v1.QueryService/AssetMetadataByIds", opts...) + if err != nil { + return nil, err + } + x := &queryServiceAssetMetadataByIdsClient{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_AssetMetadataByIdsClient interface { + Recv() (*AssetMetadataByIdsResponse, error) + grpc.ClientStream +} + +type queryServiceAssetMetadataByIdsClient struct { + grpc.ClientStream +} + +func (x *queryServiceAssetMetadataByIdsClient) Recv() (*AssetMetadataByIdsResponse, error) { + m := new(AssetMetadataByIdsResponse) + 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 { AssetMetadataById(context.Context, *AssetMetadataByIdRequest) (*AssetMetadataByIdResponse, error) + // Requests a stream of asset metadata, given an array of asset IDs. Responses + // may be streamed in a different order from that of the asset IDs in the + // request, and asset IDs unknown to the node will not receive any response + // objects -- that is, the number of responses may be smaller than the length + // of the asset IDs array. + AssetMetadataByIds(*AssetMetadataByIdsRequest, QueryService_AssetMetadataByIdsServer) error } // UnimplementedQueryServiceServer can be embedded to have forward compatible implementations. @@ -1788,6 +2091,9 @@ type UnimplementedQueryServiceServer struct { func (*UnimplementedQueryServiceServer) AssetMetadataById(ctx context.Context, req *AssetMetadataByIdRequest) (*AssetMetadataByIdResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AssetMetadataById not implemented") } +func (*UnimplementedQueryServiceServer) AssetMetadataByIds(req *AssetMetadataByIdsRequest, srv QueryService_AssetMetadataByIdsServer) error { + return status.Errorf(codes.Unimplemented, "method AssetMetadataByIds not implemented") +} func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer) { s.RegisterService(&_QueryService_serviceDesc, srv) @@ -1811,6 +2117,27 @@ func _QueryService_AssetMetadataById_Handler(srv interface{}, ctx context.Contex return interceptor(ctx, in, info, handler) } +func _QueryService_AssetMetadataByIds_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(AssetMetadataByIdsRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(QueryServiceServer).AssetMetadataByIds(m, &queryServiceAssetMetadataByIdsServer{stream}) +} + +type QueryService_AssetMetadataByIdsServer interface { + Send(*AssetMetadataByIdsResponse) error + grpc.ServerStream +} + +type queryServiceAssetMetadataByIdsServer struct { + grpc.ServerStream +} + +func (x *queryServiceAssetMetadataByIdsServer) Send(m *AssetMetadataByIdsResponse) error { + return x.ServerStream.SendMsg(m) +} + var _QueryService_serviceDesc = grpc.ServiceDesc{ ServiceName: "penumbra.core.component.shielded_pool.v1.QueryService", HandlerType: (*QueryServiceServer)(nil), @@ -1820,7 +2147,13 @@ var _QueryService_serviceDesc = grpc.ServiceDesc{ Handler: _QueryService_AssetMetadataById_Handler, }, }, - Streams: []grpc.StreamDesc{}, + Streams: []grpc.StreamDesc{ + { + StreamName: "AssetMetadataByIds", + Handler: _QueryService_AssetMetadataByIds_Handler, + ServerStreams: true, + }, + }, Metadata: "penumbra/core/component/shielded_pool/v1/shielded_pool.proto", } @@ -1844,6 +2177,18 @@ func (m *ShieldedPoolParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) _ = i var l int _ = l + if m.FmdMetaParams != nil { + { + size, err := m.FmdMetaParams.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintShieldedPool(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } if m.FixedFmdParams != nil { { size, err := m.FixedFmdParams.MarshalToSizedBuffer(dAtA[:i]) @@ -1962,6 +2307,55 @@ func (m *GenesisContent_Allocation) MarshalToSizedBuffer(dAtA []byte) (int, erro return len(dAtA) - i, nil } +func (m *FmdMetaParameters) 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 *FmdMetaParameters) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *FmdMetaParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Algorithm != nil { + { + size := m.Algorithm.Size() + i -= size + if _, err := m.Algorithm.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + } + } + if m.FmdGracePeriodBlocks != 0 { + i = encodeVarintShieldedPool(dAtA, i, uint64(m.FmdGracePeriodBlocks)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *FmdMetaParameters_FixedPrecisionBits) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *FmdMetaParameters_FixedPrecisionBits) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + i = encodeVarintShieldedPool(dAtA, i, uint64(m.FixedPrecisionBits)) + i-- + dAtA[i] = 0x10 + return len(dAtA) - i, nil +} func (m *FmdParameters) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -2406,6 +2800,53 @@ func (m *EventOutput) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *EventBroadcastClue) 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 *EventBroadcastClue) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventBroadcastClue) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Tx != nil { + { + size, err := m.Tx.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintShieldedPool(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.Clue != nil { + { + size, err := m.Clue.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintShieldedPool(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *SpendBody) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -3110,6 +3551,78 @@ func (m *AssetMetadataByIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, erro return len(dAtA) - i, nil } +func (m *AssetMetadataByIdsRequest) 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 *AssetMetadataByIdsRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *AssetMetadataByIdsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.AssetId) > 0 { + for iNdEx := len(m.AssetId) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.AssetId[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintShieldedPool(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *AssetMetadataByIdsResponse) 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 *AssetMetadataByIdsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *AssetMetadataByIdsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.DenomMetadata != nil { + { + size, err := m.DenomMetadata.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintShieldedPool(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func encodeVarintShieldedPool(dAtA []byte, offset int, v uint64) int { offset -= sovShieldedPool(v) base := offset @@ -3131,6 +3644,10 @@ func (m *ShieldedPoolParameters) Size() (n int) { l = m.FixedFmdParams.Size() n += 1 + l + sovShieldedPool(uint64(l)) } + if m.FmdMetaParams != nil { + l = m.FmdMetaParams.Size() + n += 1 + l + sovShieldedPool(uint64(l)) + } return n } @@ -3174,6 +3691,30 @@ func (m *GenesisContent_Allocation) Size() (n int) { return n } +func (m *FmdMetaParameters) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.FmdGracePeriodBlocks != 0 { + n += 1 + sovShieldedPool(uint64(m.FmdGracePeriodBlocks)) + } + if m.Algorithm != nil { + n += m.Algorithm.Size() + } + return n +} + +func (m *FmdMetaParameters_FixedPrecisionBits) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + n += 1 + sovShieldedPool(uint64(m.FixedPrecisionBits)) + return n +} func (m *FmdParameters) Size() (n int) { if m == nil { return 0 @@ -3351,6 +3892,23 @@ func (m *EventOutput) Size() (n int) { return n } +func (m *EventBroadcastClue) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Clue != nil { + l = m.Clue.Size() + n += 1 + l + sovShieldedPool(uint64(l)) + } + if m.Tx != nil { + l = m.Tx.Size() + n += 1 + l + sovShieldedPool(uint64(l)) + } + return n +} + func (m *SpendBody) Size() (n int) { if m == nil { return 0 @@ -3641,6 +4199,34 @@ func (m *AssetMetadataByIdResponse) Size() (n int) { return n } +func (m *AssetMetadataByIdsRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.AssetId) > 0 { + for _, e := range m.AssetId { + l = e.Size() + n += 1 + l + sovShieldedPool(uint64(l)) + } + } + return n +} + +func (m *AssetMetadataByIdsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.DenomMetadata != nil { + l = m.DenomMetadata.Size() + n += 1 + l + sovShieldedPool(uint64(l)) + } + return n +} + func sovShieldedPool(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -3712,6 +4298,42 @@ func (m *ShieldedPoolParameters) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FmdMetaParams", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowShieldedPool + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthShieldedPool + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthShieldedPool + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.FmdMetaParams == nil { + m.FmdMetaParams = &FmdMetaParameters{} + } + if err := m.FmdMetaParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipShieldedPool(dAtA[iNdEx:]) @@ -4007,6 +4629,95 @@ func (m *GenesisContent_Allocation) Unmarshal(dAtA []byte) error { } return nil } +func (m *FmdMetaParameters) 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 ErrIntOverflowShieldedPool + } + 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: FmdMetaParameters: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: FmdMetaParameters: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field FmdGracePeriodBlocks", wireType) + } + m.FmdGracePeriodBlocks = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowShieldedPool + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.FmdGracePeriodBlocks |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field FixedPrecisionBits", wireType) + } + var v uint32 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowShieldedPool + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Algorithm = &FmdMetaParameters_FixedPrecisionBits{v} + default: + iNdEx = preIndex + skippy, err := skipShieldedPool(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthShieldedPool + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *FmdParameters) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -4990,19 +5701,105 @@ func (m *Spend) Unmarshal(dAtA []byte) error { if postIndex < 0 { return ErrInvalidLengthShieldedPool } - if postIndex > l { + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.AuthSig == nil { + m.AuthSig = &v14.SpendAuthSignature{} + } + if err := m.AuthSig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + 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 ErrIntOverflowShieldedPool + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthShieldedPool + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthShieldedPool + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Proof == nil { + m.Proof = &ZKSpendProof{} + } + if err := m.Proof.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipShieldedPool(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthShieldedPool + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EventSpend) 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 ErrIntOverflowShieldedPool + } + if iNdEx >= l { return io.ErrUnexpectedEOF } - if m.AuthSig == nil { - m.AuthSig = &v14.SpendAuthSignature{} - } - if err := m.AuthSig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + 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: EventSpend: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventSpend: 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 Nullifier", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -5029,10 +5826,10 @@ func (m *Spend) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Proof == nil { - m.Proof = &ZKSpendProof{} + if m.Nullifier == nil { + m.Nullifier = &v15.Nullifier{} } - if err := m.Proof.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Nullifier.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -5057,7 +5854,7 @@ func (m *Spend) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventSpend) Unmarshal(dAtA []byte) error { +func (m *EventOutput) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -5080,15 +5877,15 @@ func (m *EventSpend) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventSpend: wiretype end group for non-group") + return fmt.Errorf("proto: EventOutput: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventSpend: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventOutput: 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 NoteCommitment", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -5115,10 +5912,10 @@ func (m *EventSpend) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Nullifier == nil { - m.Nullifier = &v15.Nullifier{} + if m.NoteCommitment == nil { + m.NoteCommitment = &v13.StateCommitment{} } - if err := m.Nullifier.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.NoteCommitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -5143,7 +5940,7 @@ func (m *EventSpend) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventOutput) Unmarshal(dAtA []byte) error { +func (m *EventBroadcastClue) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -5166,15 +5963,15 @@ func (m *EventOutput) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventOutput: wiretype end group for non-group") + return fmt.Errorf("proto: EventBroadcastClue: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventOutput: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventBroadcastClue: 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 Clue", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -5201,10 +5998,46 @@ func (m *EventOutput) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.NoteCommitment == nil { - m.NoteCommitment = &v13.StateCommitment{} + if m.Clue == nil { + m.Clue = &v16.Clue{} } - if err := m.NoteCommitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Clue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tx", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowShieldedPool + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthShieldedPool + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthShieldedPool + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Tx == nil { + m.Tx = &v17.TransactionId{} + } + if err := m.Tx.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -7062,6 +7895,176 @@ func (m *AssetMetadataByIdResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *AssetMetadataByIdsRequest) 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 ErrIntOverflowShieldedPool + } + 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: AssetMetadataByIdsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: AssetMetadataByIdsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AssetId", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowShieldedPool + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthShieldedPool + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthShieldedPool + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AssetId = append(m.AssetId, &v12.AssetId{}) + if err := m.AssetId[len(m.AssetId)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipShieldedPool(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthShieldedPool + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *AssetMetadataByIdsResponse) 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 ErrIntOverflowShieldedPool + } + 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: AssetMetadataByIdsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: AssetMetadataByIdsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DenomMetadata", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowShieldedPool + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthShieldedPool + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthShieldedPool + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.DenomMetadata == nil { + m.DenomMetadata = &v12.Metadata{} + } + if err := m.DenomMetadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipShieldedPool(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthShieldedPool + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipShieldedPool(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/relayer/chains/penumbra/core/component/stake/v1/stake.pb.go b/relayer/chains/penumbra/core/component/stake/v1/stake.pb.go index 41b99cab8..37f8baec5 100644 --- a/relayer/chains/penumbra/core/component/stake/v1/stake.pb.go +++ b/relayer/chains/penumbra/core/component/stake/v1/stake.pb.go @@ -1550,6 +1550,96 @@ func (m *Penalty) GetInner() []byte { return nil } +// Requests information about a specific validator. +type GetValidatorInfoRequest struct { + // The identity key of the validator. + IdentityKey *v1.IdentityKey `protobuf:"bytes,2,opt,name=identity_key,json=identityKey,proto3" json:"identity_key,omitempty"` +} + +func (m *GetValidatorInfoRequest) Reset() { *m = GetValidatorInfoRequest{} } +func (m *GetValidatorInfoRequest) String() string { return proto.CompactTextString(m) } +func (*GetValidatorInfoRequest) ProtoMessage() {} +func (*GetValidatorInfoRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_061b0086577193ed, []int{20} +} +func (m *GetValidatorInfoRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetValidatorInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetValidatorInfoRequest.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 *GetValidatorInfoRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetValidatorInfoRequest.Merge(m, src) +} +func (m *GetValidatorInfoRequest) XXX_Size() int { + return m.Size() +} +func (m *GetValidatorInfoRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetValidatorInfoRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetValidatorInfoRequest proto.InternalMessageInfo + +func (m *GetValidatorInfoRequest) GetIdentityKey() *v1.IdentityKey { + if m != nil { + return m.IdentityKey + } + return nil +} + +type GetValidatorInfoResponse struct { + ValidatorInfo *ValidatorInfo `protobuf:"bytes,1,opt,name=validator_info,json=validatorInfo,proto3" json:"validator_info,omitempty"` +} + +func (m *GetValidatorInfoResponse) Reset() { *m = GetValidatorInfoResponse{} } +func (m *GetValidatorInfoResponse) String() string { return proto.CompactTextString(m) } +func (*GetValidatorInfoResponse) ProtoMessage() {} +func (*GetValidatorInfoResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_061b0086577193ed, []int{21} +} +func (m *GetValidatorInfoResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetValidatorInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetValidatorInfoResponse.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 *GetValidatorInfoResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetValidatorInfoResponse.Merge(m, src) +} +func (m *GetValidatorInfoResponse) XXX_Size() int { + return m.Size() +} +func (m *GetValidatorInfoResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetValidatorInfoResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetValidatorInfoResponse proto.InternalMessageInfo + +func (m *GetValidatorInfoResponse) GetValidatorInfo() *ValidatorInfo { + if m != nil { + return m.ValidatorInfo + } + return nil +} + // Requests information on the chain's validators. type ValidatorInfoRequest struct { // Whether or not to return inactive validators @@ -1560,7 +1650,7 @@ func (m *ValidatorInfoRequest) Reset() { *m = ValidatorInfoRequest{} } func (m *ValidatorInfoRequest) String() string { return proto.CompactTextString(m) } func (*ValidatorInfoRequest) ProtoMessage() {} func (*ValidatorInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_061b0086577193ed, []int{20} + return fileDescriptor_061b0086577193ed, []int{22} } func (m *ValidatorInfoRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1604,7 +1694,7 @@ func (m *ValidatorInfoResponse) Reset() { *m = ValidatorInfoResponse{} } func (m *ValidatorInfoResponse) String() string { return proto.CompactTextString(m) } func (*ValidatorInfoResponse) ProtoMessage() {} func (*ValidatorInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_061b0086577193ed, []int{21} + return fileDescriptor_061b0086577193ed, []int{23} } func (m *ValidatorInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1648,7 +1738,7 @@ func (m *ValidatorStatusRequest) Reset() { *m = ValidatorStatusRequest{} func (m *ValidatorStatusRequest) String() string { return proto.CompactTextString(m) } func (*ValidatorStatusRequest) ProtoMessage() {} func (*ValidatorStatusRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_061b0086577193ed, []int{22} + return fileDescriptor_061b0086577193ed, []int{24} } func (m *ValidatorStatusRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1692,7 +1782,7 @@ func (m *ValidatorStatusResponse) Reset() { *m = ValidatorStatusResponse func (m *ValidatorStatusResponse) String() string { return proto.CompactTextString(m) } func (*ValidatorStatusResponse) ProtoMessage() {} func (*ValidatorStatusResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_061b0086577193ed, []int{23} + return fileDescriptor_061b0086577193ed, []int{25} } func (m *ValidatorStatusResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1739,7 +1829,7 @@ func (m *ValidatorPenaltyRequest) Reset() { *m = ValidatorPenaltyRequest func (m *ValidatorPenaltyRequest) String() string { return proto.CompactTextString(m) } func (*ValidatorPenaltyRequest) ProtoMessage() {} func (*ValidatorPenaltyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_061b0086577193ed, []int{24} + return fileDescriptor_061b0086577193ed, []int{26} } func (m *ValidatorPenaltyRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1797,7 +1887,7 @@ func (m *ValidatorPenaltyResponse) Reset() { *m = ValidatorPenaltyRespon func (m *ValidatorPenaltyResponse) String() string { return proto.CompactTextString(m) } func (*ValidatorPenaltyResponse) ProtoMessage() {} func (*ValidatorPenaltyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_061b0086577193ed, []int{25} + return fileDescriptor_061b0086577193ed, []int{27} } func (m *ValidatorPenaltyResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1841,7 +1931,7 @@ func (m *CurrentValidatorRateRequest) Reset() { *m = CurrentValidatorRat func (m *CurrentValidatorRateRequest) String() string { return proto.CompactTextString(m) } func (*CurrentValidatorRateRequest) ProtoMessage() {} func (*CurrentValidatorRateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_061b0086577193ed, []int{26} + return fileDescriptor_061b0086577193ed, []int{28} } func (m *CurrentValidatorRateRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1885,7 +1975,7 @@ func (m *CurrentValidatorRateResponse) Reset() { *m = CurrentValidatorRa func (m *CurrentValidatorRateResponse) String() string { return proto.CompactTextString(m) } func (*CurrentValidatorRateResponse) ProtoMessage() {} func (*CurrentValidatorRateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_061b0086577193ed, []int{27} + return fileDescriptor_061b0086577193ed, []int{29} } func (m *CurrentValidatorRateResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1921,6 +2011,94 @@ func (m *CurrentValidatorRateResponse) GetData() *RateData { return nil } +type ValidatorUptimeRequest struct { + IdentityKey *v1.IdentityKey `protobuf:"bytes,2,opt,name=identity_key,json=identityKey,proto3" json:"identity_key,omitempty"` +} + +func (m *ValidatorUptimeRequest) Reset() { *m = ValidatorUptimeRequest{} } +func (m *ValidatorUptimeRequest) String() string { return proto.CompactTextString(m) } +func (*ValidatorUptimeRequest) ProtoMessage() {} +func (*ValidatorUptimeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_061b0086577193ed, []int{30} +} +func (m *ValidatorUptimeRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ValidatorUptimeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ValidatorUptimeRequest.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 *ValidatorUptimeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ValidatorUptimeRequest.Merge(m, src) +} +func (m *ValidatorUptimeRequest) XXX_Size() int { + return m.Size() +} +func (m *ValidatorUptimeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ValidatorUptimeRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ValidatorUptimeRequest proto.InternalMessageInfo + +func (m *ValidatorUptimeRequest) GetIdentityKey() *v1.IdentityKey { + if m != nil { + return m.IdentityKey + } + return nil +} + +type ValidatorUptimeResponse struct { + Uptime *Uptime `protobuf:"bytes,1,opt,name=uptime,proto3" json:"uptime,omitempty"` +} + +func (m *ValidatorUptimeResponse) Reset() { *m = ValidatorUptimeResponse{} } +func (m *ValidatorUptimeResponse) String() string { return proto.CompactTextString(m) } +func (*ValidatorUptimeResponse) ProtoMessage() {} +func (*ValidatorUptimeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_061b0086577193ed, []int{31} +} +func (m *ValidatorUptimeResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ValidatorUptimeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ValidatorUptimeResponse.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 *ValidatorUptimeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ValidatorUptimeResponse.Merge(m, src) +} +func (m *ValidatorUptimeResponse) XXX_Size() int { + return m.Size() +} +func (m *ValidatorUptimeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ValidatorUptimeResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ValidatorUptimeResponse proto.InternalMessageInfo + +func (m *ValidatorUptimeResponse) GetUptime() *Uptime { + if m != nil { + return m.Uptime + } + return nil +} + // Staking configuration data. type StakeParameters struct { // The number of epochs an unbonding note for before being released. @@ -1947,7 +2125,7 @@ func (m *StakeParameters) Reset() { *m = StakeParameters{} } func (m *StakeParameters) String() string { return proto.CompactTextString(m) } func (*StakeParameters) ProtoMessage() {} func (*StakeParameters) Descriptor() ([]byte, []int) { - return fileDescriptor_061b0086577193ed, []int{28} + return fileDescriptor_061b0086577193ed, []int{32} } func (m *StakeParameters) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2052,7 +2230,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_061b0086577193ed, []int{29} + return fileDescriptor_061b0086577193ed, []int{33} } func (m *GenesisContent) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2095,6 +2273,87 @@ func (m *GenesisContent) GetValidators() []*Validator { return nil } +type EventTombstoneValidator struct { + // The height at which the offense occurred. + EvidenceHeight uint64 `protobuf:"varint,1,opt,name=evidence_height,json=evidenceHeight,proto3" json:"evidence_height,omitempty"` + // The height at which the evidence was processed. + CurrentHeight uint64 `protobuf:"varint,2,opt,name=current_height,json=currentHeight,proto3" json:"current_height,omitempty"` + // The validator identity key. + IdentityKey *v1.IdentityKey `protobuf:"bytes,4,opt,name=identity_key,json=identityKey,proto3" json:"identity_key,omitempty"` + // The validator's Comet address. + Address []byte `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"` + // The voting power for the validator. + VotingPower uint64 `protobuf:"varint,6,opt,name=voting_power,json=votingPower,proto3" json:"voting_power,omitempty"` +} + +func (m *EventTombstoneValidator) Reset() { *m = EventTombstoneValidator{} } +func (m *EventTombstoneValidator) String() string { return proto.CompactTextString(m) } +func (*EventTombstoneValidator) ProtoMessage() {} +func (*EventTombstoneValidator) Descriptor() ([]byte, []int) { + return fileDescriptor_061b0086577193ed, []int{34} +} +func (m *EventTombstoneValidator) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventTombstoneValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventTombstoneValidator.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 *EventTombstoneValidator) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventTombstoneValidator.Merge(m, src) +} +func (m *EventTombstoneValidator) XXX_Size() int { + return m.Size() +} +func (m *EventTombstoneValidator) XXX_DiscardUnknown() { + xxx_messageInfo_EventTombstoneValidator.DiscardUnknown(m) +} + +var xxx_messageInfo_EventTombstoneValidator proto.InternalMessageInfo + +func (m *EventTombstoneValidator) GetEvidenceHeight() uint64 { + if m != nil { + return m.EvidenceHeight + } + return 0 +} + +func (m *EventTombstoneValidator) GetCurrentHeight() uint64 { + if m != nil { + return m.CurrentHeight + } + return 0 +} + +func (m *EventTombstoneValidator) GetIdentityKey() *v1.IdentityKey { + if m != nil { + return m.IdentityKey + } + return nil +} + +func (m *EventTombstoneValidator) GetAddress() []byte { + if m != nil { + return m.Address + } + return nil +} + +func (m *EventTombstoneValidator) GetVotingPower() uint64 { + if m != nil { + return m.VotingPower + } + return 0 +} + func init() { proto.RegisterEnum("penumbra.core.component.stake.v1.BondingState_BondingStateEnum", BondingState_BondingStateEnum_name, BondingState_BondingStateEnum_value) proto.RegisterEnum("penumbra.core.component.stake.v1.ValidatorState_ValidatorStateEnum", ValidatorState_ValidatorStateEnum_name, ValidatorState_ValidatorStateEnum_value) @@ -2120,6 +2379,8 @@ func init() { proto.RegisterType((*Uptime)(nil), "penumbra.core.component.stake.v1.Uptime") proto.RegisterType((*CurrentConsensusKeys)(nil), "penumbra.core.component.stake.v1.CurrentConsensusKeys") proto.RegisterType((*Penalty)(nil), "penumbra.core.component.stake.v1.Penalty") + proto.RegisterType((*GetValidatorInfoRequest)(nil), "penumbra.core.component.stake.v1.GetValidatorInfoRequest") + proto.RegisterType((*GetValidatorInfoResponse)(nil), "penumbra.core.component.stake.v1.GetValidatorInfoResponse") proto.RegisterType((*ValidatorInfoRequest)(nil), "penumbra.core.component.stake.v1.ValidatorInfoRequest") proto.RegisterType((*ValidatorInfoResponse)(nil), "penumbra.core.component.stake.v1.ValidatorInfoResponse") proto.RegisterType((*ValidatorStatusRequest)(nil), "penumbra.core.component.stake.v1.ValidatorStatusRequest") @@ -2128,8 +2389,11 @@ func init() { proto.RegisterType((*ValidatorPenaltyResponse)(nil), "penumbra.core.component.stake.v1.ValidatorPenaltyResponse") proto.RegisterType((*CurrentValidatorRateRequest)(nil), "penumbra.core.component.stake.v1.CurrentValidatorRateRequest") proto.RegisterType((*CurrentValidatorRateResponse)(nil), "penumbra.core.component.stake.v1.CurrentValidatorRateResponse") + proto.RegisterType((*ValidatorUptimeRequest)(nil), "penumbra.core.component.stake.v1.ValidatorUptimeRequest") + proto.RegisterType((*ValidatorUptimeResponse)(nil), "penumbra.core.component.stake.v1.ValidatorUptimeResponse") proto.RegisterType((*StakeParameters)(nil), "penumbra.core.component.stake.v1.StakeParameters") proto.RegisterType((*GenesisContent)(nil), "penumbra.core.component.stake.v1.GenesisContent") + proto.RegisterType((*EventTombstoneValidator)(nil), "penumbra.core.component.stake.v1.EventTombstoneValidator") } func init() { @@ -2137,149 +2401,158 @@ func init() { } var fileDescriptor_061b0086577193ed = []byte{ - // 2266 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x59, 0x4b, 0x6c, 0x1b, 0xc9, - 0xd1, 0xd6, 0x50, 0xd4, 0x83, 0x25, 0xbe, 0xd4, 0x7e, 0xd1, 0x5a, 0x5b, 0xe6, 0x3f, 0xf6, 0x9f, - 0xd5, 0xee, 0x3a, 0xd4, 0x4a, 0x79, 0x6c, 0x56, 0x8b, 0xec, 0xae, 0xf8, 0xb0, 0x4c, 0x5b, 0x96, - 0xb9, 0x43, 0x59, 0xd9, 0x18, 0x46, 0x06, 0x43, 0x4e, 0x4b, 0x1a, 0x98, 0xd3, 0xcd, 0x9d, 0x6e, - 0x52, 0x16, 0x72, 0xdb, 0x43, 0x80, 0xbd, 0xed, 0x25, 0x40, 0x4e, 0x39, 0xe4, 0x98, 0x5b, 0x90, - 0xc7, 0x39, 0x40, 0x10, 0x20, 0xc8, 0x69, 0x6f, 0x09, 0x92, 0x4b, 0x60, 0x1f, 0x02, 0x04, 0x48, - 0xae, 0xb9, 0x06, 0xdd, 0xd3, 0x33, 0x9c, 0x21, 0x25, 0x53, 0x54, 0x1c, 0xc0, 0x17, 0x69, 0xba, - 0xfa, 0xab, 0xea, 0xaa, 0xea, 0xea, 0xaa, 0xea, 0x26, 0xdc, 0xee, 0x62, 0xd2, 0x73, 0x5b, 0x9e, - 0xb5, 0xda, 0xa6, 0x1e, 0x5e, 0x6d, 0x53, 0xb7, 0x4b, 0x09, 0x26, 0x7c, 0x95, 0x71, 0xeb, 0x29, - 0x5e, 0xed, 0xaf, 0xf9, 0x1f, 0xa5, 0xae, 0x47, 0x39, 0x45, 0xc5, 0x00, 0x5d, 0x12, 0xe8, 0x52, - 0x88, 0x2e, 0xf9, 0xa0, 0xfe, 0xda, 0x92, 0x1e, 0x97, 0x67, 0x31, 0x86, 0xb9, 0x90, 0x22, 0x3f, - 0x7c, 0x29, 0x4b, 0x2b, 0xa7, 0xae, 0xd9, 0x96, 0x58, 0xd6, 0x0e, 0x90, 0xc5, 0x38, 0xf2, 0x29, - 0x3e, 0x66, 0x02, 0x20, 0xfe, 0x2b, 0xc4, 0x72, 0x1c, 0x41, 0x7a, 0xae, 0x00, 0x90, 0x9e, 0xeb, - 0xcf, 0xeb, 0x25, 0xb8, 0xfc, 0xf8, 0xfe, 0x23, 0x62, 0xe3, 0x0e, 0x3e, 0xb0, 0x38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e, - 0x89, 0xf2, 0xf0, 0x8f, 0xc4, 0xad, 0x00, 0xbe, 0xb1, 0x21, 0xf0, 0xe2, 0xaf, 0x62, 0xd8, 0xd8, - 0x90, 0x1c, 0x1b, 0x1b, 0x7b, 0x6b, 0xad, 0x59, 0xf9, 0x43, 0xe4, 0x37, 0xfe, 0x13, 0x00, 0x00, - 0xff, 0xff, 0xd4, 0x41, 0xd8, 0xcb, 0x6a, 0x1d, 0x00, 0x00, + // 2416 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0xcb, 0x73, 0x1b, 0xc7, + 0xd1, 0xe7, 0x82, 0xe0, 0x03, 0x4d, 0x3c, 0xc8, 0xd1, 0x0b, 0xa2, 0x65, 0x0a, 0x5e, 0xc9, 0x9f, + 0x69, 0x5b, 0x1f, 0x68, 0x32, 0x0f, 0xc7, 0x74, 0xc5, 0x36, 0xf1, 0x10, 0x05, 0x89, 0xa2, 0xe0, + 0x05, 0xc5, 0x38, 0x8a, 0x2a, 0x9b, 0x05, 0x76, 0x48, 0x6e, 0x09, 0x3b, 0x03, 0xef, 0x0c, 0x40, + 0xb1, 0x72, 0xf3, 0x21, 0x55, 0xbe, 0xf9, 0x92, 0xaa, 0x9c, 0x72, 0xc8, 0x31, 0xb7, 0x54, 0x1e, + 0xff, 0x40, 0x2a, 0x55, 0xa9, 0x9c, 0x7c, 0x49, 0x25, 0x95, 0x5c, 0x52, 0xd2, 0x21, 0x55, 0xa9, + 0x72, 0xae, 0xb9, 0xa6, 0x66, 0x76, 0x76, 0xb1, 0x0b, 0x90, 0x22, 0xc0, 0x30, 0x29, 0x5d, 0xa4, + 0x9d, 0x9e, 0x5f, 0xf7, 0x74, 0xf7, 0xf4, 0x74, 0xf7, 0x0c, 0x08, 0xb7, 0x3a, 0x98, 0x74, 0xdd, + 0xa6, 0x67, 0xad, 0xb4, 0xa8, 0x87, 0x57, 0x5a, 0xd4, 0xed, 0x50, 0x82, 0x09, 0x5f, 0x61, 0xdc, + 0x7a, 0x82, 0x57, 0x7a, 0xab, 0xfe, 0x47, 0xb1, 0xe3, 0x51, 0x4e, 0x51, 0x21, 0x40, 0x17, 0x05, + 0xba, 0x18, 0xa2, 0x8b, 0x3e, 0xa8, 0xb7, 0xba, 0xa8, 0xc7, 0xe5, 0x59, 0x8c, 0x61, 0x2e, 0xa4, + 0xc8, 0x0f, 0x5f, 0xca, 0xe2, 0xf2, 0x89, 0x6b, 0xb6, 0x24, 0x96, 0xb5, 0x02, 0x64, 0x21, 0x8e, + 0x7c, 0x82, 0x8f, 0x98, 0x00, 0x88, 0xff, 0x15, 0x62, 0x29, 0x8e, 0x20, 0x5d, 0x57, 0x00, 0x48, + 0xd7, 0xf5, 0xe7, 0xf5, 0x22, 0x5c, 0x7e, 0x74, 0xef, 0x21, 0xb1, 0x71, 0x1b, 0xef, 0x5b, 0x1c, + 0x97, 0xdb, 0x96, 0xe3, 0xd6, 0x3d, 0x4a, 0xf7, 0xd0, 0x45, 0x98, 0x72, 0x08, 0xc1, 0x5e, 0x5e, + 0x2b, 0x68, 0xcb, 0x69, 0xc3, 0x1f, 0xe8, 0xbf, 0x98, 0x84, 0xd4, 0xae, 0xd5, 0x76, 0x6c, 0x8b, + 0x53, 0x0f, 0x55, 0x21, 0xed, 0xd8, 0x98, 0x70, 0x87, 0x1f, 0x99, 0x4f, 0xf0, 0x91, 0x84, 0xce, + 0xad, 0xe9, 0xc5, 0xb8, 0x1b, 0xa4, 0x3a, 0xbd, 0xd5, 0x62, 0x4d, 0x41, 0xef, 0xe1, 0x23, 0x63, + 0xce, 0xe9, 0x0f, 0xd0, 0x0d, 0xc8, 0xb4, 0x28, 0x61, 0x98, 0xb0, 0x2e, 0x93, 0x72, 0x12, 0x72, + 0xc9, 0x74, 0x48, 0x14, 0x20, 0x04, 0x49, 0x62, 0xb9, 0x38, 0x3f, 0x59, 0xd0, 0x96, 0x53, 0x86, + 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 0x49, 0x23, 0x17, 0x42, 0xef, 0x48, 0xb2, 0xfe, 0x13, 0x0d, 0xe6, 0x07, 0x57, + 0x45, 0x3a, 0x2c, 0x95, 0x1e, 0x6c, 0x57, 0x6a, 0xdb, 0x9b, 0x66, 0x63, 0x67, 0x63, 0xa7, 0x6a, + 0x56, 0xb7, 0x1f, 0xde, 0x37, 0x1f, 0x6e, 0x37, 0xea, 0xd5, 0x72, 0xed, 0x76, 0xad, 0x5a, 0x99, + 0x9f, 0x40, 0xaf, 0xc2, 0xd5, 0x63, 0x30, 0x82, 0x54, 0xad, 0xcc, 0x6b, 0xa8, 0x00, 0xd7, 0x8e, + 0x15, 0xa1, 0x88, 0xf3, 0x09, 0x74, 0x1d, 0x5e, 0x39, 0x11, 0x51, 0xad, 0xcc, 0x4f, 0xea, 0xff, + 0x4a, 0x40, 0x36, 0x1e, 0x0c, 0xe8, 0xbb, 0x71, 0xf7, 0x96, 0xc7, 0x8d, 0xa6, 0x81, 0x61, 0xc4, + 0xc5, 0xfa, 0xe7, 0x09, 0x40, 0xc3, 0xb3, 0xe8, 0x26, 0x14, 0x76, 0x37, 0xb6, 0x6a, 0x95, 0x8d, + 0x9d, 0x07, 0xc6, 0xc9, 0xce, 0x28, 0xc0, 0xb5, 0x63, 0x51, 0x95, 0xea, 0xed, 0xda, 0xb6, 0xf4, + 0xc7, 0x6b, 0xf0, 0xea, 0xb1, 0x88, 0xda, 0xf6, 0x46, 0x79, 0xa7, 0xb6, 0x5b, 0xf5, 0x1d, 0x72, + 0x2c, 0x44, 0x01, 0x26, 0x4f, 0x04, 0xdc, 0xdd, 0xa8, 0x6d, 0x55, 0x2b, 0xf3, 0x49, 0x74, 0x03, + 0xae, 0x1f, 0x0b, 0xd8, 0x79, 0x70, 0xbf, 0xd4, 0xd8, 0x79, 0x20, 0x34, 0x99, 0x3a, 0x51, 0x93, + 0x4a, 0xad, 0xb1, 0x51, 0x12, 0x72, 0xa6, 0xf5, 0x7f, 0x6a, 0x91, 0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0x56, 0x7f, 0x96, 0x48, 0xd6, 0xcb, 0xe5, 0xc6, 0xcf, 0x13, 0x85, 0x7a, 0xa0, + 0x4d, 0x59, 0x68, 0x53, 0x0e, 0xb5, 0x91, 0x3a, 0x14, 0x77, 0x57, 0xff, 0xd0, 0x87, 0x3c, 0x16, + 0x90, 0xc7, 0x21, 0xe4, 0xb1, 0x84, 0x3c, 0xde, 0x5d, 0x7d, 0x96, 0xb8, 0x75, 0x1a, 0xe4, 0xf1, + 0x66, 0xbd, 0x74, 0x1f, 0x73, 0x4b, 0x74, 0x38, 0xff, 0x48, 0xdc, 0x0c, 0xe0, 0xeb, 0xeb, 0x02, + 0x2f, 0xfe, 0x55, 0x0c, 0xeb, 0xeb, 0x92, 0x63, 0x7d, 0x7d, 0x77, 0xb5, 0x39, 0x2d, 0xff, 0x42, + 0xe0, 0x6b, 0xff, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x59, 0xdb, 0x10, 0x7f, 0x03, 0x21, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2294,11 +2567,14 @@ const _ = grpc.SupportPackageIsVersion4 // // 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 { + // Queries for information about a specific validator. + GetValidatorInfo(ctx context.Context, in *GetValidatorInfoRequest, opts ...grpc.CallOption) (*GetValidatorInfoResponse, error) // Queries the current validator set, with filtering. ValidatorInfo(ctx context.Context, in *ValidatorInfoRequest, opts ...grpc.CallOption) (QueryService_ValidatorInfoClient, error) ValidatorStatus(ctx context.Context, in *ValidatorStatusRequest, opts ...grpc.CallOption) (*ValidatorStatusResponse, error) ValidatorPenalty(ctx context.Context, in *ValidatorPenaltyRequest, opts ...grpc.CallOption) (*ValidatorPenaltyResponse, error) CurrentValidatorRate(ctx context.Context, in *CurrentValidatorRateRequest, opts ...grpc.CallOption) (*CurrentValidatorRateResponse, error) + ValidatorUptime(ctx context.Context, in *ValidatorUptimeRequest, opts ...grpc.CallOption) (*ValidatorUptimeResponse, error) } type queryServiceClient struct { @@ -2309,6 +2585,15 @@ func NewQueryServiceClient(cc grpc1.ClientConn) QueryServiceClient { return &queryServiceClient{cc} } +func (c *queryServiceClient) GetValidatorInfo(ctx context.Context, in *GetValidatorInfoRequest, opts ...grpc.CallOption) (*GetValidatorInfoResponse, error) { + out := new(GetValidatorInfoResponse) + err := c.cc.Invoke(ctx, "/penumbra.core.component.stake.v1.QueryService/GetValidatorInfo", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *queryServiceClient) ValidatorInfo(ctx context.Context, in *ValidatorInfoRequest, opts ...grpc.CallOption) (QueryService_ValidatorInfoClient, error) { stream, err := c.cc.NewStream(ctx, &_QueryService_serviceDesc.Streams[0], "/penumbra.core.component.stake.v1.QueryService/ValidatorInfo", opts...) if err != nil { @@ -2368,19 +2653,34 @@ func (c *queryServiceClient) CurrentValidatorRate(ctx context.Context, in *Curre return out, nil } +func (c *queryServiceClient) ValidatorUptime(ctx context.Context, in *ValidatorUptimeRequest, opts ...grpc.CallOption) (*ValidatorUptimeResponse, error) { + out := new(ValidatorUptimeResponse) + err := c.cc.Invoke(ctx, "/penumbra.core.component.stake.v1.QueryService/ValidatorUptime", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // QueryServiceServer is the server API for QueryService service. type QueryServiceServer interface { + // Queries for information about a specific validator. + GetValidatorInfo(context.Context, *GetValidatorInfoRequest) (*GetValidatorInfoResponse, error) // Queries the current validator set, with filtering. ValidatorInfo(*ValidatorInfoRequest, QueryService_ValidatorInfoServer) error ValidatorStatus(context.Context, *ValidatorStatusRequest) (*ValidatorStatusResponse, error) ValidatorPenalty(context.Context, *ValidatorPenaltyRequest) (*ValidatorPenaltyResponse, error) CurrentValidatorRate(context.Context, *CurrentValidatorRateRequest) (*CurrentValidatorRateResponse, error) + ValidatorUptime(context.Context, *ValidatorUptimeRequest) (*ValidatorUptimeResponse, error) } // UnimplementedQueryServiceServer can be embedded to have forward compatible implementations. type UnimplementedQueryServiceServer struct { } +func (*UnimplementedQueryServiceServer) GetValidatorInfo(ctx context.Context, req *GetValidatorInfoRequest) (*GetValidatorInfoResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetValidatorInfo not implemented") +} func (*UnimplementedQueryServiceServer) ValidatorInfo(req *ValidatorInfoRequest, srv QueryService_ValidatorInfoServer) error { return status.Errorf(codes.Unimplemented, "method ValidatorInfo not implemented") } @@ -2393,11 +2693,32 @@ func (*UnimplementedQueryServiceServer) ValidatorPenalty(ctx context.Context, re func (*UnimplementedQueryServiceServer) CurrentValidatorRate(ctx context.Context, req *CurrentValidatorRateRequest) (*CurrentValidatorRateResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CurrentValidatorRate not implemented") } +func (*UnimplementedQueryServiceServer) ValidatorUptime(ctx context.Context, req *ValidatorUptimeRequest) (*ValidatorUptimeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ValidatorUptime not implemented") +} func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer) { s.RegisterService(&_QueryService_serviceDesc, srv) } +func _QueryService_GetValidatorInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetValidatorInfoRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).GetValidatorInfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/penumbra.core.component.stake.v1.QueryService/GetValidatorInfo", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).GetValidatorInfo(ctx, req.(*GetValidatorInfoRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _QueryService_ValidatorInfo_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(ValidatorInfoRequest) if err := stream.RecvMsg(m); err != nil { @@ -2473,10 +2794,32 @@ func _QueryService_CurrentValidatorRate_Handler(srv interface{}, ctx context.Con return interceptor(ctx, in, info, handler) } +func _QueryService_ValidatorUptime_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ValidatorUptimeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServiceServer).ValidatorUptime(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/penumbra.core.component.stake.v1.QueryService/ValidatorUptime", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServiceServer).ValidatorUptime(ctx, req.(*ValidatorUptimeRequest)) + } + return interceptor(ctx, in, info, handler) +} + var _QueryService_serviceDesc = grpc.ServiceDesc{ ServiceName: "penumbra.core.component.stake.v1.QueryService", HandlerType: (*QueryServiceServer)(nil), Methods: []grpc.MethodDesc{ + { + MethodName: "GetValidatorInfo", + Handler: _QueryService_GetValidatorInfo_Handler, + }, { MethodName: "ValidatorStatus", Handler: _QueryService_ValidatorStatus_Handler, @@ -2489,6 +2832,10 @@ var _QueryService_serviceDesc = grpc.ServiceDesc{ MethodName: "CurrentValidatorRate", Handler: _QueryService_CurrentValidatorRate_Handler, }, + { + MethodName: "ValidatorUptime", + Handler: _QueryService_ValidatorUptime_Handler, + }, }, Streams: []grpc.StreamDesc{ { @@ -3661,7 +4008,7 @@ func (m *Penalty) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *ValidatorInfoRequest) Marshal() (dAtA []byte, err error) { +func (m *GetValidatorInfoRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -3671,30 +4018,32 @@ func (m *ValidatorInfoRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ValidatorInfoRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *GetValidatorInfoRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ValidatorInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GetValidatorInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.ShowInactive { - i-- - if m.ShowInactive { - dAtA[i] = 1 - } else { - dAtA[i] = 0 + if m.IdentityKey != nil { + { + size, err := m.IdentityKey.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintStake(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } return len(dAtA) - i, nil } -func (m *ValidatorInfoResponse) Marshal() (dAtA []byte, err error) { +func (m *GetValidatorInfoResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -3704,12 +4053,12 @@ func (m *ValidatorInfoResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ValidatorInfoResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *GetValidatorInfoResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ValidatorInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GetValidatorInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -3729,7 +4078,7 @@ func (m *ValidatorInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *ValidatorStatusRequest) Marshal() (dAtA []byte, err error) { +func (m *ValidatorInfoRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -3739,21 +4088,89 @@ func (m *ValidatorStatusRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *ValidatorStatusRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *ValidatorInfoRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *ValidatorStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *ValidatorInfoRequest) 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 + if m.ShowInactive { + i-- + if m.ShowInactive { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + return len(dAtA) - i, nil +} + +func (m *ValidatorInfoResponse) 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 *ValidatorInfoResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ValidatorInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.ValidatorInfo != nil { + { + size, err := m.ValidatorInfo.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintStake(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ValidatorStatusRequest) 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 *ValidatorStatusRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ValidatorStatusRequest) 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 = encodeVarintStake(dAtA, i, uint64(size)) @@ -3949,6 +4366,76 @@ func (m *CurrentValidatorRateResponse) MarshalToSizedBuffer(dAtA []byte) (int, e return len(dAtA) - i, nil } +func (m *ValidatorUptimeRequest) 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 *ValidatorUptimeRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ValidatorUptimeRequest) 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 = encodeVarintStake(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + return len(dAtA) - i, nil +} + +func (m *ValidatorUptimeResponse) 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 *ValidatorUptimeResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ValidatorUptimeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Uptime != nil { + { + size, err := m.Uptime.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintStake(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *StakeParameters) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -4073,6 +4560,63 @@ func (m *GenesisContent) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *EventTombstoneValidator) 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 *EventTombstoneValidator) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventTombstoneValidator) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.VotingPower != 0 { + i = encodeVarintStake(dAtA, i, uint64(m.VotingPower)) + i-- + dAtA[i] = 0x30 + } + if len(m.Address) > 0 { + i -= len(m.Address) + copy(dAtA[i:], m.Address) + i = encodeVarintStake(dAtA, i, uint64(len(m.Address))) + i-- + dAtA[i] = 0x2a + } + if m.IdentityKey != nil { + { + size, err := m.IdentityKey.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintStake(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if m.CurrentHeight != 0 { + i = encodeVarintStake(dAtA, i, uint64(m.CurrentHeight)) + i-- + dAtA[i] = 0x10 + } + if m.EvidenceHeight != 0 { + i = encodeVarintStake(dAtA, i, uint64(m.EvidenceHeight)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + func encodeVarintStake(dAtA []byte, offset int, v uint64) int { offset -= sovStake(v) base := offset @@ -4561,6 +5105,32 @@ func (m *Penalty) Size() (n int) { return n } +func (m *GetValidatorInfoRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.IdentityKey != nil { + l = m.IdentityKey.Size() + n += 1 + l + sovStake(uint64(l)) + } + return n +} + +func (m *GetValidatorInfoResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ValidatorInfo != nil { + l = m.ValidatorInfo.Size() + n += 1 + l + sovStake(uint64(l)) + } + return n +} + func (m *ValidatorInfoRequest) Size() (n int) { if m == nil { return 0 @@ -4670,6 +5240,32 @@ func (m *CurrentValidatorRateResponse) Size() (n int) { return n } +func (m *ValidatorUptimeRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.IdentityKey != nil { + l = m.IdentityKey.Size() + n += 1 + l + sovStake(uint64(l)) + } + return n +} + +func (m *ValidatorUptimeResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Uptime != nil { + l = m.Uptime.Size() + n += 1 + l + sovStake(uint64(l)) + } + return n +} + func (m *StakeParameters) Size() (n int) { if m == nil { return 0 @@ -4726,6 +5322,32 @@ func (m *GenesisContent) Size() (n int) { return n } +func (m *EventTombstoneValidator) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EvidenceHeight != 0 { + n += 1 + sovStake(uint64(m.EvidenceHeight)) + } + if m.CurrentHeight != 0 { + n += 1 + sovStake(uint64(m.CurrentHeight)) + } + if m.IdentityKey != nil { + l = m.IdentityKey.Size() + n += 1 + l + sovStake(uint64(l)) + } + l = len(m.Address) + if l > 0 { + n += 1 + l + sovStake(uint64(l)) + } + if m.VotingPower != 0 { + n += 1 + sovStake(uint64(m.VotingPower)) + } + return n +} + func sovStake(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -7893,7 +8515,7 @@ func (m *Penalty) Unmarshal(dAtA []byte) error { } return nil } -func (m *ValidatorInfoRequest) Unmarshal(dAtA []byte) error { +func (m *GetValidatorInfoRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -7916,17 +8538,189 @@ func (m *ValidatorInfoRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ValidatorInfoRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetValidatorInfoRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ValidatorInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetValidatorInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field ShowInactive", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field IdentityKey", wireType) } - var v int + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowStake + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthStake + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthStake + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.IdentityKey == nil { + m.IdentityKey = &v1.IdentityKey{} + } + if err := m.IdentityKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipStake(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthStake + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetValidatorInfoResponse) 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 ErrIntOverflowStake + } + 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: GetValidatorInfoResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetValidatorInfoResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ValidatorInfo", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowStake + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthStake + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthStake + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ValidatorInfo == nil { + m.ValidatorInfo = &ValidatorInfo{} + } + if err := m.ValidatorInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipStake(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthStake + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ValidatorInfoRequest) 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 ErrIntOverflowStake + } + 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: ValidatorInfoRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ValidatorInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ShowInactive", wireType) + } + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowStake @@ -8603,6 +9397,178 @@ func (m *CurrentValidatorRateResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *ValidatorUptimeRequest) 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 ErrIntOverflowStake + } + 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: ValidatorUptimeRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ValidatorUptimeRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 2: + 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 ErrIntOverflowStake + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthStake + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthStake + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.IdentityKey == nil { + m.IdentityKey = &v1.IdentityKey{} + } + if err := m.IdentityKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipStake(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthStake + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ValidatorUptimeResponse) 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 ErrIntOverflowStake + } + 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: ValidatorUptimeResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ValidatorUptimeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Uptime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowStake + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthStake + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthStake + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Uptime == nil { + m.Uptime = &Uptime{} + } + if err := m.Uptime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipStake(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthStake + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *StakeParameters) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -8961,6 +9927,183 @@ func (m *GenesisContent) Unmarshal(dAtA []byte) error { } return nil } +func (m *EventTombstoneValidator) 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 ErrIntOverflowStake + } + 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: EventTombstoneValidator: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventTombstoneValidator: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EvidenceHeight", wireType) + } + m.EvidenceHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowStake + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.EvidenceHeight |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CurrentHeight", wireType) + } + m.CurrentHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowStake + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.CurrentHeight |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + 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 ErrIntOverflowStake + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthStake + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthStake + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.IdentityKey == nil { + m.IdentityKey = &v1.IdentityKey{} + } + if err := m.IdentityKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowStake + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthStake + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthStake + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Address = append(m.Address[:0], dAtA[iNdEx:postIndex]...) + if m.Address == nil { + m.Address = []byte{} + } + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field VotingPower", wireType) + } + m.VotingPower = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowStake + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.VotingPower |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipStake(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthStake + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipStake(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/relayer/chains/penumbra/core/transaction/v1/transaction.pb.go b/relayer/chains/penumbra/core/transaction/v1/transaction.pb.go index a4e41fadc..852683c63 100644 --- a/relayer/chains/penumbra/core/transaction/v1/transaction.pb.go +++ b/relayer/chains/penumbra/core/transaction/v1/transaction.pb.go @@ -7,16 +7,17 @@ import ( fmt "fmt" types "github.com/cosmos/cosmos-sdk/codec/types" proto "github.com/cosmos/gogoproto/proto" - v110 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/asset/v1" + v111 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/asset/v1" + v19 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/auction/v1" v15 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/dex/v1" v12 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/fee/v1" v18 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/governance/v1" v17 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/ibc/v1" - v112 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/sct/v1" + v113 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/sct/v1" v14 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/shielded_pool/v1" v16 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/stake/v1" - v19 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/keys/v1" - v111 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/txhash/v1" + v110 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/keys/v1" + v112 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/txhash/v1" v13 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/crypto/decaf377_fmd/v1" v1 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/crypto/decaf377_rdsa/v1" v11 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/crypto/tct/v1" @@ -312,6 +313,9 @@ type Action struct { // *Action_CommunityPoolSpend // *Action_CommunityPoolOutput // *Action_CommunityPoolDeposit + // *Action_ActionDutchAuctionSchedule + // *Action_ActionDutchAuctionEnd + // *Action_ActionDutchAuctionWithdraw // *Action_Ics20Withdrawal Action isAction_Action `protobuf_oneof:"action"` } @@ -418,32 +422,44 @@ type Action_CommunityPoolOutput struct { type Action_CommunityPoolDeposit struct { CommunityPoolDeposit *v18.CommunityPoolDeposit `protobuf:"bytes,52,opt,name=community_pool_deposit,json=communityPoolDeposit,proto3,oneof" json:"community_pool_deposit,omitempty"` } +type Action_ActionDutchAuctionSchedule struct { + ActionDutchAuctionSchedule *v19.ActionDutchAuctionSchedule `protobuf:"bytes,53,opt,name=action_dutch_auction_schedule,json=actionDutchAuctionSchedule,proto3,oneof" json:"action_dutch_auction_schedule,omitempty"` +} +type Action_ActionDutchAuctionEnd struct { + ActionDutchAuctionEnd *v19.ActionDutchAuctionEnd `protobuf:"bytes,54,opt,name=action_dutch_auction_end,json=actionDutchAuctionEnd,proto3,oneof" json:"action_dutch_auction_end,omitempty"` +} +type Action_ActionDutchAuctionWithdraw struct { + ActionDutchAuctionWithdraw *v19.ActionDutchAuctionWithdraw `protobuf:"bytes,55,opt,name=action_dutch_auction_withdraw,json=actionDutchAuctionWithdraw,proto3,oneof" json:"action_dutch_auction_withdraw,omitempty"` +} type Action_Ics20Withdrawal struct { Ics20Withdrawal *v17.Ics20Withdrawal `protobuf:"bytes,200,opt,name=ics20_withdrawal,json=ics20Withdrawal,proto3,oneof" json:"ics20_withdrawal,omitempty"` } -func (*Action_Spend) isAction_Action() {} -func (*Action_Output) isAction_Action() {} -func (*Action_Swap) isAction_Action() {} -func (*Action_SwapClaim) isAction_Action() {} -func (*Action_ValidatorDefinition) isAction_Action() {} -func (*Action_IbcRelayAction) isAction_Action() {} -func (*Action_ProposalSubmit) isAction_Action() {} -func (*Action_ProposalWithdraw) isAction_Action() {} -func (*Action_ValidatorVote) isAction_Action() {} -func (*Action_DelegatorVote) isAction_Action() {} -func (*Action_ProposalDepositClaim) isAction_Action() {} -func (*Action_PositionOpen) isAction_Action() {} -func (*Action_PositionClose) isAction_Action() {} -func (*Action_PositionWithdraw) isAction_Action() {} -func (*Action_PositionRewardClaim) isAction_Action() {} -func (*Action_Delegate) isAction_Action() {} -func (*Action_Undelegate) isAction_Action() {} -func (*Action_UndelegateClaim) isAction_Action() {} -func (*Action_CommunityPoolSpend) isAction_Action() {} -func (*Action_CommunityPoolOutput) isAction_Action() {} -func (*Action_CommunityPoolDeposit) isAction_Action() {} -func (*Action_Ics20Withdrawal) isAction_Action() {} +func (*Action_Spend) isAction_Action() {} +func (*Action_Output) isAction_Action() {} +func (*Action_Swap) isAction_Action() {} +func (*Action_SwapClaim) isAction_Action() {} +func (*Action_ValidatorDefinition) isAction_Action() {} +func (*Action_IbcRelayAction) isAction_Action() {} +func (*Action_ProposalSubmit) isAction_Action() {} +func (*Action_ProposalWithdraw) isAction_Action() {} +func (*Action_ValidatorVote) isAction_Action() {} +func (*Action_DelegatorVote) isAction_Action() {} +func (*Action_ProposalDepositClaim) isAction_Action() {} +func (*Action_PositionOpen) isAction_Action() {} +func (*Action_PositionClose) isAction_Action() {} +func (*Action_PositionWithdraw) isAction_Action() {} +func (*Action_PositionRewardClaim) isAction_Action() {} +func (*Action_Delegate) isAction_Action() {} +func (*Action_Undelegate) isAction_Action() {} +func (*Action_UndelegateClaim) isAction_Action() {} +func (*Action_CommunityPoolSpend) isAction_Action() {} +func (*Action_CommunityPoolOutput) isAction_Action() {} +func (*Action_CommunityPoolDeposit) isAction_Action() {} +func (*Action_ActionDutchAuctionSchedule) isAction_Action() {} +func (*Action_ActionDutchAuctionEnd) isAction_Action() {} +func (*Action_ActionDutchAuctionWithdraw) isAction_Action() {} +func (*Action_Ics20Withdrawal) isAction_Action() {} func (m *Action) GetAction() isAction_Action { if m != nil { @@ -600,6 +616,27 @@ func (m *Action) GetCommunityPoolDeposit() *v18.CommunityPoolDeposit { return nil } +func (m *Action) GetActionDutchAuctionSchedule() *v19.ActionDutchAuctionSchedule { + if x, ok := m.GetAction().(*Action_ActionDutchAuctionSchedule); ok { + return x.ActionDutchAuctionSchedule + } + return nil +} + +func (m *Action) GetActionDutchAuctionEnd() *v19.ActionDutchAuctionEnd { + if x, ok := m.GetAction().(*Action_ActionDutchAuctionEnd); ok { + return x.ActionDutchAuctionEnd + } + return nil +} + +func (m *Action) GetActionDutchAuctionWithdraw() *v19.ActionDutchAuctionWithdraw { + if x, ok := m.GetAction().(*Action_ActionDutchAuctionWithdraw); ok { + return x.ActionDutchAuctionWithdraw + } + return nil +} + func (m *Action) GetIcs20Withdrawal() *v17.Ics20Withdrawal { if x, ok := m.GetAction().(*Action_Ics20Withdrawal); ok { return x.Ics20Withdrawal @@ -631,6 +668,9 @@ func (*Action) XXX_OneofWrappers() []interface{} { (*Action_CommunityPoolSpend)(nil), (*Action_CommunityPoolOutput)(nil), (*Action_CommunityPoolDeposit)(nil), + (*Action_ActionDutchAuctionSchedule)(nil), + (*Action_ActionDutchAuctionEnd)(nil), + (*Action_ActionDutchAuctionWithdraw)(nil), (*Action_Ics20Withdrawal)(nil), } } @@ -644,13 +684,13 @@ type TransactionPerspective struct { // but not included in the transaction. AdviceNotes []*v14.Note `protobuf:"bytes,3,rep,name=advice_notes,json=adviceNotes,proto3" json:"advice_notes,omitempty"` // Any relevant address views. - AddressViews []*v19.AddressView `protobuf:"bytes,4,rep,name=address_views,json=addressViews,proto3" json:"address_views,omitempty"` + AddressViews []*v110.AddressView `protobuf:"bytes,4,rep,name=address_views,json=addressViews,proto3" json:"address_views,omitempty"` // Any relevant denoms for viewed assets. - Denoms []*v110.Metadata `protobuf:"bytes,5,rep,name=denoms,proto3" json:"denoms,omitempty"` + Denoms []*v111.Metadata `protobuf:"bytes,5,rep,name=denoms,proto3" json:"denoms,omitempty"` // The transaction ID associated with this TransactionPerspective - TransactionId *v111.TransactionId `protobuf:"bytes,6,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` + TransactionId *v112.TransactionId `protobuf:"bytes,6,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` // Any relevant estimated prices - Prices []*v110.EstimatedPrice `protobuf:"bytes,20,rep,name=prices,proto3" json:"prices,omitempty"` + Prices []*v111.EstimatedPrice `protobuf:"bytes,20,rep,name=prices,proto3" json:"prices,omitempty"` // Any relevant extended metadata, indexed by asset id. ExtendedMetadata []*TransactionPerspective_ExtendedMetadataById `protobuf:"bytes,30,rep,name=extended_metadata,json=extendedMetadata,proto3" json:"extended_metadata,omitempty"` CreationTransactionIdsByNullifier []*TransactionPerspective_CreationTransactionIdByNullifier `protobuf:"bytes,40,rep,name=creation_transaction_ids_by_nullifier,json=creationTransactionIdsByNullifier,proto3" json:"creation_transaction_ids_by_nullifier,omitempty"` @@ -715,28 +755,28 @@ func (m *TransactionPerspective) GetAdviceNotes() []*v14.Note { return nil } -func (m *TransactionPerspective) GetAddressViews() []*v19.AddressView { +func (m *TransactionPerspective) GetAddressViews() []*v110.AddressView { if m != nil { return m.AddressViews } return nil } -func (m *TransactionPerspective) GetDenoms() []*v110.Metadata { +func (m *TransactionPerspective) GetDenoms() []*v111.Metadata { if m != nil { return m.Denoms } return nil } -func (m *TransactionPerspective) GetTransactionId() *v111.TransactionId { +func (m *TransactionPerspective) GetTransactionId() *v112.TransactionId { if m != nil { return m.TransactionId } return nil } -func (m *TransactionPerspective) GetPrices() []*v110.EstimatedPrice { +func (m *TransactionPerspective) GetPrices() []*v111.EstimatedPrice { if m != nil { return m.Prices } @@ -772,7 +812,7 @@ func (m *TransactionPerspective) GetBatchSwapOutputData() []*v15.BatchSwapOutput } type TransactionPerspective_ExtendedMetadataById struct { - AssetId *v110.AssetId `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` + AssetId *v111.AssetId `protobuf:"bytes,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` ExtendedMetadata *types.Any `protobuf:"bytes,2,opt,name=extended_metadata,json=extendedMetadata,proto3" json:"extended_metadata,omitempty"` } @@ -813,7 +853,7 @@ func (m *TransactionPerspective_ExtendedMetadataById) XXX_DiscardUnknown() { var xxx_messageInfo_TransactionPerspective_ExtendedMetadataById proto.InternalMessageInfo -func (m *TransactionPerspective_ExtendedMetadataById) GetAssetId() *v110.AssetId { +func (m *TransactionPerspective_ExtendedMetadataById) GetAssetId() *v111.AssetId { if m != nil { return m.AssetId } @@ -833,8 +873,8 @@ func (m *TransactionPerspective_ExtendedMetadataById) GetExtendedMetadata() *typ // // Allows walking backwards from a spend to the transaction that created the note. type TransactionPerspective_CreationTransactionIdByNullifier struct { - Nullifier *v112.Nullifier `protobuf:"bytes,1,opt,name=nullifier,proto3" json:"nullifier,omitempty"` - TransactionId *v111.TransactionId `protobuf:"bytes,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` + Nullifier *v113.Nullifier `protobuf:"bytes,1,opt,name=nullifier,proto3" json:"nullifier,omitempty"` + TransactionId *v112.TransactionId `protobuf:"bytes,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` } func (m *TransactionPerspective_CreationTransactionIdByNullifier) Reset() { @@ -874,14 +914,14 @@ func (m *TransactionPerspective_CreationTransactionIdByNullifier) XXX_DiscardUnk var xxx_messageInfo_TransactionPerspective_CreationTransactionIdByNullifier proto.InternalMessageInfo -func (m *TransactionPerspective_CreationTransactionIdByNullifier) GetNullifier() *v112.Nullifier { +func (m *TransactionPerspective_CreationTransactionIdByNullifier) GetNullifier() *v113.Nullifier { if m != nil { return m.Nullifier } return nil } -func (m *TransactionPerspective_CreationTransactionIdByNullifier) GetTransactionId() *v111.TransactionId { +func (m *TransactionPerspective_CreationTransactionIdByNullifier) GetTransactionId() *v112.TransactionId { if m != nil { return m.TransactionId } @@ -893,7 +933,7 @@ func (m *TransactionPerspective_CreationTransactionIdByNullifier) GetTransaction // Allows walking forwards from an output to the transaction that spent the note. type TransactionPerspective_NullificationTransactionIdByCommitment struct { Commitment *v11.StateCommitment `protobuf:"bytes,1,opt,name=commitment,proto3" json:"commitment,omitempty"` - TransactionId *v111.TransactionId `protobuf:"bytes,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` + TransactionId *v112.TransactionId `protobuf:"bytes,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` } func (m *TransactionPerspective_NullificationTransactionIdByCommitment) Reset() { @@ -940,7 +980,7 @@ func (m *TransactionPerspective_NullificationTransactionIdByCommitment) GetCommi return nil } -func (m *TransactionPerspective_NullificationTransactionIdByCommitment) GetTransactionId() *v111.TransactionId { +func (m *TransactionPerspective_NullificationTransactionIdByCommitment) GetTransactionId() *v112.TransactionId { if m != nil { return m.TransactionId } @@ -948,7 +988,7 @@ func (m *TransactionPerspective_NullificationTransactionIdByCommitment) GetTrans } type PayloadKeyWithCommitment struct { - PayloadKey *v19.PayloadKey `protobuf:"bytes,1,opt,name=payload_key,json=payloadKey,proto3" json:"payload_key,omitempty"` + PayloadKey *v110.PayloadKey `protobuf:"bytes,1,opt,name=payload_key,json=payloadKey,proto3" json:"payload_key,omitempty"` Commitment *v11.StateCommitment `protobuf:"bytes,2,opt,name=commitment,proto3" json:"commitment,omitempty"` } @@ -985,7 +1025,7 @@ func (m *PayloadKeyWithCommitment) XXX_DiscardUnknown() { var xxx_messageInfo_PayloadKeyWithCommitment proto.InternalMessageInfo -func (m *PayloadKeyWithCommitment) GetPayloadKey() *v19.PayloadKey { +func (m *PayloadKeyWithCommitment) GetPayloadKey() *v110.PayloadKey { if m != nil { return m.PayloadKey } @@ -1000,7 +1040,7 @@ func (m *PayloadKeyWithCommitment) GetCommitment() *v11.StateCommitment { } type NullifierWithNote struct { - Nullifier *v112.Nullifier `protobuf:"bytes,1,opt,name=nullifier,proto3" json:"nullifier,omitempty"` + Nullifier *v113.Nullifier `protobuf:"bytes,1,opt,name=nullifier,proto3" json:"nullifier,omitempty"` Note *v14.Note `protobuf:"bytes,2,opt,name=note,proto3" json:"note,omitempty"` } @@ -1037,7 +1077,7 @@ func (m *NullifierWithNote) XXX_DiscardUnknown() { var xxx_messageInfo_NullifierWithNote proto.InternalMessageInfo -func (m *NullifierWithNote) GetNullifier() *v112.Nullifier { +func (m *NullifierWithNote) GetNullifier() *v113.Nullifier { if m != nil { return m.Nullifier } @@ -1197,12 +1237,12 @@ type ActionView struct { // *ActionView_Output // *ActionView_Swap // *ActionView_SwapClaim + // *ActionView_DelegatorVote // *ActionView_ValidatorDefinition // *ActionView_IbcRelayAction // *ActionView_ProposalSubmit // *ActionView_ProposalWithdraw // *ActionView_ValidatorVote - // *ActionView_DelegatorVote // *ActionView_ProposalDepositClaim // *ActionView_PositionOpen // *ActionView_PositionClose @@ -1213,6 +1253,9 @@ type ActionView struct { // *ActionView_CommunityPoolSpend // *ActionView_CommunityPoolOutput // *ActionView_CommunityPoolDeposit + // *ActionView_ActionDutchAuctionSchedule + // *ActionView_ActionDutchAuctionEnd + // *ActionView_ActionDutchAuctionWithdraw // *ActionView_UndelegateClaim // *ActionView_Ics20Withdrawal ActionView isActionView_ActionView `protobuf_oneof:"action_view"` @@ -1269,6 +1312,9 @@ type ActionView_Swap struct { type ActionView_SwapClaim struct { SwapClaim *v15.SwapClaimView `protobuf:"bytes,4,opt,name=swap_claim,json=swapClaim,proto3,oneof" json:"swap_claim,omitempty"` } +type ActionView_DelegatorVote struct { + DelegatorVote *v18.DelegatorVoteView `protobuf:"bytes,21,opt,name=delegator_vote,json=delegatorVote,proto3,oneof" json:"delegator_vote,omitempty"` +} type ActionView_ValidatorDefinition struct { ValidatorDefinition *v16.ValidatorDefinition `protobuf:"bytes,16,opt,name=validator_definition,json=validatorDefinition,proto3,oneof" json:"validator_definition,omitempty"` } @@ -1284,9 +1330,6 @@ type ActionView_ProposalWithdraw struct { type ActionView_ValidatorVote struct { ValidatorVote *v18.ValidatorVote `protobuf:"bytes,20,opt,name=validator_vote,json=validatorVote,proto3,oneof" json:"validator_vote,omitempty"` } -type ActionView_DelegatorVote struct { - DelegatorVote *v18.DelegatorVoteView `protobuf:"bytes,21,opt,name=delegator_vote,json=delegatorVote,proto3,oneof" json:"delegator_vote,omitempty"` -} type ActionView_ProposalDepositClaim struct { ProposalDepositClaim *v18.ProposalDepositClaim `protobuf:"bytes,22,opt,name=proposal_deposit_claim,json=proposalDepositClaim,proto3,oneof" json:"proposal_deposit_claim,omitempty"` } @@ -1317,6 +1360,15 @@ type ActionView_CommunityPoolOutput struct { type ActionView_CommunityPoolDeposit struct { CommunityPoolDeposit *v18.CommunityPoolDeposit `protobuf:"bytes,52,opt,name=community_pool_deposit,json=communityPoolDeposit,proto3,oneof" json:"community_pool_deposit,omitempty"` } +type ActionView_ActionDutchAuctionSchedule struct { + ActionDutchAuctionSchedule *v19.ActionDutchAuctionScheduleView `protobuf:"bytes,53,opt,name=action_dutch_auction_schedule,json=actionDutchAuctionSchedule,proto3,oneof" json:"action_dutch_auction_schedule,omitempty"` +} +type ActionView_ActionDutchAuctionEnd struct { + ActionDutchAuctionEnd *v19.ActionDutchAuctionEnd `protobuf:"bytes,54,opt,name=action_dutch_auction_end,json=actionDutchAuctionEnd,proto3,oneof" json:"action_dutch_auction_end,omitempty"` +} +type ActionView_ActionDutchAuctionWithdraw struct { + ActionDutchAuctionWithdraw *v19.ActionDutchAuctionWithdrawView `protobuf:"bytes,55,opt,name=action_dutch_auction_withdraw,json=actionDutchAuctionWithdraw,proto3,oneof" json:"action_dutch_auction_withdraw,omitempty"` +} type ActionView_UndelegateClaim struct { UndelegateClaim *v16.UndelegateClaim `protobuf:"bytes,43,opt,name=undelegate_claim,json=undelegateClaim,proto3,oneof" json:"undelegate_claim,omitempty"` } @@ -1324,28 +1376,31 @@ type ActionView_Ics20Withdrawal struct { Ics20Withdrawal *v17.Ics20Withdrawal `protobuf:"bytes,200,opt,name=ics20_withdrawal,json=ics20Withdrawal,proto3,oneof" json:"ics20_withdrawal,omitempty"` } -func (*ActionView_Spend) isActionView_ActionView() {} -func (*ActionView_Output) isActionView_ActionView() {} -func (*ActionView_Swap) isActionView_ActionView() {} -func (*ActionView_SwapClaim) isActionView_ActionView() {} -func (*ActionView_ValidatorDefinition) isActionView_ActionView() {} -func (*ActionView_IbcRelayAction) isActionView_ActionView() {} -func (*ActionView_ProposalSubmit) isActionView_ActionView() {} -func (*ActionView_ProposalWithdraw) isActionView_ActionView() {} -func (*ActionView_ValidatorVote) isActionView_ActionView() {} -func (*ActionView_DelegatorVote) isActionView_ActionView() {} -func (*ActionView_ProposalDepositClaim) isActionView_ActionView() {} -func (*ActionView_PositionOpen) isActionView_ActionView() {} -func (*ActionView_PositionClose) isActionView_ActionView() {} -func (*ActionView_PositionWithdraw) isActionView_ActionView() {} -func (*ActionView_PositionRewardClaim) isActionView_ActionView() {} -func (*ActionView_Delegate) isActionView_ActionView() {} -func (*ActionView_Undelegate) 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() {} +func (*ActionView_Spend) isActionView_ActionView() {} +func (*ActionView_Output) isActionView_ActionView() {} +func (*ActionView_Swap) isActionView_ActionView() {} +func (*ActionView_SwapClaim) isActionView_ActionView() {} +func (*ActionView_DelegatorVote) isActionView_ActionView() {} +func (*ActionView_ValidatorDefinition) isActionView_ActionView() {} +func (*ActionView_IbcRelayAction) isActionView_ActionView() {} +func (*ActionView_ProposalSubmit) isActionView_ActionView() {} +func (*ActionView_ProposalWithdraw) isActionView_ActionView() {} +func (*ActionView_ValidatorVote) isActionView_ActionView() {} +func (*ActionView_ProposalDepositClaim) isActionView_ActionView() {} +func (*ActionView_PositionOpen) isActionView_ActionView() {} +func (*ActionView_PositionClose) isActionView_ActionView() {} +func (*ActionView_PositionWithdraw) isActionView_ActionView() {} +func (*ActionView_PositionRewardClaim) isActionView_ActionView() {} +func (*ActionView_Delegate) isActionView_ActionView() {} +func (*ActionView_Undelegate) isActionView_ActionView() {} +func (*ActionView_CommunityPoolSpend) isActionView_ActionView() {} +func (*ActionView_CommunityPoolOutput) isActionView_ActionView() {} +func (*ActionView_CommunityPoolDeposit) isActionView_ActionView() {} +func (*ActionView_ActionDutchAuctionSchedule) isActionView_ActionView() {} +func (*ActionView_ActionDutchAuctionEnd) isActionView_ActionView() {} +func (*ActionView_ActionDutchAuctionWithdraw) isActionView_ActionView() {} +func (*ActionView_UndelegateClaim) isActionView_ActionView() {} +func (*ActionView_Ics20Withdrawal) isActionView_ActionView() {} func (m *ActionView) GetActionView() isActionView_ActionView { if m != nil { @@ -1382,6 +1437,13 @@ func (m *ActionView) GetSwapClaim() *v15.SwapClaimView { return nil } +func (m *ActionView) GetDelegatorVote() *v18.DelegatorVoteView { + if x, ok := m.GetActionView().(*ActionView_DelegatorVote); ok { + return x.DelegatorVote + } + return nil +} + func (m *ActionView) GetValidatorDefinition() *v16.ValidatorDefinition { if x, ok := m.GetActionView().(*ActionView_ValidatorDefinition); ok { return x.ValidatorDefinition @@ -1417,13 +1479,6 @@ func (m *ActionView) GetValidatorVote() *v18.ValidatorVote { return nil } -func (m *ActionView) GetDelegatorVote() *v18.DelegatorVoteView { - if x, ok := m.GetActionView().(*ActionView_DelegatorVote); ok { - return x.DelegatorVote - } - return nil -} - func (m *ActionView) GetProposalDepositClaim() *v18.ProposalDepositClaim { if x, ok := m.GetActionView().(*ActionView_ProposalDepositClaim); ok { return x.ProposalDepositClaim @@ -1495,6 +1550,27 @@ func (m *ActionView) GetCommunityPoolDeposit() *v18.CommunityPoolDeposit { return nil } +func (m *ActionView) GetActionDutchAuctionSchedule() *v19.ActionDutchAuctionScheduleView { + if x, ok := m.GetActionView().(*ActionView_ActionDutchAuctionSchedule); ok { + return x.ActionDutchAuctionSchedule + } + return nil +} + +func (m *ActionView) GetActionDutchAuctionEnd() *v19.ActionDutchAuctionEnd { + if x, ok := m.GetActionView().(*ActionView_ActionDutchAuctionEnd); ok { + return x.ActionDutchAuctionEnd + } + return nil +} + +func (m *ActionView) GetActionDutchAuctionWithdraw() *v19.ActionDutchAuctionWithdrawView { + if x, ok := m.GetActionView().(*ActionView_ActionDutchAuctionWithdraw); ok { + return x.ActionDutchAuctionWithdraw + } + return nil +} + func (m *ActionView) GetUndelegateClaim() *v16.UndelegateClaim { if x, ok := m.GetActionView().(*ActionView_UndelegateClaim); ok { return x.UndelegateClaim @@ -1516,12 +1592,12 @@ func (*ActionView) XXX_OneofWrappers() []interface{} { (*ActionView_Output)(nil), (*ActionView_Swap)(nil), (*ActionView_SwapClaim)(nil), + (*ActionView_DelegatorVote)(nil), (*ActionView_ValidatorDefinition)(nil), (*ActionView_IbcRelayAction)(nil), (*ActionView_ProposalSubmit)(nil), (*ActionView_ProposalWithdraw)(nil), (*ActionView_ValidatorVote)(nil), - (*ActionView_DelegatorVote)(nil), (*ActionView_ProposalDepositClaim)(nil), (*ActionView_PositionOpen)(nil), (*ActionView_PositionClose)(nil), @@ -1532,6 +1608,9 @@ func (*ActionView) XXX_OneofWrappers() []interface{} { (*ActionView_CommunityPoolSpend)(nil), (*ActionView_CommunityPoolOutput)(nil), (*ActionView_CommunityPoolDeposit)(nil), + (*ActionView_ActionDutchAuctionSchedule)(nil), + (*ActionView_ActionDutchAuctionEnd)(nil), + (*ActionView_ActionDutchAuctionWithdraw)(nil), (*ActionView_UndelegateClaim)(nil), (*ActionView_Ics20Withdrawal)(nil), } @@ -1540,7 +1619,7 @@ func (*ActionView) XXX_OneofWrappers() []interface{} { // The data required to authorize a transaction plan. type AuthorizationData struct { // The computed auth hash for the approved transaction plan. - EffectHash *v111.EffectHash `protobuf:"bytes,1,opt,name=effect_hash,json=effectHash,proto3" json:"effect_hash,omitempty"` + EffectHash *v112.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 []*v1.SpendAuthSignature `protobuf:"bytes,2,rep,name=spend_auths,json=spendAuths,proto3" json:"spend_auths,omitempty"` @@ -1582,7 +1661,7 @@ func (m *AuthorizationData) XXX_DiscardUnknown() { var xxx_messageInfo_AuthorizationData proto.InternalMessageInfo -func (m *AuthorizationData) GetEffectHash() *v111.EffectHash { +func (m *AuthorizationData) GetEffectHash() *v112.EffectHash { if m != nil { return m.EffectHash } @@ -1809,6 +1888,9 @@ type ActionPlan struct { // *ActionPlan_CommunityPoolSpend // *ActionPlan_CommunityPoolOutput // *ActionPlan_CommunityPoolDeposit + // *ActionPlan_ActionDutchAuctionSchedule + // *ActionPlan_ActionDutchAuctionEnd + // *ActionPlan_ActionDutchAuctionWithdraw Action isActionPlan_Action `protobuf_oneof:"action"` } @@ -1917,29 +1999,41 @@ type ActionPlan_CommunityPoolOutput struct { type ActionPlan_CommunityPoolDeposit struct { CommunityPoolDeposit *v18.CommunityPoolDeposit `protobuf:"bytes,52,opt,name=community_pool_deposit,json=communityPoolDeposit,proto3,oneof" json:"community_pool_deposit,omitempty"` } - -func (*ActionPlan_Spend) isActionPlan_Action() {} -func (*ActionPlan_Output) isActionPlan_Action() {} -func (*ActionPlan_Swap) isActionPlan_Action() {} -func (*ActionPlan_SwapClaim) isActionPlan_Action() {} -func (*ActionPlan_ValidatorDefinition) isActionPlan_Action() {} -func (*ActionPlan_IbcRelayAction) isActionPlan_Action() {} -func (*ActionPlan_ProposalSubmit) isActionPlan_Action() {} -func (*ActionPlan_ProposalWithdraw) isActionPlan_Action() {} -func (*ActionPlan_ValidatorVote) isActionPlan_Action() {} -func (*ActionPlan_DelegatorVote) isActionPlan_Action() {} -func (*ActionPlan_ProposalDepositClaim) isActionPlan_Action() {} -func (*ActionPlan_Ics20Withdrawal) isActionPlan_Action() {} -func (*ActionPlan_PositionOpen) isActionPlan_Action() {} -func (*ActionPlan_PositionClose) isActionPlan_Action() {} -func (*ActionPlan_PositionWithdraw) isActionPlan_Action() {} -func (*ActionPlan_PositionRewardClaim) isActionPlan_Action() {} -func (*ActionPlan_Delegate) isActionPlan_Action() {} -func (*ActionPlan_Undelegate) isActionPlan_Action() {} -func (*ActionPlan_UndelegateClaim) isActionPlan_Action() {} -func (*ActionPlan_CommunityPoolSpend) isActionPlan_Action() {} -func (*ActionPlan_CommunityPoolOutput) isActionPlan_Action() {} -func (*ActionPlan_CommunityPoolDeposit) isActionPlan_Action() {} +type ActionPlan_ActionDutchAuctionSchedule struct { + ActionDutchAuctionSchedule *v19.ActionDutchAuctionSchedule `protobuf:"bytes,53,opt,name=action_dutch_auction_schedule,json=actionDutchAuctionSchedule,proto3,oneof" json:"action_dutch_auction_schedule,omitempty"` +} +type ActionPlan_ActionDutchAuctionEnd struct { + ActionDutchAuctionEnd *v19.ActionDutchAuctionEnd `protobuf:"bytes,54,opt,name=action_dutch_auction_end,json=actionDutchAuctionEnd,proto3,oneof" json:"action_dutch_auction_end,omitempty"` +} +type ActionPlan_ActionDutchAuctionWithdraw struct { + ActionDutchAuctionWithdraw *v19.ActionDutchAuctionWithdrawPlan `protobuf:"bytes,55,opt,name=action_dutch_auction_withdraw,json=actionDutchAuctionWithdraw,proto3,oneof" json:"action_dutch_auction_withdraw,omitempty"` +} + +func (*ActionPlan_Spend) isActionPlan_Action() {} +func (*ActionPlan_Output) isActionPlan_Action() {} +func (*ActionPlan_Swap) isActionPlan_Action() {} +func (*ActionPlan_SwapClaim) isActionPlan_Action() {} +func (*ActionPlan_ValidatorDefinition) isActionPlan_Action() {} +func (*ActionPlan_IbcRelayAction) isActionPlan_Action() {} +func (*ActionPlan_ProposalSubmit) isActionPlan_Action() {} +func (*ActionPlan_ProposalWithdraw) isActionPlan_Action() {} +func (*ActionPlan_ValidatorVote) isActionPlan_Action() {} +func (*ActionPlan_DelegatorVote) isActionPlan_Action() {} +func (*ActionPlan_ProposalDepositClaim) isActionPlan_Action() {} +func (*ActionPlan_Ics20Withdrawal) isActionPlan_Action() {} +func (*ActionPlan_PositionOpen) isActionPlan_Action() {} +func (*ActionPlan_PositionClose) isActionPlan_Action() {} +func (*ActionPlan_PositionWithdraw) isActionPlan_Action() {} +func (*ActionPlan_PositionRewardClaim) isActionPlan_Action() {} +func (*ActionPlan_Delegate) isActionPlan_Action() {} +func (*ActionPlan_Undelegate) isActionPlan_Action() {} +func (*ActionPlan_UndelegateClaim) isActionPlan_Action() {} +func (*ActionPlan_CommunityPoolSpend) isActionPlan_Action() {} +func (*ActionPlan_CommunityPoolOutput) isActionPlan_Action() {} +func (*ActionPlan_CommunityPoolDeposit) isActionPlan_Action() {} +func (*ActionPlan_ActionDutchAuctionSchedule) isActionPlan_Action() {} +func (*ActionPlan_ActionDutchAuctionEnd) isActionPlan_Action() {} +func (*ActionPlan_ActionDutchAuctionWithdraw) isActionPlan_Action() {} func (m *ActionPlan) GetAction() isActionPlan_Action { if m != nil { @@ -2103,6 +2197,27 @@ func (m *ActionPlan) GetCommunityPoolDeposit() *v18.CommunityPoolDeposit { return nil } +func (m *ActionPlan) GetActionDutchAuctionSchedule() *v19.ActionDutchAuctionSchedule { + if x, ok := m.GetAction().(*ActionPlan_ActionDutchAuctionSchedule); ok { + return x.ActionDutchAuctionSchedule + } + return nil +} + +func (m *ActionPlan) GetActionDutchAuctionEnd() *v19.ActionDutchAuctionEnd { + if x, ok := m.GetAction().(*ActionPlan_ActionDutchAuctionEnd); ok { + return x.ActionDutchAuctionEnd + } + return nil +} + +func (m *ActionPlan) GetActionDutchAuctionWithdraw() *v19.ActionDutchAuctionWithdrawPlan { + if x, ok := m.GetAction().(*ActionPlan_ActionDutchAuctionWithdraw); ok { + return x.ActionDutchAuctionWithdraw + } + return nil +} + // XXX_OneofWrappers is for the internal use of the proto package. func (*ActionPlan) XXX_OneofWrappers() []interface{} { return []interface{}{ @@ -2128,13 +2243,16 @@ func (*ActionPlan) XXX_OneofWrappers() []interface{} { (*ActionPlan_CommunityPoolSpend)(nil), (*ActionPlan_CommunityPoolOutput)(nil), (*ActionPlan_CommunityPoolDeposit)(nil), + (*ActionPlan_ActionDutchAuctionSchedule)(nil), + (*ActionPlan_ActionDutchAuctionEnd)(nil), + (*ActionPlan_ActionDutchAuctionWithdraw)(nil), } } // Describes a plan for forming a `Clue`. type CluePlan struct { // The address. - Address *v19.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Address *v110.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. @@ -2174,7 +2292,7 @@ func (m *CluePlan) XXX_DiscardUnknown() { var xxx_messageInfo_CluePlan proto.InternalMessageInfo -func (m *CluePlan) GetAddress() *v19.Address { +func (m *CluePlan) GetAddress() *v110.Address { if m != nil { return m.Address } @@ -2302,7 +2420,7 @@ type MemoPlaintext struct { // // 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 *v19.Address `protobuf:"bytes,1,opt,name=return_address,json=returnAddress,proto3" json:"return_address,omitempty"` + ReturnAddress *v110.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"` } @@ -2340,7 +2458,7 @@ func (m *MemoPlaintext) XXX_DiscardUnknown() { var xxx_messageInfo_MemoPlaintext proto.InternalMessageInfo -func (m *MemoPlaintext) GetReturnAddress() *v19.Address { +func (m *MemoPlaintext) GetReturnAddress() *v110.Address { if m != nil { return m.ReturnAddress } @@ -2355,8 +2473,8 @@ func (m *MemoPlaintext) GetText() string { } type MemoPlaintextView struct { - ReturnAddress *v19.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"` + ReturnAddress *v110.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"` } func (m *MemoPlaintextView) Reset() { *m = MemoPlaintextView{} } @@ -2392,7 +2510,7 @@ func (m *MemoPlaintextView) XXX_DiscardUnknown() { var xxx_messageInfo_MemoPlaintextView proto.InternalMessageInfo -func (m *MemoPlaintextView) GetReturnAddress() *v19.AddressView { +func (m *MemoPlaintextView) GetReturnAddress() *v110.AddressView { if m != nil { return m.ReturnAddress } @@ -2623,173 +2741,182 @@ func init() { } var fileDescriptor_8b6c2b29a42813c9 = []byte{ - // 2654 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5b, 0xcf, 0x6f, 0x1b, 0xc7, - 0xf5, 0x27, 0x29, 0x59, 0x3f, 0x1e, 0x45, 0x59, 0x1a, 0x4b, 0xfe, 0x6e, 0x84, 0x40, 0x51, 0x98, - 0xc4, 0x51, 0xe2, 0x64, 0x19, 0xca, 0x4a, 0x9c, 0xaf, 0x12, 0x04, 0x15, 0x25, 0x57, 0x54, 0x52, - 0xcb, 0xec, 0xca, 0x96, 0x51, 0xd7, 0xe9, 0x76, 0xb9, 0x3b, 0x14, 0xd7, 0xe6, 0xfe, 0xc8, 0xce, - 0x90, 0x12, 0x7b, 0xeb, 0x3f, 0x50, 0xf4, 0xd0, 0x02, 0x45, 0x4f, 0x45, 0x0f, 0x0d, 0x50, 0xa0, - 0xe8, 0x31, 0x68, 0x0f, 0x45, 0x8f, 0x41, 0x4f, 0x01, 0x8a, 0x02, 0x3d, 0xb6, 0xf6, 0xa1, 0x40, - 0x8f, 0xfd, 0x0b, 0x8a, 0x99, 0x9d, 0x5d, 0xee, 0x92, 0x5c, 0x91, 0x94, 0xe4, 0x36, 0x46, 0x75, - 0xd2, 0xcc, 0xec, 0xfb, 0x7c, 0xde, 0x9b, 0x99, 0x37, 0x33, 0x6f, 0xde, 0x50, 0x20, 0xbb, 0xd8, - 0x6e, 0x5a, 0x55, 0x4f, 0x2b, 0xe8, 0x8e, 0x87, 0x0b, 0xd4, 0xd3, 0x6c, 0xa2, 0xe9, 0xd4, 0x74, - 0xec, 0x42, 0xab, 0x18, 0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x3e, 0x5d, 0x4e, 0xc1, 0x8a, 0xee, 0x58, 0x27, 0x2a, 0x29, - 0xcd, 0x45, 0x2f, 0x50, 0x9e, 0x43, 0x9d, 0x4a, 0xfa, 0xc1, 0xc1, 0xa1, 0x49, 0xeb, 0xcd, 0x2a, - 0xdb, 0x4c, 0x0a, 0xba, 0x43, 0x2c, 0x87, 0x14, 0x78, 0x68, 0x8a, 0xbd, 0x42, 0x6b, 0x2d, 0x2c, - 0xf2, 0xdf, 0xc2, 0x92, 0xc2, 0x49, 0xff, 0x4a, 0xf0, 0x41, 0xa4, 0xda, 0x2a, 0xfe, 0x32, 0x33, - 0x56, 0xd9, 0xba, 0xfb, 0xeb, 0xcc, 0x8b, 0x95, 0xc0, 0xa0, 0x2d, 0x66, 0x50, 0xc4, 0x00, 0xf9, - 0xa0, 0xf8, 0xa7, 0xce, 0xe7, 0x87, 0xec, 0xf3, 0xc3, 0xc8, 0xe7, 0x87, 0x07, 0xc5, 0x27, 0x99, - 0xd5, 0x93, 0x3e, 0x3f, 0xdc, 0xa9, 0x94, 0x82, 0x47, 0xde, 0x7f, 0x66, 0x5e, 0x0a, 0x44, 0x37, - 0x36, 0x98, 0xec, 0xc6, 0x46, 0x44, 0x78, 0x63, 0xe3, 0xa0, 0x58, 0x9d, 0xe0, 0xcf, 0xc4, 0x37, - 0xfe, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x5a, 0x3c, 0x6e, 0x70, 0x10, 0x31, 0x00, 0x00, + // 2793 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5b, 0xcf, 0x6f, 0x24, 0x47, + 0xf5, 0x9f, 0x19, 0x7b, 0xbd, 0xf6, 0x1b, 0xdb, 0x6b, 0x97, 0xed, 0xfd, 0x76, 0xac, 0x7c, 0x1d, + 0x67, 0x92, 0x6c, 0x9c, 0x6c, 0x32, 0x93, 0xf1, 0xee, 0x66, 0x83, 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0x59, 0x27, 0x44, 0x4a, 0xbe, 0x9a, 0x26, 0x79, 0xec, 0xb6, 0x88, 0xef, 0x60, 0x47, + 0x17, 0x80, 0x4e, 0x6d, 0x98, 0x06, 0xb3, 0xa6, 0x73, 0x80, 0x59, 0xd3, 0x87, 0x49, 0x52, 0x5d, + 0x8c, 0x09, 0xd5, 0xc3, 0x11, 0x79, 0x23, 0x55, 0xb2, 0x61, 0x12, 0xcb, 0x20, 0x86, 0xe6, 0xb9, + 0xae, 0x25, 0x30, 0xf1, 0x06, 0x89, 0x7e, 0x29, 0x15, 0xcd, 0xf0, 0x7d, 0xd1, 0x09, 0x51, 0x90, + 0xd2, 0xeb, 0x49, 0xe9, 0xfb, 0xa4, 0x4d, 0xb9, 0x08, 0xff, 0x2b, 0x25, 0x9e, 0xed, 0x72, 0x96, + 0xd3, 0x06, 0xa6, 0x0d, 0xe1, 0x27, 0xa2, 0x24, 0xa5, 0x36, 0x3b, 0x52, 0x7e, 0xdb, 0x63, 0x6e, + 0xc9, 0x20, 0x3a, 0xae, 0x5f, 0xbb, 0x79, 0x53, 0xab, 0xdb, 0x46, 0x30, 0x29, 0x9d, 0xba, 0xc4, + 0x5c, 0x4f, 0xc5, 0xf8, 0x06, 0xc5, 0x09, 0x10, 0x6f, 0xe8, 0xb5, 0x38, 0x40, 0xb1, 0x60, 0xfc, + 0x58, 0x38, 0x7e, 0x85, 0x7f, 0x64, 0x21, 0xff, 0x4e, 0xc7, 0x47, 0xd1, 0x36, 0x4c, 0xd6, 0x5c, + 0xa3, 0xad, 0x64, 0xd7, 0xb3, 0x1b, 0xf9, 0xcd, 0x97, 0x8b, 0x83, 0xbc, 0xb9, 0x18, 0x03, 0x56, + 0x5c, 0xa3, 0xad, 0x0a, 0x28, 0x3a, 0x84, 0x7c, 0xcd, 0x74, 0x0c, 0xd3, 0x39, 0xd6, 0xa8, 0x79, + 0xac, 0xe4, 0x04, 0xd3, 0x66, 0x8c, 0x49, 0x98, 0x52, 0x4c, 0xda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 0x36, 0x25, 0x9e, 0x4d, 0x5c, 0xfb, 0x4f, 0x00, 0x00, 0x00, 0xff, + 0xff, 0xbb, 0xfb, 0x05, 0xa6, 0xd4, 0x35, 0x00, 0x00, } func (m *Transaction) Marshal() (dAtA []byte, err error) { @@ -3515,6 +3642,75 @@ func (m *Action_CommunityPoolDeposit) MarshalToSizedBuffer(dAtA []byte) (int, er } return len(dAtA) - i, nil } +func (m *Action_ActionDutchAuctionSchedule) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Action_ActionDutchAuctionSchedule) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.ActionDutchAuctionSchedule != nil { + { + size, err := m.ActionDutchAuctionSchedule.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTransaction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xaa + } + return len(dAtA) - i, nil +} +func (m *Action_ActionDutchAuctionEnd) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Action_ActionDutchAuctionEnd) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.ActionDutchAuctionEnd != nil { + { + size, err := m.ActionDutchAuctionEnd.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTransaction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xb2 + } + return len(dAtA) - i, nil +} +func (m *Action_ActionDutchAuctionWithdraw) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Action_ActionDutchAuctionWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.ActionDutchAuctionWithdraw != nil { + { + size, err := m.ActionDutchAuctionWithdraw.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTransaction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xba + } + return len(dAtA) - i, nil +} func (m *Action_Ics20Withdrawal) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) @@ -4597,6 +4793,75 @@ func (m *ActionView_CommunityPoolDeposit) MarshalToSizedBuffer(dAtA []byte) (int } return len(dAtA) - i, nil } +func (m *ActionView_ActionDutchAuctionSchedule) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ActionView_ActionDutchAuctionSchedule) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.ActionDutchAuctionSchedule != nil { + { + size, err := m.ActionDutchAuctionSchedule.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTransaction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xaa + } + return len(dAtA) - i, nil +} +func (m *ActionView_ActionDutchAuctionEnd) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ActionView_ActionDutchAuctionEnd) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.ActionDutchAuctionEnd != nil { + { + size, err := m.ActionDutchAuctionEnd.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTransaction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xb2 + } + return len(dAtA) - i, nil +} +func (m *ActionView_ActionDutchAuctionWithdraw) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ActionView_ActionDutchAuctionWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.ActionDutchAuctionWithdraw != nil { + { + size, err := m.ActionDutchAuctionWithdraw.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTransaction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xba + } + return len(dAtA) - i, nil +} func (m *ActionView_Ics20Withdrawal) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) @@ -5349,6 +5614,75 @@ func (m *ActionPlan_CommunityPoolDeposit) MarshalToSizedBuffer(dAtA []byte) (int } return len(dAtA) - i, nil } +func (m *ActionPlan_ActionDutchAuctionSchedule) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ActionPlan_ActionDutchAuctionSchedule) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.ActionDutchAuctionSchedule != nil { + { + size, err := m.ActionDutchAuctionSchedule.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTransaction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xaa + } + return len(dAtA) - i, nil +} +func (m *ActionPlan_ActionDutchAuctionEnd) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ActionPlan_ActionDutchAuctionEnd) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.ActionDutchAuctionEnd != nil { + { + size, err := m.ActionDutchAuctionEnd.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTransaction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xb2 + } + return len(dAtA) - i, nil +} +func (m *ActionPlan_ActionDutchAuctionWithdraw) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ActionPlan_ActionDutchAuctionWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.ActionDutchAuctionWithdraw != nil { + { + size, err := m.ActionDutchAuctionWithdraw.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTransaction(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xba + } + return len(dAtA) - i, nil +} func (m *ActionPlan_Ics20Withdrawal) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) @@ -6089,38 +6423,74 @@ func (m *Action_CommunityPoolDeposit) Size() (n int) { } return n } -func (m *Action_Ics20Withdrawal) Size() (n int) { +func (m *Action_ActionDutchAuctionSchedule) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Ics20Withdrawal != nil { - l = m.Ics20Withdrawal.Size() + if m.ActionDutchAuctionSchedule != nil { + l = m.ActionDutchAuctionSchedule.Size() n += 2 + l + sovTransaction(uint64(l)) } return n } -func (m *TransactionPerspective) Size() (n int) { +func (m *Action_ActionDutchAuctionEnd) Size() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.PayloadKeys) > 0 { - for _, e := range m.PayloadKeys { - l = e.Size() - n += 1 + l + sovTransaction(uint64(l)) - } + if m.ActionDutchAuctionEnd != nil { + l = m.ActionDutchAuctionEnd.Size() + n += 2 + l + sovTransaction(uint64(l)) } - if len(m.SpendNullifiers) > 0 { - for _, e := range m.SpendNullifiers { - l = e.Size() - n += 1 + l + sovTransaction(uint64(l)) - } + return n +} +func (m *Action_ActionDutchAuctionWithdraw) Size() (n int) { + if m == nil { + return 0 } - if len(m.AdviceNotes) > 0 { - for _, e := range m.AdviceNotes { + var l int + _ = l + if m.ActionDutchAuctionWithdraw != nil { + l = m.ActionDutchAuctionWithdraw.Size() + n += 2 + l + sovTransaction(uint64(l)) + } + return n +} +func (m *Action_Ics20Withdrawal) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Ics20Withdrawal != nil { + l = m.Ics20Withdrawal.Size() + n += 2 + l + sovTransaction(uint64(l)) + } + return n +} +func (m *TransactionPerspective) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.PayloadKeys) > 0 { + for _, e := range m.PayloadKeys { + l = e.Size() + n += 1 + l + sovTransaction(uint64(l)) + } + } + if len(m.SpendNullifiers) > 0 { + for _, e := range m.SpendNullifiers { + l = e.Size() + n += 1 + l + sovTransaction(uint64(l)) + } + } + if len(m.AdviceNotes) > 0 { + for _, e := range m.AdviceNotes { l = e.Size() n += 1 + l + sovTransaction(uint64(l)) } @@ -6571,6 +6941,42 @@ func (m *ActionView_CommunityPoolDeposit) Size() (n int) { } return n } +func (m *ActionView_ActionDutchAuctionSchedule) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ActionDutchAuctionSchedule != nil { + l = m.ActionDutchAuctionSchedule.Size() + n += 2 + l + sovTransaction(uint64(l)) + } + return n +} +func (m *ActionView_ActionDutchAuctionEnd) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ActionDutchAuctionEnd != nil { + l = m.ActionDutchAuctionEnd.Size() + n += 2 + l + sovTransaction(uint64(l)) + } + return n +} +func (m *ActionView_ActionDutchAuctionWithdraw) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ActionDutchAuctionWithdraw != nil { + l = m.ActionDutchAuctionWithdraw.Size() + n += 2 + l + sovTransaction(uint64(l)) + } + return n +} func (m *ActionView_Ics20Withdrawal) Size() (n int) { if m == nil { return 0 @@ -6933,6 +7339,42 @@ func (m *ActionPlan_CommunityPoolDeposit) Size() (n int) { } return n } +func (m *ActionPlan_ActionDutchAuctionSchedule) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ActionDutchAuctionSchedule != nil { + l = m.ActionDutchAuctionSchedule.Size() + n += 2 + l + sovTransaction(uint64(l)) + } + return n +} +func (m *ActionPlan_ActionDutchAuctionEnd) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ActionDutchAuctionEnd != nil { + l = m.ActionDutchAuctionEnd.Size() + n += 2 + l + sovTransaction(uint64(l)) + } + return n +} +func (m *ActionPlan_ActionDutchAuctionWithdraw) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ActionDutchAuctionWithdraw != nil { + l = m.ActionDutchAuctionWithdraw.Size() + n += 2 + l + sovTransaction(uint64(l)) + } + return n +} func (m *ActionPlan_Ics20Withdrawal) Size() (n int) { if m == nil { return 0 @@ -8436,6 +8878,111 @@ func (m *Action) Unmarshal(dAtA []byte) error { } m.Action = &Action_CommunityPoolDeposit{v} iNdEx = postIndex + case 53: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActionDutchAuctionSchedule", 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 + } + v := &v19.ActionDutchAuctionSchedule{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Action = &Action_ActionDutchAuctionSchedule{v} + iNdEx = postIndex + case 54: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActionDutchAuctionEnd", 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 + } + v := &v19.ActionDutchAuctionEnd{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Action = &Action_ActionDutchAuctionEnd{v} + iNdEx = postIndex + case 55: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActionDutchAuctionWithdraw", 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 + } + v := &v19.ActionDutchAuctionWithdraw{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Action = &Action_ActionDutchAuctionWithdraw{v} + iNdEx = postIndex case 200: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Ics20Withdrawal", wireType) @@ -8652,7 +9199,7 @@ func (m *TransactionPerspective) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AddressViews = append(m.AddressViews, &v19.AddressView{}) + m.AddressViews = append(m.AddressViews, &v110.AddressView{}) if err := m.AddressViews[len(m.AddressViews)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -8686,7 +9233,7 @@ func (m *TransactionPerspective) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Denoms = append(m.Denoms, &v110.Metadata{}) + m.Denoms = append(m.Denoms, &v111.Metadata{}) if err := m.Denoms[len(m.Denoms)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -8721,7 +9268,7 @@ func (m *TransactionPerspective) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.TransactionId == nil { - m.TransactionId = &v111.TransactionId{} + m.TransactionId = &v112.TransactionId{} } if err := m.TransactionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -8756,7 +9303,7 @@ func (m *TransactionPerspective) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Prices = append(m.Prices, &v110.EstimatedPrice{}) + m.Prices = append(m.Prices, &v111.EstimatedPrice{}) if err := m.Prices[len(m.Prices)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -8977,7 +9524,7 @@ func (m *TransactionPerspective_ExtendedMetadataById) Unmarshal(dAtA []byte) err return io.ErrUnexpectedEOF } if m.AssetId == nil { - m.AssetId = &v110.AssetId{} + m.AssetId = &v111.AssetId{} } if err := m.AssetId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -9099,7 +9646,7 @@ func (m *TransactionPerspective_CreationTransactionIdByNullifier) Unmarshal(dAtA return io.ErrUnexpectedEOF } if m.Nullifier == nil { - m.Nullifier = &v112.Nullifier{} + m.Nullifier = &v113.Nullifier{} } if err := m.Nullifier.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -9135,7 +9682,7 @@ func (m *TransactionPerspective_CreationTransactionIdByNullifier) Unmarshal(dAtA return io.ErrUnexpectedEOF } if m.TransactionId == nil { - m.TransactionId = &v111.TransactionId{} + m.TransactionId = &v112.TransactionId{} } if err := m.TransactionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -9257,7 +9804,7 @@ func (m *TransactionPerspective_NullificationTransactionIdByCommitment) Unmarsha return io.ErrUnexpectedEOF } if m.TransactionId == nil { - m.TransactionId = &v111.TransactionId{} + m.TransactionId = &v112.TransactionId{} } if err := m.TransactionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -9343,7 +9890,7 @@ func (m *PayloadKeyWithCommitment) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.PayloadKey == nil { - m.PayloadKey = &v19.PayloadKey{} + m.PayloadKey = &v110.PayloadKey{} } if err := m.PayloadKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -9465,7 +10012,7 @@ func (m *NullifierWithNote) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Nullifier == nil { - m.Nullifier = &v112.Nullifier{} + m.Nullifier = &v113.Nullifier{} } if err := m.Nullifier.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -10642,6 +11189,111 @@ func (m *ActionView) Unmarshal(dAtA []byte) error { } m.ActionView = &ActionView_CommunityPoolDeposit{v} iNdEx = postIndex + case 53: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActionDutchAuctionSchedule", 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 + } + v := &v19.ActionDutchAuctionScheduleView{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.ActionView = &ActionView_ActionDutchAuctionSchedule{v} + iNdEx = postIndex + case 54: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActionDutchAuctionEnd", 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 + } + v := &v19.ActionDutchAuctionEnd{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.ActionView = &ActionView_ActionDutchAuctionEnd{v} + iNdEx = postIndex + case 55: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActionDutchAuctionWithdraw", 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 + } + v := &v19.ActionDutchAuctionWithdrawView{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.ActionView = &ActionView_ActionDutchAuctionWithdraw{v} + iNdEx = postIndex case 200: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Ics20Withdrawal", wireType) @@ -10757,7 +11409,7 @@ func (m *AuthorizationData) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.EffectHash == nil { - m.EffectHash = &v111.EffectHash{} + m.EffectHash = &v112.EffectHash{} } if err := m.EffectHash.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -12012,6 +12664,111 @@ func (m *ActionPlan) Unmarshal(dAtA []byte) error { } m.Action = &ActionPlan_CommunityPoolDeposit{v} iNdEx = postIndex + case 53: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActionDutchAuctionSchedule", 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 + } + v := &v19.ActionDutchAuctionSchedule{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Action = &ActionPlan_ActionDutchAuctionSchedule{v} + iNdEx = postIndex + case 54: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActionDutchAuctionEnd", 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 + } + v := &v19.ActionDutchAuctionEnd{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Action = &ActionPlan_ActionDutchAuctionEnd{v} + iNdEx = postIndex + case 55: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActionDutchAuctionWithdraw", 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 + } + v := &v19.ActionDutchAuctionWithdrawPlan{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Action = &ActionPlan_ActionDutchAuctionWithdraw{v} + iNdEx = postIndex case 200: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Ics20Withdrawal", wireType) @@ -12127,7 +12884,7 @@ func (m *CluePlan) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Address == nil { - m.Address = &v19.Address{} + m.Address = &v110.Address{} } if err := m.Address.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -12470,7 +13227,7 @@ func (m *MemoPlaintext) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.ReturnAddress == nil { - m.ReturnAddress = &v19.Address{} + m.ReturnAddress = &v110.Address{} } if err := m.ReturnAddress.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -12588,7 +13345,7 @@ func (m *MemoPlaintextView) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.ReturnAddress == nil { - m.ReturnAddress = &v19.AddressView{} + m.ReturnAddress = &v110.AddressView{} } if err := m.ReturnAddress.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err diff --git a/relayer/chains/penumbra/custody/threshold/v1/threshold.pb.go b/relayer/chains/penumbra/custody/threshold/v1/threshold.pb.go index 8c4ea3406..3b0fde113 100644 --- a/relayer/chains/penumbra/custody/threshold/v1/threshold.pb.go +++ b/relayer/chains/penumbra/custody/threshold/v1/threshold.pb.go @@ -857,65 +857,65 @@ func init() { } var fileDescriptor_d60f2e30e69d733f = []byte{ - // 926 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0xcd, 0x6e, 0xdb, 0x46, - 0x10, 0x16, 0xa9, 0x24, 0x85, 0xd7, 0xae, 0x6c, 0x6f, 0x1c, 0x40, 0x10, 0x1a, 0xc1, 0xd1, 0xa5, - 0x2e, 0xd2, 0x2c, 0x41, 0x19, 0x6d, 0x02, 0x15, 0xe8, 0xc1, 0x72, 0x13, 0x1b, 0x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0x8d, 0x37, 0xe7, 0x6d, 0xe3, 0xcf, 0xf3, 0xb6, 0xf1, 0xea, - 0xa2, 0x5d, 0x7b, 0x73, 0xd1, 0xae, 0xfd, 0x71, 0xd1, 0xae, 0x81, 0x07, 0x2e, 0x9f, 0xdc, 0x5c, - 0xc8, 0x5e, 0xe3, 0xb8, 0xb0, 0x06, 0xc9, 0x67, 0x7d, 0x60, 0x7c, 0xfd, 0xa5, 0x4f, 0xd5, 0x78, - 0x7a, 0x96, 0x7c, 0xaf, 0x2c, 0x97, 0xcb, 0x09, 0x97, 0x96, 0x20, 0x21, 0x9e, 0x11, 0x61, 0xc5, - 0x5d, 0x7d, 0x74, 0xc7, 0x98, 0x32, 0x69, 0xdd, 0xf8, 0x83, 0xf4, 0x89, 0x36, 0x62, 0xfb, 0x7b, - 0xb3, 0x3e, 0xe8, 0x1f, 0xff, 0x6c, 0xde, 0x1f, 0x14, 0xe5, 0xf4, 0xf3, 0x72, 0x74, 0x01, 0x68, - 0x68, 0xff, 0x56, 0xfa, 0x4f, 0x72, 0xff, 0x89, 0xf6, 0x9f, 0x0c, 0xed, 0x73, 0xf3, 0x83, 0x1b, - 0xfd, 0x27, 0xcf, 0x06, 0x7b, 0x9f, 0x13, 0x85, 0x3d, 0xac, 0xf0, 0x5f, 0xe6, 0x76, 0x11, 0xdb, - 0xeb, 0xe5, 0xc1, 0xbd, 0x9e, 0x8e, 0xee, 0xf5, 0x86, 0xf6, 0xd9, 0x9d, 0xf4, 0x5f, 0x66, 0xf7, - 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x1b, 0x64, 0x2e, 0x8e, 0xe9, 0x09, 0x00, 0x00, + // 928 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0xdd, 0x6e, 0x1b, 0x45, + 0x14, 0xf6, 0xae, 0xdb, 0xa2, 0x4c, 0x82, 0x93, 0x4c, 0x53, 0x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x24, 0xb8, 0x54, 0x09, 0x68, 0xfe, 0x24, 0xc3, 0x75, 0xde, 0x07, 0xeb, 0x43, 0x22, 0xe8, + 0x88, 0xba, 0x38, 0x61, 0x7b, 0x4e, 0x66, 0x70, 0x0b, 0xdc, 0xa6, 0x8c, 0x11, 0xd1, 0x34, 0xb6, + 0x8d, 0x9d, 0x35, 0x27, 0x0b, 0x3a, 0x0f, 0xc0, 0xca, 0x11, 0xf5, 0x19, 0x56, 0x53, 0x41, 0xae, + 0x49, 0xf9, 0xc9, 0x04, 0x9b, 0x7d, 0xce, 0x85, 0x47, 0x19, 0x56, 0x5c, 0x38, 0x7c, 0xca, 0x3c, + 0x1b, 0xf6, 0xc1, 0xad, 0x28, 0xc4, 0x2c, 0x4d, 0x5d, 0xed, 0x3e, 0x42, 0xa5, 0xbb, 0x5c, 0x10, + 0x54, 0x7d, 0x93, 0xd8, 0x46, 0xc7, 0x65, 0x38, 0x08, 0x31, 0x3b, 0xa8, 0x39, 0x29, 0x18, 0xbe, + 0x00, 0x5b, 0x31, 0x0e, 0xa9, 0x97, 0xf0, 0x9e, 0x7a, 0x64, 0x44, 0x19, 0x4d, 0x72, 0x9a, 0x66, + 0x4a, 0xfa, 0x70, 0x81, 0x54, 0x7b, 0x8b, 0x32, 0x4b, 0x63, 0x1b, 0x0d, 0x0b, 0xf4, 0x41, 0xcd, + 0xb9, 0xab, 0xa9, 0xf6, 0x35, 0x13, 0xc4, 0xa0, 0x51, 0x56, 0x88, 0xb9, 0x22, 0xcd, 0x7a, 0xca, + 0xfd, 0xe4, 0x5a, 0xee, 0x4a, 0x87, 0xab, 0x05, 0x86, 0x5c, 0x91, 0x3d, 0xee, 0xcd, 0x0e, 0x6a, + 0xce, 0xbb, 0xf1, 0xdc, 0xe1, 0x0a, 0x78, 0x47, 0x90, 0x97, 0x53, 0x22, 0x55, 0xe7, 0x87, 0xfa, + 0x65, 0xab, 0xba, 0xf0, 0x25, 0xd8, 0x90, 0xd4, 0x67, 0x94, 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 0x8b, 0x15, 0x25, 0x7c, 0x0f, 0xac, 0x68, 0xc7, 0x73, 0x5d, + 0xe5, 0xc1, 0xde, 0x6b, 0xf3, 0xd7, 0xf3, 0xb6, 0xf1, 0xe6, 0xbc, 0x6d, 0xfc, 0x79, 0xde, 0x36, + 0x5e, 0x5d, 0xb4, 0x6b, 0x6f, 0x2e, 0xda, 0xb5, 0x3f, 0x2e, 0xda, 0x35, 0xf0, 0xc0, 0xe5, 0x93, + 0x9b, 0x85, 0xec, 0x35, 0x8e, 0x8b, 0x68, 0x90, 0xfc, 0xad, 0x0f, 0x8c, 0xaf, 0xbf, 0xf4, 0xa9, + 0x1a, 0x4f, 0xcf, 0x92, 0xff, 0x2b, 0xcb, 0xe5, 0x72, 0xc2, 0xa5, 0x25, 0x48, 0x88, 0x67, 0x44, + 0x58, 0x71, 0x57, 0x3f, 0xba, 0x63, 0x4c, 0x99, 0xb4, 0x6e, 0xfc, 0x40, 0xfa, 0x44, 0x07, 0xb1, + 0xfd, 0xbd, 0x59, 0x1f, 0xf4, 0x8f, 0x7f, 0x36, 0xef, 0x0f, 0x0a, 0x39, 0xfd, 0x5c, 0x8e, 0x16, + 0x80, 0x86, 0xf6, 0x6f, 0xe5, 0xfd, 0x49, 0x7e, 0x7f, 0xa2, 0xef, 0x4f, 0x86, 0xf6, 0xb9, 0xf9, + 0xc1, 0x8d, 0xf7, 0x27, 0xcf, 0x06, 0x7b, 0x9f, 0x13, 0x85, 0x3d, 0xac, 0xf0, 0x5f, 0xe6, 0x76, + 0x91, 0xdb, 0xeb, 0xe5, 0xc9, 0xbd, 0x9e, 0xce, 0xee, 0xf5, 0x86, 0xf6, 0xd9, 0x9d, 0xf4, 0x5b, + 0x66, 0xf7, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0xaf, 0x71, 0x2a, 0x4c, 0xe9, 0x09, 0x00, 0x00, } func (m *VerificationKey) Marshal() (dAtA []byte, err error) { diff --git a/relayer/chains/penumbra/custody/v1/custody.pb.go b/relayer/chains/penumbra/custody/v1/custody.pb.go index e49458536..58df887b5 100644 --- a/relayer/chains/penumbra/custody/v1/custody.pb.go +++ b/relayer/chains/penumbra/custody/v1/custody.pb.go @@ -664,62 +664,62 @@ func init() { proto.RegisterFile("penumbra/custody/v1/custody.proto", fileDescri var fileDescriptor_e460ce3850593522 = []byte{ // 911 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xcf, 0x6f, 0x1b, 0x45, - 0x18, 0xcd, 0x3a, 0x11, 0x11, 0x5f, 0x53, 0x2b, 0x59, 0xf7, 0x47, 0x30, 0xad, 0x09, 0x5b, 0x8a, - 0x2a, 0x02, 0xbb, 0xac, 0xd3, 0xd2, 0x34, 0x9c, 0xe2, 0xb4, 0xd0, 0x08, 0x21, 0xac, 0x4d, 0x65, - 0x55, 0x55, 0x84, 0x35, 0xd9, 0x1d, 0x3b, 0x2b, 0xaf, 0x67, 0x96, 0x99, 0xd9, 0xa1, 0x86, 0x13, - 0x17, 0xce, 0x48, 0x5c, 0xb8, 0x21, 0x71, 0x84, 0x7f, 0x04, 0x71, 0xea, 0x09, 0x21, 0x71, 0x41, - 0xc9, 0x8d, 0x03, 0x67, 0x8e, 0x68, 0x77, 0x67, 0xed, 0x5d, 0x67, 0x6d, 0x5a, 0x50, 0x4e, 0x9e, - 0xf9, 0xe6, 0xbd, 0xf7, 0xfd, 0xf0, 0xdb, 0xd1, 0xc0, 0xeb, 0x21, 0x26, 0xd1, 0xf0, 0x88, 0x21, - 0xcb, 0x8d, 0xb8, 0xa0, 0xde, 0xc8, 0x92, 0x76, 0xb6, 0x34, 0x43, 0x46, 0x05, 0xd5, 0x6b, 0x19, - 0xc4, 0xcc, 0xe2, 0xd2, 0xae, 0x6f, 0x4c, 0x78, 0x94, 0x61, 0x6b, 0x80, 0x47, 0x3c, 0x66, 0xc6, - 0xbf, 0x29, 0xad, 0x6e, 0x16,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 0xc6, 0x02, 0xc5, 0xef, 0x82, 0x3f, - 0x2b, 0x97, 0x33, 0xc4, 0xce, 0x8e, 0x82, 0xec, 0xec, 0x74, 0xec, 0xa3, 0x97, 0x92, 0xe7, 0xd3, - 0xd6, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xcc, 0x6b, 0x25, 0x92, 0x66, 0x0a, 0x00, 0x00, + 0x14, 0xce, 0x3a, 0x11, 0x11, 0xaf, 0xa9, 0x95, 0xac, 0xfb, 0x23, 0x98, 0xd6, 0x84, 0x2d, 0x45, + 0x15, 0x81, 0x5d, 0xd6, 0x69, 0x69, 0x1a, 0x4e, 0x71, 0x5a, 0x68, 0x84, 0x10, 0xd6, 0xa6, 0xb2, + 0xaa, 0x2a, 0xc2, 0x9a, 0xec, 0x8e, 0x9d, 0x95, 0xd7, 0x33, 0xcb, 0xcc, 0xec, 0x50, 0xc3, 0x89, + 0x0b, 0x67, 0x24, 0x2e, 0xdc, 0x90, 0x38, 0xc2, 0x3f, 0x82, 0x38, 0xf5, 0x84, 0x90, 0xb8, 0xa0, + 0xe4, 0xc6, 0x81, 0x33, 0x47, 0xb4, 0xbb, 0xb3, 0xf6, 0xae, 0xb3, 0x36, 0x2d, 0x28, 0x27, 0xcf, + 0xbc, 0xf9, 0xde, 0xf7, 0xde, 0xfb, 0xfc, 0xed, 0x68, 0xe0, 0xf5, 0x10, 0x93, 0x68, 0x78, 0xc4, + 0x90, 0xe5, 0x46, 0x5c, 0x50, 0x6f, 0x64, 0x49, 0x3b, 0x5b, 0x9a, 0x21, 0xa3, 0x82, 0xea, 0xb5, + 0x0c, 0x62, 0x66, 0x71, 0x69, 0xd7, 0xdf, 0x9b, 0xe4, 0x51, 0x86, 0x2d, 0x97, 0x0e, 0x43, 0x4a, + 0x30, 0x11, 0x56, 0x9f, 0x4a, 0xcc, 0x08, 0x22, 0x2e, 0x8e, 0x99, 0x26, 0xbb, 0x94, 0xac, 0xfe, + 0xf6, 0xac, 0x3c, 0x2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 0xf4, 0x52, 0xf2, 0x7c, + 0xda, 0xfa, 0x27, 0x00, 0x00, 0xff, 0xff, 0x06, 0xc2, 0xe3, 0x34, 0x66, 0x0a, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/relayer/chains/penumbra/view/v1/view.pb.go b/relayer/chains/penumbra/view/v1/view.pb.go index 1822d37a9..720d2e7a9 100644 --- a/relayer/chains/penumbra/view/v1/view.pb.go +++ b/relayer/chains/penumbra/view/v1/view.pb.go @@ -7,21 +7,23 @@ import ( context "context" encoding_binary "encoding/binary" fmt "fmt" + types "github.com/cosmos/cosmos-sdk/codec/types" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" - v111 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/app/v1" - v16 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/asset/v1" - v110 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/dex/v1" - v14 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/fee/v1" - v13 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/ibc/v1" - v15 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/sct/v1" - v112 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/shielded_pool/v1" - v19 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/stake/v1" - v12 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/keys/v1" - v18 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/num/v1" - v1 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/transaction/v1" - v11 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/txhash/v1" - v17 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/crypto/tct/v1" + v112 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/app/v1" + v18 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/asset/v1" + v11 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/auction/v1" + v12 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/dex/v1" + v16 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/fee/v1" + v15 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/ibc/v1" + v17 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/sct/v1" + v113 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/shielded_pool/v1" + v111 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/component/stake/v1" + v1 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/keys/v1" + v110 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/num/v1" + v13 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/transaction/v1" + v14 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/core/txhash/v1" + v19 "github.com/cosmos/relayer/v2/relayer/chains/penumbra/crypto/tct/v1" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" @@ -74,19 +76,221 @@ func (x DelegationsByAddressIndexRequest_Filter) String() string { } func (DelegationsByAddressIndexRequest_Filter) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{55, 0} + return fileDescriptor_dba93d04e42ddfc3, []int{57, 0} +} + +type UnbondingTokensByAddressIndexRequest_Filter int32 + +const ( + // Return all unbonding tokens, regardless of whether they're claimable + // right now. + UnbondingTokensByAddressIndexRequest_FILTER_UNSPECIFIED UnbondingTokensByAddressIndexRequest_Filter = 0 + // Return all unbonding tokens that are currently claimable. This includes: + // - tokens that have passed the `unbonding_delay` (from `StakeParameters`) + // - tokens for unbonded validators + UnbondingTokensByAddressIndexRequest_FILTER_CLAIMABLE UnbondingTokensByAddressIndexRequest_Filter = 1 + // Return all unbonding tokens that are not yet claimable, because they are + // still in the `unbonding_delay` (from `StakeParameters`) period. + UnbondingTokensByAddressIndexRequest_FILTER_NOT_YET_CLAIMABLE UnbondingTokensByAddressIndexRequest_Filter = 2 +) + +var UnbondingTokensByAddressIndexRequest_Filter_name = map[int32]string{ + 0: "FILTER_UNSPECIFIED", + 1: "FILTER_CLAIMABLE", + 2: "FILTER_NOT_YET_CLAIMABLE", +} + +var UnbondingTokensByAddressIndexRequest_Filter_value = map[string]int32{ + "FILTER_UNSPECIFIED": 0, + "FILTER_CLAIMABLE": 1, + "FILTER_NOT_YET_CLAIMABLE": 2, +} + +func (x UnbondingTokensByAddressIndexRequest_Filter) String() string { + return proto.EnumName(UnbondingTokensByAddressIndexRequest_Filter_name, int32(x)) +} + +func (UnbondingTokensByAddressIndexRequest_Filter) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_dba93d04e42ddfc3, []int{59, 0} +} + +// Filters in an `AuctionsRequest` will be combined using `AND` logic -- that +// is, the more filters you add, the fewer responses you're likely to get. +type AuctionsRequest struct { + // If present, filter balances to only include the account specified by the `AddressIndex`. + AccountFilter *v1.AddressIndex `protobuf:"bytes,1,opt,name=account_filter,json=accountFilter,proto3" json:"account_filter,omitempty"` + // If present, include inactive auctions as well as active ones. + IncludeInactive bool `protobuf:"varint,2,opt,name=include_inactive,json=includeInactive,proto3" json:"include_inactive,omitempty"` + // If set, query a fullnode for the current state of the auctions. + QueryLatestState bool `protobuf:"varint,3,opt,name=query_latest_state,json=queryLatestState,proto3" json:"query_latest_state,omitempty"` + // If present, filter to only include auctions whose IDs are in this array. + AuctionIdsFilter []*v11.AuctionId `protobuf:"bytes,4,rep,name=auction_ids_filter,json=auctionIdsFilter,proto3" json:"auction_ids_filter,omitempty"` +} + +func (m *AuctionsRequest) Reset() { *m = AuctionsRequest{} } +func (m *AuctionsRequest) String() string { return proto.CompactTextString(m) } +func (*AuctionsRequest) ProtoMessage() {} +func (*AuctionsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_dba93d04e42ddfc3, []int{0} +} +func (m *AuctionsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AuctionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AuctionsRequest.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 *AuctionsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AuctionsRequest.Merge(m, src) +} +func (m *AuctionsRequest) XXX_Size() int { + return m.Size() +} +func (m *AuctionsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AuctionsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_AuctionsRequest proto.InternalMessageInfo + +func (m *AuctionsRequest) GetAccountFilter() *v1.AddressIndex { + if m != nil { + return m.AccountFilter + } + return nil +} + +func (m *AuctionsRequest) GetIncludeInactive() bool { + if m != nil { + return m.IncludeInactive + } + return false +} + +func (m *AuctionsRequest) GetQueryLatestState() bool { + if m != nil { + return m.QueryLatestState + } + return false +} + +func (m *AuctionsRequest) GetAuctionIdsFilter() []*v11.AuctionId { + if m != nil { + return m.AuctionIdsFilter + } + return nil +} + +type AuctionsResponse struct { + Id *v11.AuctionId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // The state of the returned auction. + // + // Only present when `query_latest_state` was provided. + Auction *types.Any `protobuf:"bytes,2,opt,name=auction,proto3" json:"auction,omitempty"` + // The state of any DEX positions relevant to the returned auction. + // + // Only present when `query_latest_state` was provided. + // Could be empty, depending on the auction state. + Positions []*v12.Position `protobuf:"bytes,3,rep,name=positions,proto3" json:"positions,omitempty"` + // The note recording the auction NFT. + NoteRecord *SpendableNoteRecord `protobuf:"bytes,4,opt,name=note_record,json=noteRecord,proto3" json:"note_record,omitempty"` + // The sequence number of the auction state _as known to the local view + // service_. Note that the local view service may lag behind the fullnode. For + // example, if the chain hits an auction's `end_height`, but the user hasn't + // yet exchanged their sequence-0 (opened) auction NFT for a sequence-1 + // (closed) auction NFT, the local view service will have a sequnce number of + // 0. + // + // Dutch auctions move from: + // 0 (opened) => 1 (closed) => n (withdrawn) + LocalSeq uint64 `protobuf:"varint,5,opt,name=local_seq,json=localSeq,proto3" json:"local_seq,omitempty"` +} + +func (m *AuctionsResponse) Reset() { *m = AuctionsResponse{} } +func (m *AuctionsResponse) String() string { return proto.CompactTextString(m) } +func (*AuctionsResponse) ProtoMessage() {} +func (*AuctionsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_dba93d04e42ddfc3, []int{1} +} +func (m *AuctionsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AuctionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AuctionsResponse.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 *AuctionsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_AuctionsResponse.Merge(m, src) +} +func (m *AuctionsResponse) XXX_Size() int { + return m.Size() +} +func (m *AuctionsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_AuctionsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_AuctionsResponse proto.InternalMessageInfo + +func (m *AuctionsResponse) GetId() *v11.AuctionId { + if m != nil { + return m.Id + } + return nil +} + +func (m *AuctionsResponse) GetAuction() *types.Any { + if m != nil { + return m.Auction + } + return nil +} + +func (m *AuctionsResponse) GetPositions() []*v12.Position { + if m != nil { + return m.Positions + } + return nil +} + +func (m *AuctionsResponse) GetNoteRecord() *SpendableNoteRecord { + if m != nil { + return m.NoteRecord + } + return nil +} + +func (m *AuctionsResponse) GetLocalSeq() uint64 { + if m != nil { + return m.LocalSeq + } + return 0 } type AuthorizeAndBuildRequest struct { // The transaction plan to authorize and build. - TransactionPlan *v1.TransactionPlan `protobuf:"bytes,1,opt,name=transaction_plan,json=transactionPlan,proto3" json:"transaction_plan,omitempty"` + TransactionPlan *v13.TransactionPlan `protobuf:"bytes,1,opt,name=transaction_plan,json=transactionPlan,proto3" json:"transaction_plan,omitempty"` } func (m *AuthorizeAndBuildRequest) Reset() { *m = AuthorizeAndBuildRequest{} } func (m *AuthorizeAndBuildRequest) String() string { return proto.CompactTextString(m) } func (*AuthorizeAndBuildRequest) ProtoMessage() {} func (*AuthorizeAndBuildRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{0} + return fileDescriptor_dba93d04e42ddfc3, []int{2} } func (m *AuthorizeAndBuildRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -115,7 +319,7 @@ func (m *AuthorizeAndBuildRequest) XXX_DiscardUnknown() { var xxx_messageInfo_AuthorizeAndBuildRequest proto.InternalMessageInfo -func (m *AuthorizeAndBuildRequest) GetTransactionPlan() *v1.TransactionPlan { +func (m *AuthorizeAndBuildRequest) GetTransactionPlan() *v13.TransactionPlan { if m != nil { return m.TransactionPlan } @@ -133,7 +337,7 @@ func (m *AuthorizeAndBuildResponse) Reset() { *m = AuthorizeAndBuildResp func (m *AuthorizeAndBuildResponse) String() string { return proto.CompactTextString(m) } func (*AuthorizeAndBuildResponse) ProtoMessage() {} func (*AuthorizeAndBuildResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{1} + return fileDescriptor_dba93d04e42ddfc3, []int{3} } func (m *AuthorizeAndBuildResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -219,7 +423,7 @@ func (m *AuthorizeAndBuildResponse_BuildProgress) Reset() { func (m *AuthorizeAndBuildResponse_BuildProgress) String() string { return proto.CompactTextString(m) } func (*AuthorizeAndBuildResponse_BuildProgress) ProtoMessage() {} func (*AuthorizeAndBuildResponse_BuildProgress) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{1, 0} + return fileDescriptor_dba93d04e42ddfc3, []int{3, 0} } func (m *AuthorizeAndBuildResponse_BuildProgress) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -258,14 +462,14 @@ func (m *AuthorizeAndBuildResponse_BuildProgress) GetProgress() float32 { // Signals that the transaction is complete. type AuthorizeAndBuildResponse_Complete struct { // The finished transaction. - Transaction *v1.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` + Transaction *v13.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` } func (m *AuthorizeAndBuildResponse_Complete) Reset() { *m = AuthorizeAndBuildResponse_Complete{} } func (m *AuthorizeAndBuildResponse_Complete) String() string { return proto.CompactTextString(m) } func (*AuthorizeAndBuildResponse_Complete) ProtoMessage() {} func (*AuthorizeAndBuildResponse_Complete) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{1, 1} + return fileDescriptor_dba93d04e42ddfc3, []int{3, 1} } func (m *AuthorizeAndBuildResponse_Complete) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -294,7 +498,7 @@ func (m *AuthorizeAndBuildResponse_Complete) XXX_DiscardUnknown() { var xxx_messageInfo_AuthorizeAndBuildResponse_Complete proto.InternalMessageInfo -func (m *AuthorizeAndBuildResponse_Complete) GetTransaction() *v1.Transaction { +func (m *AuthorizeAndBuildResponse_Complete) GetTransaction() *v13.Transaction { if m != nil { return m.Transaction } @@ -303,7 +507,7 @@ func (m *AuthorizeAndBuildResponse_Complete) GetTransaction() *v1.Transaction { type BroadcastTransactionRequest struct { // The transaction to broadcast. - Transaction *v1.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` + Transaction *v13.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` // If true, wait for the view service to detect the transaction during sync. AwaitDetection bool `protobuf:"varint,2,opt,name=await_detection,json=awaitDetection,proto3" json:"await_detection,omitempty"` } @@ -312,7 +516,7 @@ func (m *BroadcastTransactionRequest) Reset() { *m = BroadcastTransactio func (m *BroadcastTransactionRequest) String() string { return proto.CompactTextString(m) } func (*BroadcastTransactionRequest) ProtoMessage() {} func (*BroadcastTransactionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{2} + return fileDescriptor_dba93d04e42ddfc3, []int{4} } func (m *BroadcastTransactionRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -341,7 +545,7 @@ func (m *BroadcastTransactionRequest) XXX_DiscardUnknown() { var xxx_messageInfo_BroadcastTransactionRequest proto.InternalMessageInfo -func (m *BroadcastTransactionRequest) GetTransaction() *v1.Transaction { +func (m *BroadcastTransactionRequest) GetTransaction() *v13.Transaction { if m != nil { return m.Transaction } @@ -366,7 +570,7 @@ func (m *BroadcastTransactionResponse) Reset() { *m = BroadcastTransacti func (m *BroadcastTransactionResponse) String() string { return proto.CompactTextString(m) } func (*BroadcastTransactionResponse) ProtoMessage() {} func (*BroadcastTransactionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{3} + return fileDescriptor_dba93d04e42ddfc3, []int{5} } func (m *BroadcastTransactionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -443,7 +647,7 @@ func (*BroadcastTransactionResponse) XXX_OneofWrappers() []interface{} { // Signals that the transaction was broadcast successfully (but has not been confirmed). type BroadcastTransactionResponse_BroadcastSuccess struct { // The hash of the transaction that was broadcast. - Id *v11.TransactionId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Id *v14.TransactionId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } func (m *BroadcastTransactionResponse_BroadcastSuccess) Reset() { @@ -454,7 +658,7 @@ func (m *BroadcastTransactionResponse_BroadcastSuccess) String() string { } func (*BroadcastTransactionResponse_BroadcastSuccess) ProtoMessage() {} func (*BroadcastTransactionResponse_BroadcastSuccess) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{3, 0} + return fileDescriptor_dba93d04e42ddfc3, []int{5, 0} } func (m *BroadcastTransactionResponse_BroadcastSuccess) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -483,7 +687,7 @@ func (m *BroadcastTransactionResponse_BroadcastSuccess) XXX_DiscardUnknown() { var xxx_messageInfo_BroadcastTransactionResponse_BroadcastSuccess proto.InternalMessageInfo -func (m *BroadcastTransactionResponse_BroadcastSuccess) GetId() *v11.TransactionId { +func (m *BroadcastTransactionResponse_BroadcastSuccess) GetId() *v14.TransactionId { if m != nil { return m.Id } @@ -495,7 +699,7 @@ func (m *BroadcastTransactionResponse_BroadcastSuccess) GetId() *v11.Transaction // Will not be sent unless await_detection was true. type BroadcastTransactionResponse_Confirmed struct { // The hash of the transaction that was broadcast. - Id *v11.TransactionId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Id *v14.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. DetectionHeight uint64 `protobuf:"varint,2,opt,name=detection_height,json=detectionHeight,proto3" json:"detection_height,omitempty"` } @@ -506,7 +710,7 @@ func (m *BroadcastTransactionResponse_Confirmed) Reset() { func (m *BroadcastTransactionResponse_Confirmed) String() string { return proto.CompactTextString(m) } func (*BroadcastTransactionResponse_Confirmed) ProtoMessage() {} func (*BroadcastTransactionResponse_Confirmed) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{3, 1} + return fileDescriptor_dba93d04e42ddfc3, []int{5, 1} } func (m *BroadcastTransactionResponse_Confirmed) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -535,7 +739,7 @@ func (m *BroadcastTransactionResponse_Confirmed) XXX_DiscardUnknown() { var xxx_messageInfo_BroadcastTransactionResponse_Confirmed proto.InternalMessageInfo -func (m *BroadcastTransactionResponse_Confirmed) GetId() *v11.TransactionId { +func (m *BroadcastTransactionResponse_Confirmed) GetId() *v14.TransactionId { if m != nil { return m.Id } @@ -554,21 +758,24 @@ type TransactionPlannerRequest struct { ExpiryHeight uint64 `protobuf:"varint,1,opt,name=expiry_height,json=expiryHeight,proto3" json:"expiry_height,omitempty"` // The memo for the requested TransactionPlan. // The memo must be unspecified unless `outputs` is nonempty. - Memo *v1.MemoPlaintext `protobuf:"bytes,3,opt,name=memo,proto3" json:"memo,omitempty"` + Memo *v13.MemoPlaintext `protobuf:"bytes,3,opt,name=memo,proto3" json:"memo,omitempty"` // If present, only spends funds from the given account. - Source *v12.AddressIndex `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` + Source *v1.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"` - UndelegationClaims []*TransactionPlannerRequest_UndelegateClaim `protobuf:"bytes,51,rep,name=undelegation_claims,json=undelegationClaims,proto3" json:"undelegation_claims,omitempty"` - IbcRelayActions []*v13.IbcRelay `protobuf:"bytes,60,rep,name=ibc_relay_actions,json=ibcRelayActions,proto3" json:"ibc_relay_actions,omitempty"` - Ics20Withdrawals []*v13.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"` + 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"` + UndelegationClaims []*TransactionPlannerRequest_UndelegateClaim `protobuf:"bytes,51,rep,name=undelegation_claims,json=undelegationClaims,proto3" json:"undelegation_claims,omitempty"` + IbcRelayActions []*v15.IbcRelay `protobuf:"bytes,60,rep,name=ibc_relay_actions,json=ibcRelayActions,proto3" json:"ibc_relay_actions,omitempty"` + Ics20Withdrawals []*v15.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"` + DutchAuctionScheduleActions []*TransactionPlannerRequest_ActionDutchAuctionSchedule `protobuf:"bytes,73,rep,name=dutch_auction_schedule_actions,json=dutchAuctionScheduleActions,proto3" json:"dutch_auction_schedule_actions,omitempty"` + DutchAuctionEndActions []*TransactionPlannerRequest_ActionDutchAuctionEnd `protobuf:"bytes,74,rep,name=dutch_auction_end_actions,json=dutchAuctionEndActions,proto3" json:"dutch_auction_end_actions,omitempty"` + DutchAuctionWithdrawActions []*TransactionPlannerRequest_ActionDutchAuctionWithdraw `protobuf:"bytes,75,rep,name=dutch_auction_withdraw_actions,json=dutchAuctionWithdrawActions,proto3" json:"dutch_auction_withdraw_actions,omitempty"` // Specifies either that the planner should compute fees automatically or that it should use a fixed fee amount. // // Types that are valid to be assigned to FeeMode: @@ -578,14 +785,14 @@ type TransactionPlannerRequest struct { // The epoch index of the transaction being planned. EpochIndex uint64 `protobuf:"varint,200,opt,name=epoch_index,json=epochIndex,proto3" json:"epoch_index,omitempty"` // Deprecated: Do not use. // The epoch of the transaction being planned. - Epoch *v15.Epoch `protobuf:"bytes,201,opt,name=epoch,proto3" json:"epoch,omitempty"` + Epoch *v17.Epoch `protobuf:"bytes,201,opt,name=epoch,proto3" json:"epoch,omitempty"` } func (m *TransactionPlannerRequest) Reset() { *m = TransactionPlannerRequest{} } func (m *TransactionPlannerRequest) String() string { return proto.CompactTextString(m) } func (*TransactionPlannerRequest) ProtoMessage() {} func (*TransactionPlannerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{4} + return fileDescriptor_dba93d04e42ddfc3, []int{6} } func (m *TransactionPlannerRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -621,10 +828,10 @@ type isTransactionPlannerRequest_FeeMode interface { } type TransactionPlannerRequest_AutoFee struct { - AutoFee *v14.FeeTier `protobuf:"bytes,100,opt,name=auto_fee,json=autoFee,proto3,oneof" json:"auto_fee,omitempty"` + AutoFee *v16.FeeTier `protobuf:"bytes,100,opt,name=auto_fee,json=autoFee,proto3,oneof" json:"auto_fee,omitempty"` } type TransactionPlannerRequest_ManualFee struct { - ManualFee *v14.Fee `protobuf:"bytes,101,opt,name=manual_fee,json=manualFee,proto3,oneof" json:"manual_fee,omitempty"` + ManualFee *v16.Fee `protobuf:"bytes,101,opt,name=manual_fee,json=manualFee,proto3,oneof" json:"manual_fee,omitempty"` } func (*TransactionPlannerRequest_AutoFee) isTransactionPlannerRequest_FeeMode() {} @@ -644,14 +851,14 @@ func (m *TransactionPlannerRequest) GetExpiryHeight() uint64 { return 0 } -func (m *TransactionPlannerRequest) GetMemo() *v1.MemoPlaintext { +func (m *TransactionPlannerRequest) GetMemo() *v13.MemoPlaintext { if m != nil { return m.Memo } return nil } -func (m *TransactionPlannerRequest) GetSource() *v12.AddressIndex { +func (m *TransactionPlannerRequest) GetSource() *v1.AddressIndex { if m != nil { return m.Source } @@ -700,14 +907,14 @@ func (m *TransactionPlannerRequest) GetUndelegationClaims() []*TransactionPlanne return nil } -func (m *TransactionPlannerRequest) GetIbcRelayActions() []*v13.IbcRelay { +func (m *TransactionPlannerRequest) GetIbcRelayActions() []*v15.IbcRelay { if m != nil { return m.IbcRelayActions } return nil } -func (m *TransactionPlannerRequest) GetIcs20Withdrawals() []*v13.Ics20Withdrawal { +func (m *TransactionPlannerRequest) GetIcs20Withdrawals() []*v15.Ics20Withdrawal { if m != nil { return m.Ics20Withdrawals } @@ -735,14 +942,35 @@ func (m *TransactionPlannerRequest) GetPositionWithdraws() []*TransactionPlanner return nil } -func (m *TransactionPlannerRequest) GetAutoFee() *v14.FeeTier { +func (m *TransactionPlannerRequest) GetDutchAuctionScheduleActions() []*TransactionPlannerRequest_ActionDutchAuctionSchedule { + if m != nil { + return m.DutchAuctionScheduleActions + } + return nil +} + +func (m *TransactionPlannerRequest) GetDutchAuctionEndActions() []*TransactionPlannerRequest_ActionDutchAuctionEnd { + if m != nil { + return m.DutchAuctionEndActions + } + return nil +} + +func (m *TransactionPlannerRequest) GetDutchAuctionWithdrawActions() []*TransactionPlannerRequest_ActionDutchAuctionWithdraw { + if m != nil { + return m.DutchAuctionWithdrawActions + } + return nil +} + +func (m *TransactionPlannerRequest) GetAutoFee() *v16.FeeTier { if x, ok := m.GetFeeMode().(*TransactionPlannerRequest_AutoFee); ok { return x.AutoFee } return nil } -func (m *TransactionPlannerRequest) GetManualFee() *v14.Fee { +func (m *TransactionPlannerRequest) GetManualFee() *v16.Fee { if x, ok := m.GetFeeMode().(*TransactionPlannerRequest_ManualFee); ok { return x.ManualFee } @@ -757,7 +985,7 @@ func (m *TransactionPlannerRequest) GetEpochIndex() uint64 { return 0 } -func (m *TransactionPlannerRequest) GetEpoch() *v15.Epoch { +func (m *TransactionPlannerRequest) GetEpoch() *v17.Epoch { if m != nil { return m.Epoch } @@ -775,16 +1003,16 @@ func (*TransactionPlannerRequest) XXX_OneofWrappers() []interface{} { // Request message subtypes type TransactionPlannerRequest_Output struct { // The amount and denomination in which the Output is issued. - Value *v16.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + Value *v18.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // The address to which Output will be sent. - Address *v12.Address `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` + Address *v1.Address `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` } func (m *TransactionPlannerRequest_Output) Reset() { *m = TransactionPlannerRequest_Output{} } func (m *TransactionPlannerRequest_Output) String() string { return proto.CompactTextString(m) } func (*TransactionPlannerRequest_Output) ProtoMessage() {} func (*TransactionPlannerRequest_Output) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{4, 0} + return fileDescriptor_dba93d04e42ddfc3, []int{6, 0} } func (m *TransactionPlannerRequest_Output) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -813,14 +1041,14 @@ func (m *TransactionPlannerRequest_Output) XXX_DiscardUnknown() { var xxx_messageInfo_TransactionPlannerRequest_Output proto.InternalMessageInfo -func (m *TransactionPlannerRequest_Output) GetValue() *v16.Value { +func (m *TransactionPlannerRequest_Output) GetValue() *v18.Value { if m != nil { return m.Value } return nil } -func (m *TransactionPlannerRequest_Output) GetAddress() *v12.Address { +func (m *TransactionPlannerRequest_Output) GetAddress() *v1.Address { if m != nil { return m.Address } @@ -829,20 +1057,20 @@ func (m *TransactionPlannerRequest_Output) GetAddress() *v12.Address { type TransactionPlannerRequest_Swap struct { // The input amount and denomination to be traded in the Swap. - Value *v16.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + Value *v18.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // The denomination to be received as a Output of the Swap. - TargetAsset *v16.AssetId `protobuf:"bytes,2,opt,name=target_asset,json=targetAsset,proto3" json:"target_asset,omitempty"` + TargetAsset *v18.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 *v14.Fee `protobuf:"bytes,3,opt,name=fee,proto3" json:"fee,omitempty"` + Fee *v16.Fee `protobuf:"bytes,3,opt,name=fee,proto3" json:"fee,omitempty"` // The address to which swap claim output will be sent. - ClaimAddress *v12.Address `protobuf:"bytes,4,opt,name=claim_address,json=claimAddress,proto3" json:"claim_address,omitempty"` + ClaimAddress *v1.Address `protobuf:"bytes,4,opt,name=claim_address,json=claimAddress,proto3" json:"claim_address,omitempty"` } func (m *TransactionPlannerRequest_Swap) Reset() { *m = TransactionPlannerRequest_Swap{} } func (m *TransactionPlannerRequest_Swap) String() string { return proto.CompactTextString(m) } func (*TransactionPlannerRequest_Swap) ProtoMessage() {} func (*TransactionPlannerRequest_Swap) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{4, 1} + return fileDescriptor_dba93d04e42ddfc3, []int{6, 1} } func (m *TransactionPlannerRequest_Swap) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -871,28 +1099,28 @@ func (m *TransactionPlannerRequest_Swap) XXX_DiscardUnknown() { var xxx_messageInfo_TransactionPlannerRequest_Swap proto.InternalMessageInfo -func (m *TransactionPlannerRequest_Swap) GetValue() *v16.Value { +func (m *TransactionPlannerRequest_Swap) GetValue() *v18.Value { if m != nil { return m.Value } return nil } -func (m *TransactionPlannerRequest_Swap) GetTargetAsset() *v16.AssetId { +func (m *TransactionPlannerRequest_Swap) GetTargetAsset() *v18.AssetId { if m != nil { return m.TargetAsset } return nil } -func (m *TransactionPlannerRequest_Swap) GetFee() *v14.Fee { +func (m *TransactionPlannerRequest_Swap) GetFee() *v16.Fee { if m != nil { return m.Fee } return nil } -func (m *TransactionPlannerRequest_Swap) GetClaimAddress() *v12.Address { +func (m *TransactionPlannerRequest_Swap) GetClaimAddress() *v1.Address { if m != nil { return m.ClaimAddress } @@ -903,14 +1131,14 @@ type TransactionPlannerRequest_SwapClaim struct { // SwapCommitment to identify the Swap to be claimed. // Use the commitment from the Swap message: // penumbra.core.component.dex.v1.Swap.body.payload.commitment. - SwapCommitment *v17.StateCommitment `protobuf:"bytes,1,opt,name=swap_commitment,json=swapCommitment,proto3" json:"swap_commitment,omitempty"` + SwapCommitment *v19.StateCommitment `protobuf:"bytes,1,opt,name=swap_commitment,json=swapCommitment,proto3" json:"swap_commitment,omitempty"` } func (m *TransactionPlannerRequest_SwapClaim) Reset() { *m = TransactionPlannerRequest_SwapClaim{} } func (m *TransactionPlannerRequest_SwapClaim) String() string { return proto.CompactTextString(m) } func (*TransactionPlannerRequest_SwapClaim) ProtoMessage() {} func (*TransactionPlannerRequest_SwapClaim) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{4, 2} + return fileDescriptor_dba93d04e42ddfc3, []int{6, 2} } func (m *TransactionPlannerRequest_SwapClaim) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -939,7 +1167,7 @@ func (m *TransactionPlannerRequest_SwapClaim) XXX_DiscardUnknown() { var xxx_messageInfo_TransactionPlannerRequest_SwapClaim proto.InternalMessageInfo -func (m *TransactionPlannerRequest_SwapClaim) GetSwapCommitment() *v17.StateCommitment { +func (m *TransactionPlannerRequest_SwapClaim) GetSwapCommitment() *v19.StateCommitment { if m != nil { return m.SwapCommitment } @@ -947,15 +1175,15 @@ func (m *TransactionPlannerRequest_SwapClaim) GetSwapCommitment() *v17.StateComm } type TransactionPlannerRequest_Delegate struct { - Amount *v18.Amount `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` - RateData *v19.RateData `protobuf:"bytes,3,opt,name=rate_data,json=rateData,proto3" json:"rate_data,omitempty"` + Amount *v110.Amount `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` + RateData *v111.RateData `protobuf:"bytes,3,opt,name=rate_data,json=rateData,proto3" json:"rate_data,omitempty"` } func (m *TransactionPlannerRequest_Delegate) Reset() { *m = TransactionPlannerRequest_Delegate{} } func (m *TransactionPlannerRequest_Delegate) String() string { return proto.CompactTextString(m) } func (*TransactionPlannerRequest_Delegate) ProtoMessage() {} func (*TransactionPlannerRequest_Delegate) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{4, 3} + return fileDescriptor_dba93d04e42ddfc3, []int{6, 3} } func (m *TransactionPlannerRequest_Delegate) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -984,14 +1212,14 @@ func (m *TransactionPlannerRequest_Delegate) XXX_DiscardUnknown() { var xxx_messageInfo_TransactionPlannerRequest_Delegate proto.InternalMessageInfo -func (m *TransactionPlannerRequest_Delegate) GetAmount() *v18.Amount { +func (m *TransactionPlannerRequest_Delegate) GetAmount() *v110.Amount { if m != nil { return m.Amount } return nil } -func (m *TransactionPlannerRequest_Delegate) GetRateData() *v19.RateData { +func (m *TransactionPlannerRequest_Delegate) GetRateData() *v111.RateData { if m != nil { return m.RateData } @@ -999,15 +1227,15 @@ func (m *TransactionPlannerRequest_Delegate) GetRateData() *v19.RateData { } type TransactionPlannerRequest_Undelegate struct { - Value *v16.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - RateData *v19.RateData `protobuf:"bytes,2,opt,name=rate_data,json=rateData,proto3" json:"rate_data,omitempty"` + Value *v18.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + RateData *v111.RateData `protobuf:"bytes,2,opt,name=rate_data,json=rateData,proto3" json:"rate_data,omitempty"` } func (m *TransactionPlannerRequest_Undelegate) Reset() { *m = TransactionPlannerRequest_Undelegate{} } func (m *TransactionPlannerRequest_Undelegate) String() string { return proto.CompactTextString(m) } func (*TransactionPlannerRequest_Undelegate) ProtoMessage() {} func (*TransactionPlannerRequest_Undelegate) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{4, 4} + return fileDescriptor_dba93d04e42ddfc3, []int{6, 4} } func (m *TransactionPlannerRequest_Undelegate) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1036,14 +1264,14 @@ func (m *TransactionPlannerRequest_Undelegate) XXX_DiscardUnknown() { var xxx_messageInfo_TransactionPlannerRequest_Undelegate proto.InternalMessageInfo -func (m *TransactionPlannerRequest_Undelegate) GetValue() *v16.Value { +func (m *TransactionPlannerRequest_Undelegate) GetValue() *v18.Value { if m != nil { return m.Value } return nil } -func (m *TransactionPlannerRequest_Undelegate) GetRateData() *v19.RateData { +func (m *TransactionPlannerRequest_Undelegate) GetRateData() *v111.RateData { if m != nil { return m.RateData } @@ -1052,15 +1280,15 @@ func (m *TransactionPlannerRequest_Undelegate) GetRateData() *v19.RateData { type TransactionPlannerRequest_UndelegateClaim struct { // The identity key of the validator to finish undelegating from. - ValidatorIdentity *v12.IdentityKey `protobuf:"bytes,1,opt,name=validator_identity,json=validatorIdentity,proto3" json:"validator_identity,omitempty"` + ValidatorIdentity *v1.IdentityKey `protobuf:"bytes,1,opt,name=validator_identity,json=validatorIdentity,proto3" json:"validator_identity,omitempty"` // The epoch in which unbonding began, used to verify the penalty. StartEpochIndex uint64 `protobuf:"varint,2,opt,name=start_epoch_index,json=startEpochIndex,proto3" json:"start_epoch_index,omitempty"` // Deprecated: Do not use. // The penalty applied to undelegation, in bps^2 (10e-8). // In the happy path (no slashing), this is 0. - Penalty *v19.Penalty `protobuf:"bytes,3,opt,name=penalty,proto3" json:"penalty,omitempty"` + Penalty *v111.Penalty `protobuf:"bytes,3,opt,name=penalty,proto3" json:"penalty,omitempty"` // The amount of unbonding tokens to claim. // This is a bare number because its denom is determined by the preceding data. - UnbondingAmount *v18.Amount `protobuf:"bytes,4,opt,name=unbonding_amount,json=unbondingAmount,proto3" json:"unbonding_amount,omitempty"` + UnbondingAmount *v110.Amount `protobuf:"bytes,4,opt,name=unbonding_amount,json=unbondingAmount,proto3" json:"unbonding_amount,omitempty"` // The height at which unbonding began. UnbondingStartHeight uint64 `protobuf:"varint,5,opt,name=unbonding_start_height,json=unbondingStartHeight,proto3" json:"unbonding_start_height,omitempty"` } @@ -1073,7 +1301,7 @@ func (m *TransactionPlannerRequest_UndelegateClaim) String() string { } func (*TransactionPlannerRequest_UndelegateClaim) ProtoMessage() {} func (*TransactionPlannerRequest_UndelegateClaim) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{4, 5} + return fileDescriptor_dba93d04e42ddfc3, []int{6, 5} } func (m *TransactionPlannerRequest_UndelegateClaim) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1102,7 +1330,7 @@ func (m *TransactionPlannerRequest_UndelegateClaim) XXX_DiscardUnknown() { var xxx_messageInfo_TransactionPlannerRequest_UndelegateClaim proto.InternalMessageInfo -func (m *TransactionPlannerRequest_UndelegateClaim) GetValidatorIdentity() *v12.IdentityKey { +func (m *TransactionPlannerRequest_UndelegateClaim) GetValidatorIdentity() *v1.IdentityKey { if m != nil { return m.ValidatorIdentity } @@ -1117,14 +1345,14 @@ func (m *TransactionPlannerRequest_UndelegateClaim) GetStartEpochIndex() uint64 return 0 } -func (m *TransactionPlannerRequest_UndelegateClaim) GetPenalty() *v19.Penalty { +func (m *TransactionPlannerRequest_UndelegateClaim) GetPenalty() *v111.Penalty { if m != nil { return m.Penalty } return nil } -func (m *TransactionPlannerRequest_UndelegateClaim) GetUnbondingAmount() *v18.Amount { +func (m *TransactionPlannerRequest_UndelegateClaim) GetUnbondingAmount() *v110.Amount { if m != nil { return m.UnbondingAmount } @@ -1143,7 +1371,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 *v110.Position `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` + Position *v12.Position `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"` } func (m *TransactionPlannerRequest_PositionOpen) Reset() { @@ -1152,7 +1380,7 @@ func (m *TransactionPlannerRequest_PositionOpen) Reset() { func (m *TransactionPlannerRequest_PositionOpen) String() string { return proto.CompactTextString(m) } func (*TransactionPlannerRequest_PositionOpen) ProtoMessage() {} func (*TransactionPlannerRequest_PositionOpen) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{4, 6} + return fileDescriptor_dba93d04e42ddfc3, []int{6, 6} } func (m *TransactionPlannerRequest_PositionOpen) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1181,7 +1409,7 @@ func (m *TransactionPlannerRequest_PositionOpen) XXX_DiscardUnknown() { var xxx_messageInfo_TransactionPlannerRequest_PositionOpen proto.InternalMessageInfo -func (m *TransactionPlannerRequest_PositionOpen) GetPosition() *v110.Position { +func (m *TransactionPlannerRequest_PositionOpen) GetPosition() *v12.Position { if m != nil { return m.Position } @@ -1190,7 +1418,7 @@ func (m *TransactionPlannerRequest_PositionOpen) GetPosition() *v110.Position { type TransactionPlannerRequest_PositionClose struct { // The position to close. - PositionId *v110.PositionId `protobuf:"bytes,1,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` + PositionId *v12.PositionId `protobuf:"bytes,1,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` } func (m *TransactionPlannerRequest_PositionClose) Reset() { @@ -1199,7 +1427,7 @@ func (m *TransactionPlannerRequest_PositionClose) Reset() { func (m *TransactionPlannerRequest_PositionClose) String() string { return proto.CompactTextString(m) } func (*TransactionPlannerRequest_PositionClose) ProtoMessage() {} func (*TransactionPlannerRequest_PositionClose) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{4, 7} + return fileDescriptor_dba93d04e42ddfc3, []int{6, 7} } func (m *TransactionPlannerRequest_PositionClose) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1228,7 +1456,7 @@ func (m *TransactionPlannerRequest_PositionClose) XXX_DiscardUnknown() { var xxx_messageInfo_TransactionPlannerRequest_PositionClose proto.InternalMessageInfo -func (m *TransactionPlannerRequest_PositionClose) GetPositionId() *v110.PositionId { +func (m *TransactionPlannerRequest_PositionClose) GetPositionId() *v12.PositionId { if m != nil { return m.PositionId } @@ -1237,11 +1465,11 @@ func (m *TransactionPlannerRequest_PositionClose) GetPositionId() *v110.Position type TransactionPlannerRequest_PositionWithdraw struct { // The position to withdraw. - PositionId *v110.PositionId `protobuf:"bytes,1,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` + PositionId *v12.PositionId `protobuf:"bytes,1,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` // The position's final reserves. - Reserves *v110.Reserves `protobuf:"bytes,2,opt,name=reserves,proto3" json:"reserves,omitempty"` + Reserves *v12.Reserves `protobuf:"bytes,2,opt,name=reserves,proto3" json:"reserves,omitempty"` // The trading pair of the position. - TradingPair *v110.TradingPair `protobuf:"bytes,3,opt,name=trading_pair,json=tradingPair,proto3" json:"trading_pair,omitempty"` + TradingPair *v12.TradingPair `protobuf:"bytes,3,opt,name=trading_pair,json=tradingPair,proto3" json:"trading_pair,omitempty"` } func (m *TransactionPlannerRequest_PositionWithdraw) Reset() { @@ -1252,7 +1480,7 @@ func (m *TransactionPlannerRequest_PositionWithdraw) String() string { } func (*TransactionPlannerRequest_PositionWithdraw) ProtoMessage() {} func (*TransactionPlannerRequest_PositionWithdraw) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{4, 8} + return fileDescriptor_dba93d04e42ddfc3, []int{6, 8} } func (m *TransactionPlannerRequest_PositionWithdraw) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1281,36 +1509,192 @@ func (m *TransactionPlannerRequest_PositionWithdraw) XXX_DiscardUnknown() { var xxx_messageInfo_TransactionPlannerRequest_PositionWithdraw proto.InternalMessageInfo -func (m *TransactionPlannerRequest_PositionWithdraw) GetPositionId() *v110.PositionId { +func (m *TransactionPlannerRequest_PositionWithdraw) GetPositionId() *v12.PositionId { if m != nil { return m.PositionId } return nil } -func (m *TransactionPlannerRequest_PositionWithdraw) GetReserves() *v110.Reserves { +func (m *TransactionPlannerRequest_PositionWithdraw) GetReserves() *v12.Reserves { if m != nil { return m.Reserves } return nil } -func (m *TransactionPlannerRequest_PositionWithdraw) GetTradingPair() *v110.TradingPair { +func (m *TransactionPlannerRequest_PositionWithdraw) GetTradingPair() *v12.TradingPair { if m != nil { return m.TradingPair } return nil } +type TransactionPlannerRequest_ActionDutchAuctionSchedule struct { + // The description of the auction to schedule. + Description *v11.DutchAuctionDescription `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` +} + +func (m *TransactionPlannerRequest_ActionDutchAuctionSchedule) Reset() { + *m = TransactionPlannerRequest_ActionDutchAuctionSchedule{} +} +func (m *TransactionPlannerRequest_ActionDutchAuctionSchedule) String() string { + return proto.CompactTextString(m) +} +func (*TransactionPlannerRequest_ActionDutchAuctionSchedule) ProtoMessage() {} +func (*TransactionPlannerRequest_ActionDutchAuctionSchedule) Descriptor() ([]byte, []int) { + return fileDescriptor_dba93d04e42ddfc3, []int{6, 9} +} +func (m *TransactionPlannerRequest_ActionDutchAuctionSchedule) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *TransactionPlannerRequest_ActionDutchAuctionSchedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_TransactionPlannerRequest_ActionDutchAuctionSchedule.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 *TransactionPlannerRequest_ActionDutchAuctionSchedule) XXX_Merge(src proto.Message) { + xxx_messageInfo_TransactionPlannerRequest_ActionDutchAuctionSchedule.Merge(m, src) +} +func (m *TransactionPlannerRequest_ActionDutchAuctionSchedule) XXX_Size() int { + return m.Size() +} +func (m *TransactionPlannerRequest_ActionDutchAuctionSchedule) XXX_DiscardUnknown() { + xxx_messageInfo_TransactionPlannerRequest_ActionDutchAuctionSchedule.DiscardUnknown(m) +} + +var xxx_messageInfo_TransactionPlannerRequest_ActionDutchAuctionSchedule proto.InternalMessageInfo + +func (m *TransactionPlannerRequest_ActionDutchAuctionSchedule) GetDescription() *v11.DutchAuctionDescription { + if m != nil { + return m.Description + } + return nil +} + +type TransactionPlannerRequest_ActionDutchAuctionEnd struct { + // The unique id of the auction to close. + AuctionId *v11.AuctionId `protobuf:"bytes,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"` +} + +func (m *TransactionPlannerRequest_ActionDutchAuctionEnd) Reset() { + *m = TransactionPlannerRequest_ActionDutchAuctionEnd{} +} +func (m *TransactionPlannerRequest_ActionDutchAuctionEnd) String() string { + return proto.CompactTextString(m) +} +func (*TransactionPlannerRequest_ActionDutchAuctionEnd) ProtoMessage() {} +func (*TransactionPlannerRequest_ActionDutchAuctionEnd) Descriptor() ([]byte, []int) { + return fileDescriptor_dba93d04e42ddfc3, []int{6, 10} +} +func (m *TransactionPlannerRequest_ActionDutchAuctionEnd) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *TransactionPlannerRequest_ActionDutchAuctionEnd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_TransactionPlannerRequest_ActionDutchAuctionEnd.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 *TransactionPlannerRequest_ActionDutchAuctionEnd) XXX_Merge(src proto.Message) { + xxx_messageInfo_TransactionPlannerRequest_ActionDutchAuctionEnd.Merge(m, src) +} +func (m *TransactionPlannerRequest_ActionDutchAuctionEnd) XXX_Size() int { + return m.Size() +} +func (m *TransactionPlannerRequest_ActionDutchAuctionEnd) XXX_DiscardUnknown() { + xxx_messageInfo_TransactionPlannerRequest_ActionDutchAuctionEnd.DiscardUnknown(m) +} + +var xxx_messageInfo_TransactionPlannerRequest_ActionDutchAuctionEnd proto.InternalMessageInfo + +func (m *TransactionPlannerRequest_ActionDutchAuctionEnd) GetAuctionId() *v11.AuctionId { + if m != nil { + return m.AuctionId + } + return nil +} + +type TransactionPlannerRequest_ActionDutchAuctionWithdraw struct { + // The auction to withdraw funds from. + AuctionId *v11.AuctionId `protobuf:"bytes,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty"` + // The sequence number of the withdrawal. + Seq uint64 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"` +} + +func (m *TransactionPlannerRequest_ActionDutchAuctionWithdraw) Reset() { + *m = TransactionPlannerRequest_ActionDutchAuctionWithdraw{} +} +func (m *TransactionPlannerRequest_ActionDutchAuctionWithdraw) String() string { + return proto.CompactTextString(m) +} +func (*TransactionPlannerRequest_ActionDutchAuctionWithdraw) ProtoMessage() {} +func (*TransactionPlannerRequest_ActionDutchAuctionWithdraw) Descriptor() ([]byte, []int) { + return fileDescriptor_dba93d04e42ddfc3, []int{6, 11} +} +func (m *TransactionPlannerRequest_ActionDutchAuctionWithdraw) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *TransactionPlannerRequest_ActionDutchAuctionWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_TransactionPlannerRequest_ActionDutchAuctionWithdraw.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 *TransactionPlannerRequest_ActionDutchAuctionWithdraw) XXX_Merge(src proto.Message) { + xxx_messageInfo_TransactionPlannerRequest_ActionDutchAuctionWithdraw.Merge(m, src) +} +func (m *TransactionPlannerRequest_ActionDutchAuctionWithdraw) XXX_Size() int { + return m.Size() +} +func (m *TransactionPlannerRequest_ActionDutchAuctionWithdraw) XXX_DiscardUnknown() { + xxx_messageInfo_TransactionPlannerRequest_ActionDutchAuctionWithdraw.DiscardUnknown(m) +} + +var xxx_messageInfo_TransactionPlannerRequest_ActionDutchAuctionWithdraw proto.InternalMessageInfo + +func (m *TransactionPlannerRequest_ActionDutchAuctionWithdraw) GetAuctionId() *v11.AuctionId { + if m != nil { + return m.AuctionId + } + return nil +} + +func (m *TransactionPlannerRequest_ActionDutchAuctionWithdraw) GetSeq() uint64 { + if m != nil { + return m.Seq + } + return 0 +} + type TransactionPlannerResponse struct { - Plan *v1.TransactionPlan `protobuf:"bytes,1,opt,name=plan,proto3" json:"plan,omitempty"` + Plan *v13.TransactionPlan `protobuf:"bytes,1,opt,name=plan,proto3" json:"plan,omitempty"` } func (m *TransactionPlannerResponse) Reset() { *m = TransactionPlannerResponse{} } func (m *TransactionPlannerResponse) String() string { return proto.CompactTextString(m) } func (*TransactionPlannerResponse) ProtoMessage() {} func (*TransactionPlannerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{5} + return fileDescriptor_dba93d04e42ddfc3, []int{7} } func (m *TransactionPlannerResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1339,7 +1723,7 @@ func (m *TransactionPlannerResponse) XXX_DiscardUnknown() { var xxx_messageInfo_TransactionPlannerResponse proto.InternalMessageInfo -func (m *TransactionPlannerResponse) GetPlan() *v1.TransactionPlan { +func (m *TransactionPlannerResponse) GetPlan() *v13.TransactionPlan { if m != nil { return m.Plan } @@ -1347,14 +1731,14 @@ func (m *TransactionPlannerResponse) GetPlan() *v1.TransactionPlan { } type AddressByIndexRequest struct { - AddressIndex *v12.AddressIndex `protobuf:"bytes,1,opt,name=address_index,json=addressIndex,proto3" json:"address_index,omitempty"` + AddressIndex *v1.AddressIndex `protobuf:"bytes,1,opt,name=address_index,json=addressIndex,proto3" json:"address_index,omitempty"` } func (m *AddressByIndexRequest) Reset() { *m = AddressByIndexRequest{} } func (m *AddressByIndexRequest) String() string { return proto.CompactTextString(m) } func (*AddressByIndexRequest) ProtoMessage() {} func (*AddressByIndexRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{6} + return fileDescriptor_dba93d04e42ddfc3, []int{8} } func (m *AddressByIndexRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1383,7 +1767,7 @@ func (m *AddressByIndexRequest) XXX_DiscardUnknown() { var xxx_messageInfo_AddressByIndexRequest proto.InternalMessageInfo -func (m *AddressByIndexRequest) GetAddressIndex() *v12.AddressIndex { +func (m *AddressByIndexRequest) GetAddressIndex() *v1.AddressIndex { if m != nil { return m.AddressIndex } @@ -1391,14 +1775,14 @@ func (m *AddressByIndexRequest) GetAddressIndex() *v12.AddressIndex { } type AddressByIndexResponse struct { - Address *v12.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Address *v1.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` } func (m *AddressByIndexResponse) Reset() { *m = AddressByIndexResponse{} } func (m *AddressByIndexResponse) String() string { return proto.CompactTextString(m) } func (*AddressByIndexResponse) ProtoMessage() {} func (*AddressByIndexResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{7} + return fileDescriptor_dba93d04e42ddfc3, []int{9} } func (m *AddressByIndexResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1427,7 +1811,7 @@ func (m *AddressByIndexResponse) XXX_DiscardUnknown() { var xxx_messageInfo_AddressByIndexResponse proto.InternalMessageInfo -func (m *AddressByIndexResponse) GetAddress() *v12.Address { +func (m *AddressByIndexResponse) GetAddress() *v1.Address { if m != nil { return m.Address } @@ -1441,7 +1825,7 @@ func (m *WalletIdRequest) Reset() { *m = WalletIdRequest{} } func (m *WalletIdRequest) String() string { return proto.CompactTextString(m) } func (*WalletIdRequest) ProtoMessage() {} func (*WalletIdRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{8} + return fileDescriptor_dba93d04e42ddfc3, []int{10} } func (m *WalletIdRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1471,14 +1855,14 @@ func (m *WalletIdRequest) XXX_DiscardUnknown() { var xxx_messageInfo_WalletIdRequest proto.InternalMessageInfo type WalletIdResponse struct { - WalletId *v12.WalletId `protobuf:"bytes,1,opt,name=wallet_id,json=walletId,proto3" json:"wallet_id,omitempty"` + WalletId *v1.WalletId `protobuf:"bytes,1,opt,name=wallet_id,json=walletId,proto3" json:"wallet_id,omitempty"` } func (m *WalletIdResponse) Reset() { *m = WalletIdResponse{} } func (m *WalletIdResponse) String() string { return proto.CompactTextString(m) } func (*WalletIdResponse) ProtoMessage() {} func (*WalletIdResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{9} + return fileDescriptor_dba93d04e42ddfc3, []int{11} } func (m *WalletIdResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1507,7 +1891,7 @@ func (m *WalletIdResponse) XXX_DiscardUnknown() { var xxx_messageInfo_WalletIdResponse proto.InternalMessageInfo -func (m *WalletIdResponse) GetWalletId() *v12.WalletId { +func (m *WalletIdResponse) GetWalletId() *v1.WalletId { if m != nil { return m.WalletId } @@ -1515,14 +1899,14 @@ func (m *WalletIdResponse) GetWalletId() *v12.WalletId { } type IndexByAddressRequest struct { - Address *v12.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Address *v1.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` } func (m *IndexByAddressRequest) Reset() { *m = IndexByAddressRequest{} } func (m *IndexByAddressRequest) String() string { return proto.CompactTextString(m) } func (*IndexByAddressRequest) ProtoMessage() {} func (*IndexByAddressRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{10} + return fileDescriptor_dba93d04e42ddfc3, []int{12} } func (m *IndexByAddressRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1551,7 +1935,7 @@ func (m *IndexByAddressRequest) XXX_DiscardUnknown() { var xxx_messageInfo_IndexByAddressRequest proto.InternalMessageInfo -func (m *IndexByAddressRequest) GetAddress() *v12.Address { +func (m *IndexByAddressRequest) GetAddress() *v1.Address { if m != nil { return m.Address } @@ -1560,14 +1944,14 @@ func (m *IndexByAddressRequest) GetAddress() *v12.Address { type IndexByAddressResponse struct { // Will be absent if given an address not viewable by this viewing service - AddressIndex *v12.AddressIndex `protobuf:"bytes,1,opt,name=address_index,json=addressIndex,proto3" json:"address_index,omitempty"` + AddressIndex *v1.AddressIndex `protobuf:"bytes,1,opt,name=address_index,json=addressIndex,proto3" json:"address_index,omitempty"` } func (m *IndexByAddressResponse) Reset() { *m = IndexByAddressResponse{} } func (m *IndexByAddressResponse) String() string { return proto.CompactTextString(m) } func (*IndexByAddressResponse) ProtoMessage() {} func (*IndexByAddressResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{11} + return fileDescriptor_dba93d04e42ddfc3, []int{13} } func (m *IndexByAddressResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1596,7 +1980,7 @@ func (m *IndexByAddressResponse) XXX_DiscardUnknown() { var xxx_messageInfo_IndexByAddressResponse proto.InternalMessageInfo -func (m *IndexByAddressResponse) GetAddressIndex() *v12.AddressIndex { +func (m *IndexByAddressResponse) GetAddressIndex() *v1.AddressIndex { if m != nil { return m.AddressIndex } @@ -1604,14 +1988,14 @@ func (m *IndexByAddressResponse) GetAddressIndex() *v12.AddressIndex { } type EphemeralAddressRequest struct { - AddressIndex *v12.AddressIndex `protobuf:"bytes,1,opt,name=address_index,json=addressIndex,proto3" json:"address_index,omitempty"` + AddressIndex *v1.AddressIndex `protobuf:"bytes,1,opt,name=address_index,json=addressIndex,proto3" json:"address_index,omitempty"` } func (m *EphemeralAddressRequest) Reset() { *m = EphemeralAddressRequest{} } func (m *EphemeralAddressRequest) String() string { return proto.CompactTextString(m) } func (*EphemeralAddressRequest) ProtoMessage() {} func (*EphemeralAddressRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{12} + return fileDescriptor_dba93d04e42ddfc3, []int{14} } func (m *EphemeralAddressRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1640,7 +2024,7 @@ func (m *EphemeralAddressRequest) XXX_DiscardUnknown() { var xxx_messageInfo_EphemeralAddressRequest proto.InternalMessageInfo -func (m *EphemeralAddressRequest) GetAddressIndex() *v12.AddressIndex { +func (m *EphemeralAddressRequest) GetAddressIndex() *v1.AddressIndex { if m != nil { return m.AddressIndex } @@ -1648,14 +2032,14 @@ func (m *EphemeralAddressRequest) GetAddressIndex() *v12.AddressIndex { } type EphemeralAddressResponse struct { - Address *v12.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Address *v1.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` } func (m *EphemeralAddressResponse) Reset() { *m = EphemeralAddressResponse{} } func (m *EphemeralAddressResponse) String() string { return proto.CompactTextString(m) } func (*EphemeralAddressResponse) ProtoMessage() {} func (*EphemeralAddressResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{13} + return fileDescriptor_dba93d04e42ddfc3, []int{15} } func (m *EphemeralAddressResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1684,7 +2068,7 @@ func (m *EphemeralAddressResponse) XXX_DiscardUnknown() { var xxx_messageInfo_EphemeralAddressResponse proto.InternalMessageInfo -func (m *EphemeralAddressResponse) GetAddress() *v12.Address { +func (m *EphemeralAddressResponse) GetAddress() *v1.Address { if m != nil { return m.Address } @@ -1693,16 +2077,16 @@ func (m *EphemeralAddressResponse) GetAddress() *v12.Address { type BalancesRequest struct { // If present, filter balances to only include the account specified by the `AddressIndex`. - AccountFilter *v12.AddressIndex `protobuf:"bytes,1,opt,name=account_filter,json=accountFilter,proto3" json:"account_filter,omitempty"` + AccountFilter *v1.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 *v16.AssetId `protobuf:"bytes,2,opt,name=asset_id_filter,json=assetIdFilter,proto3" json:"asset_id_filter,omitempty"` + AssetIdFilter *v18.AssetId `protobuf:"bytes,2,opt,name=asset_id_filter,json=assetIdFilter,proto3" json:"asset_id_filter,omitempty"` } func (m *BalancesRequest) Reset() { *m = BalancesRequest{} } func (m *BalancesRequest) String() string { return proto.CompactTextString(m) } func (*BalancesRequest) ProtoMessage() {} func (*BalancesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{14} + return fileDescriptor_dba93d04e42ddfc3, []int{16} } func (m *BalancesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1731,14 +2115,14 @@ func (m *BalancesRequest) XXX_DiscardUnknown() { var xxx_messageInfo_BalancesRequest proto.InternalMessageInfo -func (m *BalancesRequest) GetAccountFilter() *v12.AddressIndex { +func (m *BalancesRequest) GetAccountFilter() *v1.AddressIndex { if m != nil { return m.AccountFilter } return nil } -func (m *BalancesRequest) GetAssetIdFilter() *v16.AssetId { +func (m *BalancesRequest) GetAssetIdFilter() *v18.AssetId { if m != nil { return m.AssetIdFilter } @@ -1747,23 +2131,23 @@ func (m *BalancesRequest) GetAssetIdFilter() *v16.AssetId { type BalancesResponse struct { // Deprecated: use `account_address` instead. - Account *v12.AddressIndex `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // Deprecated: Do not use. + Account *v1.AddressIndex `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // Deprecated: Do not use. // Deprecated: use `balance_view` instead. - Balance *v16.Value `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"` // Deprecated: Do not use. + Balance *v18.Value `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"` // Deprecated: Do not use. // The default address for the account. // // Note that the returned balance is for all funds sent to the account, // not just funds sent to its default address. - AccountAddress *v12.AddressView `protobuf:"bytes,3,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"` + AccountAddress *v1.AddressView `protobuf:"bytes,3,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"` // The account's balance, with metadata. - BalanceView *v16.ValueView `protobuf:"bytes,4,opt,name=balance_view,json=balanceView,proto3" json:"balance_view,omitempty"` + BalanceView *v18.ValueView `protobuf:"bytes,4,opt,name=balance_view,json=balanceView,proto3" json:"balance_view,omitempty"` } func (m *BalancesResponse) Reset() { *m = BalancesResponse{} } func (m *BalancesResponse) String() string { return proto.CompactTextString(m) } func (*BalancesResponse) ProtoMessage() {} func (*BalancesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{15} + return fileDescriptor_dba93d04e42ddfc3, []int{17} } func (m *BalancesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1793,7 +2177,7 @@ func (m *BalancesResponse) XXX_DiscardUnknown() { var xxx_messageInfo_BalancesResponse proto.InternalMessageInfo // Deprecated: Do not use. -func (m *BalancesResponse) GetAccount() *v12.AddressIndex { +func (m *BalancesResponse) GetAccount() *v1.AddressIndex { if m != nil { return m.Account } @@ -1801,21 +2185,21 @@ func (m *BalancesResponse) GetAccount() *v12.AddressIndex { } // Deprecated: Do not use. -func (m *BalancesResponse) GetBalance() *v16.Value { +func (m *BalancesResponse) GetBalance() *v18.Value { if m != nil { return m.Balance } return nil } -func (m *BalancesResponse) GetAccountAddress() *v12.AddressView { +func (m *BalancesResponse) GetAccountAddress() *v1.AddressView { if m != nil { return m.AccountAddress } return nil } -func (m *BalancesResponse) GetBalanceView() *v16.ValueView { +func (m *BalancesResponse) GetBalanceView() *v18.ValueView { if m != nil { return m.BalanceView } @@ -1830,7 +2214,7 @@ 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_dba93d04e42ddfc3, []int{16} + return fileDescriptor_dba93d04e42ddfc3, []int{18} } func (m *StatusRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1873,7 +2257,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_dba93d04e42ddfc3, []int{17} + return fileDescriptor_dba93d04e42ddfc3, []int{19} } func (m *StatusResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1931,7 +2315,7 @@ 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_dba93d04e42ddfc3, []int{18} + return fileDescriptor_dba93d04e42ddfc3, []int{20} } func (m *StatusStreamRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1974,7 +2358,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_dba93d04e42ddfc3, []int{19} + return fileDescriptor_dba93d04e42ddfc3, []int{21} } func (m *StatusStreamResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2032,20 +2416,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 *v16.AssetId `protobuf:"bytes,3,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` + AssetId *v18.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.v1. - AddressIndex *v12.AddressIndex `protobuf:"bytes,4,opt,name=address_index,json=addressIndex,proto3" json:"address_index,omitempty"` + AddressIndex *v1.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 *v18.Amount `protobuf:"bytes,6,opt,name=amount_to_spend,json=amountToSpend,proto3" json:"amount_to_spend,omitempty"` + AmountToSpend *v110.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_dba93d04e42ddfc3, []int{20} + return fileDescriptor_dba93d04e42ddfc3, []int{22} } func (m *NotesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2081,21 +2465,21 @@ func (m *NotesRequest) GetIncludeSpent() bool { return false } -func (m *NotesRequest) GetAssetId() *v16.AssetId { +func (m *NotesRequest) GetAssetId() *v18.AssetId { if m != nil { return m.AssetId } return nil } -func (m *NotesRequest) GetAddressIndex() *v12.AddressIndex { +func (m *NotesRequest) GetAddressIndex() *v1.AddressIndex { if m != nil { return m.AddressIndex } return nil } -func (m *NotesRequest) GetAmountToSpend() *v18.Amount { +func (m *NotesRequest) GetAmountToSpend() *v110.Amount { if m != nil { return m.AmountToSpend } @@ -2107,14 +2491,14 @@ 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 *v12.AddressIndex `protobuf:"bytes,3,opt,name=address_index,json=addressIndex,proto3" json:"address_index,omitempty"` + AddressIndex *v1.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_dba93d04e42ddfc3, []int{21} + return fileDescriptor_dba93d04e42ddfc3, []int{23} } func (m *NotesForVotingRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2150,7 +2534,7 @@ func (m *NotesForVotingRequest) GetVotableAtHeight() uint64 { return 0 } -func (m *NotesForVotingRequest) GetAddressIndex() *v12.AddressIndex { +func (m *NotesForVotingRequest) GetAddressIndex() *v1.AddressIndex { if m != nil { return m.AddressIndex } @@ -2159,14 +2543,14 @@ func (m *NotesForVotingRequest) GetAddressIndex() *v12.AddressIndex { type WitnessRequest struct { // The transaction plan to witness - TransactionPlan *v1.TransactionPlan `protobuf:"bytes,3,opt,name=transaction_plan,json=transactionPlan,proto3" json:"transaction_plan,omitempty"` + TransactionPlan *v13.TransactionPlan `protobuf:"bytes,3,opt,name=transaction_plan,json=transactionPlan,proto3" json:"transaction_plan,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_dba93d04e42ddfc3, []int{22} + return fileDescriptor_dba93d04e42ddfc3, []int{24} } func (m *WitnessRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2195,7 +2579,7 @@ func (m *WitnessRequest) XXX_DiscardUnknown() { var xxx_messageInfo_WitnessRequest proto.InternalMessageInfo -func (m *WitnessRequest) GetTransactionPlan() *v1.TransactionPlan { +func (m *WitnessRequest) GetTransactionPlan() *v13.TransactionPlan { if m != nil { return m.TransactionPlan } @@ -2203,14 +2587,14 @@ func (m *WitnessRequest) GetTransactionPlan() *v1.TransactionPlan { } type WitnessResponse struct { - WitnessData *v1.WitnessData `protobuf:"bytes,1,opt,name=witness_data,json=witnessData,proto3" json:"witness_data,omitempty"` + WitnessData *v13.WitnessData `protobuf:"bytes,1,opt,name=witness_data,json=witnessData,proto3" json:"witness_data,omitempty"` } 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_dba93d04e42ddfc3, []int{23} + return fileDescriptor_dba93d04e42ddfc3, []int{25} } func (m *WitnessResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2239,7 +2623,7 @@ func (m *WitnessResponse) XXX_DiscardUnknown() { var xxx_messageInfo_WitnessResponse proto.InternalMessageInfo -func (m *WitnessResponse) GetWitnessData() *v1.WitnessData { +func (m *WitnessResponse) GetWitnessData() *v13.WitnessData { if m != nil { return m.WitnessData } @@ -2247,15 +2631,15 @@ func (m *WitnessResponse) GetWitnessData() *v1.WitnessData { } type WitnessAndBuildRequest struct { - TransactionPlan *v1.TransactionPlan `protobuf:"bytes,1,opt,name=transaction_plan,json=transactionPlan,proto3" json:"transaction_plan,omitempty"` - AuthorizationData *v1.AuthorizationData `protobuf:"bytes,2,opt,name=authorization_data,json=authorizationData,proto3" json:"authorization_data,omitempty"` + TransactionPlan *v13.TransactionPlan `protobuf:"bytes,1,opt,name=transaction_plan,json=transactionPlan,proto3" json:"transaction_plan,omitempty"` + AuthorizationData *v13.AuthorizationData `protobuf:"bytes,2,opt,name=authorization_data,json=authorizationData,proto3" json:"authorization_data,omitempty"` } 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_dba93d04e42ddfc3, []int{24} + return fileDescriptor_dba93d04e42ddfc3, []int{26} } func (m *WitnessAndBuildRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2284,14 +2668,14 @@ func (m *WitnessAndBuildRequest) XXX_DiscardUnknown() { var xxx_messageInfo_WitnessAndBuildRequest proto.InternalMessageInfo -func (m *WitnessAndBuildRequest) GetTransactionPlan() *v1.TransactionPlan { +func (m *WitnessAndBuildRequest) GetTransactionPlan() *v13.TransactionPlan { if m != nil { return m.TransactionPlan } return nil } -func (m *WitnessAndBuildRequest) GetAuthorizationData() *v1.AuthorizationData { +func (m *WitnessAndBuildRequest) GetAuthorizationData() *v13.AuthorizationData { if m != nil { return m.AuthorizationData } @@ -2309,7 +2693,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_dba93d04e42ddfc3, []int{25} + return fileDescriptor_dba93d04e42ddfc3, []int{27} } func (m *WitnessAndBuildResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2393,7 +2777,7 @@ func (m *WitnessAndBuildResponse_BuildProgress) Reset() { *m = WitnessAn func (m *WitnessAndBuildResponse_BuildProgress) String() string { return proto.CompactTextString(m) } func (*WitnessAndBuildResponse_BuildProgress) ProtoMessage() {} func (*WitnessAndBuildResponse_BuildProgress) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{25, 0} + return fileDescriptor_dba93d04e42ddfc3, []int{27, 0} } func (m *WitnessAndBuildResponse_BuildProgress) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2432,14 +2816,14 @@ func (m *WitnessAndBuildResponse_BuildProgress) GetProgress() float32 { // Signals that the transaction is complete. type WitnessAndBuildResponse_Complete struct { // The finished transaction. - Transaction *v1.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` + Transaction *v13.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` } func (m *WitnessAndBuildResponse_Complete) Reset() { *m = WitnessAndBuildResponse_Complete{} } func (m *WitnessAndBuildResponse_Complete) String() string { return proto.CompactTextString(m) } func (*WitnessAndBuildResponse_Complete) ProtoMessage() {} func (*WitnessAndBuildResponse_Complete) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{25, 1} + return fileDescriptor_dba93d04e42ddfc3, []int{27, 1} } func (m *WitnessAndBuildResponse_Complete) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2468,7 +2852,7 @@ func (m *WitnessAndBuildResponse_Complete) XXX_DiscardUnknown() { var xxx_messageInfo_WitnessAndBuildResponse_Complete proto.InternalMessageInfo -func (m *WitnessAndBuildResponse_Complete) GetTransaction() *v1.Transaction { +func (m *WitnessAndBuildResponse_Complete) GetTransaction() *v13.Transaction { if m != nil { return m.Transaction } @@ -2481,7 +2865,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 []*v16.Denom `protobuf:"bytes,2,rep,name=include_specific_denominations,json=includeSpecificDenominations,proto3" json:"include_specific_denominations,omitempty"` + IncludeSpecificDenominations []*v18.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. @@ -2498,7 +2882,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_dba93d04e42ddfc3, []int{26} + return fileDescriptor_dba93d04e42ddfc3, []int{28} } func (m *AssetsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2534,7 +2918,7 @@ func (m *AssetsRequest) GetFiltered() bool { return false } -func (m *AssetsRequest) GetIncludeSpecificDenominations() []*v16.Denom { +func (m *AssetsRequest) GetIncludeSpecificDenominations() []*v18.Denom { if m != nil { return m.IncludeSpecificDenominations } @@ -2578,14 +2962,14 @@ func (m *AssetsRequest) GetIncludeVotingReceiptTokens() bool { // Requests all assets known to the view service. type AssetsResponse struct { - DenomMetadata *v16.Metadata `protobuf:"bytes,2,opt,name=denom_metadata,json=denomMetadata,proto3" json:"denom_metadata,omitempty"` + DenomMetadata *v18.Metadata `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_dba93d04e42ddfc3, []int{27} + return fileDescriptor_dba93d04e42ddfc3, []int{29} } func (m *AssetsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2614,7 +2998,7 @@ func (m *AssetsResponse) XXX_DiscardUnknown() { var xxx_messageInfo_AssetsResponse proto.InternalMessageInfo -func (m *AssetsResponse) GetDenomMetadata() *v16.Metadata { +func (m *AssetsResponse) GetDenomMetadata() *v18.Metadata { if m != nil { return m.DenomMetadata } @@ -2629,7 +3013,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_dba93d04e42ddfc3, []int{28} + return fileDescriptor_dba93d04e42ddfc3, []int{30} } func (m *AppParametersRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2659,14 +3043,14 @@ func (m *AppParametersRequest) XXX_DiscardUnknown() { var xxx_messageInfo_AppParametersRequest proto.InternalMessageInfo type AppParametersResponse struct { - Parameters *v111.AppParameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty"` + Parameters *v112.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_dba93d04e42ddfc3, []int{29} + return fileDescriptor_dba93d04e42ddfc3, []int{31} } func (m *AppParametersResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2695,7 +3079,7 @@ func (m *AppParametersResponse) XXX_DiscardUnknown() { var xxx_messageInfo_AppParametersResponse proto.InternalMessageInfo -func (m *AppParametersResponse) GetParameters() *v111.AppParameters { +func (m *AppParametersResponse) GetParameters() *v112.AppParameters { if m != nil { return m.Parameters } @@ -2710,7 +3094,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_dba93d04e42ddfc3, []int{30} + return fileDescriptor_dba93d04e42ddfc3, []int{32} } func (m *GasPricesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2740,14 +3124,17 @@ func (m *GasPricesRequest) XXX_DiscardUnknown() { var xxx_messageInfo_GasPricesRequest proto.InternalMessageInfo type GasPricesResponse struct { - GasPrices *v14.GasPrices `protobuf:"bytes,1,opt,name=gas_prices,json=gasPrices,proto3" json:"gas_prices,omitempty"` + // The current gas prices, in the preferred (native) token. + GasPrices *v16.GasPrices `protobuf:"bytes,1,opt,name=gas_prices,json=gasPrices,proto3" json:"gas_prices,omitempty"` + // Other gas prices for other accepted tokens. + AltGasPrices []*v16.GasPrices `protobuf:"bytes,2,rep,name=alt_gas_prices,json=altGasPrices,proto3" json:"alt_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_dba93d04e42ddfc3, []int{31} + return fileDescriptor_dba93d04e42ddfc3, []int{33} } func (m *GasPricesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2776,13 +3163,20 @@ func (m *GasPricesResponse) XXX_DiscardUnknown() { var xxx_messageInfo_GasPricesResponse proto.InternalMessageInfo -func (m *GasPricesResponse) GetGasPrices() *v14.GasPrices { +func (m *GasPricesResponse) GetGasPrices() *v16.GasPrices { if m != nil { return m.GasPrices } return nil } +func (m *GasPricesResponse) GetAltGasPrices() []*v16.GasPrices { + if m != nil { + return m.AltGasPrices + } + return nil +} + // Requests the current FMD parameters from the view service. type FMDParametersRequest struct { } @@ -2791,7 +3185,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_dba93d04e42ddfc3, []int{32} + return fileDescriptor_dba93d04e42ddfc3, []int{34} } func (m *FMDParametersRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2821,14 +3215,14 @@ func (m *FMDParametersRequest) XXX_DiscardUnknown() { var xxx_messageInfo_FMDParametersRequest proto.InternalMessageInfo type FMDParametersResponse struct { - Parameters *v112.FmdParameters `protobuf:"bytes,1,opt,name=parameters,proto3" json:"parameters,omitempty"` + Parameters *v113.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_dba93d04e42ddfc3, []int{33} + return fileDescriptor_dba93d04e42ddfc3, []int{35} } func (m *FMDParametersResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2857,7 +3251,7 @@ func (m *FMDParametersResponse) XXX_DiscardUnknown() { var xxx_messageInfo_FMDParametersResponse proto.InternalMessageInfo -func (m *FMDParametersResponse) GetParameters() *v112.FmdParameters { +func (m *FMDParametersResponse) GetParameters() *v113.FmdParameters { if m != nil { return m.Parameters } @@ -2865,7 +3259,7 @@ func (m *FMDParametersResponse) GetParameters() *v112.FmdParameters { } type NoteByCommitmentRequest struct { - NoteCommitment *v17.StateCommitment `protobuf:"bytes,2,opt,name=note_commitment,json=noteCommitment,proto3" json:"note_commitment,omitempty"` + NoteCommitment *v19.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"` } @@ -2874,7 +3268,7 @@ 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_dba93d04e42ddfc3, []int{34} + return fileDescriptor_dba93d04e42ddfc3, []int{36} } func (m *NoteByCommitmentRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2903,7 +3297,7 @@ func (m *NoteByCommitmentRequest) XXX_DiscardUnknown() { var xxx_messageInfo_NoteByCommitmentRequest proto.InternalMessageInfo -func (m *NoteByCommitmentRequest) GetNoteCommitment() *v17.StateCommitment { +func (m *NoteByCommitmentRequest) GetNoteCommitment() *v19.StateCommitment { if m != nil { return m.NoteCommitment } @@ -2925,7 +3319,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_dba93d04e42ddfc3, []int{35} + return fileDescriptor_dba93d04e42ddfc3, []int{37} } func (m *NoteByCommitmentResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2962,7 +3356,7 @@ func (m *NoteByCommitmentResponse) GetSpendableNote() *SpendableNoteRecord { } type SwapByCommitmentRequest struct { - SwapCommitment *v17.StateCommitment `protobuf:"bytes,2,opt,name=swap_commitment,json=swapCommitment,proto3" json:"swap_commitment,omitempty"` + SwapCommitment *v19.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"` } @@ -2971,7 +3365,7 @@ 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_dba93d04e42ddfc3, []int{36} + return fileDescriptor_dba93d04e42ddfc3, []int{38} } func (m *SwapByCommitmentRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3000,7 +3394,7 @@ func (m *SwapByCommitmentRequest) XXX_DiscardUnknown() { var xxx_messageInfo_SwapByCommitmentRequest proto.InternalMessageInfo -func (m *SwapByCommitmentRequest) GetSwapCommitment() *v17.StateCommitment { +func (m *SwapByCommitmentRequest) GetSwapCommitment() *v19.StateCommitment { if m != nil { return m.SwapCommitment } @@ -3022,7 +3416,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_dba93d04e42ddfc3, []int{37} + return fileDescriptor_dba93d04e42ddfc3, []int{39} } func (m *SwapByCommitmentResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3065,7 +3459,7 @@ 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_dba93d04e42ddfc3, []int{38} + return fileDescriptor_dba93d04e42ddfc3, []int{40} } func (m *UnclaimedSwapsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3102,7 +3496,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_dba93d04e42ddfc3, []int{39} + return fileDescriptor_dba93d04e42ddfc3, []int{41} } func (m *UnclaimedSwapsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3139,7 +3533,7 @@ func (m *UnclaimedSwapsResponse) GetSwap() *SwapRecord { } type NullifierStatusRequest struct { - Nullifier *v15.Nullifier `protobuf:"bytes,2,opt,name=nullifier,proto3" json:"nullifier,omitempty"` + Nullifier *v17.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"` } @@ -3147,7 +3541,7 @@ 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_dba93d04e42ddfc3, []int{40} + return fileDescriptor_dba93d04e42ddfc3, []int{42} } func (m *NullifierStatusRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3176,7 +3570,7 @@ func (m *NullifierStatusRequest) XXX_DiscardUnknown() { var xxx_messageInfo_NullifierStatusRequest proto.InternalMessageInfo -func (m *NullifierStatusRequest) GetNullifier() *v15.Nullifier { +func (m *NullifierStatusRequest) GetNullifier() *v17.Nullifier { if m != nil { return m.Nullifier } @@ -3198,7 +3592,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_dba93d04e42ddfc3, []int{41} + return fileDescriptor_dba93d04e42ddfc3, []int{43} } func (m *NullifierStatusResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3236,14 +3630,14 @@ func (m *NullifierStatusResponse) GetSpent() bool { type TransactionInfoByHashRequest struct { // The transaction hash to query for. - Id *v11.TransactionId `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + Id *v14.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_dba93d04e42ddfc3, []int{42} + return fileDescriptor_dba93d04e42ddfc3, []int{44} } func (m *TransactionInfoByHashRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3272,7 +3666,7 @@ func (m *TransactionInfoByHashRequest) XXX_DiscardUnknown() { var xxx_messageInfo_TransactionInfoByHashRequest proto.InternalMessageInfo -func (m *TransactionInfoByHashRequest) GetId() *v11.TransactionId { +func (m *TransactionInfoByHashRequest) GetId() *v14.TransactionId { if m != nil { return m.Id } @@ -3290,7 +3684,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_dba93d04e42ddfc3, []int{43} + return fileDescriptor_dba93d04e42ddfc3, []int{45} } func (m *TransactionInfoRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3337,20 +3731,20 @@ 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 *v11.TransactionId `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + Id *v14.TransactionId `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // The transaction data itself. - Transaction *v1.Transaction `protobuf:"bytes,3,opt,name=transaction,proto3" json:"transaction,omitempty"` + Transaction *v13.Transaction `protobuf:"bytes,3,opt,name=transaction,proto3" json:"transaction,omitempty"` // The transaction perspective, as seen by this view server. - Perspective *v1.TransactionPerspective `protobuf:"bytes,4,opt,name=perspective,proto3" json:"perspective,omitempty"` + Perspective *v13.TransactionPerspective `protobuf:"bytes,4,opt,name=perspective,proto3" json:"perspective,omitempty"` // A precomputed transaction view of `transaction` from `perspective`, included for convenience of clients that don't have support for viewing transactions on their own. - View *v1.TransactionView `protobuf:"bytes,5,opt,name=view,proto3" json:"view,omitempty"` + View *v13.TransactionView `protobuf:"bytes,5,opt,name=view,proto3" json:"view,omitempty"` } 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_dba93d04e42ddfc3, []int{44} + return fileDescriptor_dba93d04e42ddfc3, []int{46} } func (m *TransactionInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3386,28 +3780,28 @@ func (m *TransactionInfo) GetHeight() uint64 { return 0 } -func (m *TransactionInfo) GetId() *v11.TransactionId { +func (m *TransactionInfo) GetId() *v14.TransactionId { if m != nil { return m.Id } return nil } -func (m *TransactionInfo) GetTransaction() *v1.Transaction { +func (m *TransactionInfo) GetTransaction() *v13.Transaction { if m != nil { return m.Transaction } return nil } -func (m *TransactionInfo) GetPerspective() *v1.TransactionPerspective { +func (m *TransactionInfo) GetPerspective() *v13.TransactionPerspective { if m != nil { return m.Perspective } return nil } -func (m *TransactionInfo) GetView() *v1.TransactionView { +func (m *TransactionInfo) GetView() *v13.TransactionView { if m != nil { return m.View } @@ -3422,7 +3816,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_dba93d04e42ddfc3, []int{45} + return fileDescriptor_dba93d04e42ddfc3, []int{47} } func (m *TransactionInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3466,7 +3860,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_dba93d04e42ddfc3, []int{46} + return fileDescriptor_dba93d04e42ddfc3, []int{48} } func (m *TransactionInfoByHashResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3510,7 +3904,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_dba93d04e42ddfc3, []int{47} + return fileDescriptor_dba93d04e42ddfc3, []int{49} } func (m *NotesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3548,14 +3942,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 *v12.IdentityKey `protobuf:"bytes,2,opt,name=identity_key,json=identityKey,proto3" json:"identity_key,omitempty"` + IdentityKey *v1.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_dba93d04e42ddfc3, []int{48} + return fileDescriptor_dba93d04e42ddfc3, []int{50} } func (m *NotesForVotingResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3591,7 +3985,7 @@ func (m *NotesForVotingResponse) GetNoteRecord() *SpendableNoteRecord { return nil } -func (m *NotesForVotingResponse) GetIdentityKey() *v12.IdentityKey { +func (m *NotesForVotingResponse) GetIdentityKey() *v1.IdentityKey { if m != nil { return m.IdentityKey } @@ -3601,13 +3995,13 @@ func (m *NotesForVotingResponse) GetIdentityKey() *v12.IdentityKey { // A note plaintext with associated metadata about its status. type SpendableNoteRecord struct { // The note commitment, identifying the note. - NoteCommitment *v17.StateCommitment `protobuf:"bytes,1,opt,name=note_commitment,json=noteCommitment,proto3" json:"note_commitment,omitempty"` + NoteCommitment *v19.StateCommitment `protobuf:"bytes,1,opt,name=note_commitment,json=noteCommitment,proto3" json:"note_commitment,omitempty"` // The note plaintext itself. - Note *v112.Note `protobuf:"bytes,2,opt,name=note,proto3" json:"note,omitempty"` + Note *v113.Note `protobuf:"bytes,2,opt,name=note,proto3" json:"note,omitempty"` // A precomputed decryption of the note's address incore.component.dex.v1. - AddressIndex *v12.AddressIndex `protobuf:"bytes,3,opt,name=address_index,json=addressIndex,proto3" json:"address_index,omitempty"` + AddressIndex *v1.AddressIndex `protobuf:"bytes,3,opt,name=address_index,json=addressIndex,proto3" json:"address_index,omitempty"` // The note's nullifier. - Nullifier *v15.Nullifier `protobuf:"bytes,4,opt,name=nullifier,proto3" json:"nullifier,omitempty"` + Nullifier *v17.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). @@ -3615,16 +4009,16 @@ type SpendableNoteRecord struct { // The note position. Position uint64 `protobuf:"varint,7,opt,name=position,proto3" json:"position,omitempty"` // The source of the note - Source *v15.CommitmentSource `protobuf:"bytes,8,opt,name=source,proto3" json:"source,omitempty"` + Source *v17.CommitmentSource `protobuf:"bytes,8,opt,name=source,proto3" json:"source,omitempty"` // The sender's return address, if known. - ReturnAddress *v12.AddressView `protobuf:"bytes,9,opt,name=return_address,json=returnAddress,proto3" json:"return_address,omitempty"` + ReturnAddress *v1.AddressView `protobuf:"bytes,9,opt,name=return_address,json=returnAddress,proto3" json:"return_address,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_dba93d04e42ddfc3, []int{49} + return fileDescriptor_dba93d04e42ddfc3, []int{51} } func (m *SpendableNoteRecord) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3653,28 +4047,28 @@ func (m *SpendableNoteRecord) XXX_DiscardUnknown() { var xxx_messageInfo_SpendableNoteRecord proto.InternalMessageInfo -func (m *SpendableNoteRecord) GetNoteCommitment() *v17.StateCommitment { +func (m *SpendableNoteRecord) GetNoteCommitment() *v19.StateCommitment { if m != nil { return m.NoteCommitment } return nil } -func (m *SpendableNoteRecord) GetNote() *v112.Note { +func (m *SpendableNoteRecord) GetNote() *v113.Note { if m != nil { return m.Note } return nil } -func (m *SpendableNoteRecord) GetAddressIndex() *v12.AddressIndex { +func (m *SpendableNoteRecord) GetAddressIndex() *v1.AddressIndex { if m != nil { return m.AddressIndex } return nil } -func (m *SpendableNoteRecord) GetNullifier() *v15.Nullifier { +func (m *SpendableNoteRecord) GetNullifier() *v17.Nullifier { if m != nil { return m.Nullifier } @@ -3702,14 +4096,14 @@ func (m *SpendableNoteRecord) GetPosition() uint64 { return 0 } -func (m *SpendableNoteRecord) GetSource() *v15.CommitmentSource { +func (m *SpendableNoteRecord) GetSource() *v17.CommitmentSource { if m != nil { return m.Source } return nil } -func (m *SpendableNoteRecord) GetReturnAddress() *v12.AddressView { +func (m *SpendableNoteRecord) GetReturnAddress() *v1.AddressView { if m != nil { return m.ReturnAddress } @@ -3717,20 +4111,20 @@ func (m *SpendableNoteRecord) GetReturnAddress() *v12.AddressView { } type SwapRecord struct { - SwapCommitment *v17.StateCommitment `protobuf:"bytes,1,opt,name=swap_commitment,json=swapCommitment,proto3" json:"swap_commitment,omitempty"` - Swap *v110.SwapPlaintext `protobuf:"bytes,2,opt,name=swap,proto3" json:"swap,omitempty"` - Position uint64 `protobuf:"varint,3,opt,name=position,proto3" json:"position,omitempty"` - Nullifier *v15.Nullifier `protobuf:"bytes,4,opt,name=nullifier,proto3" json:"nullifier,omitempty"` - OutputData *v110.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 *v15.CommitmentSource `protobuf:"bytes,7,opt,name=source,proto3" json:"source,omitempty"` + SwapCommitment *v19.StateCommitment `protobuf:"bytes,1,opt,name=swap_commitment,json=swapCommitment,proto3" json:"swap_commitment,omitempty"` + Swap *v12.SwapPlaintext `protobuf:"bytes,2,opt,name=swap,proto3" json:"swap,omitempty"` + Position uint64 `protobuf:"varint,3,opt,name=position,proto3" json:"position,omitempty"` + Nullifier *v17.Nullifier `protobuf:"bytes,4,opt,name=nullifier,proto3" json:"nullifier,omitempty"` + OutputData *v12.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 *v17.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_dba93d04e42ddfc3, []int{50} + return fileDescriptor_dba93d04e42ddfc3, []int{52} } func (m *SwapRecord) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3759,14 +4153,14 @@ func (m *SwapRecord) XXX_DiscardUnknown() { var xxx_messageInfo_SwapRecord proto.InternalMessageInfo -func (m *SwapRecord) GetSwapCommitment() *v17.StateCommitment { +func (m *SwapRecord) GetSwapCommitment() *v19.StateCommitment { if m != nil { return m.SwapCommitment } return nil } -func (m *SwapRecord) GetSwap() *v110.SwapPlaintext { +func (m *SwapRecord) GetSwap() *v12.SwapPlaintext { if m != nil { return m.Swap } @@ -3780,14 +4174,14 @@ func (m *SwapRecord) GetPosition() uint64 { return 0 } -func (m *SwapRecord) GetNullifier() *v15.Nullifier { +func (m *SwapRecord) GetNullifier() *v17.Nullifier { if m != nil { return m.Nullifier } return nil } -func (m *SwapRecord) GetOutputData() *v110.BatchSwapOutputData { +func (m *SwapRecord) GetOutputData() *v12.BatchSwapOutputData { if m != nil { return m.OutputData } @@ -3801,7 +4195,7 @@ func (m *SwapRecord) GetHeightClaimed() uint64 { return 0 } -func (m *SwapRecord) GetSource() *v15.CommitmentSource { +func (m *SwapRecord) GetSource() *v17.CommitmentSource { if m != nil { return m.Source } @@ -3810,16 +4204,16 @@ func (m *SwapRecord) GetSource() *v15.CommitmentSource { type OwnedPositionIdsRequest struct { // If present, return only positions with this position state. - PositionState *v110.PositionState `protobuf:"bytes,1,opt,name=position_state,json=positionState,proto3" json:"position_state,omitempty"` + PositionState *v12.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 *v110.TradingPair `protobuf:"bytes,2,opt,name=trading_pair,json=tradingPair,proto3" json:"trading_pair,omitempty"` + TradingPair *v12.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_dba93d04e42ddfc3, []int{51} + return fileDescriptor_dba93d04e42ddfc3, []int{53} } func (m *OwnedPositionIdsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3848,14 +4242,14 @@ func (m *OwnedPositionIdsRequest) XXX_DiscardUnknown() { var xxx_messageInfo_OwnedPositionIdsRequest proto.InternalMessageInfo -func (m *OwnedPositionIdsRequest) GetPositionState() *v110.PositionState { +func (m *OwnedPositionIdsRequest) GetPositionState() *v12.PositionState { if m != nil { return m.PositionState } return nil } -func (m *OwnedPositionIdsRequest) GetTradingPair() *v110.TradingPair { +func (m *OwnedPositionIdsRequest) GetTradingPair() *v12.TradingPair { if m != nil { return m.TradingPair } @@ -3863,14 +4257,14 @@ func (m *OwnedPositionIdsRequest) GetTradingPair() *v110.TradingPair { } type OwnedPositionIdsResponse struct { - PositionId *v110.PositionId `protobuf:"bytes,1,opt,name=position_id,json=positionId,proto3" json:"position_id,omitempty"` + PositionId *v12.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_dba93d04e42ddfc3, []int{52} + return fileDescriptor_dba93d04e42ddfc3, []int{54} } func (m *OwnedPositionIdsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3899,7 +4293,7 @@ func (m *OwnedPositionIdsResponse) XXX_DiscardUnknown() { var xxx_messageInfo_OwnedPositionIdsResponse proto.InternalMessageInfo -func (m *OwnedPositionIdsResponse) GetPositionId() *v110.PositionId { +func (m *OwnedPositionIdsResponse) GetPositionId() *v12.PositionId { if m != nil { return m.PositionId } @@ -3909,14 +4303,14 @@ func (m *OwnedPositionIdsResponse) GetPositionId() *v110.PositionId { // Requests information on an asset by asset id type AssetMetadataByIdRequest struct { // The asset id to request information on. - AssetId *v16.AssetId `protobuf:"bytes,2,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` + AssetId *v18.AssetId `protobuf:"bytes,2,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` } func (m *AssetMetadataByIdRequest) Reset() { *m = AssetMetadataByIdRequest{} } func (m *AssetMetadataByIdRequest) String() string { return proto.CompactTextString(m) } func (*AssetMetadataByIdRequest) ProtoMessage() {} func (*AssetMetadataByIdRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{53} + return fileDescriptor_dba93d04e42ddfc3, []int{55} } func (m *AssetMetadataByIdRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3945,7 +4339,7 @@ func (m *AssetMetadataByIdRequest) XXX_DiscardUnknown() { var xxx_messageInfo_AssetMetadataByIdRequest proto.InternalMessageInfo -func (m *AssetMetadataByIdRequest) GetAssetId() *v16.AssetId { +func (m *AssetMetadataByIdRequest) GetAssetId() *v18.AssetId { if m != nil { return m.AssetId } @@ -3956,14 +4350,14 @@ type AssetMetadataByIdResponse struct { // If present, information on the requested asset. // // If the requested asset was unknown, this field will not be present. - DenomMetadata *v16.Metadata `protobuf:"bytes,1,opt,name=denom_metadata,json=denomMetadata,proto3" json:"denom_metadata,omitempty"` + DenomMetadata *v18.Metadata `protobuf:"bytes,1,opt,name=denom_metadata,json=denomMetadata,proto3" json:"denom_metadata,omitempty"` } func (m *AssetMetadataByIdResponse) Reset() { *m = AssetMetadataByIdResponse{} } func (m *AssetMetadataByIdResponse) String() string { return proto.CompactTextString(m) } func (*AssetMetadataByIdResponse) ProtoMessage() {} func (*AssetMetadataByIdResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{54} + return fileDescriptor_dba93d04e42ddfc3, []int{56} } func (m *AssetMetadataByIdResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3992,7 +4386,7 @@ func (m *AssetMetadataByIdResponse) XXX_DiscardUnknown() { var xxx_messageInfo_AssetMetadataByIdResponse proto.InternalMessageInfo -func (m *AssetMetadataByIdResponse) GetDenomMetadata() *v16.Metadata { +func (m *AssetMetadataByIdResponse) GetDenomMetadata() *v18.Metadata { if m != nil { return m.DenomMetadata } @@ -4004,7 +4398,7 @@ func (m *AssetMetadataByIdResponse) GetDenomMetadata() *v16.Metadata { // validator in their `extended_metadata` fields. type DelegationsByAddressIndexRequest struct { // The address index to fetch delegation balances for. - AddressIndex *v12.AddressIndex `protobuf:"bytes,1,opt,name=address_index,json=addressIndex,proto3" json:"address_index,omitempty"` + AddressIndex *v1.AddressIndex `protobuf:"bytes,1,opt,name=address_index,json=addressIndex,proto3" json:"address_index,omitempty"` Filter DelegationsByAddressIndexRequest_Filter `protobuf:"varint,2,opt,name=filter,proto3,enum=penumbra.view.v1.DelegationsByAddressIndexRequest_Filter" json:"filter,omitempty"` } @@ -4012,7 +4406,7 @@ func (m *DelegationsByAddressIndexRequest) Reset() { *m = DelegationsByA func (m *DelegationsByAddressIndexRequest) String() string { return proto.CompactTextString(m) } func (*DelegationsByAddressIndexRequest) ProtoMessage() {} func (*DelegationsByAddressIndexRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{55} + return fileDescriptor_dba93d04e42ddfc3, []int{57} } func (m *DelegationsByAddressIndexRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4041,7 +4435,7 @@ func (m *DelegationsByAddressIndexRequest) XXX_DiscardUnknown() { var xxx_messageInfo_DelegationsByAddressIndexRequest proto.InternalMessageInfo -func (m *DelegationsByAddressIndexRequest) GetAddressIndex() *v12.AddressIndex { +func (m *DelegationsByAddressIndexRequest) GetAddressIndex() *v1.AddressIndex { if m != nil { return m.AddressIndex } @@ -4059,14 +4453,14 @@ func (m *DelegationsByAddressIndexRequest) GetFilter() DelegationsByAddressIndex // The `ValueView` includes the `ValidatorInfo` for the delegated validator in // cits `extended_metadata` field. type DelegationsByAddressIndexResponse struct { - ValueView *v16.ValueView `protobuf:"bytes,1,opt,name=value_view,json=valueView,proto3" json:"value_view,omitempty"` + ValueView *v18.ValueView `protobuf:"bytes,1,opt,name=value_view,json=valueView,proto3" json:"value_view,omitempty"` } func (m *DelegationsByAddressIndexResponse) Reset() { *m = DelegationsByAddressIndexResponse{} } func (m *DelegationsByAddressIndexResponse) String() string { return proto.CompactTextString(m) } func (*DelegationsByAddressIndexResponse) ProtoMessage() {} func (*DelegationsByAddressIndexResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dba93d04e42ddfc3, []int{56} + return fileDescriptor_dba93d04e42ddfc3, []int{58} } func (m *DelegationsByAddressIndexResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4095,15 +4489,131 @@ func (m *DelegationsByAddressIndexResponse) XXX_DiscardUnknown() { var xxx_messageInfo_DelegationsByAddressIndexResponse proto.InternalMessageInfo -func (m *DelegationsByAddressIndexResponse) GetValueView() *v16.ValueView { +func (m *DelegationsByAddressIndexResponse) GetValueView() *v18.ValueView { + if m != nil { + return m.ValueView + } + return nil +} + +// Requests unbonding tokens for a given address index, with optional filtering +// for whether the tokens are currently claimable. +type UnbondingTokensByAddressIndexRequest struct { + Filter UnbondingTokensByAddressIndexRequest_Filter `protobuf:"varint,1,opt,name=filter,proto3,enum=penumbra.view.v1.UnbondingTokensByAddressIndexRequest_Filter" json:"filter,omitempty"` + // The address index to fetch unbonding tokens for. + AddressIndex *v1.AddressIndex `protobuf:"bytes,2,opt,name=address_index,json=addressIndex,proto3" json:"address_index,omitempty"` +} + +func (m *UnbondingTokensByAddressIndexRequest) Reset() { *m = UnbondingTokensByAddressIndexRequest{} } +func (m *UnbondingTokensByAddressIndexRequest) String() string { return proto.CompactTextString(m) } +func (*UnbondingTokensByAddressIndexRequest) ProtoMessage() {} +func (*UnbondingTokensByAddressIndexRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_dba93d04e42ddfc3, []int{59} +} +func (m *UnbondingTokensByAddressIndexRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UnbondingTokensByAddressIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UnbondingTokensByAddressIndexRequest.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 *UnbondingTokensByAddressIndexRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UnbondingTokensByAddressIndexRequest.Merge(m, src) +} +func (m *UnbondingTokensByAddressIndexRequest) XXX_Size() int { + return m.Size() +} +func (m *UnbondingTokensByAddressIndexRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UnbondingTokensByAddressIndexRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UnbondingTokensByAddressIndexRequest proto.InternalMessageInfo + +func (m *UnbondingTokensByAddressIndexRequest) GetFilter() UnbondingTokensByAddressIndexRequest_Filter { + if m != nil { + return m.Filter + } + return UnbondingTokensByAddressIndexRequest_FILTER_UNSPECIFIED +} + +func (m *UnbondingTokensByAddressIndexRequest) GetAddressIndex() *v1.AddressIndex { + if m != nil { + return m.AddressIndex + } + return nil +} + +// Returns unbonding tokens for the given address index, optionally filtered by +// whether the tokens are currently claimable. +type UnbondingTokensByAddressIndexResponse struct { + // A `ValueView` representing the amount of the given unbonding token. + ValueView *v18.ValueView `protobuf:"bytes,1,opt,name=value_view,json=valueView,proto3" json:"value_view,omitempty"` + // Whether the unbonding token is currently claimable. This will only be + // `true` if the `unbonding_delay` (from `StakeParameters`) has passed or the + // validator has unbonded. + Claimable bool `protobuf:"varint,2,opt,name=claimable,proto3" json:"claimable,omitempty"` +} + +func (m *UnbondingTokensByAddressIndexResponse) Reset() { *m = UnbondingTokensByAddressIndexResponse{} } +func (m *UnbondingTokensByAddressIndexResponse) String() string { return proto.CompactTextString(m) } +func (*UnbondingTokensByAddressIndexResponse) ProtoMessage() {} +func (*UnbondingTokensByAddressIndexResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_dba93d04e42ddfc3, []int{60} +} +func (m *UnbondingTokensByAddressIndexResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UnbondingTokensByAddressIndexResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UnbondingTokensByAddressIndexResponse.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 *UnbondingTokensByAddressIndexResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UnbondingTokensByAddressIndexResponse.Merge(m, src) +} +func (m *UnbondingTokensByAddressIndexResponse) XXX_Size() int { + return m.Size() +} +func (m *UnbondingTokensByAddressIndexResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UnbondingTokensByAddressIndexResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UnbondingTokensByAddressIndexResponse proto.InternalMessageInfo + +func (m *UnbondingTokensByAddressIndexResponse) GetValueView() *v18.ValueView { if m != nil { return m.ValueView } return nil } +func (m *UnbondingTokensByAddressIndexResponse) GetClaimable() bool { + if m != nil { + return m.Claimable + } + return false +} + func init() { proto.RegisterEnum("penumbra.view.v1.DelegationsByAddressIndexRequest_Filter", DelegationsByAddressIndexRequest_Filter_name, DelegationsByAddressIndexRequest_Filter_value) + proto.RegisterEnum("penumbra.view.v1.UnbondingTokensByAddressIndexRequest_Filter", UnbondingTokensByAddressIndexRequest_Filter_name, UnbondingTokensByAddressIndexRequest_Filter_value) + proto.RegisterType((*AuctionsRequest)(nil), "penumbra.view.v1.AuctionsRequest") + proto.RegisterType((*AuctionsResponse)(nil), "penumbra.view.v1.AuctionsResponse") proto.RegisterType((*AuthorizeAndBuildRequest)(nil), "penumbra.view.v1.AuthorizeAndBuildRequest") proto.RegisterType((*AuthorizeAndBuildResponse)(nil), "penumbra.view.v1.AuthorizeAndBuildResponse") proto.RegisterType((*AuthorizeAndBuildResponse_BuildProgress)(nil), "penumbra.view.v1.AuthorizeAndBuildResponse.BuildProgress") @@ -4122,6 +4632,9 @@ func init() { proto.RegisterType((*TransactionPlannerRequest_PositionOpen)(nil), "penumbra.view.v1.TransactionPlannerRequest.PositionOpen") proto.RegisterType((*TransactionPlannerRequest_PositionClose)(nil), "penumbra.view.v1.TransactionPlannerRequest.PositionClose") proto.RegisterType((*TransactionPlannerRequest_PositionWithdraw)(nil), "penumbra.view.v1.TransactionPlannerRequest.PositionWithdraw") + proto.RegisterType((*TransactionPlannerRequest_ActionDutchAuctionSchedule)(nil), "penumbra.view.v1.TransactionPlannerRequest.ActionDutchAuctionSchedule") + proto.RegisterType((*TransactionPlannerRequest_ActionDutchAuctionEnd)(nil), "penumbra.view.v1.TransactionPlannerRequest.ActionDutchAuctionEnd") + proto.RegisterType((*TransactionPlannerRequest_ActionDutchAuctionWithdraw)(nil), "penumbra.view.v1.TransactionPlannerRequest.ActionDutchAuctionWithdraw") proto.RegisterType((*TransactionPlannerResponse)(nil), "penumbra.view.v1.TransactionPlannerResponse") proto.RegisterType((*AddressByIndexRequest)(nil), "penumbra.view.v1.AddressByIndexRequest") proto.RegisterType((*AddressByIndexResponse)(nil), "penumbra.view.v1.AddressByIndexResponse") @@ -4176,253 +4689,286 @@ func init() { proto.RegisterType((*AssetMetadataByIdResponse)(nil), "penumbra.view.v1.AssetMetadataByIdResponse") proto.RegisterType((*DelegationsByAddressIndexRequest)(nil), "penumbra.view.v1.DelegationsByAddressIndexRequest") proto.RegisterType((*DelegationsByAddressIndexResponse)(nil), "penumbra.view.v1.DelegationsByAddressIndexResponse") + proto.RegisterType((*UnbondingTokensByAddressIndexRequest)(nil), "penumbra.view.v1.UnbondingTokensByAddressIndexRequest") + proto.RegisterType((*UnbondingTokensByAddressIndexResponse)(nil), "penumbra.view.v1.UnbondingTokensByAddressIndexResponse") } func init() { proto.RegisterFile("penumbra/view/v1/view.proto", fileDescriptor_dba93d04e42ddfc3) } var fileDescriptor_dba93d04e42ddfc3 = []byte{ - // 3847 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x3b, 0x4d, 0x6f, 0x1b, 0x49, - 0x76, 0x6a, 0x4a, 0x96, 0xa8, 0x27, 0xf1, 0x43, 0x65, 0x4b, 0xa2, 0xb9, 0x1e, 0xd9, 0xee, 0xd9, - 0x19, 0x7f, 0xed, 0x52, 0x1f, 0xf6, 0xee, 0xce, 0x78, 0x1c, 0x6c, 0x44, 0x7d, 0x58, 0x9a, 0xf1, - 0xc8, 0x9c, 0x96, 0x2c, 0x4f, 0x26, 0x9e, 0x74, 0x8a, 0xdd, 0x25, 0xa9, 0x63, 0xb2, 0xbb, 0xd3, - 0x5d, 0xa4, 0xa4, 0xfc, 0x80, 0x00, 0xd9, 0x20, 0x40, 0x80, 0xe4, 0x9c, 0x43, 0x80, 0x4d, 0x82, - 0x04, 0xc8, 0x2d, 0x87, 0x9c, 0x72, 0xdd, 0x0d, 0x10, 0x60, 0x91, 0xd3, 0x5e, 0x02, 0x0c, 0x66, - 0x6e, 0xb9, 0xe7, 0x94, 0x43, 0x82, 0xfa, 0xe8, 0x66, 0x77, 0xb3, 0x5b, 0x24, 0x65, 0x25, 0xc0, - 0x9e, 0x58, 0xf5, 0xea, 0x7d, 0xd5, 0xab, 0xaa, 0x57, 0xaf, 0xde, 0x6b, 0xc2, 0xf7, 0x5c, 0x62, - 0x77, 0xda, 0x4d, 0x0f, 0x2f, 0x77, 0x2d, 0x72, 0xba, 0xdc, 0x5d, 0xe5, 0xbf, 0x35, 0xd7, 0x73, - 0xa8, 0x83, 0xca, 0xc1, 0x60, 0x8d, 0x03, 0xbb, 0xab, 0xd5, 0xa5, 0x10, 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0x03, 0x98, 0x8d, 0xde, 0x14, 0xcc, 0x93, 0x06, - 0xee, 0x55, 0x1a, 0x33, 0xfb, 0x9a, 0x64, 0xef, 0x7f, 0x36, 0x25, 0x89, 0xaf, 0x85, 0x94, 0xd5, - 0x37, 0x50, 0x88, 0xdd, 0x0e, 0xec, 0x01, 0x12, 0xde, 0x06, 0x61, 0x3c, 0xfb, 0x70, 0x58, 0xce, - 0xbb, 0xa6, 0x06, 0x6e, 0xd8, 0xae, 0xfe, 0x97, 0x02, 0xe5, 0xe4, 0xad, 0x70, 0xa5, 0x12, 0x98, - 0x15, 0x3c, 0xe2, 0x13, 0xaf, 0x4b, 0x02, 0x0f, 0x39, 0xd0, 0x0a, 0x9a, 0xc4, 0xd7, 0x42, 0x4a, - 0xb4, 0x07, 0xb3, 0xd4, 0xc3, 0x7c, 0x3d, 0x5c, 0x6c, 0x79, 0x19, 0x31, 0x71, 0x1f, 0xa7, 0x03, - 0x41, 0xd3, 0xc0, 0x96, 0xc7, 0x1f, 0x5e, 0x41, 0xa7, 0x0e, 0x90, 0x3f, 0x22, 0x44, 0x6f, 0x3b, - 0x26, 0x51, 0x75, 0xa8, 0xa6, 0x5d, 0x99, 0xf2, 0x61, 0xb5, 0x0e, 0x13, 0x97, 0x7f, 0xc3, 0x73, - 0x52, 0x15, 0xc3, 0xbc, 0x74, 0x7b, 0xf5, 0x73, 0x11, 0x64, 0xcb, 0x67, 0xc0, 0x0e, 0x14, 0xa4, - 0x0f, 0x95, 0x27, 0x44, 0x19, 0x3e, 0x4e, 0x9f, 0xc5, 0x91, 0x9e, 0xaa, 0xc1, 0x42, 0x52, 0x84, - 0xd4, 0x3f, 0x72, 0x41, 0x29, 0x23, 0x5d, 0x50, 0xea, 0x1c, 0x94, 0x5e, 0xe3, 0x56, 0x8b, 0xdf, - 0x1b, 0x42, 0x61, 0xb5, 0x01, 0xe5, 0x1e, 0x48, 0x0a, 0x78, 0x06, 0xd3, 0xa7, 0x1c, 0xd6, 0xdb, -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e1, 0xea, 0xb7, 0xb9, 0x5b, 0x49, 0xd0, - 0x9b, 0xe7, 0x8d, 0x7a, 0x10, 0x63, 0xfd, 0x67, 0x0e, 0x05, 0xc3, 0x4f, 0x9f, 0xb2, 0xf1, 0xa7, - 0x4f, 0x0f, 0x57, 0x9b, 0x93, 0xfc, 0xaf, 0x7d, 0x8f, 0xff, 0x37, 0x00, 0x00, 0xff, 0xff, 0x04, - 0x1d, 0xb5, 0xb5, 0x1d, 0x3a, 0x00, 0x00, + // 4352 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x3c, 0x4b, 0x6c, 0xdc, 0x48, + 0x76, 0x66, 0x4b, 0x96, 0x5a, 0x4f, 0x6a, 0x75, 0xab, 0xc6, 0x92, 0xdb, 0x3d, 0xb6, 0xec, 0xe1, + 0x7c, 0x2c, 0xdb, 0xb3, 0xad, 0x8f, 0x67, 0xe7, 0x63, 0x7b, 0xb0, 0xe9, 0xd6, 0xc7, 0x92, 0x2d, + 0xcb, 0x3d, 0x94, 0x2c, 0xcf, 0xce, 0x7a, 0xc2, 0x54, 0x93, 0x25, 0x89, 0x31, 0x9b, 0xa4, 0x49, + 0x76, 0xcb, 0x4a, 0xf6, 0x9c, 0x20, 0xbb, 0x08, 0x10, 0x64, 0x73, 0x4d, 0x02, 0x04, 0xd9, 0x04, + 0x48, 0x80, 0xb9, 0xe7, 0x94, 0xeb, 0x6e, 0x80, 0x00, 0x8b, 0x9c, 0xf6, 0x12, 0x60, 0x31, 0x73, + 0xcb, 0x3d, 0xa7, 0x1c, 0x12, 0xb0, 0x3e, 0x6c, 0x92, 0x4d, 0xaa, 0xbb, 0x65, 0x6d, 0x80, 0x3d, + 0x89, 0x7c, 0xf5, 0x7e, 0xf5, 0xaa, 0x58, 0xef, 0x57, 0x2d, 0x78, 0xdb, 0x21, 0x56, 0xbb, 0xd5, + 0x74, 0xf1, 0x62, 0xc7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53, 0x6e, 0xdf, 0x1f, + 0x96, 0xdb, 0x6a, 0x40, 0xad, 0x80, 0x27, 0x1e, 0x29, 0x5f, 0x9d, 0x98, 0xe4, 0x10, 0x33, 0x07, + 0xb4, 0x40, 0xf9, 0x7e, 0x34, 0x0c, 0xdf, 0x35, 0x46, 0x4e, 0x94, 0x28, 0x23, 0xf4, 0x02, 0x0a, + 0x6d, 0x2b, 0xca, 0x79, 0x85, 0x72, 0xfe, 0x78, 0x18, 0xce, 0xcf, 0x04, 0x03, 0xa2, 0xc4, 0x99, + 0x21, 0x13, 0xde, 0x8a, 0x02, 0x84, 0x55, 0xee, 0x52, 0x19, 0xf7, 0xcf, 0x26, 0x83, 0xd9, 0x06, + 0x45, 0xf9, 0x72, 0x1b, 0xed, 0xc1, 0x8c, 0xd1, 0xd4, 0x54, 0x97, 0x98, 0xf8, 0x44, 0x65, 0x5c, + 0xbc, 0xf2, 0x83, 0x3e, 0xae, 0x3a, 0x88, 0x65, 0x3b, 0xcb, 0xd5, 0xad, 0xa6, 0xa6, 0x04, 0x74, + 0x4a, 0xd1, 0xe0, 0x4f, 0x35, 0x4d, 0x58, 0x68, 0xc6, 0xd0, 0xbc, 0x95, 0x25, 0xf5, 0xd8, 0xf0, + 0x8f, 0x74, 0x17, 0x1f, 0x63, 0xd3, 0x2b, 0x7f, 0x4e, 0xb9, 0x2e, 0xf6, 0xe5, 0x1a, 0x10, 0x3e, + 0x0f, 0xe9, 0x94, 0x92, 0x11, 0x07, 0x78, 0x48, 0x85, 0x69, 0x11, 0x1b, 0xa8, 0xb6, 0x43, 0x2c, + 0xaf, 0xbc, 0x41, 0x59, 0x7f, 0x3a, 0x8c, 0x71, 0x44, 0x9c, 0xf1, 0xd4, 0x21, 0x96, 0x52, 0x70, + 0x22, 0x6f, 0x1e, 0x6a, 0x42, 0x31, 0x14, 0xa0, 0x99, 0xb6, 0x47, 0xbc, 0xf2, 0x43, 0x2a, 0xe1, + 0xb3, 0xb3, 0x48, 0x58, 0x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0x22, 0x9a, 0xfc, 0xaf, + 0x1c, 0x12, 0xc3, 0xf7, 0xee, 0x05, 0xe3, 0xf7, 0xee, 0xed, 0x2f, 0x37, 0xc7, 0xe8, 0x2f, 0xcf, + 0xef, 0xfe, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6f, 0x46, 0x34, 0x9f, 0x93, 0x42, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -4526,6 +5072,11 @@ type ViewServiceClient interface { // that token. Each `ValueView`'s `extended_metadata` field will contain the // `ValidatorInfo` of the delegated validator. DelegationsByAddressIndex(ctx context.Context, in *DelegationsByAddressIndexRequest, opts ...grpc.CallOption) (ViewService_DelegationsByAddressIndexClient, error) + // Get unbonding tokens for the given address index, optionally filtered by + // whether the tokens are currently claimable. + UnbondingTokensByAddressIndex(ctx context.Context, in *UnbondingTokensByAddressIndexRequest, opts ...grpc.CallOption) (ViewService_UnbondingTokensByAddressIndexClient, error) + // Gets the auctions controlled by the user's wallet. + Auctions(ctx context.Context, in *AuctionsRequest, opts ...grpc.CallOption) (ViewService_AuctionsClient, error) } type viewServiceClient struct { @@ -5055,6 +5606,70 @@ func (x *viewServiceDelegationsByAddressIndexClient) Recv() (*DelegationsByAddre return m, nil } +func (c *viewServiceClient) UnbondingTokensByAddressIndex(ctx context.Context, in *UnbondingTokensByAddressIndexRequest, opts ...grpc.CallOption) (ViewService_UnbondingTokensByAddressIndexClient, error) { + stream, err := c.cc.NewStream(ctx, &_ViewService_serviceDesc.Streams[12], "/penumbra.view.v1.ViewService/UnbondingTokensByAddressIndex", opts...) + if err != nil { + return nil, err + } + x := &viewServiceUnbondingTokensByAddressIndexClient{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 ViewService_UnbondingTokensByAddressIndexClient interface { + Recv() (*UnbondingTokensByAddressIndexResponse, error) + grpc.ClientStream +} + +type viewServiceUnbondingTokensByAddressIndexClient struct { + grpc.ClientStream +} + +func (x *viewServiceUnbondingTokensByAddressIndexClient) Recv() (*UnbondingTokensByAddressIndexResponse, error) { + m := new(UnbondingTokensByAddressIndexResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *viewServiceClient) Auctions(ctx context.Context, in *AuctionsRequest, opts ...grpc.CallOption) (ViewService_AuctionsClient, error) { + stream, err := c.cc.NewStream(ctx, &_ViewService_serviceDesc.Streams[13], "/penumbra.view.v1.ViewService/Auctions", opts...) + if err != nil { + return nil, err + } + x := &viewServiceAuctionsClient{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 ViewService_AuctionsClient interface { + Recv() (*AuctionsResponse, error) + grpc.ClientStream +} + +type viewServiceAuctionsClient struct { + grpc.ClientStream +} + +func (x *viewServiceAuctionsClient) Recv() (*AuctionsResponse, error) { + m := new(AuctionsResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + // ViewServiceServer is the server API for ViewService service. type ViewServiceServer interface { // Get current status of chain sync @@ -5146,6 +5761,11 @@ type ViewServiceServer interface { // that token. Each `ValueView`'s `extended_metadata` field will contain the // `ValidatorInfo` of the delegated validator. DelegationsByAddressIndex(*DelegationsByAddressIndexRequest, ViewService_DelegationsByAddressIndexServer) error + // Get unbonding tokens for the given address index, optionally filtered by + // whether the tokens are currently claimable. + UnbondingTokensByAddressIndex(*UnbondingTokensByAddressIndexRequest, ViewService_UnbondingTokensByAddressIndexServer) error + // Gets the auctions controlled by the user's wallet. + Auctions(*AuctionsRequest, ViewService_AuctionsServer) error } // UnimplementedViewServiceServer can be embedded to have forward compatible implementations. @@ -5233,6 +5853,12 @@ func (*UnimplementedViewServiceServer) BroadcastTransaction(req *BroadcastTransa func (*UnimplementedViewServiceServer) DelegationsByAddressIndex(req *DelegationsByAddressIndexRequest, srv ViewService_DelegationsByAddressIndexServer) error { return status.Errorf(codes.Unimplemented, "method DelegationsByAddressIndex not implemented") } +func (*UnimplementedViewServiceServer) UnbondingTokensByAddressIndex(req *UnbondingTokensByAddressIndexRequest, srv ViewService_UnbondingTokensByAddressIndexServer) error { + return status.Errorf(codes.Unimplemented, "method UnbondingTokensByAddressIndex not implemented") +} +func (*UnimplementedViewServiceServer) Auctions(req *AuctionsRequest, srv ViewService_AuctionsServer) error { + return status.Errorf(codes.Unimplemented, "method Auctions not implemented") +} func RegisterViewServiceServer(s grpc1.Server, srv ViewServiceServer) { s.RegisterService(&_ViewService_serviceDesc, srv) @@ -5760,6 +6386,48 @@ func (x *viewServiceDelegationsByAddressIndexServer) Send(m *DelegationsByAddres return x.ServerStream.SendMsg(m) } +func _ViewService_UnbondingTokensByAddressIndex_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(UnbondingTokensByAddressIndexRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(ViewServiceServer).UnbondingTokensByAddressIndex(m, &viewServiceUnbondingTokensByAddressIndexServer{stream}) +} + +type ViewService_UnbondingTokensByAddressIndexServer interface { + Send(*UnbondingTokensByAddressIndexResponse) error + grpc.ServerStream +} + +type viewServiceUnbondingTokensByAddressIndexServer struct { + grpc.ServerStream +} + +func (x *viewServiceUnbondingTokensByAddressIndexServer) Send(m *UnbondingTokensByAddressIndexResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _ViewService_Auctions_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(AuctionsRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(ViewServiceServer).Auctions(m, &viewServiceAuctionsServer{stream}) +} + +type ViewService_AuctionsServer interface { + Send(*AuctionsResponse) error + grpc.ServerStream +} + +type viewServiceAuctionsServer struct { + grpc.ServerStream +} + +func (x *viewServiceAuctionsServer) Send(m *AuctionsResponse) error { + return x.ServerStream.SendMsg(m) +} + var _ViewService_serviceDesc = grpc.ServiceDesc{ ServiceName: "penumbra.view.v1.ViewService", HandlerType: (*ViewServiceServer)(nil), @@ -5886,11 +6554,21 @@ var _ViewService_serviceDesc = grpc.ServiceDesc{ Handler: _ViewService_DelegationsByAddressIndex_Handler, ServerStreams: true, }, + { + StreamName: "UnbondingTokensByAddressIndex", + Handler: _ViewService_UnbondingTokensByAddressIndex_Handler, + ServerStreams: true, + }, + { + StreamName: "Auctions", + Handler: _ViewService_Auctions_Handler, + ServerStreams: true, + }, }, Metadata: "penumbra/view/v1/view.proto", } -func (m *AuthorizeAndBuildRequest) Marshal() (dAtA []byte, err error) { +func (m *AuctionsRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5900,32 +6578,179 @@ func (m *AuthorizeAndBuildRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *AuthorizeAndBuildRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *AuctionsRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *AuthorizeAndBuildRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *AuctionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.TransactionPlan != nil { - { - size, err := m.TransactionPlan.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err + if len(m.AuctionIdsFilter) > 0 { + for iNdEx := len(m.AuctionIdsFilter) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.AuctionIdsFilter[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintView(dAtA, i, uint64(size)) } - i -= size - i = encodeVarintView(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x22 } + } + if m.QueryLatestState { i-- - dAtA[i] = 0xa + if m.QueryLatestState { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 } - return len(dAtA) - i, nil -} - -func (m *AuthorizeAndBuildResponse) Marshal() (dAtA []byte, err error) { + if m.IncludeInactive { + i-- + if m.IncludeInactive { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if m.AccountFilter != nil { + { + size, err := m.AccountFilter.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 *AuctionsResponse) 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 *AuctionsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *AuctionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.LocalSeq != 0 { + i = encodeVarintView(dAtA, i, uint64(m.LocalSeq)) + i-- + dAtA[i] = 0x28 + } + if m.NoteRecord != nil { + { + size, err := m.NoteRecord.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintView(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if len(m.Positions) > 0 { + for iNdEx := len(m.Positions) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Positions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintView(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + } + if m.Auction != nil { + { + size, err := m.Auction.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintView(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.Id != nil { + { + size, err := m.Id.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 *AuthorizeAndBuildRequest) 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 *AuthorizeAndBuildRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *AuthorizeAndBuildRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.TransactionPlan != nil { + { + size, err := m.TransactionPlan.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 *AuthorizeAndBuildResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6307,6 +7132,54 @@ func (m *TransactionPlannerRequest) MarshalToSizedBuffer(dAtA []byte) (int, erro } } } + if len(m.DutchAuctionWithdrawActions) > 0 { + for iNdEx := len(m.DutchAuctionWithdrawActions) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.DutchAuctionWithdrawActions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintView(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x4 + i-- + dAtA[i] = 0xda + } + } + if len(m.DutchAuctionEndActions) > 0 { + for iNdEx := len(m.DutchAuctionEndActions) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.DutchAuctionEndActions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintView(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x4 + i-- + dAtA[i] = 0xd2 + } + } + if len(m.DutchAuctionScheduleActions) > 0 { + for iNdEx := len(m.DutchAuctionScheduleActions) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.DutchAuctionScheduleActions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintView(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x4 + i-- + dAtA[i] = 0xca + } + } if len(m.PositionWithdraws) > 0 { for iNdEx := len(m.PositionWithdraws) - 1; iNdEx >= 0; iNdEx-- { { @@ -7006,6 +7879,116 @@ func (m *TransactionPlannerRequest_PositionWithdraw) MarshalToSizedBuffer(dAtA [ return len(dAtA) - i, nil } +func (m *TransactionPlannerRequest_ActionDutchAuctionSchedule) 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 *TransactionPlannerRequest_ActionDutchAuctionSchedule) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *TransactionPlannerRequest_ActionDutchAuctionSchedule) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Description != nil { + { + size, err := m.Description.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 *TransactionPlannerRequest_ActionDutchAuctionEnd) 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 *TransactionPlannerRequest_ActionDutchAuctionEnd) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *TransactionPlannerRequest_ActionDutchAuctionEnd) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.AuctionId != nil { + { + size, err := m.AuctionId.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 *TransactionPlannerRequest_ActionDutchAuctionWithdraw) 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 *TransactionPlannerRequest_ActionDutchAuctionWithdraw) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *TransactionPlannerRequest_ActionDutchAuctionWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Seq != 0 { + i = encodeVarintView(dAtA, i, uint64(m.Seq)) + i-- + dAtA[i] = 0x10 + } + if m.AuctionId != nil { + { + size, err := m.AuctionId.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 *TransactionPlannerResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -8151,7 +9134,21 @@ func (m *GasPricesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if m.GasPrices != nil { + if len(m.AltGasPrices) > 0 { + for iNdEx := len(m.AltGasPrices) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.AltGasPrices[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintView(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + } + if m.GasPrices != nil { { size, err := m.GasPrices.MarshalToSizedBuffer(dAtA[:i]) if err != nil { @@ -9246,6 +10243,91 @@ func (m *DelegationsByAddressIndexResponse) MarshalToSizedBuffer(dAtA []byte) (i return len(dAtA) - i, nil } +func (m *UnbondingTokensByAddressIndexRequest) 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 *UnbondingTokensByAddressIndexRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *UnbondingTokensByAddressIndexRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.AddressIndex != nil { + { + size, err := m.AddressIndex.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintView(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.Filter != 0 { + i = encodeVarintView(dAtA, i, uint64(m.Filter)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *UnbondingTokensByAddressIndexResponse) 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 *UnbondingTokensByAddressIndexResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *UnbondingTokensByAddressIndexResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Claimable { + i-- + if m.Claimable { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if m.ValueView != nil { + { + size, err := m.ValueView.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 encodeVarintView(dAtA []byte, offset int, v uint64) int { offset -= sovView(v) base := offset @@ -9257,6 +10339,61 @@ func encodeVarintView(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } +func (m *AuctionsRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AccountFilter != nil { + l = m.AccountFilter.Size() + n += 1 + l + sovView(uint64(l)) + } + if m.IncludeInactive { + n += 2 + } + if m.QueryLatestState { + n += 2 + } + if len(m.AuctionIdsFilter) > 0 { + for _, e := range m.AuctionIdsFilter { + l = e.Size() + n += 1 + l + sovView(uint64(l)) + } + } + return n +} + +func (m *AuctionsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Id != nil { + l = m.Id.Size() + n += 1 + l + sovView(uint64(l)) + } + if m.Auction != nil { + l = m.Auction.Size() + n += 1 + l + sovView(uint64(l)) + } + if len(m.Positions) > 0 { + for _, e := range m.Positions { + l = e.Size() + n += 1 + l + sovView(uint64(l)) + } + } + if m.NoteRecord != nil { + l = m.NoteRecord.Size() + n += 1 + l + sovView(uint64(l)) + } + if m.LocalSeq != 0 { + n += 1 + sovView(uint64(m.LocalSeq)) + } + return n +} + func (m *AuthorizeAndBuildRequest) Size() (n int) { if m == nil { return 0 @@ -9495,6 +10632,24 @@ func (m *TransactionPlannerRequest) Size() (n int) { n += 2 + l + sovView(uint64(l)) } } + if len(m.DutchAuctionScheduleActions) > 0 { + for _, e := range m.DutchAuctionScheduleActions { + l = e.Size() + n += 2 + l + sovView(uint64(l)) + } + } + if len(m.DutchAuctionEndActions) > 0 { + for _, e := range m.DutchAuctionEndActions { + l = e.Size() + n += 2 + l + sovView(uint64(l)) + } + } + if len(m.DutchAuctionWithdrawActions) > 0 { + for _, e := range m.DutchAuctionWithdrawActions { + l = e.Size() + n += 2 + l + sovView(uint64(l)) + } + } if m.FeeMode != nil { n += m.FeeMode.Size() } @@ -9695,6 +10850,48 @@ func (m *TransactionPlannerRequest_PositionWithdraw) Size() (n int) { return n } +func (m *TransactionPlannerRequest_ActionDutchAuctionSchedule) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Description != nil { + l = m.Description.Size() + n += 1 + l + sovView(uint64(l)) + } + return n +} + +func (m *TransactionPlannerRequest_ActionDutchAuctionEnd) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AuctionId != nil { + l = m.AuctionId.Size() + n += 1 + l + sovView(uint64(l)) + } + return n +} + +func (m *TransactionPlannerRequest_ActionDutchAuctionWithdraw) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AuctionId != nil { + l = m.AuctionId.Size() + n += 1 + l + sovView(uint64(l)) + } + if m.Seq != 0 { + n += 1 + sovView(uint64(m.Seq)) + } + return n +} + func (m *TransactionPlannerResponse) Size() (n int) { if m == nil { return 0 @@ -10135,6 +11332,12 @@ func (m *GasPricesResponse) Size() (n int) { l = m.GasPrices.Size() n += 1 + l + sovView(uint64(l)) } + if len(m.AltGasPrices) > 0 { + for _, e := range m.AltGasPrices { + l = e.Size() + n += 1 + l + sovView(uint64(l)) + } + } return n } @@ -10542,13 +11745,45 @@ func (m *DelegationsByAddressIndexResponse) Size() (n int) { return n } +func (m *UnbondingTokensByAddressIndexRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Filter != 0 { + n += 1 + sovView(uint64(m.Filter)) + } + if m.AddressIndex != nil { + l = m.AddressIndex.Size() + n += 1 + l + sovView(uint64(l)) + } + return n +} + +func (m *UnbondingTokensByAddressIndexResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ValueView != nil { + l = m.ValueView.Size() + n += 1 + l + sovView(uint64(l)) + } + if m.Claimable { + n += 2 + } + return n +} + func sovView(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } func sozView(x uint64) (n int) { return sovView(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } -func (m *AuthorizeAndBuildRequest) Unmarshal(dAtA []byte) error { +func (m *AuctionsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10571,15 +11806,15 @@ func (m *AuthorizeAndBuildRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: AuthorizeAndBuildRequest: wiretype end group for non-group") + return fmt.Errorf("proto: AuctionsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: AuthorizeAndBuildRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: AuctionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TransactionPlan", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AccountFilter", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10606,68 +11841,38 @@ func (m *AuthorizeAndBuildRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.TransactionPlan == nil { - m.TransactionPlan = &v1.TransactionPlan{} + if m.AccountFilter == nil { + m.AccountFilter = &v1.AddressIndex{} } - if err := m.TransactionPlan.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.AccountFilter.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipView(dAtA[iNdEx:]) - if err != nil { - return err + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IncludeInactive", wireType) } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthView + 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 + } } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF + m.IncludeInactive = bool(v != 0) + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field QueryLatestState", wireType) } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AuthorizeAndBuildResponse) 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: AuthorizeAndBuildResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: AuthorizeAndBuildResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BuildProgress", wireType) - } - var msglen int + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowView @@ -10677,30 +11882,15 @@ func (m *AuthorizeAndBuildResponse) 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 ErrInvalidLengthView - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthView - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - v := &AuthorizeAndBuildResponse_BuildProgress{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - m.Status = &AuthorizeAndBuildResponse_BuildProgress_{v} - iNdEx = postIndex - case 2: + m.QueryLatestState = bool(v != 0) + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Complete", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AuctionIdsFilter", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10727,11 +11917,10 @@ func (m *AuthorizeAndBuildResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &AuthorizeAndBuildResponse_Complete{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.AuctionIdsFilter = append(m.AuctionIdsFilter, &v11.AuctionId{}) + if err := m.AuctionIdsFilter[len(m.AuctionIdsFilter)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.Status = &AuthorizeAndBuildResponse_Complete_{v} iNdEx = postIndex default: iNdEx = preIndex @@ -10754,7 +11943,7 @@ func (m *AuthorizeAndBuildResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *AuthorizeAndBuildResponse_BuildProgress) Unmarshal(dAtA []byte) error { +func (m *AuctionsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10777,76 +11966,121 @@ func (m *AuthorizeAndBuildResponse_BuildProgress) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: BuildProgress: wiretype end group for non-group") + return fmt.Errorf("proto: AuctionsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: BuildProgress: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: AuctionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field Progress", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) } - var v uint32 - if (iNdEx + 4) > l { + 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 } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.Progress = float32(math.Float32frombits(v)) - default: - iNdEx = preIndex - skippy, err := skipView(dAtA[iNdEx:]) - if err != nil { + if m.Id == nil { + m.Id = &v11.AuctionId{} + } + if err := m.Id.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 Auction", 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 } - if (iNdEx + skippy) > l { + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthView + } + if postIndex > l { return io.ErrUnexpectedEOF } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *AuthorizeAndBuildResponse_Complete) 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 m.Auction == nil { + m.Auction = &types.Any{} } - if iNdEx >= l { + if err := m.Auction.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Positions", 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 } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + m.Positions = append(m.Positions, &v12.Position{}) + if err := m.Positions[len(m.Positions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Complete: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Complete: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + iNdEx = postIndex + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Transaction", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field NoteRecord", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10873,13 +12107,32 @@ func (m *AuthorizeAndBuildResponse_Complete) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Transaction == nil { - m.Transaction = &v1.Transaction{} + if m.NoteRecord == nil { + m.NoteRecord = &SpendableNoteRecord{} } - if err := m.Transaction.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.NoteRecord.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field LocalSeq", wireType) + } + m.LocalSeq = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowView + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.LocalSeq |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipView(dAtA[iNdEx:]) @@ -10901,7 +12154,7 @@ func (m *AuthorizeAndBuildResponse_Complete) Unmarshal(dAtA []byte) error { } return nil } -func (m *BroadcastTransactionRequest) Unmarshal(dAtA []byte) error { +func (m *AuthorizeAndBuildRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10924,15 +12177,15 @@ func (m *BroadcastTransactionRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: BroadcastTransactionRequest: wiretype end group for non-group") + return fmt.Errorf("proto: AuthorizeAndBuildRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: BroadcastTransactionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: AuthorizeAndBuildRequest: 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) + return fmt.Errorf("proto: wrong wireType = %d for field TransactionPlan", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10959,33 +12212,13 @@ func (m *BroadcastTransactionRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Transaction == nil { - m.Transaction = &v1.Transaction{} + if m.TransactionPlan == nil { + m.TransactionPlan = &v13.TransactionPlan{} } - if err := m.Transaction.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.TransactionPlan.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AwaitDetection", wireType) - } - 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 - } - } - m.AwaitDetection = bool(v != 0) default: iNdEx = preIndex skippy, err := skipView(dAtA[iNdEx:]) @@ -11007,7 +12240,7 @@ func (m *BroadcastTransactionRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *BroadcastTransactionResponse) Unmarshal(dAtA []byte) error { +func (m *AuthorizeAndBuildResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11030,15 +12263,15 @@ func (m *BroadcastTransactionResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: BroadcastTransactionResponse: wiretype end group for non-group") + return fmt.Errorf("proto: AuthorizeAndBuildResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: BroadcastTransactionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: AuthorizeAndBuildResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BroadcastSuccess", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field BuildProgress", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11065,15 +12298,15 @@ func (m *BroadcastTransactionResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &BroadcastTransactionResponse_BroadcastSuccess{} + v := &AuthorizeAndBuildResponse_BuildProgress{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.Status = &BroadcastTransactionResponse_BroadcastSuccess_{v} + m.Status = &AuthorizeAndBuildResponse_BuildProgress_{v} iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Confirmed", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Complete", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11100,11 +12333,11 @@ func (m *BroadcastTransactionResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &BroadcastTransactionResponse_Confirmed{} + v := &AuthorizeAndBuildResponse_Complete{} if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.Status = &BroadcastTransactionResponse_Confirmed_{v} + m.Status = &AuthorizeAndBuildResponse_Complete_{v} iNdEx = postIndex default: iNdEx = preIndex @@ -11127,7 +12360,7 @@ func (m *BroadcastTransactionResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *BroadcastTransactionResponse_BroadcastSuccess) Unmarshal(dAtA []byte) error { +func (m *AuthorizeAndBuildResponse_BuildProgress) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11150,15 +12383,76 @@ func (m *BroadcastTransactionResponse_BroadcastSuccess) Unmarshal(dAtA []byte) e fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: BroadcastSuccess: wiretype end group for non-group") + return fmt.Errorf("proto: BuildProgress: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: BroadcastSuccess: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: BuildProgress: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 5 { + return fmt.Errorf("proto: wrong wireType = %d for field Progress", wireType) + } + var v uint32 + if (iNdEx + 4) > l { + return io.ErrUnexpectedEOF + } + v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) + iNdEx += 4 + m.Progress = float32(math.Float32frombits(v)) + 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 *AuthorizeAndBuildResponse_Complete) 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: Complete: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Complete: 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) + return fmt.Errorf("proto: wrong wireType = %d for field Transaction", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11185,10 +12479,10 @@ func (m *BroadcastTransactionResponse_BroadcastSuccess) Unmarshal(dAtA []byte) e if postIndex > l { return io.ErrUnexpectedEOF } - if m.Id == nil { - m.Id = &v11.TransactionId{} + if m.Transaction == nil { + m.Transaction = &v13.Transaction{} } - if err := m.Id.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Transaction.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -11213,7 +12507,7 @@ func (m *BroadcastTransactionResponse_BroadcastSuccess) Unmarshal(dAtA []byte) e } return nil } -func (m *BroadcastTransactionResponse_Confirmed) Unmarshal(dAtA []byte) error { +func (m *BroadcastTransactionRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11236,15 +12530,15 @@ func (m *BroadcastTransactionResponse_Confirmed) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Confirmed: wiretype end group for non-group") + return fmt.Errorf("proto: BroadcastTransactionRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Confirmed: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: BroadcastTransactionRequest: 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) + return fmt.Errorf("proto: wrong wireType = %d for field Transaction", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11271,18 +12565,18 @@ func (m *BroadcastTransactionResponse_Confirmed) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Id == nil { - m.Id = &v11.TransactionId{} + if m.Transaction == nil { + m.Transaction = &v13.Transaction{} } - if err := m.Id.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Transaction.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 2: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field DetectionHeight", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AwaitDetection", wireType) } - m.DetectionHeight = 0 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowView @@ -11292,11 +12586,12 @@ func (m *BroadcastTransactionResponse_Confirmed) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.DetectionHeight |= uint64(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } + m.AwaitDetection = bool(v != 0) default: iNdEx = preIndex skippy, err := skipView(dAtA[iNdEx:]) @@ -11318,7 +12613,127 @@ func (m *BroadcastTransactionResponse_Confirmed) Unmarshal(dAtA []byte) error { } return nil } -func (m *TransactionPlannerRequest) Unmarshal(dAtA []byte) error { +func (m *BroadcastTransactionResponse) 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: BroadcastTransactionResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: BroadcastTransactionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BroadcastSuccess", 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 + } + v := &BroadcastTransactionResponse_BroadcastSuccess{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Status = &BroadcastTransactionResponse_BroadcastSuccess_{v} + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Confirmed", 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 + } + v := &BroadcastTransactionResponse_Confirmed{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Status = &BroadcastTransactionResponse_Confirmed_{v} + 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 *BroadcastTransactionResponse_BroadcastSuccess) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11328,30 +12743,550 @@ func (m *TransactionPlannerRequest) Unmarshal(dAtA []byte) error { if shift >= 64 { return ErrIntOverflowView } - 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: BroadcastSuccess: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: BroadcastSuccess: 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 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.Id == nil { + m.Id = &v14.TransactionId{} + } + if err := m.Id.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 *BroadcastTransactionResponse_Confirmed) 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: Confirmed: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Confirmed: 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 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.Id == nil { + m.Id = &v14.TransactionId{} + } + if err := m.Id.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DetectionHeight", wireType) + } + m.DetectionHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowView + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DetectionHeight |= 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 *TransactionPlannerRequest) 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: TransactionPlannerRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TransactionPlannerRequest: 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) + } + m.ExpiryHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowView + } + 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 Memo", 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.Memo == nil { + m.Memo = &v13.MemoPlaintext{} + } + if err := m.Memo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + 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 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.Source == nil { + m.Source = &v1.AddressIndex{} + } + if err := m.Source.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) + } + 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 + } + m.Outputs = append(m.Outputs, &TransactionPlannerRequest_Output{}) + if err := m.Outputs[len(m.Outputs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 30: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Swaps", 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 + } + m.Swaps = append(m.Swaps, &TransactionPlannerRequest_Swap{}) + if err := m.Swaps[len(m.Swaps)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 31: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SwapClaims", 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 + } + m.SwapClaims = append(m.SwapClaims, &TransactionPlannerRequest_SwapClaim{}) + if err := m.SwapClaims[len(m.SwapClaims)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 40: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Delegations", 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 + } + m.Delegations = append(m.Delegations, &TransactionPlannerRequest_Delegate{}) + if err := m.Delegations[len(m.Delegations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 50: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Undelegations", 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 + } + m.Undelegations = append(m.Undelegations, &TransactionPlannerRequest_Undelegate{}) + if err := m.Undelegations[len(m.Undelegations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 51: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field UndelegationClaims", 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 + } + m.UndelegationClaims = append(m.UndelegationClaims, &TransactionPlannerRequest_UndelegateClaim{}) + if err := m.UndelegationClaims[len(m.UndelegationClaims)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 60: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field IbcRelayActions", 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 } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + m.IbcRelayActions = append(m.IbcRelayActions, &v15.IbcRelay{}) + if err := m.IbcRelayActions[len(m.IbcRelayActions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: TransactionPlannerRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: TransactionPlannerRequest: 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) + iNdEx = postIndex + case 61: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Ics20Withdrawals", wireType) } - m.ExpiryHeight = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowView @@ -11361,14 +13296,29 @@ func (m *TransactionPlannerRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.ExpiryHeight |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - case 3: + if msglen < 0 { + return ErrInvalidLengthView + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthView + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Ics20Withdrawals = append(m.Ics20Withdrawals, &v15.Ics20Withdrawal{}) + if err := m.Ics20Withdrawals[len(m.Ics20Withdrawals)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 70: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Memo", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PositionOpens", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11395,16 +13345,14 @@ func (m *TransactionPlannerRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Memo == nil { - m.Memo = &v1.MemoPlaintext{} - } - if err := m.Memo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.PositionOpens = append(m.PositionOpens, &TransactionPlannerRequest_PositionOpen{}) + if err := m.PositionOpens[len(m.PositionOpens)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 4: + case 71: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PositionCloses", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11431,16 +13379,14 @@ func (m *TransactionPlannerRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Source == nil { - m.Source = &v12.AddressIndex{} - } - if err := m.Source.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.PositionCloses = append(m.PositionCloses, &TransactionPlannerRequest_PositionClose{}) + if err := m.PositionCloses[len(m.PositionCloses)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 20: + case 72: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Outputs", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PositionWithdraws", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11467,14 +13413,14 @@ func (m *TransactionPlannerRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Outputs = append(m.Outputs, &TransactionPlannerRequest_Output{}) - if err := m.Outputs[len(m.Outputs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.PositionWithdraws = append(m.PositionWithdraws, &TransactionPlannerRequest_PositionWithdraw{}) + if err := m.PositionWithdraws[len(m.PositionWithdraws)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 30: + case 73: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Swaps", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DutchAuctionScheduleActions", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11501,14 +13447,14 @@ func (m *TransactionPlannerRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Swaps = append(m.Swaps, &TransactionPlannerRequest_Swap{}) - if err := m.Swaps[len(m.Swaps)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.DutchAuctionScheduleActions = append(m.DutchAuctionScheduleActions, &TransactionPlannerRequest_ActionDutchAuctionSchedule{}) + if err := m.DutchAuctionScheduleActions[len(m.DutchAuctionScheduleActions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 31: + case 74: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SwapClaims", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DutchAuctionEndActions", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11535,14 +13481,14 @@ func (m *TransactionPlannerRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.SwapClaims = append(m.SwapClaims, &TransactionPlannerRequest_SwapClaim{}) - if err := m.SwapClaims[len(m.SwapClaims)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.DutchAuctionEndActions = append(m.DutchAuctionEndActions, &TransactionPlannerRequest_ActionDutchAuctionEnd{}) + if err := m.DutchAuctionEndActions[len(m.DutchAuctionEndActions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 40: + case 75: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Delegations", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DutchAuctionWithdrawActions", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11569,14 +13515,14 @@ func (m *TransactionPlannerRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Delegations = append(m.Delegations, &TransactionPlannerRequest_Delegate{}) - if err := m.Delegations[len(m.Delegations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.DutchAuctionWithdrawActions = append(m.DutchAuctionWithdrawActions, &TransactionPlannerRequest_ActionDutchAuctionWithdraw{}) + if err := m.DutchAuctionWithdrawActions[len(m.DutchAuctionWithdrawActions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 50: + case 100: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Undelegations", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AutoFee", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11603,14 +13549,15 @@ func (m *TransactionPlannerRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Undelegations = append(m.Undelegations, &TransactionPlannerRequest_Undelegate{}) - if err := m.Undelegations[len(m.Undelegations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + v := &v16.FeeTier{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } + m.FeeMode = &TransactionPlannerRequest_AutoFee{v} iNdEx = postIndex - case 51: + case 101: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UndelegationClaims", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ManualFee", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11637,14 +13584,34 @@ func (m *TransactionPlannerRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.UndelegationClaims = append(m.UndelegationClaims, &TransactionPlannerRequest_UndelegateClaim{}) - if err := m.UndelegationClaims[len(m.UndelegationClaims)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + v := &v16.Fee{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } + m.FeeMode = &TransactionPlannerRequest_ManualFee{v} iNdEx = postIndex - case 60: + case 200: + 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 ErrIntOverflowView + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.EpochIndex |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 201: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IbcRelayActions", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Epoch", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11671,14 +13638,66 @@ func (m *TransactionPlannerRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.IbcRelayActions = append(m.IbcRelayActions, &v13.IbcRelay{}) - if err := m.IbcRelayActions[len(m.IbcRelayActions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.Epoch == nil { + m.Epoch = &v17.Epoch{} + } + if err := m.Epoch.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 61: + 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 *TransactionPlannerRequest_Output) 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: Output: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Ics20Withdrawals", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11705,14 +13724,16 @@ func (m *TransactionPlannerRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Ics20Withdrawals = append(m.Ics20Withdrawals, &v13.Ics20Withdrawal{}) - if err := m.Ics20Withdrawals[len(m.Ics20Withdrawals)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.Value == nil { + m.Value = &v18.Value{} + } + if err := m.Value.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 70: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PositionOpens", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11739,14 +13760,66 @@ func (m *TransactionPlannerRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PositionOpens = append(m.PositionOpens, &TransactionPlannerRequest_PositionOpen{}) - if err := m.PositionOpens[len(m.PositionOpens)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.Address == nil { + m.Address = &v1.Address{} + } + if err := m.Address.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 71: + 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 *TransactionPlannerRequest_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 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: 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 PositionCloses", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11773,14 +13846,16 @@ func (m *TransactionPlannerRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PositionCloses = append(m.PositionCloses, &TransactionPlannerRequest_PositionClose{}) - if err := m.PositionCloses[len(m.PositionCloses)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.Value == nil { + m.Value = &v18.Value{} + } + if err := m.Value.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 72: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PositionWithdraws", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TargetAsset", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11807,14 +13882,16 @@ func (m *TransactionPlannerRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PositionWithdraws = append(m.PositionWithdraws, &TransactionPlannerRequest_PositionWithdraw{}) - if err := m.PositionWithdraws[len(m.PositionWithdraws)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.TargetAsset == nil { + m.TargetAsset = &v18.AssetId{} + } + if err := m.TargetAsset.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 100: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AutoFee", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Fee", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11841,15 +13918,16 @@ func (m *TransactionPlannerRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v14.FeeTier{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.Fee == nil { + m.Fee = &v16.Fee{} + } + if err := m.Fee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.FeeMode = &TransactionPlannerRequest_AutoFee{v} iNdEx = postIndex - case 101: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ManualFee", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ClaimAddress", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11876,34 +13954,66 @@ func (m *TransactionPlannerRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - v := &v14.Fee{} - if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.ClaimAddress == nil { + m.ClaimAddress = &v1.Address{} + } + if err := m.ClaimAddress.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - m.FeeMode = &TransactionPlannerRequest_ManualFee{v} iNdEx = postIndex - case 200: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field EpochIndex", wireType) + default: + iNdEx = preIndex + skippy, err := skipView(dAtA[iNdEx:]) + if err != nil { + return err } - m.EpochIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowView - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.EpochIndex |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthView } - case 201: + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *TransactionPlannerRequest_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 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: 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 Epoch", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SwapCommitment", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11930,10 +14040,10 @@ func (m *TransactionPlannerRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Epoch == nil { - m.Epoch = &v15.Epoch{} + if m.SwapCommitment == nil { + m.SwapCommitment = &v19.StateCommitment{} } - if err := m.Epoch.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.SwapCommitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -11958,7 +14068,7 @@ func (m *TransactionPlannerRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *TransactionPlannerRequest_Output) Unmarshal(dAtA []byte) error { +func (m *TransactionPlannerRequest_Delegate) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11981,15 +14091,15 @@ func (m *TransactionPlannerRequest_Output) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Output: wiretype end group for non-group") + return fmt.Errorf("proto: Delegate: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Delegate: 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 Amount", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12016,16 +14126,16 @@ func (m *TransactionPlannerRequest_Output) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Value == nil { - m.Value = &v16.Value{} + if m.Amount == nil { + m.Amount = &v110.Amount{} } - if err := m.Value.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Amount.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 Address", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RateData", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12052,10 +14162,10 @@ func (m *TransactionPlannerRequest_Output) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Address == nil { - m.Address = &v12.Address{} + if m.RateData == nil { + m.RateData = &v111.RateData{} } - if err := m.Address.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.RateData.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -12080,7 +14190,7 @@ func (m *TransactionPlannerRequest_Output) Unmarshal(dAtA []byte) error { } return nil } -func (m *TransactionPlannerRequest_Swap) Unmarshal(dAtA []byte) error { +func (m *TransactionPlannerRequest_Undelegate) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12103,10 +14213,10 @@ func (m *TransactionPlannerRequest_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: Undelegate: 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: Undelegate: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -12139,7 +14249,7 @@ func (m *TransactionPlannerRequest_Swap) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Value == nil { - m.Value = &v16.Value{} + m.Value = &v18.Value{} } if err := m.Value.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -12147,7 +14257,7 @@ func (m *TransactionPlannerRequest_Swap) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TargetAsset", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field RateData", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12174,16 +14284,66 @@ func (m *TransactionPlannerRequest_Swap) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.TargetAsset == nil { - m.TargetAsset = &v16.AssetId{} + if m.RateData == nil { + m.RateData = &v111.RateData{} } - if err := m.TargetAsset.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.RateData.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 3: + 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 *TransactionPlannerRequest_UndelegateClaim) 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: UndelegateClaim: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UndelegateClaim: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Fee", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ValidatorIdentity", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12210,16 +14370,35 @@ func (m *TransactionPlannerRequest_Swap) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Fee == nil { - m.Fee = &v14.Fee{} + if m.ValidatorIdentity == nil { + m.ValidatorIdentity = &v1.IdentityKey{} } - if err := m.Fee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.ValidatorIdentity.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 4: + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StartEpochIndex", wireType) + } + m.StartEpochIndex = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowView + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StartEpochIndex |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ClaimAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Penalty", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12246,66 +14425,16 @@ func (m *TransactionPlannerRequest_Swap) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.ClaimAddress == nil { - m.ClaimAddress = &v12.Address{} - } - if err := m.ClaimAddress.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 *TransactionPlannerRequest_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 ErrIntOverflowView - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + if m.Penalty == nil { + m.Penalty = &v111.Penalty{} } - } - 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.Penalty.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) + return fmt.Errorf("proto: wrong wireType = %d for field UnbondingAmount", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12332,13 +14461,32 @@ func (m *TransactionPlannerRequest_SwapClaim) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.SwapCommitment == nil { - m.SwapCommitment = &v17.StateCommitment{} + if m.UnbondingAmount == nil { + m.UnbondingAmount = &v110.Amount{} } - if err := m.SwapCommitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.UnbondingAmount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field UnbondingStartHeight", wireType) + } + m.UnbondingStartHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowView + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.UnbondingStartHeight |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipView(dAtA[iNdEx:]) @@ -12360,7 +14508,7 @@ func (m *TransactionPlannerRequest_SwapClaim) Unmarshal(dAtA []byte) error { } return nil } -func (m *TransactionPlannerRequest_Delegate) Unmarshal(dAtA []byte) error { +func (m *TransactionPlannerRequest_PositionOpen) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12383,51 +14531,15 @@ func (m *TransactionPlannerRequest_Delegate) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Delegate: wiretype end group for non-group") + return fmt.Errorf("proto: PositionOpen: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Delegate: 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 Amount", 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.Amount == nil { - m.Amount = &v18.Amount{} - } - if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field RateData", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12454,10 +14566,10 @@ func (m *TransactionPlannerRequest_Delegate) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.RateData == nil { - m.RateData = &v19.RateData{} + if m.Position == nil { + m.Position = &v12.Position{} } - if err := m.RateData.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Position.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -12482,7 +14594,7 @@ func (m *TransactionPlannerRequest_Delegate) Unmarshal(dAtA []byte) error { } return nil } -func (m *TransactionPlannerRequest_Undelegate) Unmarshal(dAtA []byte) error { +func (m *TransactionPlannerRequest_PositionClose) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12505,51 +14617,15 @@ func (m *TransactionPlannerRequest_Undelegate) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Undelegate: wiretype end group for non-group") + return fmt.Errorf("proto: PositionClose: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Undelegate: illegal tag %d (wire type %d)", fieldNum, wire) + 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 Value", 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.Value == nil { - m.Value = &v16.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 RateData", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PositionId", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12576,10 +14652,10 @@ func (m *TransactionPlannerRequest_Undelegate) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.RateData == nil { - m.RateData = &v19.RateData{} + if m.PositionId == nil { + m.PositionId = &v12.PositionId{} } - if err := m.RateData.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.PositionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -12604,7 +14680,7 @@ func (m *TransactionPlannerRequest_Undelegate) Unmarshal(dAtA []byte) error { } return nil } -func (m *TransactionPlannerRequest_UndelegateClaim) Unmarshal(dAtA []byte) error { +func (m *TransactionPlannerRequest_PositionWithdraw) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12627,15 +14703,15 @@ func (m *TransactionPlannerRequest_UndelegateClaim) Unmarshal(dAtA []byte) error fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UndelegateClaim: wiretype end group for non-group") + return fmt.Errorf("proto: PositionWithdraw: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UndelegateClaim: 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 != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ValidatorIdentity", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PositionId", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12662,35 +14738,16 @@ func (m *TransactionPlannerRequest_UndelegateClaim) Unmarshal(dAtA []byte) error if postIndex > l { return io.ErrUnexpectedEOF } - if m.ValidatorIdentity == nil { - m.ValidatorIdentity = &v12.IdentityKey{} + if m.PositionId == nil { + m.PositionId = &v12.PositionId{} } - if err := m.ValidatorIdentity.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.PositionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field StartEpochIndex", wireType) - } - m.StartEpochIndex = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowView - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.StartEpochIndex |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Penalty", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Reserves", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12717,16 +14774,16 @@ func (m *TransactionPlannerRequest_UndelegateClaim) Unmarshal(dAtA []byte) error if postIndex > l { return io.ErrUnexpectedEOF } - if m.Penalty == nil { - m.Penalty = &v19.Penalty{} + if m.Reserves == nil { + m.Reserves = &v12.Reserves{} } - if err := m.Penalty.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Reserves.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 4: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field UnbondingAmount", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field TradingPair", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12753,32 +14810,13 @@ func (m *TransactionPlannerRequest_UndelegateClaim) Unmarshal(dAtA []byte) error if postIndex > l { return io.ErrUnexpectedEOF } - if m.UnbondingAmount == nil { - m.UnbondingAmount = &v18.Amount{} + if m.TradingPair == nil { + m.TradingPair = &v12.TradingPair{} } - if err := m.UnbondingAmount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + 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 UnbondingStartHeight", wireType) - } - m.UnbondingStartHeight = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowView - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.UnbondingStartHeight |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := skipView(dAtA[iNdEx:]) @@ -12800,7 +14838,7 @@ func (m *TransactionPlannerRequest_UndelegateClaim) Unmarshal(dAtA []byte) error } return nil } -func (m *TransactionPlannerRequest_PositionOpen) Unmarshal(dAtA []byte) error { +func (m *TransactionPlannerRequest_ActionDutchAuctionSchedule) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12823,15 +14861,15 @@ func (m *TransactionPlannerRequest_PositionOpen) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: PositionOpen: wiretype end group for non-group") + return fmt.Errorf("proto: ActionDutchAuctionSchedule: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: PositionOpen: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ActionDutchAuctionSchedule: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Position", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12858,10 +14896,10 @@ func (m *TransactionPlannerRequest_PositionOpen) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Position == nil { - m.Position = &v110.Position{} + if m.Description == nil { + m.Description = &v11.DutchAuctionDescription{} } - if err := m.Position.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Description.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -12886,7 +14924,7 @@ func (m *TransactionPlannerRequest_PositionOpen) Unmarshal(dAtA []byte) error { } return nil } -func (m *TransactionPlannerRequest_PositionClose) Unmarshal(dAtA []byte) error { +func (m *TransactionPlannerRequest_ActionDutchAuctionEnd) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12909,15 +14947,15 @@ func (m *TransactionPlannerRequest_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: ActionDutchAuctionEnd: 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: ActionDutchAuctionEnd: 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 AuctionId", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12944,10 +14982,10 @@ func (m *TransactionPlannerRequest_PositionClose) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.PositionId == nil { - m.PositionId = &v110.PositionId{} + if m.AuctionId == nil { + m.AuctionId = &v11.AuctionId{} } - if err := m.PositionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.AuctionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -12972,7 +15010,7 @@ func (m *TransactionPlannerRequest_PositionClose) Unmarshal(dAtA []byte) error { } return nil } -func (m *TransactionPlannerRequest_PositionWithdraw) Unmarshal(dAtA []byte) error { +func (m *TransactionPlannerRequest_ActionDutchAuctionWithdraw) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12995,51 +15033,15 @@ func (m *TransactionPlannerRequest_PositionWithdraw) Unmarshal(dAtA []byte) erro 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: ActionDutchAuctionWithdraw: 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: ActionDutchAuctionWithdraw: 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 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.PositionId == nil { - m.PositionId = &v110.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 Reserves", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AuctionId", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -13066,18 +15068,18 @@ func (m *TransactionPlannerRequest_PositionWithdraw) Unmarshal(dAtA []byte) erro if postIndex > l { return io.ErrUnexpectedEOF } - if m.Reserves == nil { - m.Reserves = &v110.Reserves{} + if m.AuctionId == nil { + m.AuctionId = &v11.AuctionId{} } - if err := m.Reserves.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.AuctionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TradingPair", wireType) + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Seq", wireType) } - var msglen int + m.Seq = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowView @@ -13087,28 +15089,11 @@ func (m *TransactionPlannerRequest_PositionWithdraw) Unmarshal(dAtA []byte) erro } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.Seq |= 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.TradingPair == nil { - m.TradingPair = &v110.TradingPair{} - } - if err := m.TradingPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipView(dAtA[iNdEx:]) @@ -13189,7 +15174,7 @@ func (m *TransactionPlannerResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Plan == nil { - m.Plan = &v1.TransactionPlan{} + m.Plan = &v13.TransactionPlan{} } if err := m.Plan.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -13275,7 +15260,7 @@ func (m *AddressByIndexRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.AddressIndex == nil { - m.AddressIndex = &v12.AddressIndex{} + m.AddressIndex = &v1.AddressIndex{} } if err := m.AddressIndex.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -13361,7 +15346,7 @@ func (m *AddressByIndexResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Address == nil { - m.Address = &v12.Address{} + m.Address = &v1.Address{} } if err := m.Address.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -13497,7 +15482,7 @@ func (m *WalletIdResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.WalletId == nil { - m.WalletId = &v12.WalletId{} + m.WalletId = &v1.WalletId{} } if err := m.WalletId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -13583,7 +15568,7 @@ func (m *IndexByAddressRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Address == nil { - m.Address = &v12.Address{} + m.Address = &v1.Address{} } if err := m.Address.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -13669,7 +15654,7 @@ func (m *IndexByAddressResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.AddressIndex == nil { - m.AddressIndex = &v12.AddressIndex{} + m.AddressIndex = &v1.AddressIndex{} } if err := m.AddressIndex.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -13755,7 +15740,7 @@ func (m *EphemeralAddressRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.AddressIndex == nil { - m.AddressIndex = &v12.AddressIndex{} + m.AddressIndex = &v1.AddressIndex{} } if err := m.AddressIndex.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -13841,7 +15826,7 @@ func (m *EphemeralAddressResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Address == nil { - m.Address = &v12.Address{} + m.Address = &v1.Address{} } if err := m.Address.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -13927,7 +15912,7 @@ func (m *BalancesRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.AccountFilter == nil { - m.AccountFilter = &v12.AddressIndex{} + m.AccountFilter = &v1.AddressIndex{} } if err := m.AccountFilter.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -13963,7 +15948,7 @@ func (m *BalancesRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.AssetIdFilter == nil { - m.AssetIdFilter = &v16.AssetId{} + m.AssetIdFilter = &v18.AssetId{} } if err := m.AssetIdFilter.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -14049,7 +16034,7 @@ func (m *BalancesResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Account == nil { - m.Account = &v12.AddressIndex{} + m.Account = &v1.AddressIndex{} } if err := m.Account.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -14085,7 +16070,7 @@ func (m *BalancesResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Balance == nil { - m.Balance = &v16.Value{} + m.Balance = &v18.Value{} } if err := m.Balance.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -14121,7 +16106,7 @@ func (m *BalancesResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.AccountAddress == nil { - m.AccountAddress = &v12.AddressView{} + m.AccountAddress = &v1.AddressView{} } if err := m.AccountAddress.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -14157,7 +16142,7 @@ func (m *BalancesResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.BalanceView == nil { - m.BalanceView = &v16.ValueView{} + m.BalanceView = &v18.ValueView{} } if err := m.BalanceView.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -14578,7 +16563,7 @@ func (m *NotesRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.AssetId == nil { - m.AssetId = &v16.AssetId{} + m.AssetId = &v18.AssetId{} } if err := m.AssetId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -14614,7 +16599,7 @@ func (m *NotesRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.AddressIndex == nil { - m.AddressIndex = &v12.AddressIndex{} + m.AddressIndex = &v1.AddressIndex{} } if err := m.AddressIndex.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -14650,7 +16635,7 @@ func (m *NotesRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.AmountToSpend == nil { - m.AmountToSpend = &v18.Amount{} + m.AmountToSpend = &v110.Amount{} } if err := m.AmountToSpend.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -14755,7 +16740,7 @@ func (m *NotesForVotingRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.AddressIndex == nil { - m.AddressIndex = &v12.AddressIndex{} + m.AddressIndex = &v1.AddressIndex{} } if err := m.AddressIndex.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -14841,7 +16826,7 @@ func (m *WitnessRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.TransactionPlan == nil { - m.TransactionPlan = &v1.TransactionPlan{} + m.TransactionPlan = &v13.TransactionPlan{} } if err := m.TransactionPlan.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -14927,7 +16912,7 @@ func (m *WitnessResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.WitnessData == nil { - m.WitnessData = &v1.WitnessData{} + m.WitnessData = &v13.WitnessData{} } if err := m.WitnessData.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -15013,7 +16998,7 @@ func (m *WitnessAndBuildRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.TransactionPlan == nil { - m.TransactionPlan = &v1.TransactionPlan{} + m.TransactionPlan = &v13.TransactionPlan{} } if err := m.TransactionPlan.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -15049,7 +17034,7 @@ func (m *WitnessAndBuildRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.AuthorizationData == nil { - m.AuthorizationData = &v1.AuthorizationData{} + m.AuthorizationData = &v13.AuthorizationData{} } if err := m.AuthorizationData.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -15316,7 +17301,7 @@ func (m *WitnessAndBuildResponse_Complete) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Transaction == nil { - m.Transaction = &v1.Transaction{} + m.Transaction = &v13.Transaction{} } if err := m.Transaction.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -15421,7 +17406,7 @@ func (m *AssetsRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.IncludeSpecificDenominations = append(m.IncludeSpecificDenominations, &v16.Denom{}) + m.IncludeSpecificDenominations = append(m.IncludeSpecificDenominations, &v18.Denom{}) if err := m.IncludeSpecificDenominations[len(m.IncludeSpecificDenominations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } @@ -15606,7 +17591,7 @@ func (m *AssetsResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.DenomMetadata == nil { - m.DenomMetadata = &v16.Metadata{} + m.DenomMetadata = &v18.Metadata{} } if err := m.DenomMetadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -15742,7 +17727,7 @@ func (m *AppParametersResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Parameters == nil { - m.Parameters = &v111.AppParameters{} + m.Parameters = &v112.AppParameters{} } if err := m.Parameters.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -15878,12 +17863,46 @@ func (m *GasPricesResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.GasPrices == nil { - m.GasPrices = &v14.GasPrices{} + m.GasPrices = &v16.GasPrices{} } if err := m.GasPrices.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AltGasPrices", 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 + } + m.AltGasPrices = append(m.AltGasPrices, &v16.GasPrices{}) + if err := m.AltGasPrices[len(m.AltGasPrices)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipView(dAtA[iNdEx:]) @@ -16014,7 +18033,7 @@ func (m *FMDParametersResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Parameters == nil { - m.Parameters = &v112.FmdParameters{} + m.Parameters = &v113.FmdParameters{} } if err := m.Parameters.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -16100,7 +18119,7 @@ func (m *NoteByCommitmentRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.NoteCommitment == nil { - m.NoteCommitment = &v17.StateCommitment{} + m.NoteCommitment = &v19.StateCommitment{} } if err := m.NoteCommitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -16292,7 +18311,7 @@ func (m *SwapByCommitmentRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.SwapCommitment == nil { - m.SwapCommitment = &v17.StateCommitment{} + m.SwapCommitment = &v19.StateCommitment{} } if err := m.SwapCommitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -16620,7 +18639,7 @@ func (m *NullifierStatusRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Nullifier == nil { - m.Nullifier = &v15.Nullifier{} + m.Nullifier = &v17.Nullifier{} } if err := m.Nullifier.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -16796,7 +18815,7 @@ func (m *TransactionInfoByHashRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Id == nil { - m.Id = &v11.TransactionId{} + m.Id = &v14.TransactionId{} } if err := m.Id.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -16989,7 +19008,7 @@ func (m *TransactionInfo) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Id == nil { - m.Id = &v11.TransactionId{} + m.Id = &v14.TransactionId{} } if err := m.Id.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -17025,7 +19044,7 @@ func (m *TransactionInfo) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Transaction == nil { - m.Transaction = &v1.Transaction{} + m.Transaction = &v13.Transaction{} } if err := m.Transaction.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -17061,7 +19080,7 @@ func (m *TransactionInfo) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Perspective == nil { - m.Perspective = &v1.TransactionPerspective{} + m.Perspective = &v13.TransactionPerspective{} } if err := m.Perspective.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -17097,7 +19116,7 @@ func (m *TransactionInfo) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.View == nil { - m.View = &v1.TransactionView{} + m.View = &v13.TransactionView{} } if err := m.View.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -17477,7 +19496,7 @@ func (m *NotesForVotingResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.IdentityKey == nil { - m.IdentityKey = &v12.IdentityKey{} + m.IdentityKey = &v1.IdentityKey{} } if err := m.IdentityKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -17563,7 +19582,7 @@ func (m *SpendableNoteRecord) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.NoteCommitment == nil { - m.NoteCommitment = &v17.StateCommitment{} + m.NoteCommitment = &v19.StateCommitment{} } if err := m.NoteCommitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -17599,7 +19618,7 @@ func (m *SpendableNoteRecord) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Note == nil { - m.Note = &v112.Note{} + m.Note = &v113.Note{} } if err := m.Note.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -17635,7 +19654,7 @@ func (m *SpendableNoteRecord) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.AddressIndex == nil { - m.AddressIndex = &v12.AddressIndex{} + m.AddressIndex = &v1.AddressIndex{} } if err := m.AddressIndex.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -17671,7 +19690,7 @@ func (m *SpendableNoteRecord) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Nullifier == nil { - m.Nullifier = &v15.Nullifier{} + m.Nullifier = &v17.Nullifier{} } if err := m.Nullifier.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -17764,7 +19783,7 @@ func (m *SpendableNoteRecord) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Source == nil { - m.Source = &v15.CommitmentSource{} + m.Source = &v17.CommitmentSource{} } if err := m.Source.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -17800,7 +19819,7 @@ func (m *SpendableNoteRecord) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.ReturnAddress == nil { - m.ReturnAddress = &v12.AddressView{} + m.ReturnAddress = &v1.AddressView{} } if err := m.ReturnAddress.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -17886,7 +19905,7 @@ func (m *SwapRecord) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.SwapCommitment == nil { - m.SwapCommitment = &v17.StateCommitment{} + m.SwapCommitment = &v19.StateCommitment{} } if err := m.SwapCommitment.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -17922,7 +19941,7 @@ func (m *SwapRecord) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Swap == nil { - m.Swap = &v110.SwapPlaintext{} + m.Swap = &v12.SwapPlaintext{} } if err := m.Swap.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -17977,7 +19996,7 @@ func (m *SwapRecord) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Nullifier == nil { - m.Nullifier = &v15.Nullifier{} + m.Nullifier = &v17.Nullifier{} } if err := m.Nullifier.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -18013,7 +20032,7 @@ func (m *SwapRecord) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.OutputData == nil { - m.OutputData = &v110.BatchSwapOutputData{} + m.OutputData = &v12.BatchSwapOutputData{} } if err := m.OutputData.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -18068,7 +20087,7 @@ func (m *SwapRecord) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Source == nil { - m.Source = &v15.CommitmentSource{} + m.Source = &v17.CommitmentSource{} } if err := m.Source.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -18154,7 +20173,7 @@ func (m *OwnedPositionIdsRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.PositionState == nil { - m.PositionState = &v110.PositionState{} + m.PositionState = &v12.PositionState{} } if err := m.PositionState.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -18190,7 +20209,7 @@ func (m *OwnedPositionIdsRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.TradingPair == nil { - m.TradingPair = &v110.TradingPair{} + m.TradingPair = &v12.TradingPair{} } if err := m.TradingPair.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -18276,7 +20295,7 @@ func (m *OwnedPositionIdsResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.PositionId == nil { - m.PositionId = &v110.PositionId{} + m.PositionId = &v12.PositionId{} } if err := m.PositionId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -18362,7 +20381,7 @@ func (m *AssetMetadataByIdRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.AssetId == nil { - m.AssetId = &v16.AssetId{} + m.AssetId = &v18.AssetId{} } if err := m.AssetId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -18448,7 +20467,7 @@ func (m *AssetMetadataByIdResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.DenomMetadata == nil { - m.DenomMetadata = &v16.Metadata{} + m.DenomMetadata = &v18.Metadata{} } if err := m.DenomMetadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -18534,7 +20553,7 @@ func (m *DelegationsByAddressIndexRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.AddressIndex == nil { - m.AddressIndex = &v12.AddressIndex{} + m.AddressIndex = &v1.AddressIndex{} } if err := m.AddressIndex.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -18639,12 +20658,223 @@ func (m *DelegationsByAddressIndexResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.ValueView == nil { - m.ValueView = &v16.ValueView{} + m.ValueView = &v18.ValueView{} + } + if err := m.ValueView.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 *UnbondingTokensByAddressIndexRequest) 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: UnbondingTokensByAddressIndexRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UnbondingTokensByAddressIndexRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Filter", wireType) + } + m.Filter = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowView + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Filter |= UnbondingTokensByAddressIndexRequest_Filter(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AddressIndex", 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.AddressIndex == nil { + m.AddressIndex = &v1.AddressIndex{} + } + if err := m.AddressIndex.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 *UnbondingTokensByAddressIndexResponse) 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: UnbondingTokensByAddressIndexResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UnbondingTokensByAddressIndexResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ValueView", 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.ValueView == nil { + m.ValueView = &v18.ValueView{} } if err := m.ValueView.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Claimable", wireType) + } + 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 + } + } + m.Claimable = bool(v != 0) default: iNdEx = preIndex skippy, err := skipView(dAtA[iNdEx:]) From 236aa50f1d369c7ff9f67b926755694d930241b9 Mon Sep 17 00:00:00 2001 From: Justin Tieri <37750742+jtieri@users.noreply.github.com> Date: Thu, 30 May 2024 16:05:34 -0500 Subject: [PATCH 2/2] fix: instantiate ChainId in TransactionParameters --- relayer/chains/penumbra/tx.go | 1 + 1 file changed, 1 insertion(+) diff --git a/relayer/chains/penumbra/tx.go b/relayer/chains/penumbra/tx.go index b923a4fb2..778e04f04 100644 --- a/relayer/chains/penumbra/tx.go +++ b/relayer/chains/penumbra/tx.go @@ -311,6 +311,7 @@ func (cc *PenumbraProvider) sendMessagesInner(ctx context.Context, msgs []provid txBody := penumbratypes.TransactionBody{ Actions: make([]*penumbratypes.Action, 0), TransactionParameters: &penumbratypes.TransactionParameters{ + ChainId: cc.ChainId(), Fee: &penumbrafee.Fee{ Amount: &penumbraasset.Amount{Lo: 0, Hi: 0}, },