PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@bitgo/sdk-coin-dot/dist/src/lib

Просмотр файла: iface_utils.d.ts

import { AccountId, AddProxyArgs, AddProxyBatchCallArgs, StakeBatchCallPayee, StakeBatchCallPayeeAccount, StakeBatchCallPayeeController, StakeBatchCallPayeeStaked, StakeBatchCallPayeeStash, ProxyArgs } from './iface';
/**
 * Returns true if value is of type AccountId, false otherwise.
 *
 * @param value The object to test.
 *
 * @return true if value is of type AccountId, false otherwise.
 */
export declare function isAccountId(value: string | AccountId): value is AccountId;
/**
 * Extracts the proxy address being added from an add proxy batch call or an add proxy call.

 * @param call A batched add proxy call or an add proxy call from which to extract the proxy
 * address.
 *
 * @return the proxy address being added from an add proxy batch call or an add proxy call.
 */
export declare function getDelegateAddress(call: AddProxyBatchCallArgs | AddProxyArgs): string;
/**
 * Returns true if value is of type StakeBatchCallPayeeStaked, false otherwise.
 *
 * @param value The object to test.
 *
 * @return true if value is of type StakeBatchCallPayeeStaked, false otherwise.
 */
export declare function isStakeBatchCallPayeeStaked(value: StakeBatchCallPayee): value is StakeBatchCallPayeeStaked;
/**
 * Returns true if value is of type StakeBatchCallPayeeStash, false otherwise.
 *
 * @param value The object to test.
 *
 * @return true if value is of type StakeBatchCallPayeeStash, false otherwise.
 */
export declare function isStakeBatchCallPayeeStash(value: StakeBatchCallPayee): value is StakeBatchCallPayeeStash;
/**
 * Returns true if value is of type StakeBatchCallPayeeController, false otherwise.
 *
 * @param value The object to test.
 *
 * @return true if value is of type StakeBatchCallPayeeController, false otherwise.
 */
export declare function isStakeBatchCallPayeeController(value: StakeBatchCallPayee): value is StakeBatchCallPayeeController;
/**
 * Returns true if value is of type StakeBatchCallPayeeAccount, false otherwise.
 *
 * @param value The object to test.
 *
 * @return true if value is of type StakeBatchCallPayeeAccount, false otherwise.
 */
export declare function isStakeBatchCallPayeeAccount(value: StakeBatchCallPayee): value is StakeBatchCallPayeeAccount;
/**
 * Extracts the proxy address being added from ProxyArgs.

 * @param args the ProxyArgs object from which to extract the proxy address.
 *
 * @return the proxy address being added.
 */
export declare function getAddress(args: ProxyArgs): string;
//# sourceMappingURL=iface_utils.d.ts.map

Выполнить команду


Для локальной разработки. Не используйте в интернете!