mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-25 15:55:18 +00:00
add liquidate msg to codec (#792)
This commit is contained in:
parent
dd3470260d
commit
cfb9e0cb76
@ -19,4 +19,5 @@ func RegisterCodec(cdc *codec.Codec) {
|
|||||||
cdc.RegisterConcrete(MsgWithdraw{}, "cdp/MsgWithdraw", nil)
|
cdc.RegisterConcrete(MsgWithdraw{}, "cdp/MsgWithdraw", nil)
|
||||||
cdc.RegisterConcrete(MsgDrawDebt{}, "cdp/MsgDrawDebt", nil)
|
cdc.RegisterConcrete(MsgDrawDebt{}, "cdp/MsgDrawDebt", nil)
|
||||||
cdc.RegisterConcrete(MsgRepayDebt{}, "cdp/MsgRepayDebt", nil)
|
cdc.RegisterConcrete(MsgRepayDebt{}, "cdp/MsgRepayDebt", nil)
|
||||||
|
cdc.RegisterConcrete(MsgLiquidate{}, "cdp/MsgLiquidate", nil)
|
||||||
}
|
}
|
||||||
|
@ -16,6 +16,7 @@ var (
|
|||||||
_ sdk.Msg = &MsgWithdraw{}
|
_ sdk.Msg = &MsgWithdraw{}
|
||||||
_ sdk.Msg = &MsgDrawDebt{}
|
_ sdk.Msg = &MsgDrawDebt{}
|
||||||
_ sdk.Msg = &MsgRepayDebt{}
|
_ sdk.Msg = &MsgRepayDebt{}
|
||||||
|
_ sdk.Msg = &MsgLiquidate{}
|
||||||
)
|
)
|
||||||
|
|
||||||
// MsgCreateCDP creates a cdp
|
// MsgCreateCDP creates a cdp
|
||||||
|
Loading…
Reference in New Issue
Block a user