UNPKG

@test-org122/hypernet-core

Version:

Hypernet Core. Represents the SDK for running the Hypernet Protocol.

19 lines 925 B
import { BigNumber, EthereumAddress } from "@interfaces/objects"; /** * Represents the current balance of a specific asset in the channel. * @param assetAddress the Ethereum address of the asset type * @param totalAmount the total amount of the asset that has been deposited for use by the Hypernet Protocol. * @param lockedAmount the amount of the asset that is currently in use in pending tranfers * @param freeAmount the amount of the asset that is available for sending in transfers */ export declare class AssetBalance { assetAddresss: EthereumAddress; name: string; symbol: string; decimals: number; totalAmount: BigNumber; lockedAmount: BigNumber; freeAmount: BigNumber; constructor(assetAddresss: EthereumAddress, name: string, symbol: string, decimals: number, totalAmount: BigNumber, lockedAmount: BigNumber, freeAmount: BigNumber); } //# sourceMappingURL=AssetBalance.d.ts.map