PHP WebShell

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

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

/**
 * @packageDocumentation
 * @module API-AVM-MinterSet
 */
import { Buffer } from "buffer/";
import { Serializable, SerializedEncoding } from "../../utils/serialization";
/**
 * Class for representing a threshold and set of minting addresses in Avalanche.
 *
 * @typeparam MinterSet including a threshold and array of addresses
 */
export declare class MinterSet extends Serializable {
    protected _typeName: string;
    protected _typeID: any;
    serialize(encoding?: SerializedEncoding): object;
    deserialize(fields: object, encoding?: SerializedEncoding): void;
    protected threshold: number;
    protected minters: Buffer[];
    /**
     * Returns the threshold.
     */
    getThreshold: () => number;
    /**
     * Returns the minters.
     */
    getMinters: () => Buffer[];
    protected _cleanAddresses: (addresses: string[] | Buffer[]) => Buffer[];
    /**
     *
     * @param threshold The number of signatures required to mint more of an asset by signing a minting transaction
     * @param minters Array of addresss which are authorized to sign a minting transaction
     */
    constructor(threshold?: number, minters?: string[] | Buffer[]);
}
//# sourceMappingURL=minterset.d.ts.map

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


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