import { Codec } from "@chainapsis/ts-amino" ; import { MsgSubmitProposal , MsgDeposit , MsgVote } from "./msgs" ; export function registerCodec ( codec ) { codec . registerConcrete ( "cosmos-sdk/MsgSubmitProposal" , MsgSubmitProposal . prototype ) ; codec . registerConcrete ( "cosmos-sdk/MsgDeposit" , MsgDeposit . prototype ) ; codec . registerConcrete ( "cosmos-sdk/MsgVote" , MsgVote . prototype ) ; }