From 04d73d353f05f4127cf8d05b9d90500c40dd3942 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Sep 2024 01:36:23 +0000 Subject: [PATCH 1/2] chore(deps): bump go.opentelemetry.io/otel from 1.29.0 to 1.30.0 Bumps [go.opentelemetry.io/otel](https://github.com/open-telemetry/opentelemetry-go) from 1.29.0 to 1.30.0. - [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md) - [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.29.0...v1.30.0) --- updated-dependencies: - dependency-name: go.opentelemetry.io/otel dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- go.mod | 6 +++--- go.sum | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/go.mod b/go.mod index 0428ff7bd68..77022409ac0 100644 --- a/go.mod +++ b/go.mod @@ -56,7 +56,7 @@ require ( github.com/tidwall/btree v1.7.0 github.com/tidwall/gjson v1.17.3 go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.54.0 - go.opentelemetry.io/otel v1.29.0 + go.opentelemetry.io/otel v1.30.0 go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.29.0 go.opentelemetry.io/otel/sdk v1.29.0 go.uber.org/multierr v1.11.0 @@ -156,8 +156,8 @@ require ( github.com/zondax/ledger-go v0.14.3 // indirect go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.29.0 // indirect - go.opentelemetry.io/otel/metric v1.29.0 // indirect - go.opentelemetry.io/otel/trace v1.29.0 // indirect + go.opentelemetry.io/otel/metric v1.30.0 // indirect + go.opentelemetry.io/otel/trace v1.30.0 // indirect go.opentelemetry.io/proto/otlp v1.3.1 // indirect golang.org/x/oauth2 v0.22.0 // indirect golang.org/x/time v0.6.0 // indirect diff --git a/go.sum b/go.sum index aaf0faf812a..17fdc6f1286 100644 --- a/go.sum +++ b/go.sum @@ -1134,18 +1134,18 @@ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.5 go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.54.0/go.mod h1:B9yO6b04uB80CzjedvewuqDhxJxi11s7/GtiGa8bAjI= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 h1:jq9TW8u3so/bN+JPT166wjOI6/vQPF6Xe7nMNIltagk= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0/go.mod h1:p8pYQP+m5XfbZm9fxtSKAbM6oIllS7s2AfxrChvc7iw= -go.opentelemetry.io/otel v1.29.0 h1:PdomN/Al4q/lN6iBJEN3AwPvUiHPMlt93c8bqTG5Llw= -go.opentelemetry.io/otel v1.29.0/go.mod h1:N/WtXPs1CNCUEx+Agz5uouwCba+i+bJGFicT8SR4NP8= +go.opentelemetry.io/otel v1.30.0 h1:F2t8sK4qf1fAmY9ua4ohFS/K+FUuOPemHUIXHtktrts= +go.opentelemetry.io/otel v1.30.0/go.mod h1:tFw4Br9b7fOS+uEao81PJjVMjW/5fvNCbpsDIXqP0pc= go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.29.0 h1:dIIDULZJpgdiHz5tXrTgKIMLkus6jEFa7x5SOKcyR7E= go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.29.0/go.mod h1:jlRVBe7+Z1wyxFSUs48L6OBQZ5JwH2Hg/Vbl+t9rAgI= go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.29.0 h1:nSiV3s7wiCam610XcLbYOmMfJxB9gO4uK3Xgv5gmTgg= go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.29.0/go.mod h1:hKn/e/Nmd19/x1gvIHwtOwVWM+VhuITSWip3JUDghj0= -go.opentelemetry.io/otel/metric v1.29.0 h1:vPf/HFWTNkPu1aYeIsc98l4ktOQaL6LeSoeV2g+8YLc= -go.opentelemetry.io/otel/metric v1.29.0/go.mod h1:auu/QWieFVWx+DmQOUMgj0F8LHWdgalxXqvp7BII/W8= +go.opentelemetry.io/otel/metric v1.30.0 h1:4xNulvn9gjzo4hjg+wzIKG7iNFEaBMX00Qd4QIZs7+w= +go.opentelemetry.io/otel/metric v1.30.0/go.mod h1:aXTfST94tswhWEb+5QjlSqG+cZlmyXy/u8jFpor3WqQ= go.opentelemetry.io/otel/sdk v1.29.0 h1:vkqKjk7gwhS8VaWb0POZKmIEDimRCMsopNYnriHyryo= go.opentelemetry.io/otel/sdk v1.29.0/go.mod h1:pM8Dx5WKnvxLCb+8lG1PRNIDxu9g9b9g59Qr7hfAAok= -go.opentelemetry.io/otel/trace v1.29.0 h1:J/8ZNK4XgR7a21DZUAsbF8pZ5Jcw1VhACmnYt39JTi4= -go.opentelemetry.io/otel/trace v1.29.0/go.mod h1:eHl3w0sp3paPkYstJOmAimxhiFXPg+MMTlEh3nsQgWQ= +go.opentelemetry.io/otel/trace v1.30.0 h1:7UBkkYzeg3C7kQX8VAidWh2biiQbtAKjyIML8dQ9wmc= +go.opentelemetry.io/otel/trace v1.30.0/go.mod h1:5EyKqTzzmyqB9bwtCCq6pDLktPK6fmGf/Dph+8VI02o= go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= go.opentelemetry.io/proto/otlp v1.3.1 h1:TrMUixzpM0yuc/znrFTP9MMRh8trP93mkCiDVeXrui0= go.opentelemetry.io/proto/otlp v1.3.1/go.mod h1:0X1WI4de4ZsLrrJNLAQbFeLCm3T7yBkR0XqQ7niQU+8= From bb574cfe126b14546bb5673fdce9e57496f3b5cf Mon Sep 17 00:00:00 2001 From: github-actions Date: Mon, 16 Sep 2024 01:46:05 +0000 Subject: [PATCH 2/2] Generated protofile changes --- x/gamm/types/tx.pb.go | 895 +++++++++++++++++++++++++++++++++----- x/lockup/types/tx.pb.go | 512 +++++++++++++++++++--- x/protorev/types/tx.pb.go | 351 ++++++++++++--- 3 files changed, 1535 insertions(+), 223 deletions(-) diff --git a/x/gamm/types/tx.pb.go b/x/gamm/types/tx.pb.go index bb29742a861..41e5352b4b0 100644 --- a/x/gamm/types/tx.pb.go +++ b/x/gamm/types/tx.pb.go @@ -13,6 +13,7 @@ import ( _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" + balancer "github.com/osmosis-labs/osmosis/v26/x/gamm/pool-models/balancer" types1 "github.com/osmosis-labs/osmosis/v26/x/poolmanager/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" @@ -33,6 +34,77 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// ===================== MsgCreatePool +// This is not used anymore, but must be retained in the file to allow indexers +// to index blocks since genesis +type MsgCreatePool struct { + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"` + PoolParams balancer.PoolParams `protobuf:"bytes,2,opt,name=poolParams,proto3" json:"poolParams" yaml:"pool_params"` + PoolAssets []balancer.PoolAsset `protobuf:"bytes,3,rep,name=poolAssets,proto3" json:"poolAssets"` + FuturePoolGovernor string `protobuf:"bytes,4,opt,name=future_pool_governor,json=futurePoolGovernor,proto3" json:"future_pool_governor,omitempty" yaml:"future_pool_governor"` +} + +func (m *MsgCreatePool) Reset() { *m = MsgCreatePool{} } +func (m *MsgCreatePool) String() string { return proto.CompactTextString(m) } +func (*MsgCreatePool) ProtoMessage() {} +func (*MsgCreatePool) Descriptor() ([]byte, []int) { + return fileDescriptor_cfc8fd3ac7df3247, []int{0} +} +func (m *MsgCreatePool) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgCreatePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgCreatePool.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 *MsgCreatePool) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgCreatePool.Merge(m, src) +} +func (m *MsgCreatePool) XXX_Size() int { + return m.Size() +} +func (m *MsgCreatePool) XXX_DiscardUnknown() { + xxx_messageInfo_MsgCreatePool.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgCreatePool proto.InternalMessageInfo + +func (m *MsgCreatePool) GetSender() string { + if m != nil { + return m.Sender + } + return "" +} + +func (m *MsgCreatePool) GetPoolParams() balancer.PoolParams { + if m != nil { + return m.PoolParams + } + return balancer.PoolParams{} +} + +func (m *MsgCreatePool) GetPoolAssets() []balancer.PoolAsset { + if m != nil { + return m.PoolAssets + } + return nil +} + +func (m *MsgCreatePool) GetFuturePoolGovernor() string { + if m != nil { + return m.FuturePoolGovernor + } + return "" +} + // ===================== MsgJoinPool // This is really MsgJoinPoolNoSwap type MsgJoinPool struct { @@ -46,7 +118,7 @@ func (m *MsgJoinPool) Reset() { *m = MsgJoinPool{} } func (m *MsgJoinPool) String() string { return proto.CompactTextString(m) } func (*MsgJoinPool) ProtoMessage() {} func (*MsgJoinPool) Descriptor() ([]byte, []int) { - return fileDescriptor_cfc8fd3ac7df3247, []int{0} + return fileDescriptor_cfc8fd3ac7df3247, []int{1} } func (m *MsgJoinPool) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -105,7 +177,7 @@ func (m *MsgJoinPoolResponse) Reset() { *m = MsgJoinPoolResponse{} } func (m *MsgJoinPoolResponse) String() string { return proto.CompactTextString(m) } func (*MsgJoinPoolResponse) ProtoMessage() {} func (*MsgJoinPoolResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cfc8fd3ac7df3247, []int{1} + return fileDescriptor_cfc8fd3ac7df3247, []int{2} } func (m *MsgJoinPoolResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -153,7 +225,7 @@ func (m *MsgExitPool) Reset() { *m = MsgExitPool{} } func (m *MsgExitPool) String() string { return proto.CompactTextString(m) } func (*MsgExitPool) ProtoMessage() {} func (*MsgExitPool) Descriptor() ([]byte, []int) { - return fileDescriptor_cfc8fd3ac7df3247, []int{2} + return fileDescriptor_cfc8fd3ac7df3247, []int{3} } func (m *MsgExitPool) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -211,7 +283,7 @@ func (m *MsgExitPoolResponse) Reset() { *m = MsgExitPoolResponse{} } func (m *MsgExitPoolResponse) String() string { return proto.CompactTextString(m) } func (*MsgExitPoolResponse) ProtoMessage() {} func (*MsgExitPoolResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cfc8fd3ac7df3247, []int{3} + return fileDescriptor_cfc8fd3ac7df3247, []int{4} } func (m *MsgExitPoolResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -259,7 +331,7 @@ func (m *MsgSwapExactAmountIn) Reset() { *m = MsgSwapExactAmountIn{} } func (m *MsgSwapExactAmountIn) String() string { return proto.CompactTextString(m) } func (*MsgSwapExactAmountIn) ProtoMessage() {} func (*MsgSwapExactAmountIn) Descriptor() ([]byte, []int) { - return fileDescriptor_cfc8fd3ac7df3247, []int{4} + return fileDescriptor_cfc8fd3ac7df3247, []int{5} } func (m *MsgSwapExactAmountIn) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -317,7 +389,7 @@ func (m *MsgSwapExactAmountInResponse) Reset() { *m = MsgSwapExactAmount func (m *MsgSwapExactAmountInResponse) String() string { return proto.CompactTextString(m) } func (*MsgSwapExactAmountInResponse) ProtoMessage() {} func (*MsgSwapExactAmountInResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cfc8fd3ac7df3247, []int{5} + return fileDescriptor_cfc8fd3ac7df3247, []int{6} } func (m *MsgSwapExactAmountInResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -357,7 +429,7 @@ func (m *MsgSwapExactAmountOut) Reset() { *m = MsgSwapExactAmountOut{} } func (m *MsgSwapExactAmountOut) String() string { return proto.CompactTextString(m) } func (*MsgSwapExactAmountOut) ProtoMessage() {} func (*MsgSwapExactAmountOut) Descriptor() ([]byte, []int) { - return fileDescriptor_cfc8fd3ac7df3247, []int{6} + return fileDescriptor_cfc8fd3ac7df3247, []int{7} } func (m *MsgSwapExactAmountOut) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -415,7 +487,7 @@ func (m *MsgSwapExactAmountOutResponse) Reset() { *m = MsgSwapExactAmoun func (m *MsgSwapExactAmountOutResponse) String() string { return proto.CompactTextString(m) } func (*MsgSwapExactAmountOutResponse) ProtoMessage() {} func (*MsgSwapExactAmountOutResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cfc8fd3ac7df3247, []int{7} + return fileDescriptor_cfc8fd3ac7df3247, []int{8} } func (m *MsgSwapExactAmountOutResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -457,7 +529,7 @@ func (m *MsgJoinSwapExternAmountIn) Reset() { *m = MsgJoinSwapExternAmou func (m *MsgJoinSwapExternAmountIn) String() string { return proto.CompactTextString(m) } func (*MsgJoinSwapExternAmountIn) ProtoMessage() {} func (*MsgJoinSwapExternAmountIn) Descriptor() ([]byte, []int) { - return fileDescriptor_cfc8fd3ac7df3247, []int{8} + return fileDescriptor_cfc8fd3ac7df3247, []int{9} } func (m *MsgJoinSwapExternAmountIn) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -515,7 +587,7 @@ func (m *MsgJoinSwapExternAmountInResponse) Reset() { *m = MsgJoinSwapEx func (m *MsgJoinSwapExternAmountInResponse) String() string { return proto.CompactTextString(m) } func (*MsgJoinSwapExternAmountInResponse) ProtoMessage() {} func (*MsgJoinSwapExternAmountInResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cfc8fd3ac7df3247, []int{9} + return fileDescriptor_cfc8fd3ac7df3247, []int{10} } func (m *MsgJoinSwapExternAmountInResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -557,7 +629,7 @@ func (m *MsgJoinSwapShareAmountOut) Reset() { *m = MsgJoinSwapShareAmoun func (m *MsgJoinSwapShareAmountOut) String() string { return proto.CompactTextString(m) } func (*MsgJoinSwapShareAmountOut) ProtoMessage() {} func (*MsgJoinSwapShareAmountOut) Descriptor() ([]byte, []int) { - return fileDescriptor_cfc8fd3ac7df3247, []int{10} + return fileDescriptor_cfc8fd3ac7df3247, []int{11} } func (m *MsgJoinSwapShareAmountOut) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -615,7 +687,7 @@ func (m *MsgJoinSwapShareAmountOutResponse) Reset() { *m = MsgJoinSwapSh func (m *MsgJoinSwapShareAmountOutResponse) String() string { return proto.CompactTextString(m) } func (*MsgJoinSwapShareAmountOutResponse) ProtoMessage() {} func (*MsgJoinSwapShareAmountOutResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cfc8fd3ac7df3247, []int{11} + return fileDescriptor_cfc8fd3ac7df3247, []int{12} } func (m *MsgJoinSwapShareAmountOutResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -657,7 +729,7 @@ func (m *MsgExitSwapShareAmountIn) Reset() { *m = MsgExitSwapShareAmount func (m *MsgExitSwapShareAmountIn) String() string { return proto.CompactTextString(m) } func (*MsgExitSwapShareAmountIn) ProtoMessage() {} func (*MsgExitSwapShareAmountIn) Descriptor() ([]byte, []int) { - return fileDescriptor_cfc8fd3ac7df3247, []int{12} + return fileDescriptor_cfc8fd3ac7df3247, []int{13} } func (m *MsgExitSwapShareAmountIn) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -715,7 +787,7 @@ func (m *MsgExitSwapShareAmountInResponse) Reset() { *m = MsgExitSwapSha func (m *MsgExitSwapShareAmountInResponse) String() string { return proto.CompactTextString(m) } func (*MsgExitSwapShareAmountInResponse) ProtoMessage() {} func (*MsgExitSwapShareAmountInResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cfc8fd3ac7df3247, []int{13} + return fileDescriptor_cfc8fd3ac7df3247, []int{14} } func (m *MsgExitSwapShareAmountInResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -756,7 +828,7 @@ func (m *MsgExitSwapExternAmountOut) Reset() { *m = MsgExitSwapExternAmo func (m *MsgExitSwapExternAmountOut) String() string { return proto.CompactTextString(m) } func (*MsgExitSwapExternAmountOut) ProtoMessage() {} func (*MsgExitSwapExternAmountOut) Descriptor() ([]byte, []int) { - return fileDescriptor_cfc8fd3ac7df3247, []int{14} + return fileDescriptor_cfc8fd3ac7df3247, []int{15} } func (m *MsgExitSwapExternAmountOut) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -814,7 +886,7 @@ func (m *MsgExitSwapExternAmountOutResponse) Reset() { *m = MsgExitSwapE func (m *MsgExitSwapExternAmountOutResponse) String() string { return proto.CompactTextString(m) } func (*MsgExitSwapExternAmountOutResponse) ProtoMessage() {} func (*MsgExitSwapExternAmountOutResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cfc8fd3ac7df3247, []int{15} + return fileDescriptor_cfc8fd3ac7df3247, []int{16} } func (m *MsgExitSwapExternAmountOutResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -843,7 +915,78 @@ func (m *MsgExitSwapExternAmountOutResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgExitSwapExternAmountOutResponse proto.InternalMessageInfo +// This is not used anymore, but must be retained in the file to allow indexers +// to index blocks since genesis +type MsgCreateBalancerPool struct { + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"` + PoolParams *balancer.PoolParams `protobuf:"bytes,2,opt,name=pool_params,json=poolParams,proto3" json:"pool_params,omitempty" yaml:"pool_params"` + PoolAssets []balancer.PoolAsset `protobuf:"bytes,3,rep,name=pool_assets,json=poolAssets,proto3" json:"pool_assets"` + FuturePoolGovernor string `protobuf:"bytes,4,opt,name=future_pool_governor,json=futurePoolGovernor,proto3" json:"future_pool_governor,omitempty" yaml:"future_pool_governor"` +} + +func (m *MsgCreateBalancerPool) Reset() { *m = MsgCreateBalancerPool{} } +func (m *MsgCreateBalancerPool) String() string { return proto.CompactTextString(m) } +func (*MsgCreateBalancerPool) ProtoMessage() {} +func (*MsgCreateBalancerPool) Descriptor() ([]byte, []int) { + return fileDescriptor_cfc8fd3ac7df3247, []int{17} +} +func (m *MsgCreateBalancerPool) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgCreateBalancerPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgCreateBalancerPool.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 *MsgCreateBalancerPool) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgCreateBalancerPool.Merge(m, src) +} +func (m *MsgCreateBalancerPool) XXX_Size() int { + return m.Size() +} +func (m *MsgCreateBalancerPool) XXX_DiscardUnknown() { + xxx_messageInfo_MsgCreateBalancerPool.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgCreateBalancerPool proto.InternalMessageInfo + +func (m *MsgCreateBalancerPool) GetSender() string { + if m != nil { + return m.Sender + } + return "" +} + +func (m *MsgCreateBalancerPool) GetPoolParams() *balancer.PoolParams { + if m != nil { + return m.PoolParams + } + return nil +} + +func (m *MsgCreateBalancerPool) GetPoolAssets() []balancer.PoolAsset { + if m != nil { + return m.PoolAssets + } + return nil +} + +func (m *MsgCreateBalancerPool) GetFuturePoolGovernor() string { + if m != nil { + return m.FuturePoolGovernor + } + return "" +} + func init() { + proto.RegisterType((*MsgCreatePool)(nil), "osmosis.gamm.v1beta1.MsgCreatePool") proto.RegisterType((*MsgJoinPool)(nil), "osmosis.gamm.v1beta1.MsgJoinPool") proto.RegisterType((*MsgJoinPoolResponse)(nil), "osmosis.gamm.v1beta1.MsgJoinPoolResponse") proto.RegisterType((*MsgExitPool)(nil), "osmosis.gamm.v1beta1.MsgExitPool") @@ -860,89 +1003,100 @@ func init() { proto.RegisterType((*MsgExitSwapShareAmountInResponse)(nil), "osmosis.gamm.v1beta1.MsgExitSwapShareAmountInResponse") proto.RegisterType((*MsgExitSwapExternAmountOut)(nil), "osmosis.gamm.v1beta1.MsgExitSwapExternAmountOut") proto.RegisterType((*MsgExitSwapExternAmountOutResponse)(nil), "osmosis.gamm.v1beta1.MsgExitSwapExternAmountOutResponse") + proto.RegisterType((*MsgCreateBalancerPool)(nil), "osmosis.gamm.v1beta1.MsgCreateBalancerPool") } func init() { proto.RegisterFile("osmosis/gamm/v1beta1/tx.proto", fileDescriptor_cfc8fd3ac7df3247) } var fileDescriptor_cfc8fd3ac7df3247 = []byte{ - // 1227 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0x3d, 0x6f, 0xdb, 0x46, - 0x18, 0x36, 0x2d, 0xc5, 0x71, 0xce, 0xf5, 0x17, 0xe3, 0x0f, 0x99, 0x49, 0x24, 0xfb, 0x5a, 0xa4, - 0x8e, 0x53, 0x93, 0xb1, 0x03, 0xd8, 0x86, 0x5b, 0xa0, 0xa8, 0xda, 0x0c, 0x0a, 0x2a, 0x28, 0x60, - 0x96, 0xa0, 0x8b, 0x40, 0xd9, 0x04, 0xcd, 0xc4, 0xbc, 0x13, 0x74, 0x47, 0x47, 0x99, 0x1a, 0xb8, - 0x4d, 0x0b, 0x74, 0xea, 0x4f, 0xc9, 0xda, 0xa1, 0x9d, 0x3d, 0x66, 0x68, 0x81, 0xa2, 0x83, 0x50, - 0xd8, 0x43, 0x80, 0xa2, 0x93, 0x7e, 0x41, 0x71, 0xe4, 0x91, 0x22, 0x29, 0xd2, 0x94, 0x54, 0xc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 0xa5, 0xf0, 0xd8, 0x9b, 0xc7, 0x5a, 0x8d, 0x78, 0x5f, 0x94, 0x93, 0xed, 0x1d, 0xa5, - 0xe9, 0xaa, 0x14, 0x7d, 0x55, 0xd7, 0x49, 0x6d, 0xc2, 0xf9, 0x05, 0xf2, 0xe1, 0x7f, 0x01, 0x00, - 0x00, 0xff, 0xff, 0xc1, 0x4d, 0xa3, 0xff, 0x48, 0x15, 0x00, 0x00, + // 1384 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcf, 0x6f, 0x1b, 0x45, + 0x14, 0xce, 0xda, 0x6e, 0x9a, 0x4e, 0xc8, 0xaf, 0x6d, 0x7e, 0x38, 0xdb, 0xd6, 0x4e, 0x06, 0xd4, + 0xa6, 0x29, 0xd9, 0x6d, 0x5c, 0x29, 0x89, 0x02, 0x12, 0xaa, 0x4b, 0x40, 0xae, 0xb0, 0x1c, 0xb6, + 0x97, 0x82, 0x90, 0xac, 0x75, 0xbc, 0x6c, 0xb6, 0xcd, 0xce, 0x58, 0x3b, 0xbb, 0xa9, 0x7b, 0xa2, + 0x0a, 0x14, 0x24, 0x4e, 0xfc, 0x29, 0x15, 0x27, 0x38, 0xc0, 0x39, 0xc7, 0x1e, 0x40, 0x42, 0x1c, + 0x2c, 0x94, 0x1c, 0x2a, 0x21, 0x4e, 0xfe, 0x0b, 0xd0, 0xec, 0xce, 0xae, 0x77, 0xd7, 0xbb, 0xb1, + 0x1d, 0x92, 0x88, 0x4b, 0x1b, 0xcf, 0xbc, 0xf7, 0xe6, 0xcd, 0xf7, 0xbe, 0xf9, 0xe6, 0xed, 0x80, + 0x1b, 0x98, 0x18, 0x98, 0xe8, 0x44, 0xd2, 0x14, 0xc3, 0x90, 0xf6, 0x57, 0x6b, 0xaa, 0xa5, 0xac, + 0x4a, 0x56, 0x53, 0x6c, 0x98, 0xd8, 0xc2, 0xfc, 0x34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c, 0xb5, 0xa0, 0x37, 0x5b, 0x89, 0x40, 0x79, 0xd4, 0x19, + 0x2e, 0xa1, 0xb2, 0xd2, 0x24, 0x9b, 0x37, 0x0f, 0xde, 0xbc, 0x5a, 0x66, 0x00, 0x7c, 0xff, 0xe6, + 0xd5, 0xf2, 0x6c, 0x88, 0xe3, 0x4f, 0xb0, 0x8e, 0x56, 0x68, 0x9e, 0xf0, 0x90, 0x03, 0x57, 0x03, + 0xb0, 0xca, 0x2a, 0x69, 0x60, 0x44, 0x54, 0xbe, 0x16, 0x03, 0x83, 0x0b, 0xf4, 0x46, 0x2f, 0x18, + 0xe6, 0x58, 0x15, 0x22, 0xee, 0xdd, 0x38, 0x94, 0xc1, 0x88, 0xb7, 0x93, 0x6c, 0xaa, 0x17, 0x04, + 0x73, 0x0c, 0x82, 0x89, 0x30, 0x04, 0x50, 0xbe, 0xcc, 0xb6, 0x0d, 0x7f, 0x77, 0x19, 0xb2, 0xd5, + 0xd4, 0xad, 0x73, 0x65, 0x48, 0x15, 0x4c, 0xb8, 0x7b, 0xd3, 0xd1, 0xe9, 0x08, 0x12, 0xf1, 0x86, + 0xf2, 0x98, 0x33, 0x52, 0x42, 0x0c, 0x17, 0x15, 0x8c, 0xbb, 0xdb, 0xa3, 0xe0, 0x19, 0x3a, 0xea, + 0x83, 0x20, 0xef, 0x30, 0x74, 0xae, 0x07, 0xd1, 0x61, 0xee, 0x1d, 0x86, 0xbc, 0xe5, 0x8c, 0x57, + 0x6c, 0xab, 0xac, 0xa3, 0x5e, 0x14, 0x51, 0x9b, 0xba, 0xe5, 0x52, 0x44, 0x73, 0x18, 0xe2, 0xc1, + 0xea, 0x33, 0x64, 0x1b, 0x5c, 0xf1, 0x97, 0xc9, 0x72, 0xbd, 0x12, 0xcc, 0xb2, 0x04, 0x27, 0x23, + 0x09, 0x42, 0x79, 0xc4, 0x4b, 0x0a, 0xbe, 0x48, 0x83, 0xe9, 0x32, 0xd1, 0x1e, 0x3d, 0x53, 0x1a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52, 0xc5, 0xb6, 0x84, 0x7b, 0x03, 0x18, 0xfb, 0xeb, 0x1e, 0x70, 0x60, 0x36, + 0xa1, 0xbf, 0x96, 0x4e, 0x2c, 0x46, 0xb7, 0x83, 0xb0, 0x3e, 0xa0, 0x43, 0x6c, 0x12, 0x91, 0x6e, + 0xaf, 0x77, 0x12, 0x61, 0x87, 0x3e, 0x92, 0x48, 0xe8, 0x47, 0x5e, 0x72, 0x60, 0x2e, 0x49, 0xe1, + 0xef, 0x9e, 0xc8, 0x9e, 0x18, 0x0f, 0x61, 0x63, 0x50, 0x0f, 0x3f, 0x8f, 0xaf, 0xc0, 0x4c, 0x7c, + 0xcb, 0x22, 0xf6, 0x0c, 0x19, 0xb2, 0x17, 0xd6, 0x06, 0xb3, 0xf7, 0x12, 0x28, 0x3e, 0x3c, 0x3c, + 0xca, 0x71, 0xaf, 0x8f, 0x72, 0xdc, 0x5f, 0x47, 0x39, 0xee, 0x87, 0xe3, 0xdc, 0xd0, 0xeb, 0xe3, + 0xdc, 0xd0, 0x1f, 0xc7, 0xb9, 0xa1, 0xcf, 0xef, 0x6a, 0xba, 0xb5, 0x6b, 0xd7, 0xc4, 0x1d, 0x6c, + 0x48, 0x2c, 0xf6, 0xca, 0x9e, 0x52, 0x23, 0xde, 0x0f, 0x69, 0xbf, 0xb0, 0x26, 0x35, 0x5d, 0x81, + 0xb7, 0x9e, 0x37, 0x54, 0x52, 0x1b, 0x76, 0x5e, 0xbc, 0xef, 0xfd, 0x1b, 0x00, 0x00, 0xff, 0xff, + 0x2d, 0xff, 0x11, 0x5d, 0xe1, 0x17, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1277,6 +1431,67 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ Metadata: "osmosis/gamm/v1beta1/tx.proto", } +func (m *MsgCreatePool) 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 *MsgCreatePool) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgCreatePool) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.FuturePoolGovernor) > 0 { + i -= len(m.FuturePoolGovernor) + copy(dAtA[i:], m.FuturePoolGovernor) + i = encodeVarintTx(dAtA, i, uint64(len(m.FuturePoolGovernor))) + i-- + dAtA[i] = 0x22 + } + if len(m.PoolAssets) > 0 { + for iNdEx := len(m.PoolAssets) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.PoolAssets[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + } + { + size, err := m.PoolParams.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + if len(m.Sender) > 0 { + i -= len(m.Sender) + copy(dAtA[i:], m.Sender) + i = encodeVarintTx(dAtA, i, uint64(len(m.Sender))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *MsgJoinPool) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -2039,6 +2254,69 @@ func (m *MsgExitSwapExternAmountOutResponse) MarshalToSizedBuffer(dAtA []byte) ( return len(dAtA) - i, nil } +func (m *MsgCreateBalancerPool) 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 *MsgCreateBalancerPool) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgCreateBalancerPool) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.FuturePoolGovernor) > 0 { + i -= len(m.FuturePoolGovernor) + copy(dAtA[i:], m.FuturePoolGovernor) + i = encodeVarintTx(dAtA, i, uint64(len(m.FuturePoolGovernor))) + i-- + dAtA[i] = 0x22 + } + if len(m.PoolAssets) > 0 { + for iNdEx := len(m.PoolAssets) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.PoolAssets[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + } + if m.PoolParams != nil { + { + size, err := m.PoolParams.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Sender) > 0 { + i -= len(m.Sender) + copy(dAtA[i:], m.Sender) + i = encodeVarintTx(dAtA, i, uint64(len(m.Sender))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func encodeVarintTx(dAtA []byte, offset int, v uint64) int { offset -= sovTx(v) base := offset @@ -2050,6 +2328,31 @@ func encodeVarintTx(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } +func (m *MsgCreatePool) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Sender) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = m.PoolParams.Size() + n += 1 + l + sovTx(uint64(l)) + if len(m.PoolAssets) > 0 { + for _, e := range m.PoolAssets { + l = e.Size() + n += 1 + l + sovTx(uint64(l)) + } + } + l = len(m.FuturePoolGovernor) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + func (m *MsgJoinPool) Size() (n int) { if m == nil { return 0 @@ -2330,13 +2633,40 @@ func (m *MsgExitSwapExternAmountOutResponse) Size() (n int) { return n } +func (m *MsgCreateBalancerPool) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Sender) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.PoolParams != nil { + l = m.PoolParams.Size() + n += 1 + l + sovTx(uint64(l)) + } + if len(m.PoolAssets) > 0 { + for _, e := range m.PoolAssets { + l = e.Size() + n += 1 + l + sovTx(uint64(l)) + } + } + l = len(m.FuturePoolGovernor) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + func sovTx(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } func sozTx(x uint64) (n int) { return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } -func (m *MsgJoinPool) Unmarshal(dAtA []byte) error { +func (m *MsgCreatePool) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -2359,10 +2689,10 @@ func (m *MsgJoinPool) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgJoinPool: wiretype end group for non-group") + return fmt.Errorf("proto: MsgCreatePool: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgJoinPool: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgCreatePool: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -2398,10 +2728,191 @@ func (m *MsgJoinPool) Unmarshal(dAtA []byte) error { m.Sender = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PoolId", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PoolParams", wireType) } - m.PoolId = 0 + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.PoolParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PoolAssets", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PoolAssets = append(m.PoolAssets, balancer.PoolAsset{}) + if err := m.PoolAssets[len(m.PoolAssets)-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 FuturePoolGovernor", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + 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 ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FuturePoolGovernor = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgJoinPool) 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 ErrIntOverflowTx + } + 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: MsgJoinPool: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgJoinPool: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + 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 ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PoolId", wireType) + } + m.PoolId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -4484,6 +4995,190 @@ func (m *MsgExitSwapExternAmountOutResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *MsgCreateBalancerPool) 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 ErrIntOverflowTx + } + 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: MsgCreateBalancerPool: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgCreateBalancerPool: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + 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 ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Sender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PoolParams", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.PoolParams == nil { + m.PoolParams = &balancer.PoolParams{} + } + if err := m.PoolParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PoolAssets", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PoolAssets = append(m.PoolAssets, balancer.PoolAsset{}) + if err := m.PoolAssets[len(m.PoolAssets)-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 FuturePoolGovernor", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + 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 ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FuturePoolGovernor = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipTx(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/lockup/types/tx.pb.go b/x/lockup/types/tx.pb.go index d650d2f66c1..7613e658b71 100644 --- a/x/lockup/types/tx.pb.go +++ b/x/lockup/types/tx.pb.go @@ -36,6 +36,60 @@ var _ = time.Kitchen // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// This is not used anymore, but must be retained in the file to allow indexers +// to index blocks since genesis +type MsgUnlockPeriodLock struct { + Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty" yaml:"owner"` + ID uint64 `protobuf:"varint,2,opt,name=ID,proto3" json:"ID,omitempty"` +} + +func (m *MsgUnlockPeriodLock) Reset() { *m = MsgUnlockPeriodLock{} } +func (m *MsgUnlockPeriodLock) String() string { return proto.CompactTextString(m) } +func (*MsgUnlockPeriodLock) ProtoMessage() {} +func (*MsgUnlockPeriodLock) Descriptor() ([]byte, []int) { + return fileDescriptor_bcdad5af0d24735f, []int{0} +} +func (m *MsgUnlockPeriodLock) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgUnlockPeriodLock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgUnlockPeriodLock.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 *MsgUnlockPeriodLock) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUnlockPeriodLock.Merge(m, src) +} +func (m *MsgUnlockPeriodLock) XXX_Size() int { + return m.Size() +} +func (m *MsgUnlockPeriodLock) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUnlockPeriodLock.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgUnlockPeriodLock proto.InternalMessageInfo + +func (m *MsgUnlockPeriodLock) GetOwner() string { + if m != nil { + return m.Owner + } + return "" +} + +func (m *MsgUnlockPeriodLock) GetID() uint64 { + if m != nil { + return m.ID + } + return 0 +} + type MsgLockTokens struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty" yaml:"owner"` Duration time.Duration `protobuf:"bytes,2,opt,name=duration,proto3,stdduration" json:"duration,omitempty" yaml:"duration"` @@ -46,7 +100,7 @@ func (m *MsgLockTokens) Reset() { *m = MsgLockTokens{} } func (m *MsgLockTokens) String() string { return proto.CompactTextString(m) } func (*MsgLockTokens) ProtoMessage() {} func (*MsgLockTokens) Descriptor() ([]byte, []int) { - return fileDescriptor_bcdad5af0d24735f, []int{0} + return fileDescriptor_bcdad5af0d24735f, []int{1} } func (m *MsgLockTokens) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -104,7 +158,7 @@ func (m *MsgLockTokensResponse) Reset() { *m = MsgLockTokensResponse{} } func (m *MsgLockTokensResponse) String() string { return proto.CompactTextString(m) } func (*MsgLockTokensResponse) ProtoMessage() {} func (*MsgLockTokensResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bcdad5af0d24735f, []int{1} + return fileDescriptor_bcdad5af0d24735f, []int{2} } func (m *MsgLockTokensResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -140,6 +194,52 @@ func (m *MsgLockTokensResponse) GetID() uint64 { return 0 } +// This is not used anymore, but must be retained in the file to allow indexers +// to index blocks since genesis +type MsgUnlockTokens struct { + Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty" yaml:"owner"` +} + +func (m *MsgUnlockTokens) Reset() { *m = MsgUnlockTokens{} } +func (m *MsgUnlockTokens) String() string { return proto.CompactTextString(m) } +func (*MsgUnlockTokens) ProtoMessage() {} +func (*MsgUnlockTokens) Descriptor() ([]byte, []int) { + return fileDescriptor_bcdad5af0d24735f, []int{3} +} +func (m *MsgUnlockTokens) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgUnlockTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgUnlockTokens.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 *MsgUnlockTokens) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUnlockTokens.Merge(m, src) +} +func (m *MsgUnlockTokens) XXX_Size() int { + return m.Size() +} +func (m *MsgUnlockTokens) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUnlockTokens.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgUnlockTokens proto.InternalMessageInfo + +func (m *MsgUnlockTokens) GetOwner() string { + if m != nil { + return m.Owner + } + return "" +} + type MsgBeginUnlockingAll struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty" yaml:"owner"` } @@ -148,7 +248,7 @@ func (m *MsgBeginUnlockingAll) Reset() { *m = MsgBeginUnlockingAll{} } func (m *MsgBeginUnlockingAll) String() string { return proto.CompactTextString(m) } func (*MsgBeginUnlockingAll) ProtoMessage() {} func (*MsgBeginUnlockingAll) Descriptor() ([]byte, []int) { - return fileDescriptor_bcdad5af0d24735f, []int{2} + return fileDescriptor_bcdad5af0d24735f, []int{4} } func (m *MsgBeginUnlockingAll) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -192,7 +292,7 @@ func (m *MsgBeginUnlockingAllResponse) Reset() { *m = MsgBeginUnlockingA func (m *MsgBeginUnlockingAllResponse) String() string { return proto.CompactTextString(m) } func (*MsgBeginUnlockingAllResponse) ProtoMessage() {} func (*MsgBeginUnlockingAllResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bcdad5af0d24735f, []int{3} + return fileDescriptor_bcdad5af0d24735f, []int{5} } func (m *MsgBeginUnlockingAllResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -239,7 +339,7 @@ func (m *MsgBeginUnlocking) Reset() { *m = MsgBeginUnlocking{} } func (m *MsgBeginUnlocking) String() string { return proto.CompactTextString(m) } func (*MsgBeginUnlocking) ProtoMessage() {} func (*MsgBeginUnlocking) Descriptor() ([]byte, []int) { - return fileDescriptor_bcdad5af0d24735f, []int{4} + return fileDescriptor_bcdad5af0d24735f, []int{6} } func (m *MsgBeginUnlocking) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -298,7 +398,7 @@ func (m *MsgBeginUnlockingResponse) Reset() { *m = MsgBeginUnlockingResp func (m *MsgBeginUnlockingResponse) String() string { return proto.CompactTextString(m) } func (*MsgBeginUnlockingResponse) ProtoMessage() {} func (*MsgBeginUnlockingResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bcdad5af0d24735f, []int{5} + return fileDescriptor_bcdad5af0d24735f, []int{7} } func (m *MsgBeginUnlockingResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -355,7 +455,7 @@ func (m *MsgExtendLockup) Reset() { *m = MsgExtendLockup{} } func (m *MsgExtendLockup) String() string { return proto.CompactTextString(m) } func (*MsgExtendLockup) ProtoMessage() {} func (*MsgExtendLockup) Descriptor() ([]byte, []int) { - return fileDescriptor_bcdad5af0d24735f, []int{6} + return fileDescriptor_bcdad5af0d24735f, []int{8} } func (m *MsgExtendLockup) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -413,7 +513,7 @@ func (m *MsgExtendLockupResponse) Reset() { *m = MsgExtendLockupResponse func (m *MsgExtendLockupResponse) String() string { return proto.CompactTextString(m) } func (*MsgExtendLockupResponse) ProtoMessage() {} func (*MsgExtendLockupResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bcdad5af0d24735f, []int{7} + return fileDescriptor_bcdad5af0d24735f, []int{9} } func (m *MsgExtendLockupResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -462,7 +562,7 @@ func (m *MsgForceUnlock) Reset() { *m = MsgForceUnlock{} } func (m *MsgForceUnlock) String() string { return proto.CompactTextString(m) } func (*MsgForceUnlock) ProtoMessage() {} func (*MsgForceUnlock) Descriptor() ([]byte, []int) { - return fileDescriptor_bcdad5af0d24735f, []int{8} + return fileDescriptor_bcdad5af0d24735f, []int{10} } func (m *MsgForceUnlock) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -520,7 +620,7 @@ func (m *MsgForceUnlockResponse) Reset() { *m = MsgForceUnlockResponse{} func (m *MsgForceUnlockResponse) String() string { return proto.CompactTextString(m) } func (*MsgForceUnlockResponse) ProtoMessage() {} func (*MsgForceUnlockResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bcdad5af0d24735f, []int{9} + return fileDescriptor_bcdad5af0d24735f, []int{11} } func (m *MsgForceUnlockResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -566,7 +666,7 @@ func (m *MsgSetRewardReceiverAddress) Reset() { *m = MsgSetRewardReceive func (m *MsgSetRewardReceiverAddress) String() string { return proto.CompactTextString(m) } func (*MsgSetRewardReceiverAddress) ProtoMessage() {} func (*MsgSetRewardReceiverAddress) Descriptor() ([]byte, []int) { - return fileDescriptor_bcdad5af0d24735f, []int{10} + return fileDescriptor_bcdad5af0d24735f, []int{12} } func (m *MsgSetRewardReceiverAddress) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -624,7 +724,7 @@ func (m *MsgSetRewardReceiverAddressResponse) Reset() { *m = MsgSetRewar func (m *MsgSetRewardReceiverAddressResponse) String() string { return proto.CompactTextString(m) } func (*MsgSetRewardReceiverAddressResponse) ProtoMessage() {} func (*MsgSetRewardReceiverAddressResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bcdad5af0d24735f, []int{11} + return fileDescriptor_bcdad5af0d24735f, []int{13} } func (m *MsgSetRewardReceiverAddressResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -661,8 +761,10 @@ func (m *MsgSetRewardReceiverAddressResponse) GetSuccess() bool { } func init() { + proto.RegisterType((*MsgUnlockPeriodLock)(nil), "osmosis.lockup.MsgUnlockPeriodLock") proto.RegisterType((*MsgLockTokens)(nil), "osmosis.lockup.MsgLockTokens") proto.RegisterType((*MsgLockTokensResponse)(nil), "osmosis.lockup.MsgLockTokensResponse") + proto.RegisterType((*MsgUnlockTokens)(nil), "osmosis.lockup.MsgUnlockTokens") proto.RegisterType((*MsgBeginUnlockingAll)(nil), "osmosis.lockup.MsgBeginUnlockingAll") proto.RegisterType((*MsgBeginUnlockingAllResponse)(nil), "osmosis.lockup.MsgBeginUnlockingAllResponse") proto.RegisterType((*MsgBeginUnlocking)(nil), "osmosis.lockup.MsgBeginUnlocking") @@ -678,60 +780,61 @@ func init() { func init() { proto.RegisterFile("osmosis/lockup/tx.proto", fileDescriptor_bcdad5af0d24735f) } var fileDescriptor_bcdad5af0d24735f = []byte{ - // 844 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0xcf, 0x4f, 0xe3, 0x46, - 0x14, 0x8e, 0x13, 0x7e, 0x0e, 0x34, 0x29, 0x16, 0x85, 0xe0, 0x52, 0x9b, 0xba, 0x2d, 0x84, 0x1f, - 0xb6, 0x9b, 0x50, 0x21, 0x35, 0x97, 0x8a, 0x40, 0x2b, 0x21, 0x11, 0xa9, 0x72, 0x41, 0xaa, 0x7a, - 0x28, 0x72, 0x9c, 0xc1, 0x58, 0x49, 0x3c, 0xa9, 0xc7, 0x0e, 0x20, 0xf5, 0xd4, 0x63, 0x4f, 0x3d, - 0xf6, 0x6f, 0xe8, 0xa5, 0xfc, 0x19, 0x1c, 0xe9, 0xad, 0x97, 0x0d, 0x08, 0xa4, 0x45, 0xda, 0x23, - 0x7f, 0xc1, 0xca, 0x33, 0xb6, 0x65, 0x3b, 0x21, 0xc9, 0xae, 0xb4, 0xab, 0xbd, 0xc4, 0x9e, 0x79, - 0xdf, 0xfb, 0xe6, 0x7d, 0x5f, 0xde, 0xbc, 0x04, 0x2c, 0x22, 0xdc, 0x42, 0xd8, 0xc4, 0x4a, 0x13, - 0xe9, 0x0d, 0xb7, 0xad, 0x38, 0x17, 0x72, 0xdb, 0x46, 0x0e, 0x62, 0xb3, 0x7e, 0x40, 0xa6, 0x01, - 0x6e, 0xde, 0x40, 0x06, 0x22, 0x21, 0xc5, 0x7b, 0xa3, 0x28, 0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fb, - 0xf5, 0x59, 0x72, 0xa4, 0xc5, 0xa6, 0x35, 0xf7, 0xd5, 0xc0, 0x70, 0x78, 0xaa, 0x01, 0xe6, 0x7a, - 0x27, 0xf7, 0x97, 0x7d, 0x72, 0x7b, 0x50, 0xdc, 0xd6, 0x28, 0xa8, 0xf0, 0xa0, 0x5f, 0x41, 0x36, - 0x31, 0x58, 0x3f, 0x1f, 0x9a, 0xcf, 0xad, 0x0f, 0x85, 0x84, 0xfc, 0x3f, 0x83, 0xd9, 0xd8, 0xb8, - 0x11, 0xfa, 0xa4, 0x46, 0x01, 0xdc, 0xda, 0x10, 0x40, 0xc8, 0x7c, 0x0c, 0x66, 0xa2, 0x17, 0x96, - 0xef, 0x93, 0x17, 0x89, 0x73, 0xab, 0x83, 0xe3, 0x21, 0xed, 0xef, 0x20, 0xff, 0x6c, 0xcb, 0x6f, - 0xf6, 0xe1, 0x78, 0x0e, 0xcc, 0x6d, 0xbf, 0x01, 0x38, 0x38, 0xbd, 0x72, 0x78, 0x7d, 0xcf, 0x33, - 0x37, 0xf7, 0x3c, 0x73, 0x77, 0xcf, 0x33, 0x7f, 0x3d, 0xf0, 0xa9, 0x9b, 0x07, 0x3e, 0xf5, 0xff, - 0x03, 0x9f, 0xfa, 0xa5, 0x14, 0x19, 0x13, 0x3e, 0xb1, 0xd4, 0xd4, 0x6a, 0x38, 0x58, 0x28, 0x9d, - 0xd2, 0x8e, 0x72, 0x11, 0xfe, 0x1b, 0xf4, 0xc6, 0x46, 0x6d, 0x82, 0x4c, 0xe2, 0xed, 0xd7, 0x01, - 0x00, 0x00, 0xff, 0xff, 0x91, 0xc3, 0x28, 0x9d, 0x2c, 0x0a, 0x00, 0x00, + // 859 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x96, 0x5f, 0x4f, 0xfb, 0x54, + 0x18, 0xc7, 0xd7, 0xed, 0xc7, 0xbf, 0x03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x29, 0x8d, 0x26, 0x70, 0xab, 0x43, 0x12, 0x42, 0xe5, 0x63, 0x30, 0x1d, 0x3d, 0xb0, 0x7c, + 0x9f, 0xba, 0x48, 0x9c, 0x5b, 0x19, 0x1c, 0x0f, 0x65, 0xbf, 0x07, 0xf9, 0x67, 0x5b, 0x7e, 0xa3, + 0x8f, 0xc6, 0x73, 0xc9, 0xdc, 0xd6, 0x0b, 0x92, 0x83, 0xdd, 0x2b, 0x87, 0xd7, 0xf7, 0x3c, 0x73, + 0x73, 0xcf, 0x33, 0x77, 0xf7, 0x3c, 0xf3, 0xd3, 0x03, 0x9f, 0xba, 0x79, 0xe0, 0x53, 0xbf, 0x3f, + 0xf0, 0xa9, 0x6f, 0x4a, 0x91, 0x31, 0xe1, 0x0b, 0x4b, 0x4d, 0xad, 0x86, 0x83, 0x85, 0xd2, 0x29, + 0x6d, 0x2b, 0x17, 0xe1, 0xef, 0x52, 0x6f, 0x6c, 0xd4, 0xc6, 0xc9, 0x24, 0xde, 0xfa, 0x3b, 0x00, + 0x00, 0xff, 0xff, 0x35, 0xb0, 0xfd, 0x55, 0xb6, 0x0a, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1004,6 +1107,41 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ Metadata: "osmosis/lockup/tx.proto", } +func (m *MsgUnlockPeriodLock) 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 *MsgUnlockPeriodLock) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUnlockPeriodLock) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.ID != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.ID)) + i-- + dAtA[i] = 0x10 + } + if len(m.Owner) > 0 { + i -= len(m.Owner) + copy(dAtA[i:], m.Owner) + i = encodeVarintTx(dAtA, i, uint64(len(m.Owner))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *MsgLockTokens) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -1084,6 +1222,36 @@ func (m *MsgLockTokensResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *MsgUnlockTokens) 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 *MsgUnlockTokens) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUnlockTokens) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Owner) > 0 { + i -= len(m.Owner) + copy(dAtA[i:], m.Owner) + i = encodeVarintTx(dAtA, i, uint64(len(m.Owner))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *MsgBeginUnlockingAll) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -1482,6 +1650,22 @@ func encodeVarintTx(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } +func (m *MsgUnlockPeriodLock) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Owner) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.ID != 0 { + n += 1 + sovTx(uint64(m.ID)) + } + return n +} + func (m *MsgLockTokens) Size() (n int) { if m == nil { return 0 @@ -1515,6 +1699,19 @@ func (m *MsgLockTokensResponse) Size() (n int) { return n } +func (m *MsgUnlockTokens) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Owner) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + func (m *MsgBeginUnlockingAll) Size() (n int) { if m == nil { return 0 @@ -1682,6 +1879,107 @@ func sovTx(x uint64) (n int) { func sozTx(x uint64) (n int) { return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } +func (m *MsgUnlockPeriodLock) 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 ErrIntOverflowTx + } + 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: MsgUnlockPeriodLock: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUnlockPeriodLock: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Owner", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + 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 ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Owner = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType) + } + m.ID = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ID |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *MsgLockTokens) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1900,6 +2198,88 @@ func (m *MsgLockTokensResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *MsgUnlockTokens) 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 ErrIntOverflowTx + } + 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: MsgUnlockTokens: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUnlockTokens: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Owner", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + 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 ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Owner = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *MsgBeginUnlockingAll) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 diff --git a/x/protorev/types/tx.pb.go b/x/protorev/types/tx.pb.go index 13dda2f1020..02d88b62b81 100644 --- a/x/protorev/types/tx.pb.go +++ b/x/protorev/types/tx.pb.go @@ -556,6 +556,8 @@ func (m *MsgSetBaseDenoms) GetBaseDenoms() []BaseDenom { } // MsgSetBaseDenomsResponse defines the Msg/SetBaseDenoms response type. +// This is not used anymore, but must be retained in the file to allow indexers +// to index blocks since genesis type MsgSetBaseDenomsResponse struct { } @@ -592,6 +594,61 @@ func (m *MsgSetBaseDenomsResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgSetBaseDenomsResponse proto.InternalMessageInfo +// MsgSetPoolWeights defines the Msg/SetPoolWeights request type. +type MsgSetPoolWeights struct { + // admin is the account that is authorized to set the pool weights. + Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"` + // pool_weights is the list of pool weights to set. + PoolWeights *PoolWeights `protobuf:"bytes,2,opt,name=pool_weights,json=poolWeights,proto3" json:"pool_weights,omitempty"` +} + +func (m *MsgSetPoolWeights) Reset() { *m = MsgSetPoolWeights{} } +func (m *MsgSetPoolWeights) String() string { return proto.CompactTextString(m) } +func (*MsgSetPoolWeights) ProtoMessage() {} +func (*MsgSetPoolWeights) Descriptor() ([]byte, []int) { + return fileDescriptor_2783dce032fc6954, []int{12} +} +func (m *MsgSetPoolWeights) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgSetPoolWeights) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgSetPoolWeights.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 *MsgSetPoolWeights) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgSetPoolWeights.Merge(m, src) +} +func (m *MsgSetPoolWeights) XXX_Size() int { + return m.Size() +} +func (m *MsgSetPoolWeights) XXX_DiscardUnknown() { + xxx_messageInfo_MsgSetPoolWeights.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgSetPoolWeights proto.InternalMessageInfo + +func (m *MsgSetPoolWeights) GetAdmin() string { + if m != nil { + return m.Admin + } + return "" +} + +func (m *MsgSetPoolWeights) GetPoolWeights() *PoolWeights { + if m != nil { + return m.PoolWeights + } + return nil +} + func init() { proto.RegisterType((*MsgSetHotRoutes)(nil), "osmosis.protorev.v1beta1.MsgSetHotRoutes") proto.RegisterType((*MsgSetHotRoutesResponse)(nil), "osmosis.protorev.v1beta1.MsgSetHotRoutesResponse") @@ -605,69 +662,72 @@ func init() { proto.RegisterType((*MsgSetMaxPoolPointsPerBlockResponse)(nil), "osmosis.protorev.v1beta1.MsgSetMaxPoolPointsPerBlockResponse") proto.RegisterType((*MsgSetBaseDenoms)(nil), "osmosis.protorev.v1beta1.MsgSetBaseDenoms") proto.RegisterType((*MsgSetBaseDenomsResponse)(nil), "osmosis.protorev.v1beta1.MsgSetBaseDenomsResponse") + proto.RegisterType((*MsgSetPoolWeights)(nil), "osmosis.protorev.v1beta1.MsgSetPoolWeights") } func init() { proto.RegisterFile("osmosis/protorev/v1beta1/tx.proto", fileDescriptor_2783dce032fc6954) } var fileDescriptor_2783dce032fc6954 = []byte{ - // 908 bytes of a gzipped FileDescriptorProto + // 937 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0x41, 0x6f, 0xe3, 0x44, - 0x18, 0xed, 0x74, 0x01, 0xb1, 0xd3, 0x05, 0x36, 0xa6, 0xbb, 0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0xcd, 0xd9, 0x6b, 0x12, 0xe9, 0x77, 0xb9, 0xf4, 0x1a, 0xba, + 0x93, 0x2d, 0x3d, 0x7b, 0x02, 0x2a, 0xbf, 0x02, 0x58, 0xcc, 0x1d, 0x4a, 0xef, 0xcf, 0x2a, 0x87, + 0x97, 0xa9, 0x1f, 0xfd, 0xaf, 0xb2, 0xc4, 0xc8, 0x07, 0xdc, 0x48, 0x1d, 0xe9, 0x57, 0x37, 0xc2, + 0x67, 0x97, 0xf2, 0x23, 0x80, 0x85, 0xf4, 0x35, 0x5c, 0xbb, 0x4c, 0x8d, 0x8c, 0x57, 0xef, 0xcd, + 0x86, 0xbf, 0xea, 0xab, 0x93, 0xba, 0x79, 0x95, 0xef, 0x01, 0x7c, 0x45, 0x1e, 0x7f, 0xdb, 0x97, + 0xb5, 0x9e, 0x60, 0xd5, 0xc6, 0xd5, 0xb1, 0x89, 0xc4, 0x2d, 0x2e, 0x71, 0x03, 0xad, 0x67, 0x4b, + 0xbc, 0x30, 0xf4, 0x8c, 0x4f, 0x9e, 0x9d, 0x6a, 0xe0, 0xf9, 0xa9, 0x06, 0xfe, 0x3c, 0xd5, 0xc0, + 0x37, 0x67, 0xda, 0xc2, 0xf3, 0x33, 0x6d, 0xe1, 0xf7, 0x33, 0x6d, 0xe1, 0xf3, 0xbb, 0xae, 0xc7, + 0x8e, 0x8e, 0x9d, 0x5a, 0x8b, 0xf8, 0x63, 0x9a, 0x9d, 0x8e, 0xed, 0xd0, 0x84, 0xb3, 0xdb, 0xb8, + 0xa7, 0xf7, 0x26, 0xcc, 0x23, 0xaf, 0xd4, 0x79, 0x89, 0xaf, 0xdf, 0xfb, 0x37, 0x00, 0x00, 0xff, + 0xff, 0x5d, 0xe5, 0xc0, 0xbc, 0x05, 0x0c, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1327,6 +1387,48 @@ func (m *MsgSetBaseDenomsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error return len(dAtA) - i, nil } +func (m *MsgSetPoolWeights) 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 *MsgSetPoolWeights) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgSetPoolWeights) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.PoolWeights != nil { + { + size, err := m.PoolWeights.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Admin) > 0 { + i -= len(m.Admin) + copy(dAtA[i:], m.Admin) + i = encodeVarintTx(dAtA, i, uint64(len(m.Admin))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func encodeVarintTx(dAtA []byte, offset int, v uint64) int { offset -= sovTx(v) base := offset @@ -1494,6 +1596,23 @@ func (m *MsgSetBaseDenomsResponse) Size() (n int) { return n } +func (m *MsgSetPoolWeights) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Admin) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.PoolWeights != nil { + l = m.PoolWeights.Size() + n += 1 + l + sovTx(uint64(l)) + } + return n +} + func sovTx(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -2463,6 +2582,124 @@ func (m *MsgSetBaseDenomsResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *MsgSetPoolWeights) 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 ErrIntOverflowTx + } + 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: MsgSetPoolWeights: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgSetPoolWeights: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Admin", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + 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 ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Admin = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PoolWeights", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.PoolWeights == nil { + m.PoolWeights = &PoolWeights{} + } + if err := m.PoolWeights.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipTx(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0