@hashgraph/sdk
Version:
32 lines (31 loc) • 1.1 kB
TypeScript
/**
* @namespace proto
* @typedef {import("@hashgraph/proto").proto.ITransferList} HieroProto.proto.ITransferList
* @typedef {import("@hashgraph/proto").proto.IAccountID} HieroProto.proto.IAccountID
*/
/**
* @typedef {import("../long.js").LongObject} LongObject
* @typedef {import("bignumber.js").default} BigNumber
*/
/**
* @augments {ObjectMap<AccountId, Hbar>}
*/
export default class HbarTransferMap extends ObjectMap<AccountId, Hbar> {
/**
* @param {HieroProto.proto.ITransferList} transfers
* @returns {HbarTransferMap}
*/
static _fromProtobuf(transfers: HieroProto.proto.ITransferList): HbarTransferMap;
constructor();
}
export namespace HieroProto {
namespace proto {
type ITransferList = import("@hashgraph/proto").proto.ITransferList;
type IAccountID = import("@hashgraph/proto").proto.IAccountID;
}
}
export type LongObject = import("../long.js").LongObject;
export type BigNumber = import("bignumber.js").default;
import AccountId from "./AccountId.js";
import Hbar from "../Hbar.js";
import ObjectMap from "../ObjectMap.js";