import { Codec } from "@chainapsis/ts-amino" ; import { MsgExecuteContract , MsgInstantiateContract } from "./msgs" ; export function registerCodec ( codec ) { codec . registerConcrete ( "wasm/MsgExecuteContract" , MsgExecuteContract . prototype ) ; codec . registerConcrete ( "wasm/MsgInstantiateContract" , MsgInstantiateContract . prototype ) ; }