PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@bitgo/statics/dist/src
Просмотр файла: avaxp.d.ts
import { BaseCoin, CoinFeature, KeyCurve, UnderlyingAsset } from './base';
import { AvalancheNetwork } from './networks';
export interface AVAXPConstructorOptions {
id: string;
fullName: string;
name: string;
network: AvalancheNetwork;
features: CoinFeature[];
asset: UnderlyingAsset;
prefix?: string;
suffix?: string;
primaryKeyCurve: KeyCurve;
}
export declare class AVAXPCoin extends BaseCoin {
static readonly DEFAULT_FEATURES: CoinFeature[];
/**
* Additional fields for utxo coins
*/
readonly network: AvalancheNetwork;
constructor(options: AVAXPConstructorOptions);
protected disallowedFeatures(): Set<CoinFeature>;
protected requiredFeatures(): Set<CoinFeature>;
}
/**
* Factory function for utxo coin instances.
*
* @param id uuid v4
* @param name unique identifier of the coin
* @param fullName Complete human-readable name of the coin
* @param network Network object for this coin
* @param asset Asset which this coin represents. This is the same for both mainnet and testnet variants of a coin.
* @param features? Features of this coin. Defaults to the DEFAULT_FEATURES defined in `UtxoCoin`
* @param prefix? Optional coin prefix. Defaults to empty string
* @param suffix? Optional coin suffix. Defaults to coin name.
* @param primaryKeyCurve The elliptic curve for this chain/token
*/
export declare function avaxp(id: string, name: string, fullName: string, network: AvalancheNetwork, asset: UnderlyingAsset, features?: CoinFeature[], prefix?: string, suffix?: string,
/** All UTXOs BitGo supports are SECP256K1 **/
primaryKeyCurve?: KeyCurve): Readonly<AVAXPCoin>;
//# sourceMappingURL=avaxp.d.ts.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!