@sovryn-zero/lib-base 0.1.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +13 -13
- package/dist/index.js +25 -25
- package/dist/src/Decimal.d.ts +88 -88
- package/dist/src/Decimal.js +360 -360
- package/dist/src/Fees.d.ts +81 -81
- package/dist/src/Fees.js +122 -122
- package/dist/src/LiquityStore.d.ts +208 -208
- package/dist/src/LiquityStore.js +208 -208
- package/dist/src/ObservableLiquity.d.ts +14 -14
- package/dist/src/ObservableLiquity.js +2 -2
- package/dist/src/PopulatableLiquity.d.ts +124 -124
- package/dist/src/PopulatableLiquity.js +2 -2
- package/dist/src/ReadableLiquity.d.ts +155 -155
- package/dist/src/ReadableLiquity.js +2 -2
- package/dist/src/SendableLiquity.d.ts +155 -155
- package/dist/src/SendableLiquity.js +19 -19
- package/dist/src/StabilityDeposit.d.ts +58 -58
- package/dist/src/StabilityDeposit.js +79 -79
- package/dist/src/TransactableLiquity.d.ts +413 -413
- package/dist/src/TransactableLiquity.js +17 -17
- package/dist/src/Trove.d.ts +366 -366
- package/dist/src/Trove.js +422 -422
- package/dist/src/ZEROStake.d.ts +51 -51
- package/dist/src/ZEROStake.js +73 -73
- package/dist/src/_CachedReadableLiquity.d.ts +54 -54
- package/dist/src/_CachedReadableLiquity.js +92 -92
- package/dist/src/constants.d.ts +60 -60
- package/dist/src/constants.d.ts.map +1 -1
- package/dist/src/constants.js +63 -63
- package/dist/src/constants.js.map +1 -1
- package/package.json +2 -2
- package/src/constants.ts +3 -3
@@ -1,18 +1,18 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.TransactionFailedError = void 0;
|
4
|
-
/**
|
5
|
-
* Thrown by {@link TransactableLiquity} functions in case of transaction failure.
|
6
|
-
*
|
7
|
-
* @public
|
8
|
-
*/
|
9
|
-
class TransactionFailedError extends Error {
|
10
|
-
/** @internal */
|
11
|
-
constructor(name, message, failedReceipt) {
|
12
|
-
super(message);
|
13
|
-
this.name = name;
|
14
|
-
this.failedReceipt = failedReceipt;
|
15
|
-
}
|
16
|
-
}
|
17
|
-
exports.TransactionFailedError = TransactionFailedError;
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.TransactionFailedError = void 0;
|
4
|
+
/**
|
5
|
+
* Thrown by {@link TransactableLiquity} functions in case of transaction failure.
|
6
|
+
*
|
7
|
+
* @public
|
8
|
+
*/
|
9
|
+
class TransactionFailedError extends Error {
|
10
|
+
/** @internal */
|
11
|
+
constructor(name, message, failedReceipt) {
|
12
|
+
super(message);
|
13
|
+
this.name = name;
|
14
|
+
this.failedReceipt = failedReceipt;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
exports.TransactionFailedError = TransactionFailedError;
|
18
18
|
//# sourceMappingURL=TransactableLiquity.js.map
|