PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/@hashgraph/sdk/lib/account
Просмотр файла: TokenTransferMap.d.ts
/**
* @namespace proto
* @typedef {import("@hashgraph/proto").proto.ITokenTransferList} HashgraphProto.proto.ITokenTransferList
* @typedef {import("@hashgraph/proto").proto.IAccountAmount} HashgraphProto.proto.IAccountAmount
* @typedef {import("@hashgraph/proto").proto.ITokenID} HashgraphProto.proto.ITokenID
* @typedef {import("@hashgraph/proto").proto.IAccountID} HashgraphProto.proto.IAccountID
*/
/**
* @augments {ObjectMap<TokenId, TokenTransferAccountMap>}
*/
export default class TokenTransferMap extends ObjectMap<TokenId, TokenTransferAccountMap> {
/**
* @param {HashgraphProto.proto.ITokenTransferList[]} transfers
* @returns {TokenTransferMap}
*/
static _fromProtobuf(transfers: HashgraphProto.proto.ITokenTransferList[]): TokenTransferMap;
constructor();
/**
* @internal
* @param {TokenId} tokenId
* @param {AccountId} accountId
* @param {Long} amount
*/
__set(tokenId: TokenId, accountId: AccountId, amount: Long): void;
/**
* @returns {HashgraphProto.proto.ITokenTransferList[]}
*/
_toProtobuf(): HashgraphProto.proto.ITokenTransferList[];
}
export namespace HashgraphProto {
namespace proto {
type ITokenTransferList = import("@hashgraph/proto").proto.ITokenTransferList;
type IAccountAmount = import("@hashgraph/proto").proto.IAccountAmount;
type ITokenID = import("@hashgraph/proto").proto.ITokenID;
type IAccountID = import("@hashgraph/proto").proto.IAccountID;
}
}
import TokenId from "../token/TokenId.js";
import TokenTransferAccountMap from "./TokenTransferAccountMap.js";
import ObjectMap from "../ObjectMap.js";
import AccountId from "../account/AccountId.js";
Выполнить команду
Для локальной разработки. Не используйте в интернете!