diff --git a/proto/osmosis/concentrated-liquidity/tx.proto b/proto/osmosis/concentrated-liquidity/tx.proto index 217961db2e0..2df25a94f60 100644 --- a/proto/osmosis/concentrated-liquidity/tx.proto +++ b/proto/osmosis/concentrated-liquidity/tx.proto @@ -16,7 +16,6 @@ service Msg { rpc CollectFees(MsgCollectFees) returns (MsgCollectFeesResponse); rpc CollectIncentives(MsgCollectIncentives) returns (MsgCollectIncentivesResponse); - rpc CreateIncentive(MsgCreateIncentive) returns (MsgCreateIncentiveResponse); rpc FungifyChargedPositions(MsgFungifyChargedPositions) returns (MsgFungifyChargedPositionsResponse); } @@ -161,57 +160,6 @@ message MsgCollectIncentivesResponse { ]; } -// ===================== MsgCreateIncentive -message MsgCreateIncentive { - uint64 pool_id = 1 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; - string sender = 2 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - cosmos.base.v1beta1.Coin incentive_coin = 3 [ - (gogoproto.moretags) = "yaml:\"incentive_coin\"", - (gogoproto.nullable) = false - ]; - string emission_rate = 4 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.moretags) = "yaml:\"emission_rate\"", - (gogoproto.nullable) = false - ]; - google.protobuf.Timestamp start_time = 5 [ - (gogoproto.nullable) = false, - (gogoproto.stdtime) = true, - (gogoproto.moretags) = "yaml:\"start_time\"" - ]; - google.protobuf.Duration min_uptime = 6 [ - (gogoproto.nullable) = false, - (gogoproto.stdduration) = true, - (gogoproto.jsontag) = "duration,omitempty", - (gogoproto.moretags) = "yaml:\"min_uptime\"" - ]; -} - -message MsgCreateIncentiveResponse { - string incentive_denom = 1; - string incentive_amount = 2 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.moretags) = "yaml:\"incentive_amount\"", - (gogoproto.nullable) = false - ]; - string emission_rate = 3 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.moretags) = "yaml:\"emission_rate\"", - (gogoproto.nullable) = false - ]; - google.protobuf.Timestamp start_time = 4 [ - (gogoproto.nullable) = false, - (gogoproto.stdtime) = true, - (gogoproto.moretags) = "yaml:\"start_time\"" - ]; - google.protobuf.Duration min_uptime = 5 [ - (gogoproto.nullable) = false, - (gogoproto.stdduration) = true, - (gogoproto.jsontag) = "duration,omitempty", - (gogoproto.moretags) = "yaml:\"min_uptime\"" - ]; -} - // ===================== MsgFungifyChargedPositions message MsgFungifyChargedPositions { repeated uint64 position_ids = 1 diff --git a/x/concentrated-liquidity/client/cli/tx.go b/x/concentrated-liquidity/client/cli/tx.go index 3f750d23c33..8d432133301 100644 --- a/x/concentrated-liquidity/client/cli/tx.go +++ b/x/concentrated-liquidity/client/cli/tx.go @@ -7,7 +7,6 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/tx" - flag "github.com/spf13/pflag" "github.com/spf13/cobra" @@ -29,7 +28,6 @@ func NewTxCmd() *cobra.Command { osmocli.AddTxCmd(txCmd, NewCreateConcentratedPoolCmd) osmocli.AddTxCmd(txCmd, NewCollectFeesCmd) osmocli.AddTxCmd(txCmd, NewCollectIncentivesCmd) - osmocli.AddTxCmd(txCmd, NewCreateIncentiveCmd) osmocli.AddTxCmd(txCmd, NewFungifyChargedPositionsCmd) return txCmd } @@ -87,16 +85,6 @@ func NewCollectIncentivesCmd() (*osmocli.TxCliDesc, *types.MsgCollectIncentives) }, &types.MsgCollectIncentives{} } -func NewCreateIncentiveCmd() (*osmocli.TxCliDesc, *types.MsgCreateIncentive) { - return &osmocli.TxCliDesc{ - Use: "create-incentive [incentive-coin] [emission-rate] [start-time] [min-uptime]", - Short: "create an incentive record to emit incentives (per second) to a given pool", - Example: "create-incentive 69082uosmo 0.02 \"2023-03-03T03:20:35.419543805\" 24h --pool-id 1 --from val --chain-id osmosis-1 --fees 875uosmo", - CustomFlagOverrides: poolIdFlagOverride, - Flags: osmocli.FlagDesc{RequiredFlags: []*flag.FlagSet{FlagSetJustPoolId()}}, - }, &types.MsgCreateIncentive{} -} - func NewFungifyChargedPositionsCmd() (*osmocli.TxCliDesc, *types.MsgFungifyChargedPositions) { return &osmocli.TxCliDesc{ Use: "fungify-positions [position-ids]", diff --git a/x/concentrated-liquidity/clmodule/module.go b/x/concentrated-liquidity/clmodule/module.go index b8a98361cff..d337b2c5895 100644 --- a/x/concentrated-liquidity/clmodule/module.go +++ b/x/concentrated-liquidity/clmodule/module.go @@ -162,6 +162,5 @@ func (am AppModule) Actions() []simtypes.Action { simtypes.NewMsgBasedAction("WithdrawPosition", am.keeper, simulation.RandMsgWithdrawPosition), simtypes.NewMsgBasedAction("CollectFees", am.keeper, simulation.RandMsgCollectFees), simtypes.NewMsgBasedAction("CollectIncentives", am.keeper, simulation.RandMsgCollectIncentives), - simtypes.NewMsgBasedAction("CreateIncentives", am.keeper, simulation.RandMsgCreateIncentives), } } diff --git a/x/concentrated-liquidity/msg_server.go b/x/concentrated-liquidity/msg_server.go index fba3525c909..7dab51f4b34 100644 --- a/x/concentrated-liquidity/msg_server.go +++ b/x/concentrated-liquidity/msg_server.go @@ -2,7 +2,6 @@ package concentrated_liquidity import ( "context" - "strconv" sdk "github.com/cosmos/cosmos-sdk/types" @@ -195,46 +194,6 @@ func (server msgServer) CollectIncentives(goCtx context.Context, msg *types.MsgC return &types.MsgCollectIncentivesResponse{CollectedIncentives: totalCollectedIncentives, ForfeitedIncentives: totalForefeitedIncentives}, nil } -func (server msgServer) CreateIncentive(goCtx context.Context, msg *types.MsgCreateIncentive) (*types.MsgCreateIncentiveResponse, error) { - ctx := sdk.UnwrapSDKContext(goCtx) - - sender, err := sdk.AccAddressFromBech32(msg.Sender) - if err != nil { - return nil, err - } - - incentiveRecord, err := server.keeper.CreateIncentive(ctx, msg.PoolId, sender, msg.IncentiveCoin, msg.EmissionRate, msg.StartTime, msg.MinUptime) - if err != nil { - return nil, err - } - - ctx.EventManager().EmitEvents(sdk.Events{ - sdk.NewEvent( - sdk.EventTypeMessage, - sdk.NewAttribute(sdk.AttributeKeyModule, types.AttributeValueCategory), - sdk.NewAttribute(sdk.AttributeKeySender, msg.Sender), - ), - sdk.NewEvent( - types.TypeEvtCreateIncentive, - sdk.NewAttribute(sdk.AttributeKeyModule, types.AttributeValueCategory), - sdk.NewAttribute(sdk.AttributeKeySender, msg.Sender), - sdk.NewAttribute(types.AttributeKeyPoolId, strconv.FormatUint(msg.PoolId, 10)), - sdk.NewAttribute(types.AttributeIncentiveCoin, msg.IncentiveCoin.String()), - sdk.NewAttribute(types.AttributeIncentiveEmissionRate, msg.EmissionRate.String()), - sdk.NewAttribute(types.AttributeIncentiveStartTime, msg.StartTime.String()), - sdk.NewAttribute(types.AttributeIncentiveMinUptime, msg.MinUptime.String()), - ), - }) - - return &types.MsgCreateIncentiveResponse{ - IncentiveDenom: incentiveRecord.IncentiveDenom, - IncentiveAmount: incentiveRecord.IncentiveRecordBody.RemainingAmount, - EmissionRate: incentiveRecord.IncentiveRecordBody.EmissionRate, - StartTime: incentiveRecord.IncentiveRecordBody.StartTime, - MinUptime: incentiveRecord.MinUptime, - }, nil -} - func (server msgServer) FungifyChargedPositions(goCtx context.Context, msg *types.MsgFungifyChargedPositions) (*types.MsgFungifyChargedPositionsResponse, error) { ctx := sdk.UnwrapSDKContext(goCtx) diff --git a/x/concentrated-liquidity/simulation/sim_msgs.go b/x/concentrated-liquidity/simulation/sim_msgs.go index 0f81aa6bb5a..3a4c254c8f6 100644 --- a/x/concentrated-liquidity/simulation/sim_msgs.go +++ b/x/concentrated-liquidity/simulation/sim_msgs.go @@ -3,7 +3,6 @@ package simulation import ( "errors" "fmt" - "time" sdk "github.com/cosmos/cosmos-sdk/types" legacysimulationtype "github.com/cosmos/cosmos-sdk/types/simulation" @@ -223,43 +222,6 @@ func RandMsgCollectIncentives(k clkeeper.Keeper, sim *osmosimtypes.SimCtx, ctx s }, nil } -func RandMsgCreateIncentives(k clkeeper.Keeper, sim *osmosimtypes.SimCtx, ctx sdk.Context) (*cltypes.MsgCreateIncentive, error) { - rand := sim.GetRand() - // get random pool - clPool, poolDenoms, err := getRandCLPool(k, sim, ctx) - if err != nil { - return nil, err - } - - // incentiveCreator creates the incentives by supplying tokens - incentiveCreator, incentivesTokens, senderExists := sim.SelAddrWithDenoms(ctx, poolDenoms) - if !senderExists { - return nil, fmt.Errorf("no sender with denoms %s exists", poolDenoms) - } - - // emission rate is nonzero and nonnegative from 1 to 1million - randEmissionVal := sim.RandomDecAmount(sdk.MustNewDecFromStr("1000000")) - - startTimeSecs := rand.Intn(1 * 60 * 60 * 24 * 7) // range of 1 week - startTime := ctx.BlockTime().Add(time.Duration(startTimeSecs) * time.Second) - - durations := cltypes.DefaultParams().AuthorizedUptimes - randomDurationIndex := rand.Intn(len(durations)) - - // Get the duration value at the random index - randomDuration := durations[randomDurationIndex] - incentiveCoin := sdk.NewCoin(incentivesTokens[0].Denom, incentivesTokens[0].Amount) - - return &cltypes.MsgCreateIncentive{ - PoolId: clPool.GetId(), - Sender: incentiveCreator.Address.String(), - IncentiveCoin: incentiveCoin, - EmissionRate: randEmissionVal, - StartTime: startTime, - MinUptime: randomDuration, - }, nil -} - // createPoolRestriction creates specific restriction for the creation of a pool. func createPoolRestriction(k clkeeper.Keeper, sim *osmosimtypes.SimCtx, ctx sdk.Context) osmosimtypes.SimAccountConstraint { return func(acc legacysimulationtype.Account) bool { diff --git a/x/concentrated-liquidity/types/codec.go b/x/concentrated-liquidity/types/codec.go index ee32c1e2a8a..2181564903e 100644 --- a/x/concentrated-liquidity/types/codec.go +++ b/x/concentrated-liquidity/types/codec.go @@ -16,7 +16,6 @@ func RegisterCodec(cdc *codec.LegacyAmino) { cdc.RegisterConcrete(&MsgWithdrawPosition{}, "osmosis/cl-withdraw-position", nil) cdc.RegisterConcrete(&MsgCollectFees{}, "osmosis/cl-collect-fees", nil) cdc.RegisterConcrete(&MsgCollectIncentives{}, "osmosis/cl-collect-incentives", nil) - cdc.RegisterConcrete(&MsgCreateIncentive{}, "osmosis/cl-create-incentive", nil) cdc.RegisterConcrete(&MsgFungifyChargedPositions{}, "osmosis/cl-fungify-charged-positions", nil) cdc.RegisterConcrete(&CreateConcentratedLiquidityPoolProposal{}, "osmosis/cretae-concentrated-liquidity-pool-proposal", nil) cdc.RegisterConcrete(&TickSpacingDecreaseProposal{}, "osmosis/cl-tick-spacing-dec-prop", nil) @@ -35,7 +34,6 @@ func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { &MsgWithdrawPosition{}, &MsgCollectFees{}, &MsgCollectIncentives{}, - &MsgCreateIncentive{}, &MsgFungifyChargedPositions{}, ) diff --git a/x/concentrated-liquidity/types/msgs.go b/x/concentrated-liquidity/types/msgs.go index 7b3545a45e7..a07cf0c0f52 100644 --- a/x/concentrated-liquidity/types/msgs.go +++ b/x/concentrated-liquidity/types/msgs.go @@ -14,7 +14,6 @@ const ( TypeMsgWithdrawPosition = "withdraw-position" TypeMsgCollectFees = "collect-fees" TypeMsgCollectIncentives = "collect-incentives" - TypeMsgCreateIncentive = "create-incentive" TypeMsgFungifyChargedPositions = "fungify-charged-positions" ) @@ -189,39 +188,6 @@ func (msg MsgCollectIncentives) GetSigners() []sdk.AccAddress { return []sdk.AccAddress{sender} } -var _ sdk.Msg = &MsgCreateIncentive{} - -func (msg MsgCreateIncentive) Route() string { return RouterKey } -func (msg MsgCreateIncentive) Type() string { return TypeMsgCreateIncentive } -func (msg MsgCreateIncentive) ValidateBasic() error { - _, err := sdk.AccAddressFromBech32(msg.Sender) - if err != nil { - return fmt.Errorf("Invalid sender address (%s)", err) - } - - if !msg.IncentiveCoin.IsValid() { - return InvalidIncentiveCoinError{PoolId: msg.PoolId, IncentiveCoin: msg.IncentiveCoin} - } - - if !msg.EmissionRate.IsPositive() { - return NonPositiveEmissionRateError{PoolId: msg.PoolId, EmissionRate: msg.EmissionRate} - } - - return nil -} - -func (msg MsgCreateIncentive) GetSignBytes() []byte { - return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&msg)) -} - -func (msg MsgCreateIncentive) GetSigners() []sdk.AccAddress { - sender, err := sdk.AccAddressFromBech32(msg.Sender) - if err != nil { - panic(err) - } - return []sdk.AccAddress{sender} -} - var _ sdk.Msg = &MsgFungifyChargedPositions{} func (msg MsgFungifyChargedPositions) Route() string { return RouterKey } diff --git a/x/concentrated-liquidity/types/tx.pb.go b/x/concentrated-liquidity/types/tx.pb.go index 1e8cd211e35..f946a7822c0 100644 --- a/x/concentrated-liquidity/types/tx.pb.go +++ b/x/concentrated-liquidity/types/tx.pb.go @@ -601,146 +601,6 @@ func (m *MsgCollectIncentivesResponse) GetForfeitedIncentives() []types.Coin { return nil } -// ===================== MsgCreateIncentive -type MsgCreateIncentive struct { - PoolId uint64 `protobuf:"varint,1,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty" yaml:"pool_id"` - Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"` - IncentiveCoin types.Coin `protobuf:"bytes,3,opt,name=incentive_coin,json=incentiveCoin,proto3" json:"incentive_coin" yaml:"incentive_coin"` - EmissionRate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=emission_rate,json=emissionRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"emission_rate" yaml:"emission_rate"` - StartTime time.Time `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3,stdtime" json:"start_time" yaml:"start_time"` - MinUptime time.Duration `protobuf:"bytes,6,opt,name=min_uptime,json=minUptime,proto3,stdduration" json:"duration,omitempty" yaml:"min_uptime"` -} - -func (m *MsgCreateIncentive) Reset() { *m = MsgCreateIncentive{} } -func (m *MsgCreateIncentive) String() string { return proto.CompactTextString(m) } -func (*MsgCreateIncentive) ProtoMessage() {} -func (*MsgCreateIncentive) Descriptor() ([]byte, []int) { - return fileDescriptor_1f1fff802923d7db, []int{10} -} -func (m *MsgCreateIncentive) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgCreateIncentive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgCreateIncentive.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 *MsgCreateIncentive) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgCreateIncentive.Merge(m, src) -} -func (m *MsgCreateIncentive) XXX_Size() int { - return m.Size() -} -func (m *MsgCreateIncentive) XXX_DiscardUnknown() { - xxx_messageInfo_MsgCreateIncentive.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgCreateIncentive proto.InternalMessageInfo - -func (m *MsgCreateIncentive) GetPoolId() uint64 { - if m != nil { - return m.PoolId - } - return 0 -} - -func (m *MsgCreateIncentive) GetSender() string { - if m != nil { - return m.Sender - } - return "" -} - -func (m *MsgCreateIncentive) GetIncentiveCoin() types.Coin { - if m != nil { - return m.IncentiveCoin - } - return types.Coin{} -} - -func (m *MsgCreateIncentive) GetStartTime() time.Time { - if m != nil { - return m.StartTime - } - return time.Time{} -} - -func (m *MsgCreateIncentive) GetMinUptime() time.Duration { - if m != nil { - return m.MinUptime - } - return 0 -} - -type MsgCreateIncentiveResponse struct { - IncentiveDenom string `protobuf:"bytes,1,opt,name=incentive_denom,json=incentiveDenom,proto3" json:"incentive_denom,omitempty"` - IncentiveAmount github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=incentive_amount,json=incentiveAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"incentive_amount" yaml:"incentive_amount"` - EmissionRate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=emission_rate,json=emissionRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"emission_rate" yaml:"emission_rate"` - StartTime time.Time `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3,stdtime" json:"start_time" yaml:"start_time"` - MinUptime time.Duration `protobuf:"bytes,5,opt,name=min_uptime,json=minUptime,proto3,stdduration" json:"duration,omitempty" yaml:"min_uptime"` -} - -func (m *MsgCreateIncentiveResponse) Reset() { *m = MsgCreateIncentiveResponse{} } -func (m *MsgCreateIncentiveResponse) String() string { return proto.CompactTextString(m) } -func (*MsgCreateIncentiveResponse) ProtoMessage() {} -func (*MsgCreateIncentiveResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1f1fff802923d7db, []int{11} -} -func (m *MsgCreateIncentiveResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *MsgCreateIncentiveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_MsgCreateIncentiveResponse.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 *MsgCreateIncentiveResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgCreateIncentiveResponse.Merge(m, src) -} -func (m *MsgCreateIncentiveResponse) XXX_Size() int { - return m.Size() -} -func (m *MsgCreateIncentiveResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgCreateIncentiveResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_MsgCreateIncentiveResponse proto.InternalMessageInfo - -func (m *MsgCreateIncentiveResponse) GetIncentiveDenom() string { - if m != nil { - return m.IncentiveDenom - } - return "" -} - -func (m *MsgCreateIncentiveResponse) GetStartTime() time.Time { - if m != nil { - return m.StartTime - } - return time.Time{} -} - -func (m *MsgCreateIncentiveResponse) GetMinUptime() time.Duration { - if m != nil { - return m.MinUptime - } - return 0 -} - // ===================== MsgFungifyChargedPositions type MsgFungifyChargedPositions struct { PositionIds []uint64 `protobuf:"varint,1,rep,packed,name=position_ids,json=positionIds,proto3" json:"position_ids,omitempty" yaml:"position_ids"` @@ -751,7 +611,7 @@ func (m *MsgFungifyChargedPositions) Reset() { *m = MsgFungifyChargedPos func (m *MsgFungifyChargedPositions) String() string { return proto.CompactTextString(m) } func (*MsgFungifyChargedPositions) ProtoMessage() {} func (*MsgFungifyChargedPositions) Descriptor() ([]byte, []int) { - return fileDescriptor_1f1fff802923d7db, []int{12} + return fileDescriptor_1f1fff802923d7db, []int{10} } func (m *MsgFungifyChargedPositions) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -802,7 +662,7 @@ func (m *MsgFungifyChargedPositionsResponse) Reset() { *m = MsgFungifyCh func (m *MsgFungifyChargedPositionsResponse) String() string { return proto.CompactTextString(m) } func (*MsgFungifyChargedPositionsResponse) ProtoMessage() {} func (*MsgFungifyChargedPositionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1f1fff802923d7db, []int{13} + return fileDescriptor_1f1fff802923d7db, []int{11} } func (m *MsgFungifyChargedPositionsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -849,8 +709,6 @@ func init() { proto.RegisterType((*MsgCollectFeesResponse)(nil), "osmosis.concentratedliquidity.v1beta1.MsgCollectFeesResponse") proto.RegisterType((*MsgCollectIncentives)(nil), "osmosis.concentratedliquidity.v1beta1.MsgCollectIncentives") proto.RegisterType((*MsgCollectIncentivesResponse)(nil), "osmosis.concentratedliquidity.v1beta1.MsgCollectIncentivesResponse") - proto.RegisterType((*MsgCreateIncentive)(nil), "osmosis.concentratedliquidity.v1beta1.MsgCreateIncentive") - proto.RegisterType((*MsgCreateIncentiveResponse)(nil), "osmosis.concentratedliquidity.v1beta1.MsgCreateIncentiveResponse") proto.RegisterType((*MsgFungifyChargedPositions)(nil), "osmosis.concentratedliquidity.v1beta1.MsgFungifyChargedPositions") proto.RegisterType((*MsgFungifyChargedPositionsResponse)(nil), "osmosis.concentratedliquidity.v1beta1.MsgFungifyChargedPositionsResponse") } @@ -860,90 +718,76 @@ func init() { } var fileDescriptor_1f1fff802923d7db = []byte{ - // 1318 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x58, 0xcf, 0x6f, 0xdc, 0xc4, - 0x17, 0x8f, 0x77, 0xb7, 0x49, 0x33, 0xe9, 0xe6, 0x87, 0x93, 0xb6, 0x5b, 0xb7, 0xdf, 0x75, 0x34, - 0x5f, 0x41, 0x83, 0xa0, 0x76, 0xdd, 0x52, 0x01, 0x45, 0x88, 0xd6, 0x89, 0x2a, 0x2d, 0x52, 0xa4, - 0xca, 0x6a, 0x05, 0xaa, 0x90, 0x2c, 0xef, 0x7a, 0xb2, 0x19, 0xb2, 0xf6, 0x6c, 0x3d, 0xb3, 0x49, - 0xf7, 0xc0, 0xa9, 0x5c, 0x10, 0x48, 0xad, 0x90, 0x90, 0xf8, 0x0f, 0x90, 0xf8, 0x0b, 0xb8, 0x70, - 0xef, 0xb1, 0x17, 0x24, 0xc4, 0x61, 0x8b, 0x9a, 0x1b, 0x17, 0xc4, 0xfe, 0x05, 0xc8, 0x1e, 0x7b, - 0xbc, 0xb1, 0x13, 0x1a, 0x6f, 0x9a, 0x5c, 0x38, 0x25, 0xf3, 0xe6, 0x7d, 0x3e, 0x6f, 0xe6, 0xfd, - 0x98, 0xf7, 0xbc, 0xe0, 0x32, 0xa1, 0x1e, 0xa1, 0x98, 0xea, 0x2d, 0xe2, 0xb7, 0x90, 0xcf, 0x02, - 0x87, 0x21, 0xf7, 0x4a, 0x07, 0x3f, 0xec, 0x61, 0x17, 0xb3, 0xbe, 0xce, 0x1e, 0x69, 0xdd, 0x80, - 0x30, 0x22, 0xbf, 0x11, 0x2b, 0x6a, 0xa3, 0x8a, 0x42, 0x4f, 0xdb, 0x36, 0x9a, 0x88, 0x39, 0x86, - 0xb2, 0xd4, 0x26, 0x6d, 0x12, 0x21, 0xf4, 0xf0, 0x3f, 0x0e, 0x56, 0xd4, 0x36, 0x21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xab, - 0x04, 0x2e, 0xee, 0x73, 0x63, 0x91, 0x02, 0x23, 0x91, 0x94, 0x8e, 0x31, 0x92, 0xa5, 0xd7, 0x1d, - 0xc9, 0x1d, 0x30, 0x1b, 0x36, 0x17, 0xd2, 0xe9, 0xa0, 0x16, 0xbb, 0x83, 0x10, 0x95, 0x6f, 0x82, - 0x33, 0x23, 0x61, 0xa2, 0x35, 0x69, 0xb9, 0xbc, 0x52, 0x31, 0xcf, 0x0f, 0x07, 0xea, 0x62, 0x2e, - 0x88, 0x14, 0x5a, 0x33, 0x69, 0x14, 0x69, 0x81, 0x30, 0xc2, 0x3e, 0x38, 0xb7, 0xd7, 0xb0, 0x70, - 0xa5, 0x0d, 0x66, 0x5b, 0x5c, 0x8c, 0x5c, 0x7b, 0x03, 0x21, 0x7e, 0x84, 0x22, 0xb5, 0xbc, 0x17, - 0x0e, 0xad, 0xaa, 0x10, 0x84, 0x86, 0xe0, 0x97, 0x60, 0x29, 0x35, 0xdd, 0x88, 0x46, 0x46, 0xbc, - 0x7d, 0x72, 0x37, 0xff, 0xaa, 0x04, 0x2e, 0xed, 0x67, 0x5f, 0x38, 0xe0, 0x21, 0x58, 0x4a, 0x6f, - 0x80, 0xc5, 0xfe, 0xab, 0xdd, 0xf0, 0xff, 0xd8, 0x0d, 0x17, 0xb3, 0x6e, 0x48, 0x49, 0xa0, 0xb5, - 0x28, 0xc4, 0x23, 0x57, 0x7f, 0x08, 0x96, 0x36, 0x48, 0xb0, 0x81, 0x70, 0xc6, 0x64, 0xa9, 0xa0, - 0xc9, 0xfd, 0x48, 0xa0, 0xb5, 0x28, 0xc4, 0xa9, 0x49, 0xf8, 0xb8, 0x02, 0x64, 0x31, 0xd7, 0x08, - 0xf9, 0xb1, 0x0d, 0xc6, 0x36, 0x98, 0x15, 0x47, 0xb2, 0xc3, 0xf1, 0xbc, 0x70, 0x0b, 0xda, 0x0b, - 0x87, 0x56, 0x55, 0x08, 0x42, 0x6d, 0x79, 0x0b, 0x54,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 0xfc, 0xb6, 0x5b, 0x9f, 0x78, 0x60, 0x8e, 0xb4, 0x8c, 0xd8, - 0xdc, 0x95, 0x8e, 0xd3, 0xa4, 0xc9, 0x42, 0xdf, 0x36, 0x6e, 0xe8, 0x8f, 0x0e, 0xfc, 0x49, 0x34, - 0x6c, 0x29, 0xcd, 0xc9, 0xe8, 0xc9, 0xbe, 0xfe, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe3, 0xe6, - 0x38, 0xf7, 0x41, 0x15, 0x00, 0x00, + // 1101 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x58, 0x4d, 0x6f, 0xe3, 0x44, + 0x18, 0xae, 0xd3, 0x92, 0xd2, 0x29, 0xfd, 0x88, 0xdb, 0x6d, 0xb3, 0xde, 0x25, 0xae, 0x06, 0x01, + 0x41, 0xa8, 0x76, 0x5d, 0x58, 0x81, 0x8a, 0x10, 0xdb, 0x74, 0xb5, 0x52, 0x90, 0x22, 0xad, 0xac, + 0x22, 0xa4, 0x15, 0x92, 0xe5, 0xd8, 0x53, 0x77, 0x68, 0xe2, 0x49, 0x3d, 0x93, 0x76, 0x7b, 0xe0, + 0xb4, 0x5c, 0x10, 0x1c, 0x56, 0x48, 0xfc, 0x06, 0x24, 0x7e, 0x01, 0x17, 0xee, 0x3d, 0xee, 0x05, + 0x09, 0x71, 0xc8, 0xa2, 0xf6, 0x07, 0x20, 0xe5, 0x8e, 0x84, 0xec, 0xb1, 0xc7, 0xa9, 0xdd, 0x42, + 0x92, 0x2e, 0xbd, 0x70, 0x6a, 0xe6, 0x9d, 0xf7, 0x79, 0x9e, 0x99, 0xf7, 0xcb, 0x76, 0xc1, 0xdb, + 0x84, 0xb6, 0x09, 0xc5, 0x54, 0x77, 0x88, 0xef, 0x20, 0x9f, 0x05, 0x36, 0x43, 0xee, 0x7a, 0x0b, + 0x1f, 0x76, 0xb1, 0x8b,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0x8f, 0x6f, 0xb4, 0x96, 0x18, 0x48, 0x9b, + 0x28, 0x1e, 0x9b, 0xf1, 0x05, 0xeb, 0x23, 0x37, 0xea, 0x6a, 0xb6, 0x51, 0x39, 0x1f, 0x34, 0x17, + 0x84, 0x89, 0x8f, 0x61, 0xf8, 0xab, 0x04, 0xee, 0x5c, 0x72, 0x63, 0x51, 0x02, 0x03, 0x99, 0x94, + 0xfe, 0xc3, 0x4c, 0x16, 0x5e, 0x76, 0x26, 0x8f, 0xc1, 0x7c, 0xf8, 0x70, 0x21, 0xad, 0x16, 0x72, + 0xd8, 0x43, 0x84, 0xa8, 0xbc, 0x05, 0x5e, 0x1b, 0x48, 0x13, 0x2d, 0x4b, 0x6b, 0x93, 0xd5, 0xa9, + 0xda, 0x6a, 0xbf, 0xa7, 0x2e, 0xe5, 0x92, 0x48, 0xa1, 0x39, 0x9b, 0x66, 0x91, 0x8e, 0x90, 0x46, + 0x78, 0x02, 0x56, 0x2e, 0x0a, 0x8b, 0x50, 0x5a, 0x60, 0xde, 0xe1, 0x66, 0xe4, 0x5a, 0x7b, 0x08, + 0xf1, 0x23, 0x8c, 0xd2, 0xcb, 0x17, 0xe1, 0xd0, 0x9c, 0x13, 0x86, 0x50, 0x08, 0x7e, 0x05, 0x96, + 0x53, 0xe9, 0x7a, 0xf4, 0xca, 0x88, 0x8f, 0x6e, 0xee, 0xe6, 0x5f, 0x17, 0xc0, 0xdd, 0xcb, 0xf4, + 0x45, 0x00, 0x0e, 0xc1, 0x72, 0x7a, 0x03, 0x2c, 0xf6, 0xff, 0x3d, 0x0c, 0x6f, 0xc4, 0x61, 0xb8, + 0x93, 0x0d, 0x43, 0x4a, 0x02, 0xcd, 0x25, 0x61, 0x1e, 0xb8, 0xfa, 0x21, 0x58, 0xde, 0x23, 0xc1, + 0x1e, 0xc2, 0x19, 0xc9, 0xc2, 0x88, 0x92, 0x97, 0x91, 0x40, 0x73, 0x49, 0x98, 0x53, 0x49, 0xf8, + 0x54, 0x02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c, 0x3f, 0xaf, 0x4c, 0xfc, 0x76, 0x5e, + 0x99, 0x78, 0x5c, 0x1b, 0x78, 0x8c, 0xc6, 0x72, 0xeb, 0x2d, 0xbb, 0x49, 0x93, 0x85, 0x7e, 0x64, + 0xdc, 0xd3, 0x9f, 0x5c, 0xf9, 0x6f, 0x88, 0xf0, 0x31, 0xdb, 0x2c, 0x46, 0xdf, 0x1e, 0xef, 0xfd, + 0x1d, 0x00, 0x00, 0xff, 0xff, 0x89, 0xf2, 0x29, 0x88, 0xb5, 0x10, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -963,7 +807,6 @@ type MsgClient interface { AddToPosition(ctx context.Context, in *MsgAddToPosition, opts ...grpc.CallOption) (*MsgAddToPositionResponse, error) CollectFees(ctx context.Context, in *MsgCollectFees, opts ...grpc.CallOption) (*MsgCollectFeesResponse, error) CollectIncentives(ctx context.Context, in *MsgCollectIncentives, opts ...grpc.CallOption) (*MsgCollectIncentivesResponse, error) - CreateIncentive(ctx context.Context, in *MsgCreateIncentive, opts ...grpc.CallOption) (*MsgCreateIncentiveResponse, error) FungifyChargedPositions(ctx context.Context, in *MsgFungifyChargedPositions, opts ...grpc.CallOption) (*MsgFungifyChargedPositionsResponse, error) } @@ -1020,15 +863,6 @@ func (c *msgClient) CollectIncentives(ctx context.Context, in *MsgCollectIncenti return out, nil } -func (c *msgClient) CreateIncentive(ctx context.Context, in *MsgCreateIncentive, opts ...grpc.CallOption) (*MsgCreateIncentiveResponse, error) { - out := new(MsgCreateIncentiveResponse) - err := c.cc.Invoke(ctx, "/osmosis.concentratedliquidity.v1beta1.Msg/CreateIncentive", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - func (c *msgClient) FungifyChargedPositions(ctx context.Context, in *MsgFungifyChargedPositions, opts ...grpc.CallOption) (*MsgFungifyChargedPositionsResponse, error) { out := new(MsgFungifyChargedPositionsResponse) err := c.cc.Invoke(ctx, "/osmosis.concentratedliquidity.v1beta1.Msg/FungifyChargedPositions", in, out, opts...) @@ -1045,7 +879,6 @@ type MsgServer interface { AddToPosition(context.Context, *MsgAddToPosition) (*MsgAddToPositionResponse, error) CollectFees(context.Context, *MsgCollectFees) (*MsgCollectFeesResponse, error) CollectIncentives(context.Context, *MsgCollectIncentives) (*MsgCollectIncentivesResponse, error) - CreateIncentive(context.Context, *MsgCreateIncentive) (*MsgCreateIncentiveResponse, error) FungifyChargedPositions(context.Context, *MsgFungifyChargedPositions) (*MsgFungifyChargedPositionsResponse, error) } @@ -1068,9 +901,6 @@ func (*UnimplementedMsgServer) CollectFees(ctx context.Context, req *MsgCollectF func (*UnimplementedMsgServer) CollectIncentives(ctx context.Context, req *MsgCollectIncentives) (*MsgCollectIncentivesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CollectIncentives not implemented") } -func (*UnimplementedMsgServer) CreateIncentive(ctx context.Context, req *MsgCreateIncentive) (*MsgCreateIncentiveResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateIncentive not implemented") -} func (*UnimplementedMsgServer) FungifyChargedPositions(ctx context.Context, req *MsgFungifyChargedPositions) (*MsgFungifyChargedPositionsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FungifyChargedPositions not implemented") } @@ -1169,24 +999,6 @@ func _Msg_CollectIncentives_Handler(srv interface{}, ctx context.Context, dec fu return interceptor(ctx, in, info, handler) } -func _Msg_CreateIncentive_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgCreateIncentive) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).CreateIncentive(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/osmosis.concentratedliquidity.v1beta1.Msg/CreateIncentive", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).CreateIncentive(ctx, req.(*MsgCreateIncentive)) - } - return interceptor(ctx, in, info, handler) -} - func _Msg_FungifyChargedPositions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(MsgFungifyChargedPositions) if err := dec(in); err != nil { @@ -1229,10 +1041,6 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ MethodName: "CollectIncentives", Handler: _Msg_CollectIncentives_Handler, }, - { - MethodName: "CreateIncentive", - Handler: _Msg_CreateIncentive_Handler, - }, { MethodName: "FungifyChargedPositions", Handler: _Msg_FungifyChargedPositions_Handler, @@ -1772,143 +1580,6 @@ func (m *MsgCollectIncentivesResponse) MarshalToSizedBuffer(dAtA []byte) (int, e return len(dAtA) - i, nil } -func (m *MsgCreateIncentive) 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 *MsgCreateIncentive) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgCreateIncentive) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - n8, err8 := github_com_gogo_protobuf_types.StdDurationMarshalTo(m.MinUptime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(m.MinUptime):]) - if err8 != nil { - return 0, err8 - } - i -= n8 - i = encodeVarintTx(dAtA, i, uint64(n8)) - i-- - dAtA[i] = 0x32 - n9, err9 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.StartTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.StartTime):]) - if err9 != nil { - return 0, err9 - } - i -= n9 - i = encodeVarintTx(dAtA, i, uint64(n9)) - i-- - dAtA[i] = 0x2a - { - size := m.EmissionRate.Size() - i -= size - if _, err := m.EmissionRate.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - { - size, err := m.IncentiveCoin.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - 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] = 0x12 - } - if m.PoolId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.PoolId)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *MsgCreateIncentiveResponse) 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 *MsgCreateIncentiveResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgCreateIncentiveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - n11, err11 := github_com_gogo_protobuf_types.StdDurationMarshalTo(m.MinUptime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(m.MinUptime):]) - if err11 != nil { - return 0, err11 - } - i -= n11 - i = encodeVarintTx(dAtA, i, uint64(n11)) - i-- - dAtA[i] = 0x2a - n12, err12 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.StartTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.StartTime):]) - if err12 != nil { - return 0, err12 - } - i -= n12 - i = encodeVarintTx(dAtA, i, uint64(n12)) - i-- - dAtA[i] = 0x22 - { - size := m.EmissionRate.Size() - i -= size - if _, err := m.EmissionRate.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - { - size := m.IncentiveAmount.Size() - i -= size - if _, err := m.IncentiveAmount.MarshalTo(dAtA[i:]); err != nil { - return 0, err - } - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - if len(m.IncentiveDenom) > 0 { - i -= len(m.IncentiveDenom) - copy(dAtA[i:], m.IncentiveDenom) - i = encodeVarintTx(dAtA, i, uint64(len(m.IncentiveDenom))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - func (m *MsgFungifyChargedPositions) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -1937,20 +1608,20 @@ func (m *MsgFungifyChargedPositions) MarshalToSizedBuffer(dAtA []byte) (int, err dAtA[i] = 0x12 } if len(m.PositionIds) > 0 { - dAtA14 := make([]byte, len(m.PositionIds)*10) - var j13 int + dAtA9 := make([]byte, len(m.PositionIds)*10) + var j8 int for _, num := range m.PositionIds { for num >= 1<<7 { - dAtA14[j13] = uint8(uint64(num)&0x7f | 0x80) + dAtA9[j8] = uint8(uint64(num)&0x7f | 0x80) num >>= 7 - j13++ + j8++ } - dAtA14[j13] = uint8(num) - j13++ + dAtA9[j8] = uint8(num) + j8++ } - i -= j13 - copy(dAtA[i:], dAtA14[:j13]) - i = encodeVarintTx(dAtA, i, uint64(j13)) + i -= j8 + copy(dAtA[i:], dAtA9[:j8]) + i = encodeVarintTx(dAtA, i, uint64(j8)) i-- dAtA[i] = 0xa } @@ -2197,51 +1868,6 @@ func (m *MsgCollectIncentivesResponse) Size() (n int) { return n } -func (m *MsgCreateIncentive) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.PoolId != 0 { - n += 1 + sovTx(uint64(m.PoolId)) - } - l = len(m.Sender) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = m.IncentiveCoin.Size() - n += 1 + l + sovTx(uint64(l)) - l = m.EmissionRate.Size() - n += 1 + l + sovTx(uint64(l)) - l = github_com_gogo_protobuf_types.SizeOfStdTime(m.StartTime) - n += 1 + l + sovTx(uint64(l)) - l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.MinUptime) - n += 1 + l + sovTx(uint64(l)) - return n -} - -func (m *MsgCreateIncentiveResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.IncentiveDenom) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = m.IncentiveAmount.Size() - n += 1 + l + sovTx(uint64(l)) - l = m.EmissionRate.Size() - n += 1 + l + sovTx(uint64(l)) - l = github_com_gogo_protobuf_types.SizeOfStdTime(m.StartTime) - n += 1 + l + sovTx(uint64(l)) - l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.MinUptime) - n += 1 + l + sovTx(uint64(l)) - return n -} - func (m *MsgFungifyChargedPositions) Size() (n int) { if m == nil { return 0 @@ -3838,456 +3464,6 @@ func (m *MsgCollectIncentivesResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgCreateIncentive) 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: MsgCreateIncentive: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCreateIncentive: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - 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 - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.PoolId |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - 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 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IncentiveCoin", 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 err := m.IncentiveCoin.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EmissionRate", 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 - } - if err := m.EmissionRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StartTime", 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 err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.StartTime, dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MinUptime", 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 err := github_com_gogo_protobuf_types.StdDurationUnmarshal(&m.MinUptime, 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 (m *MsgCreateIncentiveResponse) 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: MsgCreateIncentiveResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgCreateIncentiveResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IncentiveDenom", 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.IncentiveDenom = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field IncentiveAmount", 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 - } - if err := m.IncentiveAmount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EmissionRate", 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 - } - if err := m.EmissionRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StartTime", 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 err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.StartTime, dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MinUptime", 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 err := github_com_gogo_protobuf_types.StdDurationUnmarshal(&m.MinUptime, 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 (m *MsgFungifyChargedPositions) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0