import { U8aFixed } from '@polkadot/types'; import BigNumber from 'bignumber.js'; import { Ticker, TransferManager } from "../../polkadot/types"; import { Procedure } from "../../internal"; import { CountTransferRestrictionInput, PercentageTransferRestrictionInput, TransferRestrictionType } from "../../types"; import { ProcedureAuthorization } from "../../types/internal"; export interface SetCountTransferRestrictionsParams { /** * array of Count Transfer Restrictions with their corresponding exemptions (if applicable) */ restrictions: CountTransferRestrictionInput[]; type: TransferRestrictionType.Count; } export interface SetPercentageTransferRestrictionsParams { /** * array of Percentage Transfer Restrictions with their corresponding exemptions (if applicable) */ restrictions: PercentageTransferRestrictionInput[]; type: TransferRestrictionType.Percentage; } export declare type SetTransferRestrictionsParams = { ticker: string; } & (SetCountTransferRestrictionsParams | SetPercentageTransferRestrictionsParams); /** * @hidden */ export interface Storage { restrictionsToAdd: [Ticker, TransferManager][]; restrictionsToRemove: [Ticker, TransferManager][]; exemptionsToAdd: [Ticker, TransferManager, U8aFixed[]][]; exemptionsToRemove: [Ticker, TransferManager, U8aFixed[]][]; occupiedSlots: BigNumber; } /** * @hidden */ export declare function prepareSetTransferRestrictions(this: Procedure, args: SetTransferRestrictionsParams): Promise; /** * @hidden */ export declare function getAuthorization(this: Procedure, { ticker }: SetTransferRestrictionsParams): ProcedureAuthorization; /** * @hidden */ export declare function prepareStorage(this: Procedure, args: SetTransferRestrictionsParams): Promise; /** * @hidden */ export declare const setTransferRestrictions: () => Procedure; //# sourceMappingURL=setTransferRestrictions.d.ts.map