import { buildTx } from "../../../helper-func-types";
import { toEncoders, toConverters } from "@interchainjs/cosmos/utils";
import { MsgGrant, MsgExec, MsgRevoke } from "./tx";
export const createGrant = (clientResolver) => buildTx({
    clientResolver,
    typeUrl: MsgGrant.typeUrl,
    encoders: toEncoders(MsgGrant),
    converters: toConverters(MsgGrant)
});
export const createExec = (clientResolver) => buildTx({
    clientResolver,
    typeUrl: MsgExec.typeUrl,
    encoders: toEncoders(MsgExec),
    converters: toConverters(MsgExec)
});
export const createRevoke = (clientResolver) => buildTx({
    clientResolver,
    typeUrl: MsgRevoke.typeUrl,
    encoders: toEncoders(MsgRevoke),
    converters: toConverters(MsgRevoke)
});
