UNPKG

interchainjs

Version:

InterchainJS is a JavaScript library for interacting with Cosmos SDK based blockchains.

33 lines (32 loc) 1.3 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.updateParams = exports.sendTx = exports.registerInterchainAccount = void 0; const helper_func_types_1 = require("../../../../../helper-func-types"); const tx_1 = require("./tx"); /** * RegisterInterchainAccount defines a rpc handler for MsgRegisterInterchainAccount. * @name registerInterchainAccount * @package ibc.applications.interchain_accounts.controller.v1 * @see proto service: ibc.applications.interchain_accounts.controller.v1.RegisterInterchainAccount */ exports.registerInterchainAccount = (0, helper_func_types_1.buildTx)({ msg: tx_1.MsgRegisterInterchainAccount }); /** * SendTx defines a rpc handler for MsgSendTx. * @name sendTx * @package ibc.applications.interchain_accounts.controller.v1 * @see proto service: ibc.applications.interchain_accounts.controller.v1.SendTx */ exports.sendTx = (0, helper_func_types_1.buildTx)({ msg: tx_1.MsgSendTx }); /** * UpdateParams defines a rpc handler for MsgUpdateParams. * @name updateParams * @package ibc.applications.interchain_accounts.controller.v1 * @see proto service: ibc.applications.interchain_accounts.controller.v1.UpdateParams */ exports.updateParams = (0, helper_func_types_1.buildTx)({ msg: tx_1.MsgUpdateParams });