PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/avalanche/dist/utils

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

/**
 * @packageDocumentation
 * @module Utils-Constants
 */
import BN from "bn.js";
export declare const PrivateKeyPrefix: string;
export declare const NodeIDPrefix: string;
export declare const PrimaryAssetAlias: string;
export declare const MainnetAPI: string;
export declare const FujiAPI: string;
export interface C {
    blockchainID: string;
    alias: string;
    vm: string;
    fee?: BN;
    gasPrice: BN | number;
    chainID?: number;
    minGasPrice?: BN;
    maxGasPrice?: BN;
    txBytesGas?: number;
    costPerSignature?: number;
    txFee?: BN;
    avaxAssetID?: string;
}
export interface X {
    blockchainID: string;
    alias: string;
    vm: string;
    creationTxFee: BN | number;
    mintTxFee: BN;
    avaxAssetID?: string;
    txFee?: BN | number;
    fee?: BN;
}
export interface P {
    blockchainID: string;
    alias: string;
    vm: string;
    creationTxFee: BN | number;
    createSubnetTx: BN | number;
    createChainTx: BN | number;
    minConsumption: number;
    maxConsumption: number;
    maxStakingDuration: BN;
    maxSupply: BN;
    minStake: BN;
    minStakeDuration: number;
    maxStakeDuration: number;
    minDelegationStake: BN;
    minDelegationFee: BN;
    avaxAssetID?: string;
    txFee?: BN | number;
    fee?: BN;
}
export interface Network {
    C: C;
    hrp: string;
    X: X;
    P: P;
    [key: string]: C | X | P | string;
}
export interface Networks {
    [key: number]: Network;
}
export declare const NetworkIDToHRP: object;
export declare const HRPToNetworkID: object;
export declare const NetworkIDToNetworkNames: object;
export declare const NetworkNameToNetworkID: object;
export declare const FallbackHRP: string;
export declare const FallbackNetworkName: string;
export declare const FallbackEVMChainID: number;
export declare const DefaultNetworkID: number;
export declare const PlatformChainID: string;
export declare const PrimaryNetworkID: string;
export declare const XChainAlias: string;
export declare const CChainAlias: string;
export declare const PChainAlias: string;
export declare const XChainVMName: string;
export declare const CChainVMName: string;
export declare const PChainVMName: string;
export declare const DefaultLocalGenesisPrivateKey: string;
export declare const DefaultEVMLocalGenesisPrivateKey: string;
export declare const DefaultEVMLocalGenesisAddress: string;
export declare const mnemonic: string;
export declare const ONEAVAX: BN;
export declare const DECIAVAX: BN;
export declare const CENTIAVAX: BN;
export declare const MILLIAVAX: BN;
export declare const MICROAVAX: BN;
export declare const NANOAVAX: BN;
export declare const WEI: BN;
export declare const GWEI: BN;
export declare const AVAXGWEI: BN;
export declare const AVAXSTAKECAP: BN;
export declare class Defaults {
    static network: Networks;
}
/**
 * Rules used when merging sets
 */
export declare type MergeRule = "intersection" | "differenceSelf" | "differenceNew" | "symDifference" | "union" | "unionMinusNew" | "unionMinusSelf" | "ERROR";
//# sourceMappingURL=constants.d.ts.map

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


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