PHP WebShell

Текущая директория: /opt/BitGoJS/node_modules/@hashgraph/sdk/lib/contract

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

/**
 * @namespace proto
 * @typedef {import("@hashgraph/proto").proto.IContractLoginfo} HashgraphProto.proto.IContractLoginfo
 * @typedef {import("@hashgraph/proto").proto.IContractID} HashgraphProto.proto.IContractID
 */
/**
 * The log information for an event returned by a smart contract function call. One function call
 * may return several such events.
 */
export default class ContractLogInfo {
    /**
     * @internal
     * @param {HashgraphProto.proto.IContractLoginfo} info
     * @returns {ContractLogInfo}
     */
    static _fromProtobuf(info: HashgraphProto.proto.IContractLoginfo): ContractLogInfo;
    /**
     * @param {object} props
     * @param {ContractId} props.contractId
     * @param {Uint8Array} props.bloom
     * @param {Uint8Array[]} props.topics
     * @param {Uint8Array} props.data
     */
    constructor(props: {
        contractId: ContractId;
        bloom: Uint8Array;
        topics: Uint8Array[];
        data: Uint8Array;
    });
    /**
     * Address of a contract that emitted the event.
     *
     * @readonly
     */
    readonly contractId: ContractId;
    /**
     * Bloom filter for a particular log.
     *
     * @readonly
     */
    readonly bloom: Uint8Array;
    /**
     * Topics of a particular event.
     *
     * @readonly
     */
    readonly topics: Uint8Array[];
    /**
     * Event data.
     *
     * @readonly
     */
    readonly data: Uint8Array;
    /**
     * @internal
     * @returns {HashgraphProto.proto.IContractLoginfo}
     */
    _toProtobuf(): HashgraphProto.proto.IContractLoginfo;
}
export namespace HashgraphProto {
    namespace proto {
        type IContractLoginfo = import("@hashgraph/proto").proto.IContractLoginfo;
        type IContractID = import("@hashgraph/proto").proto.IContractID;
    }
}
import ContractId from "./ContractId.js";

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


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