PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@bitgo/sdk-coin-cosmos/dist/src
Просмотр файла: cosmosSharedCoin.d.ts
import { BaseCoin, BitGoBase } from '@bitgo/sdk-core';
import { CosmosCoin, GasAmountDetails, CosmosKeyPair } from '@bitgo/abstract-cosmos';
import { BaseCoin as StaticsBaseCoin, CosmosNetwork } from '@bitgo/statics';
import { TransactionBuilderFactory } from './lib';
/**
* Shared Cosmos coin implementation that uses configuration from statics
* instead of requiring individual coin modules
*/
export declare class CosmosSharedCoin extends CosmosCoin {
protected readonly _staticsCoin: Readonly<StaticsBaseCoin>;
protected readonly _network: CosmosNetwork;
protected constructor(bitgo: BitGoBase, staticsCoin?: Readonly<StaticsBaseCoin>);
static createInstance(bitgo: BitGoBase, staticsCoin?: Readonly<StaticsBaseCoin>): BaseCoin;
/** @inheritDoc **/
getBaseFactor(): number;
/** @inheritDoc **/
getBuilder(): TransactionBuilderFactory;
/** @inheritDoc **/
isValidAddress(address: string): boolean;
/** @inheritDoc **/
getDenomination(): string;
/** @inheritDoc **/
getGasAmountDetails(): GasAmountDetails;
/**
* Get the network configuration for this coin
* @returns {CosmosNetwork} The network configuration
*/
getNetwork(): CosmosNetwork;
/** @inheritDoc **/
getKeyPair(publicKey: string): CosmosKeyPair;
/** @inheritDoc **/
getAddressFromPublicKey(pubKey: string): string;
/** @inheritDoc **/
protected getPublicNodeUrl(): string;
}
//# sourceMappingURL=cosmosSharedCoin.d.ts.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!