Skip to content

Commit

Permalink
Merge pull request #160 from comdex-official/vault-codec
Browse files Browse the repository at this point in the history
update vault codec msg name
  • Loading branch information
dheerajkd30 authored May 31, 2022
2 parents 01e0aab + 809ce95 commit 96ff5a1
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions x/vault/types/codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ import (
)

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) {
cdc.RegisterConcrete(&MsgCreateRequest{}, "comdex/vault/create", nil)
cdc.RegisterConcrete(&MsgCloseRequest{}, "comdex/vault/close", nil)
cdc.RegisterConcrete(&MsgDepositRequest{}, "comdex/vault/deposit", nil)
cdc.RegisterConcrete(&MsgRepayRequest{}, "comdex/vault/repay", nil)
cdc.RegisterConcrete(&MsgWithdrawRequest{}, "comdex/vault/withdraw", nil)
cdc.RegisterConcrete(&MsgDrawRequest{}, "comdex/vault/draw", nil)
cdc.RegisterConcrete(&MsgCreateStableMintRequest{}, "comdex/vault/create-stable-mint", nil)
cdc.RegisterConcrete(&MsgDepositStableMintRequest{}, "comdex/vault/deposit-stable-mint", nil)
cdc.RegisterConcrete(&MsgWithdrawStableMintRequest{}, "comdex/vault/withdraw-stable-mint", nil)
cdc.RegisterConcrete(&MsgCreateRequest{}, "comdex/vault/MsgCreateRequest", nil)
cdc.RegisterConcrete(&MsgCloseRequest{}, "comdex/vault/MsgCloseRequest", nil)
cdc.RegisterConcrete(&MsgDepositRequest{}, "comdex/vault/MsgDepositRequest", nil)
cdc.RegisterConcrete(&MsgRepayRequest{}, "comdex/vault/MsgRepayRequest", nil)
cdc.RegisterConcrete(&MsgWithdrawRequest{}, "comdex/vault/MsgWithdrawRequest", nil)
cdc.RegisterConcrete(&MsgDrawRequest{}, "comdex/vault/MsgDrawRequest", nil)
cdc.RegisterConcrete(&MsgCreateStableMintRequest{}, "comdex/vault/MsgCreateStableMintRequest", nil)
cdc.RegisterConcrete(&MsgDepositStableMintRequest{}, "comdex/vault/MsgDepositStableMintRequest", nil)
cdc.RegisterConcrete(&MsgWithdrawStableMintRequest{}, "comdex/vault/MsgWithdrawStableMintRequest", nil)
}

func RegisterInterfaces(registry codectypes.InterfaceRegistry) {
Expand Down

0 comments on commit 96ff5a1

Please sign in to comment.