diff --git a/app/setup_handlers.go b/app/setup_handlers.go index 436d450933..83506b1e1e 100644 --- a/app/setup_handlers.go +++ b/app/setup_handlers.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/upgrade/types" ) -const releaseVersion = "0.13.1" +const releaseVersion = "0.13.2-rc.1" func SetupHandlers(app *SifchainApp) { app.UpgradeKeeper.SetUpgradeHandler(releaseVersion, func(ctx sdk.Context, plan types.Plan, vm m.VersionMap) (m.VersionMap, error) { diff --git a/proto/sifnode/clp/v1/tx.proto b/proto/sifnode/clp/v1/tx.proto index d1d7aec144..af69550032 100644 --- a/proto/sifnode/clp/v1/tx.proto +++ b/proto/sifnode/clp/v1/tx.proto @@ -22,6 +22,7 @@ service Msg { rpc UpdatePmtpParams(MsgUpdatePmtpParams) returns (MsgUpdatePmtpParamsResponse); rpc UpdateStakingRewardParams(MsgUpdateStakingRewardParams) returns (MsgUpdateStakingRewardParamsResponse); rpc SetSymmetryThreshold(MsgSetSymmetryThreshold) returns (MsgSetSymmetryThresholdResponse); + rpc CancelUnlockLiquidity(MsgCancelUnlock) returns (MsgCancelUnlockResponse); } //message MsgUpdateStakingRewardParams{ @@ -209,4 +210,16 @@ message MsgSetSymmetryThreshold { ]; } -message MsgSetSymmetryThresholdResponse {} \ No newline at end of file +message MsgSetSymmetryThresholdResponse {} + +message MsgCancelUnlock { + string signer = 1; + sifnode.clp.v1.Asset external_asset = 2 + [ (gogoproto.moretags) = "yaml:\"external_asset\"" ]; + string units = 3 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Uint", + (gogoproto.nullable) = false + ]; +} + +message MsgCancelUnlockResponse {} \ No newline at end of file diff --git a/version b/version index c317a91891..0540a190cd 100644 --- a/version +++ b/version @@ -1 +1 @@ -0.13.1 +0.13.2-rc.1 diff --git a/x/clp/client/cli/tx.go b/x/clp/client/cli/tx.go index 2e27c3673d..3650533f86 100644 --- a/x/clp/client/cli/tx.go +++ b/x/clp/client/cli/tx.go @@ -37,6 +37,7 @@ func GetTxCmd() *cobra.Command { GetCmdSwap(), GetCmdDecommissionPool(), GetCmdUnlockLiquidity(), + GetCmdCancelUnlockLiquidity(), GetCmdUpdateRewardParams(), GetCmdAddRewardPeriod(), GetCmdModifyPmtpRates(), @@ -582,3 +583,43 @@ func GetCmdUnlockLiquidity() *cobra.Command { return cmd } + +func GetCmdCancelUnlockLiquidity() *cobra.Command { + cmd := &cobra.Command{ + Use: "cancel-unbond", + Short: "Cancel unbonding of liquidity from a pool", + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx, err := client.GetClientTxContext(cmd) + if err != nil { + return err + } + + externalAsset := types.NewAsset(viper.GetString(FlagAssetSymbol)) + signer := clientCtx.GetFromAddress() + units := viper.GetUint64(FlagUnits) + unitsInt := sdk.NewUint(units) + msg := types.MsgCancelUnlock{ + Signer: signer.String(), + ExternalAsset: &externalAsset, + Units: unitsInt, + } + if err := msg.ValidateBasic(); err != nil { + return err + } + + return tx.GenerateOrBroadcastTxCLI(clientCtx, cmd.Flags(), &msg) + }, + } + cmd.Flags().AddFlagSet(FsAssetSymbol) + cmd.Flags().AddFlagSet(FsUnits) + if err := cmd.MarkFlagRequired(FlagAssetSymbol); err != nil { + log.Println("MarkFlagRequired failed: ", err.Error()) + } + if err := cmd.MarkFlagRequired(FlagUnits); err != nil { + log.Println("MarkFlagRequired failed: ", err.Error()) + } + + flags.AddTxFlagsToCmd(cmd) + + return cmd +} diff --git a/x/clp/keeper/msg_server.go b/x/clp/keeper/msg_server.go index af75e492a1..9a63fc1dd9 100644 --- a/x/clp/keeper/msg_server.go +++ b/x/clp/keeper/msg_server.go @@ -37,6 +37,45 @@ func (k msgServer) SetSymmetryThreshold(goCtx context.Context, threshold *types. return &types.MsgSetSymmetryThresholdResponse{}, nil } +// NewMsgServerImpl returns an implementation of the clp MsgServer interface +// for the provided Keeper. +func NewMsgServerImpl(keeper Keeper) types.MsgServer { + return &msgServer{Keeper: keeper} +} + +var _ types.MsgServer = msgServer{} + +func (k msgServer) CancelUnlockLiquidity(goCtx context.Context, request *types.MsgCancelUnlock) (*types.MsgCancelUnlockResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + lp, err := k.Keeper.GetLiquidityProvider(ctx, request.ExternalAsset.Symbol, request.Signer) + if err != nil { + return nil, types.ErrLiquidityProviderDoesNotExist + } + // Prune unlocks + params := k.GetRewardsParams(ctx) + k.PruneUnlockRecords(ctx, &lp, params.LiquidityRemovalLockPeriod, params.LiquidityRemovalCancelPeriod) + + err = k.UseUnlockedLiquidity(ctx, lp, request.Units, true) + if err != nil { + return nil, err + } + + ctx.EventManager().EmitEvents(sdk.Events{ + sdk.NewEvent( + types.EventTypeCancelUnlock, + sdk.NewAttribute(types.AttributeKeyLiquidityProvider, lp.String()), + sdk.NewAttribute(types.AttributeKeyPool, lp.Asset.Symbol), + sdk.NewAttribute(types.AttributeKeyUnits, request.Units.String()), + ), + sdk.NewEvent( + sdk.EventTypeMessage, + sdk.NewAttribute(sdk.AttributeKeyModule, types.AttributeValueCategory), + sdk.NewAttribute(sdk.AttributeKeySender, request.Signer), + ), + }) + return &types.MsgCancelUnlockResponse{}, nil +} + func (k msgServer) UpdateStakingRewardParams(goCtx context.Context, msg *types.MsgUpdateStakingRewardParams) (*types.MsgUpdateStakingRewardParamsResponse, error) { ctx := sdk.UnwrapSDKContext(goCtx) signer, err := sdk.AccAddressFromBech32(msg.Signer) @@ -88,14 +127,6 @@ func (k msgServer) AddRewardPeriod(goCtx context.Context, msg *types.MsgAddRewar return response, nil } -// NewMsgServerImpl returns an implementation of the clp MsgServer interface -// for the provided Keeper. -func NewMsgServerImpl(keeper Keeper) types.MsgServer { - return &msgServer{Keeper: keeper} -} - -var _ types.MsgServer = msgServer{} - func (k msgServer) UpdatePmtpParams(goCtx context.Context, msg *types.MsgUpdatePmtpParams) (*types.MsgUpdatePmtpParamsResponse, error) { ctx := sdk.UnwrapSDKContext(goCtx) response := &types.MsgUpdatePmtpParamsResponse{} @@ -493,7 +524,7 @@ func (k msgServer) RemoveLiquidity(goCtx context.Context, msg *types.MsgRemoveLi pool.NativeAssetBalance.String(), pool.ExternalAssetBalance.String(), lp.LiquidityProviderUnits.String(), msg.WBasisPoints.String(), msg.Asymmetry) - err = k.Keeper.UseUnlockedLiquidity(ctx, lp, lp.LiquidityProviderUnits.Sub(lpUnitsLeft)) + err = k.Keeper.UseUnlockedLiquidity(ctx, lp, lp.LiquidityProviderUnits.Sub(lpUnitsLeft), false) if err != nil { return nil, err } @@ -620,7 +651,7 @@ func (k msgServer) RemoveLiquidityUnits(goCtx context.Context, msg *types.MsgRem pool.NativeAssetBalance.String(), pool.ExternalAssetBalance.String(), lp.LiquidityProviderUnits.String(), msg.WithdrawUnits) - err = k.Keeper.UseUnlockedLiquidity(ctx, lp, lp.LiquidityProviderUnits.Sub(lpUnitsLeft)) + err = k.Keeper.UseUnlockedLiquidity(ctx, lp, lp.LiquidityProviderUnits.Sub(lpUnitsLeft), false) if err != nil { return nil, err } diff --git a/x/clp/keeper/rewards.go b/x/clp/keeper/rewards.go index 3b964a2d53..4dffb51346 100644 --- a/x/clp/keeper/rewards.go +++ b/x/clp/keeper/rewards.go @@ -77,7 +77,7 @@ func (k Keeper) DistributeDepthRewards(ctx sdk.Context, period *types.RewardPeri return nil } -func (k Keeper) UseUnlockedLiquidity(ctx sdk.Context, lp types.LiquidityProvider, units sdk.Uint) error { +func (k Keeper) UseUnlockedLiquidity(ctx sdk.Context, lp types.LiquidityProvider, units sdk.Uint, any bool) error { // Ensure there is enough liquidity requested for unlock, and also passed lock period. // Reduce liquidity in one or more unlock records. // Remove unlock records with zero units remaining. @@ -87,7 +87,7 @@ func (k Keeper) UseUnlockedLiquidity(ctx sdk.Context, lp types.LiquidityProvider unitsLeftToUse := units for _, record := range lp.Unlocks { - if record.RequestHeight+int64(lockPeriod) <= currentHeight { + if any || record.RequestHeight+int64(lockPeriod) <= currentHeight { if unitsLeftToUse.GT(record.Units) { // use all this record's unit's and continue with remaining unitsLeftToUse = unitsLeftToUse.Sub(record.Units) diff --git a/x/clp/keeper/rewards_test.go b/x/clp/keeper/rewards_test.go index c9c583b0c8..bcbe8dba68 100644 --- a/x/clp/keeper/rewards_test.go +++ b/x/clp/keeper/rewards_test.go @@ -82,6 +82,7 @@ func TestUseUnlockedLiquidity(t *testing.T) { name string height int64 use sdk.Uint + any bool unlocks []*types.LiquidityUnlock expected error }{ @@ -102,6 +103,19 @@ func TestUseUnlockedLiquidity(t *testing.T) { }, }, }, + { + name: "Unlock in any state", + height: 5, + use: sdk.NewUint(1000), + any: true, + expected: nil, + unlocks: []*types.LiquidityUnlock{ + { + RequestHeight: 1, + Units: sdk.NewUint(1000), + }, + }, + }, { name: "Available via split", height: 50, @@ -136,7 +150,7 @@ func TestUseUnlockedLiquidity(t *testing.T) { Unlocks: tc.unlocks, } app.ClpKeeper.SetLiquidityProvider(ctx, &lp) - err := app.ClpKeeper.UseUnlockedLiquidity(ctx, lp, sdk.NewUint(1000)) + err := app.ClpKeeper.UseUnlockedLiquidity(ctx, lp, sdk.NewUint(1000), tc.any) require.ErrorIs(t, err, tc.expected) }) } diff --git a/x/clp/types/msgs.go b/x/clp/types/msgs.go index 5fa98d0066..6c5bfe12e1 100644 --- a/x/clp/types/msgs.go +++ b/x/clp/types/msgs.go @@ -23,6 +23,7 @@ var ( _ sdk.Msg = &MsgUpdatePmtpParams{} _ sdk.Msg = &MsgUpdateStakingRewardParams{} _ sdk.Msg = &MsgSetSymmetryThreshold{} + _ sdk.Msg = &MsgCancelUnlock{} _ legacytx.LegacyMsg = &MsgRemoveLiquidity{} _ legacytx.LegacyMsg = &MsgRemoveLiquidityUnits{} @@ -36,8 +37,40 @@ var ( _ legacytx.LegacyMsg = &MsgModifyPmtpRates{} _ legacytx.LegacyMsg = &MsgUpdatePmtpParams{} _ legacytx.LegacyMsg = &MsgUpdateStakingRewardParams{} + _ legacytx.LegacyMsg = &MsgSetSymmetryThreshold{} + _ legacytx.LegacyMsg = &MsgCancelUnlock{} ) +func (m MsgCancelUnlock) Route() string { + return RouterKey +} + +func (m MsgCancelUnlock) Type() string { + return "cancel_unlock" +} + +func (m MsgCancelUnlock) ValidateBasic() error { + if len(m.Signer) == 0 { + return sdkerrors.Wrap(sdkerrors.ErrInvalidAddress, m.Signer) + } + if !m.ExternalAsset.Validate() { + return sdkerrors.Wrap(ErrInValidAsset, m.ExternalAsset.Symbol) + } + return nil +} + +func (m MsgCancelUnlock) GetSignBytes() []byte { + return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(&m)) +} + +func (m MsgCancelUnlock) GetSigners() []sdk.AccAddress { + addr, err := sdk.AccAddressFromBech32(m.Signer) + if err != nil { + panic(err) + } + return []sdk.AccAddress{addr} +} + func (m MsgUpdateStakingRewardParams) Route() string { return RouterKey } diff --git a/x/clp/types/tx.pb.go b/x/clp/types/tx.pb.go index 770b6d9e4c..432f86a24d 100644 --- a/x/clp/types/tx.pb.go +++ b/x/clp/types/tx.pb.go @@ -1227,6 +1227,95 @@ func (m *MsgSetSymmetryThresholdResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgSetSymmetryThresholdResponse proto.InternalMessageInfo +type MsgCancelUnlock struct { + Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` + ExternalAsset *Asset `protobuf:"bytes,2,opt,name=external_asset,json=externalAsset,proto3" json:"external_asset,omitempty" yaml:"external_asset"` + Units github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,3,opt,name=units,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"units"` +} + +func (m *MsgCancelUnlock) Reset() { *m = MsgCancelUnlock{} } +func (m *MsgCancelUnlock) String() string { return proto.CompactTextString(m) } +func (*MsgCancelUnlock) ProtoMessage() {} +func (*MsgCancelUnlock) Descriptor() ([]byte, []int) { + return fileDescriptor_a3bff5b30808c4f3, []int{26} +} +func (m *MsgCancelUnlock) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgCancelUnlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgCancelUnlock.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 *MsgCancelUnlock) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgCancelUnlock.Merge(m, src) +} +func (m *MsgCancelUnlock) XXX_Size() int { + return m.Size() +} +func (m *MsgCancelUnlock) XXX_DiscardUnknown() { + xxx_messageInfo_MsgCancelUnlock.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgCancelUnlock proto.InternalMessageInfo + +func (m *MsgCancelUnlock) GetSigner() string { + if m != nil { + return m.Signer + } + return "" +} + +func (m *MsgCancelUnlock) GetExternalAsset() *Asset { + if m != nil { + return m.ExternalAsset + } + return nil +} + +type MsgCancelUnlockResponse struct { +} + +func (m *MsgCancelUnlockResponse) Reset() { *m = MsgCancelUnlockResponse{} } +func (m *MsgCancelUnlockResponse) String() string { return proto.CompactTextString(m) } +func (*MsgCancelUnlockResponse) ProtoMessage() {} +func (*MsgCancelUnlockResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_a3bff5b30808c4f3, []int{27} +} +func (m *MsgCancelUnlockResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgCancelUnlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgCancelUnlockResponse.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 *MsgCancelUnlockResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgCancelUnlockResponse.Merge(m, src) +} +func (m *MsgCancelUnlockResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgCancelUnlockResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgCancelUnlockResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgCancelUnlockResponse proto.InternalMessageInfo + func init() { proto.RegisterType((*MsgUpdateStakingRewardParams)(nil), "sifnode.clp.v1.MsgUpdateStakingRewardParams") proto.RegisterType((*MsgUpdateStakingRewardParamsResponse)(nil), "sifnode.clp.v1.MsgUpdateStakingRewardParamsResponse") @@ -1254,100 +1343,104 @@ func init() { proto.RegisterType((*MsgAddRewardPeriodResponse)(nil), "sifnode.clp.v1.MsgAddRewardPeriodResponse") proto.RegisterType((*MsgSetSymmetryThreshold)(nil), "sifnode.clp.v1.MsgSetSymmetryThreshold") proto.RegisterType((*MsgSetSymmetryThresholdResponse)(nil), "sifnode.clp.v1.MsgSetSymmetryThresholdResponse") + proto.RegisterType((*MsgCancelUnlock)(nil), "sifnode.clp.v1.MsgCancelUnlock") + proto.RegisterType((*MsgCancelUnlockResponse)(nil), "sifnode.clp.v1.MsgCancelUnlockResponse") } func init() { proto.RegisterFile("sifnode/clp/v1/tx.proto", fileDescriptor_a3bff5b30808c4f3) } var fileDescriptor_a3bff5b30808c4f3 = []byte{ - // 1400 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x58, 0xcd, 0x6f, 0xdc, 0xd4, - 0x16, 0xcf, 0x64, 0xda, 0xbe, 0x97, 0x93, 0x26, 0x6d, 0x9c, 0xcc, 0xcb, 0xc4, 0x49, 0x66, 0x5a, - 0xf7, 0xbd, 0x7e, 0x3c, 0xe8, 0x0c, 0x2d, 0x20, 0x10, 0x12, 0x12, 0x49, 0x1b, 0x15, 0x44, 0x06, - 0x46, 0x0e, 0x55, 0x11, 0x1b, 0xe3, 0xd8, 0x37, 0x1e, 0x2b, 0xf6, 0xb5, 0xeb, 0x7b, 0xf3, 0x31, - 0x0b, 0x54, 0x24, 0x96, 0x48, 0x88, 0x25, 0x62, 0x85, 0xf8, 0x23, 0xf8, 0x0f, 0x90, 0xba,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0xc4, - 0x67, 0xf9, 0x93, 0x7e, 0xcb, 0xdf, 0x71, 0x7a, 0xb6, 0x8f, 0xdb, 0xe9, 0x17, 0xc8, 0x43, 0xfe, - 0x0d, 0x92, 0x4f, 0xeb, 0xed, 0x73, 0xfc, 0x03, 0xe4, 0xeb, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, - 0x9f, 0xa9, 0x45, 0x66, 0xfa, 0x14, 0x00, 0x00, + // 1432 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x58, 0xcd, 0x6f, 0xdc, 0x44, + 0x14, 0xcf, 0x66, 0xdb, 0x42, 0x5e, 0x9a, 0xb4, 0x71, 0xb2, 0x24, 0x71, 0x92, 0xdd, 0xd6, 0x85, + 0x7e, 0x00, 0xdd, 0xa5, 0x05, 0x04, 0x42, 0x42, 0x22, 0x69, 0xa3, 0x82, 0xc8, 0xc2, 0xca, 0xa1, + 0x2a, 0xe2, 0x62, 0x1c, 0x7b, 0xe2, 0xb5, 0x62, 0x8f, 0x5d, 0xcf, 0xe4, 0x63, 0x0f, 0xa8, 0x48, + 0x1c, 0x91, 0x10, 0x47, 0xe0, 0x84, 0xf8, 0x5f, 0x90, 0xca, 0xad, 0x07, 0x0e, 0x88, 0x43, 0x84, + 0x5a, 0x09, 0x89, 0x03, 0x97, 0xfe, 0x05, 0x68, 0x3e, 0xec, 0xf5, 0x7a, 0x67, 0xd3, 0xb8, 0xa7, + 0x1c, 0x38, 0x25, 0x3b, 0xef, 0xf7, 0x7e, 0xef, 0x6b, 0xde, 0x9b, 0x19, 0xc3, 0x3c, 0xf1, 0xb7, + 0x71, 0xe4, 0xa2, 0x96, 0x13, 0xc4, 0xad, 0xbd, 0x1b, 0x2d, 0x7a, 0xd0, 0x8c, 0x93, 0x88, 0x46, + 0xda, 0xb4, 0x14, 0x34, 0x9d, 0x20, 0x6e, 0xee, 0xdd, 0xd0, 0x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, 0x0c, 0xff, 0x94, 0xfb, 0xe6, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, + 0xd3, 0x6b, 0xb8, 0xd3, 0x44, 0x16, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1375,6 +1468,7 @@ type MsgClient interface { UpdatePmtpParams(ctx context.Context, in *MsgUpdatePmtpParams, opts ...grpc.CallOption) (*MsgUpdatePmtpParamsResponse, error) UpdateStakingRewardParams(ctx context.Context, in *MsgUpdateStakingRewardParams, opts ...grpc.CallOption) (*MsgUpdateStakingRewardParamsResponse, error) SetSymmetryThreshold(ctx context.Context, in *MsgSetSymmetryThreshold, opts ...grpc.CallOption) (*MsgSetSymmetryThresholdResponse, error) + CancelUnlockLiquidity(ctx context.Context, in *MsgCancelUnlock, opts ...grpc.CallOption) (*MsgCancelUnlockResponse, error) } type msgClient struct { @@ -1502,6 +1596,15 @@ func (c *msgClient) SetSymmetryThreshold(ctx context.Context, in *MsgSetSymmetry return out, nil } +func (c *msgClient) CancelUnlockLiquidity(ctx context.Context, in *MsgCancelUnlock, opts ...grpc.CallOption) (*MsgCancelUnlockResponse, error) { + out := new(MsgCancelUnlockResponse) + err := c.cc.Invoke(ctx, "/sifnode.clp.v1.Msg/CancelUnlockLiquidity", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // MsgServer is the server API for Msg service. type MsgServer interface { RemoveLiquidity(context.Context, *MsgRemoveLiquidity) (*MsgRemoveLiquidityResponse, error) @@ -1517,6 +1620,7 @@ type MsgServer interface { UpdatePmtpParams(context.Context, *MsgUpdatePmtpParams) (*MsgUpdatePmtpParamsResponse, error) UpdateStakingRewardParams(context.Context, *MsgUpdateStakingRewardParams) (*MsgUpdateStakingRewardParamsResponse, error) SetSymmetryThreshold(context.Context, *MsgSetSymmetryThreshold) (*MsgSetSymmetryThresholdResponse, error) + CancelUnlockLiquidity(context.Context, *MsgCancelUnlock) (*MsgCancelUnlockResponse, error) } // UnimplementedMsgServer can be embedded to have forward compatible implementations. @@ -1562,6 +1666,9 @@ func (*UnimplementedMsgServer) UpdateStakingRewardParams(ctx context.Context, re func (*UnimplementedMsgServer) SetSymmetryThreshold(ctx context.Context, req *MsgSetSymmetryThreshold) (*MsgSetSymmetryThresholdResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SetSymmetryThreshold not implemented") } +func (*UnimplementedMsgServer) CancelUnlockLiquidity(ctx context.Context, req *MsgCancelUnlock) (*MsgCancelUnlockResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CancelUnlockLiquidity not implemented") +} func RegisterMsgServer(s grpc1.Server, srv MsgServer) { s.RegisterService(&_Msg_serviceDesc, srv) @@ -1801,6 +1908,24 @@ func _Msg_SetSymmetryThreshold_Handler(srv interface{}, ctx context.Context, dec return interceptor(ctx, in, info, handler) } +func _Msg_CancelUnlockLiquidity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgCancelUnlock) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).CancelUnlockLiquidity(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/sifnode.clp.v1.Msg/CancelUnlockLiquidity", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).CancelUnlockLiquidity(ctx, req.(*MsgCancelUnlock)) + } + return interceptor(ctx, in, info, handler) +} + var _Msg_serviceDesc = grpc.ServiceDesc{ ServiceName: "sifnode.clp.v1.Msg", HandlerType: (*MsgServer)(nil), @@ -1857,6 +1982,10 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ MethodName: "SetSymmetryThreshold", Handler: _Msg_SetSymmetryThreshold_Handler, }, + { + MethodName: "CancelUnlockLiquidity", + Handler: _Msg_CancelUnlockLiquidity_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "sifnode/clp/v1/tx.proto", @@ -2842,6 +2971,81 @@ func (m *MsgSetSymmetryThresholdResponse) MarshalToSizedBuffer(dAtA []byte) (int return len(dAtA) - i, nil } +func (m *MsgCancelUnlock) 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 *MsgCancelUnlock) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgCancelUnlock) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size := m.Units.Size() + i -= size + if _, err := m.Units.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + if m.ExternalAsset != nil { + { + size, err := m.ExternalAsset.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Signer) > 0 { + i -= len(m.Signer) + copy(dAtA[i:], m.Signer) + i = encodeVarintTx(dAtA, i, uint64(len(m.Signer))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgCancelUnlockResponse) 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 *MsgCancelUnlockResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgCancelUnlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + func encodeVarintTx(dAtA []byte, offset int, v uint64) int { offset -= sovTx(v) base := offset @@ -3233,6 +3437,34 @@ func (m *MsgSetSymmetryThresholdResponse) Size() (n int) { return n } +func (m *MsgCancelUnlock) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Signer) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.ExternalAsset != nil { + l = m.ExternalAsset.Size() + n += 1 + l + sovTx(uint64(l)) + } + l = m.Units.Size() + n += 1 + l + sovTx(uint64(l)) + return n +} + +func (m *MsgCancelUnlockResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + func sovTx(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -5926,6 +6158,208 @@ func (m *MsgSetSymmetryThresholdResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *MsgCancelUnlock) 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: MsgCancelUnlock: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgCancelUnlock: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Signer", 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.Signer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExternalAsset", 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.ExternalAsset == nil { + m.ExternalAsset = &Asset{} + } + if err := m.ExternalAsset.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Units", 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.Units.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 (m *MsgCancelUnlockResponse) 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: MsgCancelUnlockResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgCancelUnlockResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + 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