UNPKG

@hydro-protocol/hydro-client-js

Version:
17 lines (16 loc) 615 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var bignumber_js_1 = require("bignumber.js"); /** * A representation of how much of a specific token is currently listed in all * of the orders you have in the exchange. */ var LockedBalance = /** @class */ (function () { function LockedBalance(json) { this.symbol = json.symbol; this.amount = json.amount ? new bignumber_js_1.BigNumber(json.amount) : new bignumber_js_1.BigNumber("0"); this.updatedAt = new Date(json.updatedAt); } return LockedBalance; }()); exports.LockedBalance = LockedBalance;