UNPKG

interchainjs

Version:

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

40 lines (39 loc) 1.45 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createPeriodicVestingAccount = exports.createPermanentLockedAccount = exports.createVestingAccount = void 0; const helper_func_types_1 = require("../../../helper-func-types"); const tx_1 = require("./tx"); /** * CreateVestingAccount defines a method that enables creating a vesting * account. * @name createVestingAccount * @package cosmos.vesting.v1beta1 * @see proto service: cosmos.vesting.v1beta1.CreateVestingAccount */ exports.createVestingAccount = (0, helper_func_types_1.buildTx)({ msg: tx_1.MsgCreateVestingAccount }); /** * CreatePermanentLockedAccount defines a method that enables creating a permanent * locked account. * * Since: cosmos-sdk 0.46 * @name createPermanentLockedAccount * @package cosmos.vesting.v1beta1 * @see proto service: cosmos.vesting.v1beta1.CreatePermanentLockedAccount */ exports.createPermanentLockedAccount = (0, helper_func_types_1.buildTx)({ msg: tx_1.MsgCreatePermanentLockedAccount }); /** * CreatePeriodicVestingAccount defines a method that enables creating a * periodic vesting account. * * Since: cosmos-sdk 0.46 * @name createPeriodicVestingAccount * @package cosmos.vesting.v1beta1 * @see proto service: cosmos.vesting.v1beta1.CreatePeriodicVestingAccount */ exports.createPeriodicVestingAccount = (0, helper_func_types_1.buildTx)({ msg: tx_1.MsgCreatePeriodicVestingAccount });