sensible-sdk
Version:
Sensible-SDK
22 lines (21 loc) • 649 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DustCalculator = void 0;
class DustCalculator {
constructor(dustLimitFactor, dustAmount) {
this.dustAmount = null;
this.dustLimitFactor = dustLimitFactor;
this.dustAmount = dustAmount;
}
getDustThreshold(s) {
return 1;
// if (!Utils.isNull(this.dustAmount)) {
// return this.dustAmount;
// } else {
// return Math.ceil(
// (Math.ceil((250 * (s + 9 + 148)) / 1000) * this.dustLimitFactor) / 100
// );
// }
}
}
exports.DustCalculator = DustCalculator;