interchainjs
Version:
InterchainJS is a JavaScript library for interacting with Cosmos SDK based blockchains.
45 lines (44 loc) • 3.17 kB
TypeScript
import { MsgFundCommunityPool, MsgCommunityPoolSpend, MsgCreateContinuousFund, MsgCancelContinuousFund, MsgUpdateParams } from "./tx";
/**
* FundCommunityPool defines a method to allow an account to directly
* fund the community pool.
* @name fundCommunityPool
* @package cosmos.protocolpool.v1
* @see proto service: cosmos.protocolpool.v1.FundCommunityPool
*/
export declare const fundCommunityPool: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgFundCommunityPool | MsgFundCommunityPool[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
/**
* CommunityPoolSpend defines a governance operation for sending tokens from
* the community pool in the x/protocolpool module to another account, which
* could be the governance module itself. The authority is defined in the
* keeper.
* @name communityPoolSpend
* @package cosmos.protocolpool.v1
* @see proto service: cosmos.protocolpool.v1.CommunityPoolSpend
*/
export declare const communityPoolSpend: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgCommunityPoolSpend | MsgCommunityPoolSpend[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
/**
* CreateContinuousFund defines a method to distribute a percentage of funds to an address continuously.
* This ContinuousFund can be indefinite or run until a given expiry time.
* Funds come from validator block rewards from x/distribution, but may also come from
* any user who funds the ProtocolPoolEscrow module account directly through x/bank.
* @name createContinuousFund
* @package cosmos.protocolpool.v1
* @see proto service: cosmos.protocolpool.v1.CreateContinuousFund
*/
export declare const createContinuousFund: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgCreateContinuousFund | MsgCreateContinuousFund[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
/**
* CancelContinuousFund defines a method for cancelling continuous fund.
* @name cancelContinuousFund
* @package cosmos.protocolpool.v1
* @see proto service: cosmos.protocolpool.v1.CancelContinuousFund
*/
export declare const cancelContinuousFund: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgCancelContinuousFund | MsgCancelContinuousFund[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
/**
* UpdateParams defines a governance operation for updating the x/protocolpool module parameters.
* The authority is defined in the keeper.
* @name updateParams
* @package cosmos.protocolpool.v1
* @see proto service: cosmos.protocolpool.v1.UpdateParams
*/
export declare const updateParams: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;