@permissionless-technologies/upd-sdk 0.1.0 → 0.2.0
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/chunk-3V62JGJY.js +192 -0
- package/dist/chunk-3V62JGJY.js.map +1 -0
- package/dist/{chunk-ZSWETUGH.cjs → chunk-7BP37BGO.cjs} +359 -31
- package/dist/chunk-7BP37BGO.cjs.map +1 -0
- package/dist/{chunk-R64I3LAO.js → chunk-AGPBQ56J.js} +81 -155
- package/dist/chunk-AGPBQ56J.js.map +1 -0
- package/dist/chunk-KSGUFTW3.cjs +206 -0
- package/dist/chunk-KSGUFTW3.cjs.map +1 -0
- package/dist/{chunk-WRPVPA7E.cjs → chunk-LECDXCSW.cjs} +105 -184
- package/dist/chunk-LECDXCSW.cjs.map +1 -0
- package/dist/{chunk-4RBWWS2X.js → chunk-PS6EIE5E.js} +359 -32
- package/dist/chunk-PS6EIE5E.js.map +1 -0
- package/dist/{chunk-RIRT4JX6.js → chunk-TYRBIJVF.js} +3 -228
- package/dist/chunk-TYRBIJVF.js.map +1 -0
- package/dist/{chunk-ZDAHLZWC.cjs → chunk-VZZN3BR3.cjs} +2 -228
- package/dist/chunk-VZZN3BR3.cjs.map +1 -0
- package/dist/contracts/index.cjs +13 -13
- package/dist/contracts/index.d.cts +104 -24
- package/dist/contracts/index.d.ts +104 -24
- package/dist/contracts/index.js +2 -2
- package/dist/core/index.cjs +17 -17
- package/dist/core/index.d.cts +1 -1
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.js +3 -3
- package/dist/{index-XNClksom.d.ts → index-BMgIlGvW.d.ts} +11 -3
- package/dist/{index-yRBqVOHV.d.cts → index-D6VgT_bZ.d.cts} +11 -3
- package/dist/index.cjs +50 -50
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -4
- package/dist/react/index.cjs +145 -22
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +112 -1
- package/dist/react/index.d.ts +112 -1
- package/dist/react/index.js +126 -5
- package/dist/react/index.js.map +1 -1
- package/package.json +3 -1
- package/dist/chunk-4RBWWS2X.js.map +0 -1
- package/dist/chunk-4VXNJTNQ.cjs +0 -58
- package/dist/chunk-4VXNJTNQ.cjs.map +0 -1
- package/dist/chunk-63FIKV36.js +0 -49
- package/dist/chunk-63FIKV36.js.map +0 -1
- package/dist/chunk-R64I3LAO.js.map +0 -1
- package/dist/chunk-RIRT4JX6.js.map +0 -1
- package/dist/chunk-WRPVPA7E.cjs.map +0 -1
- package/dist/chunk-ZDAHLZWC.cjs.map +0 -1
- package/dist/chunk-ZSWETUGH.cjs.map +0 -1
|
@@ -971,6 +971,16 @@ declare const STABILIZER_NFT_ABI: readonly [{
|
|
|
971
971
|
readonly internalType: "string";
|
|
972
972
|
}];
|
|
973
973
|
readonly stateMutability: "view";
|
|
974
|
+
}, {
|
|
975
|
+
readonly type: "function";
|
|
976
|
+
readonly name: "beaconProxyFactory";
|
|
977
|
+
readonly inputs: readonly [];
|
|
978
|
+
readonly outputs: readonly [{
|
|
979
|
+
readonly name: "";
|
|
980
|
+
readonly type: "address";
|
|
981
|
+
readonly internalType: "address";
|
|
982
|
+
}];
|
|
983
|
+
readonly stateMutability: "view";
|
|
974
984
|
}, {
|
|
975
985
|
readonly type: "function";
|
|
976
986
|
readonly name: "burnUPD";
|
|
@@ -1102,11 +1112,15 @@ declare const STABILIZER_NFT_ABI: readonly [{
|
|
|
1102
1112
|
readonly type: "string";
|
|
1103
1113
|
readonly internalType: "string";
|
|
1104
1114
|
}, {
|
|
1105
|
-
readonly name: "
|
|
1115
|
+
readonly name: "_stabilizerEscrowBeacon";
|
|
1116
|
+
readonly type: "address";
|
|
1117
|
+
readonly internalType: "address";
|
|
1118
|
+
}, {
|
|
1119
|
+
readonly name: "_positionEscrowBeacon";
|
|
1106
1120
|
readonly type: "address";
|
|
1107
1121
|
readonly internalType: "address";
|
|
1108
1122
|
}, {
|
|
1109
|
-
readonly name: "
|
|
1123
|
+
readonly name: "_beaconProxyFactory";
|
|
1110
1124
|
readonly type: "address";
|
|
1111
1125
|
readonly internalType: "address";
|
|
1112
1126
|
}, {
|
|
@@ -1377,6 +1391,20 @@ declare const STABILIZER_NFT_ABI: readonly [{
|
|
|
1377
1391
|
readonly internalType: "string";
|
|
1378
1392
|
}];
|
|
1379
1393
|
readonly stateMutability: "view";
|
|
1394
|
+
}, {
|
|
1395
|
+
readonly type: "function";
|
|
1396
|
+
readonly name: "onCollateralAdded";
|
|
1397
|
+
readonly inputs: readonly [{
|
|
1398
|
+
readonly name: "tokenId";
|
|
1399
|
+
readonly type: "uint256";
|
|
1400
|
+
readonly internalType: "uint256";
|
|
1401
|
+
}, {
|
|
1402
|
+
readonly name: "stEthAmount";
|
|
1403
|
+
readonly type: "uint256";
|
|
1404
|
+
readonly internalType: "uint256";
|
|
1405
|
+
}];
|
|
1406
|
+
readonly outputs: readonly [];
|
|
1407
|
+
readonly stateMutability: "nonpayable";
|
|
1380
1408
|
}, {
|
|
1381
1409
|
readonly type: "function";
|
|
1382
1410
|
readonly name: "oracle";
|
|
@@ -1403,7 +1431,7 @@ declare const STABILIZER_NFT_ABI: readonly [{
|
|
|
1403
1431
|
readonly stateMutability: "view";
|
|
1404
1432
|
}, {
|
|
1405
1433
|
readonly type: "function";
|
|
1406
|
-
readonly name: "
|
|
1434
|
+
readonly name: "positionEscrowBeacon";
|
|
1407
1435
|
readonly inputs: readonly [];
|
|
1408
1436
|
readonly outputs: readonly [{
|
|
1409
1437
|
readonly name: "";
|
|
@@ -1624,6 +1652,16 @@ declare const STABILIZER_NFT_ABI: readonly [{
|
|
|
1624
1652
|
}];
|
|
1625
1653
|
readonly outputs: readonly [];
|
|
1626
1654
|
readonly stateMutability: "nonpayable";
|
|
1655
|
+
}, {
|
|
1656
|
+
readonly type: "function";
|
|
1657
|
+
readonly name: "setReporter";
|
|
1658
|
+
readonly inputs: readonly [{
|
|
1659
|
+
readonly name: "addr";
|
|
1660
|
+
readonly type: "address";
|
|
1661
|
+
readonly internalType: "address";
|
|
1662
|
+
}];
|
|
1663
|
+
readonly outputs: readonly [];
|
|
1664
|
+
readonly stateMutability: "nonpayable";
|
|
1627
1665
|
}, {
|
|
1628
1666
|
readonly type: "function";
|
|
1629
1667
|
readonly name: "stETH";
|
|
@@ -1636,7 +1674,7 @@ declare const STABILIZER_NFT_ABI: readonly [{
|
|
|
1636
1674
|
readonly stateMutability: "view";
|
|
1637
1675
|
}, {
|
|
1638
1676
|
readonly type: "function";
|
|
1639
|
-
readonly name: "
|
|
1677
|
+
readonly name: "stabilizerEscrowBeacon";
|
|
1640
1678
|
readonly inputs: readonly [];
|
|
1641
1679
|
readonly outputs: readonly [{
|
|
1642
1680
|
readonly name: "";
|
|
@@ -2017,6 +2055,16 @@ declare const STABILIZER_NFT_ABI: readonly [{
|
|
|
2017
2055
|
readonly internalType: "uint256";
|
|
2018
2056
|
}];
|
|
2019
2057
|
readonly anonymous: false;
|
|
2058
|
+
}, {
|
|
2059
|
+
readonly type: "event";
|
|
2060
|
+
readonly name: "ReporterUpdated";
|
|
2061
|
+
readonly inputs: readonly [{
|
|
2062
|
+
readonly name: "newReporter";
|
|
2063
|
+
readonly type: "address";
|
|
2064
|
+
readonly indexed: true;
|
|
2065
|
+
readonly internalType: "address";
|
|
2066
|
+
}];
|
|
2067
|
+
readonly anonymous: false;
|
|
2020
2068
|
}, {
|
|
2021
2069
|
readonly type: "event";
|
|
2022
2070
|
readonly name: "RoleAdminChanged";
|
|
@@ -2322,22 +2370,6 @@ declare const STABILIZER_NFT_ABI: readonly [{
|
|
|
2322
2370
|
readonly type: "error";
|
|
2323
2371
|
readonly name: "FailedCall";
|
|
2324
2372
|
readonly inputs: readonly [];
|
|
2325
|
-
}, {
|
|
2326
|
-
readonly type: "error";
|
|
2327
|
-
readonly name: "FailedDeployment";
|
|
2328
|
-
readonly inputs: readonly [];
|
|
2329
|
-
}, {
|
|
2330
|
-
readonly type: "error";
|
|
2331
|
-
readonly name: "InsufficientBalance";
|
|
2332
|
-
readonly inputs: readonly [{
|
|
2333
|
-
readonly name: "balance";
|
|
2334
|
-
readonly type: "uint256";
|
|
2335
|
-
readonly internalType: "uint256";
|
|
2336
|
-
}, {
|
|
2337
|
-
readonly name: "needed";
|
|
2338
|
-
readonly type: "uint256";
|
|
2339
|
-
readonly internalType: "uint256";
|
|
2340
|
-
}];
|
|
2341
2373
|
}, {
|
|
2342
2374
|
readonly type: "error";
|
|
2343
2375
|
readonly name: "InsuranceEscrowZero";
|
|
@@ -2398,6 +2430,10 @@ declare const STABILIZER_NFT_ABI: readonly [{
|
|
|
2398
2430
|
readonly type: "error";
|
|
2399
2431
|
readonly name: "NotLiquidatorTokenOwner";
|
|
2400
2432
|
readonly inputs: readonly [];
|
|
2433
|
+
}, {
|
|
2434
|
+
readonly type: "error";
|
|
2435
|
+
readonly name: "NotPositionEscrow";
|
|
2436
|
+
readonly inputs: readonly [];
|
|
2401
2437
|
}, {
|
|
2402
2438
|
readonly type: "error";
|
|
2403
2439
|
readonly name: "NotTokenOwner";
|
|
@@ -4698,6 +4734,16 @@ declare const OVERCOLLATERALIZATION_REPORTER_ABI: readonly [{
|
|
|
4698
4734
|
readonly internalType: "bytes32";
|
|
4699
4735
|
}];
|
|
4700
4736
|
readonly stateMutability: "view";
|
|
4737
|
+
}, {
|
|
4738
|
+
readonly type: "function";
|
|
4739
|
+
readonly name: "MAX_SYNC_STABILIZERS";
|
|
4740
|
+
readonly inputs: readonly [];
|
|
4741
|
+
readonly outputs: readonly [{
|
|
4742
|
+
readonly name: "";
|
|
4743
|
+
readonly type: "uint256";
|
|
4744
|
+
readonly internalType: "uint256";
|
|
4745
|
+
}];
|
|
4746
|
+
readonly stateMutability: "view";
|
|
4701
4747
|
}, {
|
|
4702
4748
|
readonly type: "function";
|
|
4703
4749
|
readonly name: "UPDATER_ROLE";
|
|
@@ -4769,6 +4815,16 @@ declare const OVERCOLLATERALIZATION_REPORTER_ABI: readonly [{
|
|
|
4769
4815
|
readonly internalType: "uint256";
|
|
4770
4816
|
}];
|
|
4771
4817
|
readonly stateMutability: "view";
|
|
4818
|
+
}, {
|
|
4819
|
+
readonly type: "function";
|
|
4820
|
+
readonly name: "getTotalStEthCollateral";
|
|
4821
|
+
readonly inputs: readonly [];
|
|
4822
|
+
readonly outputs: readonly [{
|
|
4823
|
+
readonly name: "";
|
|
4824
|
+
readonly type: "uint256";
|
|
4825
|
+
readonly internalType: "uint256";
|
|
4826
|
+
}];
|
|
4827
|
+
readonly stateMutability: "view";
|
|
4772
4828
|
}, {
|
|
4773
4829
|
readonly type: "function";
|
|
4774
4830
|
readonly name: "grantRole";
|
|
@@ -4816,6 +4872,10 @@ declare const OVERCOLLATERALIZATION_REPORTER_ABI: readonly [{
|
|
|
4816
4872
|
readonly name: "_updToken";
|
|
4817
4873
|
readonly type: "address";
|
|
4818
4874
|
readonly internalType: "address";
|
|
4875
|
+
}, {
|
|
4876
|
+
readonly name: "_stETH";
|
|
4877
|
+
readonly type: "address";
|
|
4878
|
+
readonly internalType: "address";
|
|
4819
4879
|
}];
|
|
4820
4880
|
readonly outputs: readonly [];
|
|
4821
4881
|
readonly stateMutability: "nonpayable";
|
|
@@ -4847,7 +4907,7 @@ declare const OVERCOLLATERALIZATION_REPORTER_ABI: readonly [{
|
|
|
4847
4907
|
readonly type: "function";
|
|
4848
4908
|
readonly name: "resetCollateralSnapshot";
|
|
4849
4909
|
readonly inputs: readonly [{
|
|
4850
|
-
readonly name: "
|
|
4910
|
+
readonly name: "actualTotalShares";
|
|
4851
4911
|
readonly type: "uint256";
|
|
4852
4912
|
readonly internalType: "uint256";
|
|
4853
4913
|
}];
|
|
@@ -4867,6 +4927,16 @@ declare const OVERCOLLATERALIZATION_REPORTER_ABI: readonly [{
|
|
|
4867
4927
|
}];
|
|
4868
4928
|
readonly outputs: readonly [];
|
|
4869
4929
|
readonly stateMutability: "nonpayable";
|
|
4930
|
+
}, {
|
|
4931
|
+
readonly type: "function";
|
|
4932
|
+
readonly name: "stETHAddress";
|
|
4933
|
+
readonly inputs: readonly [];
|
|
4934
|
+
readonly outputs: readonly [{
|
|
4935
|
+
readonly name: "";
|
|
4936
|
+
readonly type: "address";
|
|
4937
|
+
readonly internalType: "address";
|
|
4938
|
+
}];
|
|
4939
|
+
readonly stateMutability: "view";
|
|
4870
4940
|
}, {
|
|
4871
4941
|
readonly type: "function";
|
|
4872
4942
|
readonly name: "stabilizerNFTContract";
|
|
@@ -4893,7 +4963,13 @@ declare const OVERCOLLATERALIZATION_REPORTER_ABI: readonly [{
|
|
|
4893
4963
|
readonly stateMutability: "view";
|
|
4894
4964
|
}, {
|
|
4895
4965
|
readonly type: "function";
|
|
4896
|
-
readonly name: "
|
|
4966
|
+
readonly name: "syncFromChain";
|
|
4967
|
+
readonly inputs: readonly [];
|
|
4968
|
+
readonly outputs: readonly [];
|
|
4969
|
+
readonly stateMutability: "nonpayable";
|
|
4970
|
+
}, {
|
|
4971
|
+
readonly type: "function";
|
|
4972
|
+
readonly name: "totalStEthShares";
|
|
4897
4973
|
readonly inputs: readonly [];
|
|
4898
4974
|
readonly outputs: readonly [{
|
|
4899
4975
|
readonly name: "";
|
|
@@ -5029,7 +5105,7 @@ declare const OVERCOLLATERALIZATION_REPORTER_ABI: readonly [{
|
|
|
5029
5105
|
readonly type: "event";
|
|
5030
5106
|
readonly name: "SnapshotReset";
|
|
5031
5107
|
readonly inputs: readonly [{
|
|
5032
|
-
readonly name: "
|
|
5108
|
+
readonly name: "newTotalShares";
|
|
5033
5109
|
readonly type: "uint256";
|
|
5034
5110
|
readonly indexed: false;
|
|
5035
5111
|
readonly internalType: "uint256";
|
|
@@ -5039,7 +5115,7 @@ declare const OVERCOLLATERALIZATION_REPORTER_ABI: readonly [{
|
|
|
5039
5115
|
readonly type: "event";
|
|
5040
5116
|
readonly name: "SnapshotUpdated";
|
|
5041
5117
|
readonly inputs: readonly [{
|
|
5042
|
-
readonly name: "
|
|
5118
|
+
readonly name: "newTotalShares";
|
|
5043
5119
|
readonly type: "uint256";
|
|
5044
5120
|
readonly indexed: false;
|
|
5045
5121
|
readonly internalType: "uint256";
|
|
@@ -5133,6 +5209,10 @@ declare const OVERCOLLATERALIZATION_REPORTER_ABI: readonly [{
|
|
|
5133
5209
|
readonly type: "error";
|
|
5134
5210
|
readonly name: "NotInitializing";
|
|
5135
5211
|
readonly inputs: readonly [];
|
|
5212
|
+
}, {
|
|
5213
|
+
readonly type: "error";
|
|
5214
|
+
readonly name: "TooManyStabilizers";
|
|
5215
|
+
readonly inputs: readonly [];
|
|
5136
5216
|
}, {
|
|
5137
5217
|
readonly type: "error";
|
|
5138
5218
|
readonly name: "UUPSUnauthorizedCallContext";
|
package/dist/contracts/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { BRIDGE_ESCROW_ABI,
|
|
2
|
-
export { OVERCOLLATERALIZATION_REPORTER_ABI, POSITION_ESCROW_ABI, STABILIZER_ESCROW_ABI, STABILIZER_NFT_ABI, SUPD_ABI, UPD_TOKEN_ABI } from '../chunk-
|
|
1
|
+
export { BRIDGE_ESCROW_ABI, PRICE_ORACLE_ABI } from '../chunk-TYRBIJVF.js';
|
|
2
|
+
export { INSURANCE_ESCROW_ABI, OVERCOLLATERALIZATION_REPORTER_ABI, POSITION_ESCROW_ABI, STABILIZER_ESCROW_ABI, STABILIZER_NFT_ABI, SUPD_ABI, UPD_TOKEN_ABI } from '../chunk-PS6EIE5E.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/dist/core/index.cjs
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkLECDXCSW_cjs = require('../chunk-LECDXCSW.cjs');
|
|
4
4
|
var chunkDF34ON56_cjs = require('../chunk-DF34ON56.cjs');
|
|
5
|
-
var
|
|
6
|
-
require('../chunk-
|
|
5
|
+
var chunkKSGUFTW3_cjs = require('../chunk-KSGUFTW3.cjs');
|
|
6
|
+
require('../chunk-7BP37BGO.cjs');
|
|
7
7
|
var chunkCZEDT3MS_cjs = require('../chunk-CZEDT3MS.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "UPDClient", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkLECDXCSW_cjs.UPDClient; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "createUPDClient", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkLECDXCSW_cjs.createUPDClient; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "signCancelAuthorization", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkLECDXCSW_cjs.signCancelAuthorization; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "signReceiveAuthorization", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkLECDXCSW_cjs.signReceiveAuthorization; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "signTransferAuthorization", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkLECDXCSW_cjs.signTransferAuthorization; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "verifyDeployment", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkLECDXCSW_cjs.verifyDeployment; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "createMockAttestation", {
|
|
36
36
|
enumerable: true,
|
|
@@ -38,35 +38,35 @@ Object.defineProperty(exports, "createMockAttestation", {
|
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "DEFAULT_MIN_RATIO_BPS", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkKSGUFTW3_cjs.DEFAULT_MIN_RATIO_BPS; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "collateralizationRatio", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkKSGUFTW3_cjs.collateralizationRatio; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "computeSystemHealth", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkKSGUFTW3_cjs.computeSystemHealth; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "quoteBurnUPD", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkKSGUFTW3_cjs.quoteBurnUPD; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "quoteMintUPD", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkKSGUFTW3_cjs.quoteMintUPD; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "quoteStakeUPD", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkKSGUFTW3_cjs.quoteStakeUPD; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "quoteUnstakeUPD", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkKSGUFTW3_cjs.quoteUnstakeUPD; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "stabilizerStEthNeeded", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkKSGUFTW3_cjs.stabilizerStEthNeeded; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "ETH_USD_ASSET_PAIR", {
|
|
72
72
|
enumerable: true,
|
package/dist/core/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as CancelAuthorization, a as CancelAuthorizationParams, T as TransferAuthorization, b as TransferAuthorizationParams, U as UPDClient, V as VerificationCheck, d as VerificationResult, e as collateralizationRatio, f as createUPDClient, q as quoteBurnUPD, l as quoteMintUPD, m as quoteStakeUPD, n as quoteUnstakeUPD, s as signCancelAuthorization, o as signReceiveAuthorization, p as signTransferAuthorization, r as stabilizerStEthNeeded, v as verifyDeployment } from '../index-
|
|
1
|
+
export { C as CancelAuthorization, a as CancelAuthorizationParams, T as TransferAuthorization, b as TransferAuthorizationParams, U as UPDClient, V as VerificationCheck, d as VerificationResult, e as collateralizationRatio, f as createUPDClient, q as quoteBurnUPD, l as quoteMintUPD, m as quoteStakeUPD, n as quoteUnstakeUPD, s as signCancelAuthorization, o as signReceiveAuthorization, p as signTransferAuthorization, r as stabilizerStEthNeeded, v as verifyDeployment } from '../index-D6VgT_bZ.cjs';
|
|
2
2
|
export { B as BurnParams, C as CollateralInfo, M as MintParams, P as PriceAttestationQuery, S as SUPDInfo, a as StabilizerPosition, b as StakeParams, T as TransactionHash, U as UPDClientConfig, c as UnstakeParams } from '../types-DySv82My.cjs';
|
|
3
3
|
export { E as ETH_USD_ASSET_PAIR, c as createMockAttestation } from '../constants-BlOP_9dy.cjs';
|
|
4
4
|
export { D as DEFAULT_MIN_RATIO_BPS, S as SystemHealth, c as computeSystemHealth } from '../health-DPxBqH7b.cjs';
|
package/dist/core/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as CancelAuthorization, a as CancelAuthorizationParams, T as TransferAuthorization, b as TransferAuthorizationParams, U as UPDClient, V as VerificationCheck, d as VerificationResult, e as collateralizationRatio, f as createUPDClient, q as quoteBurnUPD, l as quoteMintUPD, m as quoteStakeUPD, n as quoteUnstakeUPD, s as signCancelAuthorization, o as signReceiveAuthorization, p as signTransferAuthorization, r as stabilizerStEthNeeded, v as verifyDeployment } from '../index-
|
|
1
|
+
export { C as CancelAuthorization, a as CancelAuthorizationParams, T as TransferAuthorization, b as TransferAuthorizationParams, U as UPDClient, V as VerificationCheck, d as VerificationResult, e as collateralizationRatio, f as createUPDClient, q as quoteBurnUPD, l as quoteMintUPD, m as quoteStakeUPD, n as quoteUnstakeUPD, s as signCancelAuthorization, o as signReceiveAuthorization, p as signTransferAuthorization, r as stabilizerStEthNeeded, v as verifyDeployment } from '../index-BMgIlGvW.js';
|
|
2
2
|
export { B as BurnParams, C as CollateralInfo, M as MintParams, P as PriceAttestationQuery, S as SUPDInfo, a as StabilizerPosition, b as StakeParams, T as TransactionHash, U as UPDClientConfig, c as UnstakeParams } from '../types-DySv82My.js';
|
|
3
3
|
export { E as ETH_USD_ASSET_PAIR, c as createMockAttestation } from '../constants-Bk2bGYfX.js';
|
|
4
4
|
export { D as DEFAULT_MIN_RATIO_BPS, S as SystemHealth, c as computeSystemHealth } from '../health-BUb4ItNt.js';
|
package/dist/core/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { UPDClient, createUPDClient, signCancelAuthorization, signReceiveAuthorization, signTransferAuthorization, verifyDeployment } from '../chunk-
|
|
1
|
+
export { UPDClient, createUPDClient, signCancelAuthorization, signReceiveAuthorization, signTransferAuthorization, verifyDeployment } from '../chunk-AGPBQ56J.js';
|
|
2
2
|
export { createMockAttestation } from '../chunk-5NNXIJE4.js';
|
|
3
|
-
export { DEFAULT_MIN_RATIO_BPS, collateralizationRatio, computeSystemHealth, quoteBurnUPD, quoteMintUPD, quoteStakeUPD, quoteUnstakeUPD, stabilizerStEthNeeded } from '../chunk-
|
|
4
|
-
import '../chunk-
|
|
3
|
+
export { DEFAULT_MIN_RATIO_BPS, collateralizationRatio, computeSystemHealth, quoteBurnUPD, quoteMintUPD, quoteStakeUPD, quoteUnstakeUPD, stabilizerStEthNeeded } from '../chunk-3V62JGJY.js';
|
|
4
|
+
import '../chunk-PS6EIE5E.js';
|
|
5
5
|
export { ETH_USD_ASSET_PAIR } from '../chunk-DJBU2OEB.js';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -27,6 +27,7 @@ interface UPDDeploymentConfig {
|
|
|
27
27
|
PriceOracle: Address;
|
|
28
28
|
StabilizerNFT: Address;
|
|
29
29
|
OvercollateralizationReporter: Address;
|
|
30
|
+
sUPD?: Address;
|
|
30
31
|
};
|
|
31
32
|
/** Externally deployed Solidity libraries */
|
|
32
33
|
libraries: {
|
|
@@ -90,7 +91,7 @@ declare class UPDClient {
|
|
|
90
91
|
getUPDBalance(address: Address): Promise<bigint>;
|
|
91
92
|
/** Get total UPD supply. */
|
|
92
93
|
getTotalSupply(): Promise<bigint>;
|
|
93
|
-
/** Get system collateral info: total stETH collateral and total UPD supply. */
|
|
94
|
+
/** Get system collateral info: total stETH collateral (yield-inclusive) and total UPD supply. */
|
|
94
95
|
getCollateralInfo(): Promise<CollateralInfo>;
|
|
95
96
|
/** Get details for a specific stabilizer position. */
|
|
96
97
|
getStabilizerPosition(tokenId: bigint): Promise<StabilizerPosition>;
|
|
@@ -174,6 +175,12 @@ declare class UPDClient {
|
|
|
174
175
|
unstakeUPDWithOracle(params: {
|
|
175
176
|
shares: bigint;
|
|
176
177
|
}): Promise<Hash>;
|
|
178
|
+
/**
|
|
179
|
+
* Permissionless sync: recalculates the reporter's collateral snapshot from on-chain truth.
|
|
180
|
+
* Iterates all PositionEscrows, sums their stETH shares, and resets the reporter.
|
|
181
|
+
* Anyone can call this — gas cost is proportional to the number of stabilizers.
|
|
182
|
+
*/
|
|
183
|
+
syncReporter(): Promise<Hash>;
|
|
177
184
|
private _requireWallet;
|
|
178
185
|
private _toSolidityAttestation;
|
|
179
186
|
}
|
|
@@ -382,8 +389,9 @@ declare function signCancelAuthorization(params: CancelAuthorizationParams, toke
|
|
|
382
389
|
* Verifies:
|
|
383
390
|
* 1. Bytecode exists at all deployed addresses
|
|
384
391
|
* 2. UUPS proxy implementation slots point to correct implementations
|
|
385
|
-
* 3. Critical storage values are initialized correctly
|
|
386
|
-
* 4. Access control roles are granted properly
|
|
392
|
+
* 3. Critical storage values are initialized correctly (including reporter != address(0))
|
|
393
|
+
* 4. Access control roles are granted properly (CONTROLLER_ROLE, UPDATER_ROLE)
|
|
394
|
+
* 5. Ownership (InsuranceEscrow owned by StabilizerNFT)
|
|
387
395
|
*/
|
|
388
396
|
|
|
389
397
|
interface VerificationCheck {
|
|
@@ -27,6 +27,7 @@ interface UPDDeploymentConfig {
|
|
|
27
27
|
PriceOracle: Address;
|
|
28
28
|
StabilizerNFT: Address;
|
|
29
29
|
OvercollateralizationReporter: Address;
|
|
30
|
+
sUPD?: Address;
|
|
30
31
|
};
|
|
31
32
|
/** Externally deployed Solidity libraries */
|
|
32
33
|
libraries: {
|
|
@@ -90,7 +91,7 @@ declare class UPDClient {
|
|
|
90
91
|
getUPDBalance(address: Address): Promise<bigint>;
|
|
91
92
|
/** Get total UPD supply. */
|
|
92
93
|
getTotalSupply(): Promise<bigint>;
|
|
93
|
-
/** Get system collateral info: total stETH collateral and total UPD supply. */
|
|
94
|
+
/** Get system collateral info: total stETH collateral (yield-inclusive) and total UPD supply. */
|
|
94
95
|
getCollateralInfo(): Promise<CollateralInfo>;
|
|
95
96
|
/** Get details for a specific stabilizer position. */
|
|
96
97
|
getStabilizerPosition(tokenId: bigint): Promise<StabilizerPosition>;
|
|
@@ -174,6 +175,12 @@ declare class UPDClient {
|
|
|
174
175
|
unstakeUPDWithOracle(params: {
|
|
175
176
|
shares: bigint;
|
|
176
177
|
}): Promise<Hash>;
|
|
178
|
+
/**
|
|
179
|
+
* Permissionless sync: recalculates the reporter's collateral snapshot from on-chain truth.
|
|
180
|
+
* Iterates all PositionEscrows, sums their stETH shares, and resets the reporter.
|
|
181
|
+
* Anyone can call this — gas cost is proportional to the number of stabilizers.
|
|
182
|
+
*/
|
|
183
|
+
syncReporter(): Promise<Hash>;
|
|
177
184
|
private _requireWallet;
|
|
178
185
|
private _toSolidityAttestation;
|
|
179
186
|
}
|
|
@@ -382,8 +389,9 @@ declare function signCancelAuthorization(params: CancelAuthorizationParams, toke
|
|
|
382
389
|
* Verifies:
|
|
383
390
|
* 1. Bytecode exists at all deployed addresses
|
|
384
391
|
* 2. UUPS proxy implementation slots point to correct implementations
|
|
385
|
-
* 3. Critical storage values are initialized correctly
|
|
386
|
-
* 4. Access control roles are granted properly
|
|
392
|
+
* 3. Critical storage values are initialized correctly (including reporter != address(0))
|
|
393
|
+
* 4. Access control roles are granted properly (CONTROLLER_ROLE, UPDATER_ROLE)
|
|
394
|
+
* 5. Ownership (InsuranceEscrow owned by StabilizerNFT)
|
|
387
395
|
*/
|
|
388
396
|
|
|
389
397
|
interface VerificationCheck {
|
package/dist/index.cjs
CHANGED
|
@@ -1,58 +1,38 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkLECDXCSW_cjs = require('./chunk-LECDXCSW.cjs');
|
|
4
4
|
require('./chunk-POBNO37G.cjs');
|
|
5
5
|
var chunkDF34ON56_cjs = require('./chunk-DF34ON56.cjs');
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
6
|
+
var chunkVZZN3BR3_cjs = require('./chunk-VZZN3BR3.cjs');
|
|
7
|
+
var chunkKSGUFTW3_cjs = require('./chunk-KSGUFTW3.cjs');
|
|
8
|
+
var chunk7BP37BGO_cjs = require('./chunk-7BP37BGO.cjs');
|
|
9
9
|
var chunkCZEDT3MS_cjs = require('./chunk-CZEDT3MS.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
Object.defineProperty(exports, "UPDClient", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkLECDXCSW_cjs.UPDClient; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "createUPDClient", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
20
|
-
});
|
|
21
|
-
Object.defineProperty(exports, "getContractAddress", {
|
|
22
|
-
enumerable: true,
|
|
23
|
-
get: function () { return chunkWRPVPA7E_cjs.getContractAddress; }
|
|
24
|
-
});
|
|
25
|
-
Object.defineProperty(exports, "getDeployment", {
|
|
26
|
-
enumerable: true,
|
|
27
|
-
get: function () { return chunkWRPVPA7E_cjs.getDeployment; }
|
|
28
|
-
});
|
|
29
|
-
Object.defineProperty(exports, "getDeploymentOrThrow", {
|
|
30
|
-
enumerable: true,
|
|
31
|
-
get: function () { return chunkWRPVPA7E_cjs.getDeploymentOrThrow; }
|
|
32
|
-
});
|
|
33
|
-
Object.defineProperty(exports, "getSupportedChainIds", {
|
|
34
|
-
enumerable: true,
|
|
35
|
-
get: function () { return chunkWRPVPA7E_cjs.getSupportedChainIds; }
|
|
36
|
-
});
|
|
37
|
-
Object.defineProperty(exports, "hasDeployment", {
|
|
38
|
-
enumerable: true,
|
|
39
|
-
get: function () { return chunkWRPVPA7E_cjs.hasDeployment; }
|
|
19
|
+
get: function () { return chunkLECDXCSW_cjs.createUPDClient; }
|
|
40
20
|
});
|
|
41
21
|
Object.defineProperty(exports, "signCancelAuthorization", {
|
|
42
22
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkLECDXCSW_cjs.signCancelAuthorization; }
|
|
44
24
|
});
|
|
45
25
|
Object.defineProperty(exports, "signReceiveAuthorization", {
|
|
46
26
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkLECDXCSW_cjs.signReceiveAuthorization; }
|
|
48
28
|
});
|
|
49
29
|
Object.defineProperty(exports, "signTransferAuthorization", {
|
|
50
30
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkLECDXCSW_cjs.signTransferAuthorization; }
|
|
52
32
|
});
|
|
53
33
|
Object.defineProperty(exports, "verifyDeployment", {
|
|
54
34
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkLECDXCSW_cjs.verifyDeployment; }
|
|
56
36
|
});
|
|
57
37
|
Object.defineProperty(exports, "createMockAttestation", {
|
|
58
38
|
enumerable: true,
|
|
@@ -60,71 +40,91 @@ Object.defineProperty(exports, "createMockAttestation", {
|
|
|
60
40
|
});
|
|
61
41
|
Object.defineProperty(exports, "BRIDGE_ESCROW_ABI", {
|
|
62
42
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
64
|
-
});
|
|
65
|
-
Object.defineProperty(exports, "INSURANCE_ESCROW_ABI", {
|
|
66
|
-
enumerable: true,
|
|
67
|
-
get: function () { return chunkZDAHLZWC_cjs.INSURANCE_ESCROW_ABI; }
|
|
43
|
+
get: function () { return chunkVZZN3BR3_cjs.BRIDGE_ESCROW_ABI; }
|
|
68
44
|
});
|
|
69
45
|
Object.defineProperty(exports, "PRICE_ORACLE_ABI", {
|
|
70
46
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkVZZN3BR3_cjs.PRICE_ORACLE_ABI; }
|
|
72
48
|
});
|
|
73
49
|
Object.defineProperty(exports, "DEFAULT_MIN_RATIO_BPS", {
|
|
74
50
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkKSGUFTW3_cjs.DEFAULT_MIN_RATIO_BPS; }
|
|
76
52
|
});
|
|
77
53
|
Object.defineProperty(exports, "collateralizationRatio", {
|
|
78
54
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkKSGUFTW3_cjs.collateralizationRatio; }
|
|
80
56
|
});
|
|
81
57
|
Object.defineProperty(exports, "computeSystemHealth", {
|
|
82
58
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkKSGUFTW3_cjs.computeSystemHealth; }
|
|
60
|
+
});
|
|
61
|
+
Object.defineProperty(exports, "getContractAddress", {
|
|
62
|
+
enumerable: true,
|
|
63
|
+
get: function () { return chunkKSGUFTW3_cjs.getContractAddress; }
|
|
64
|
+
});
|
|
65
|
+
Object.defineProperty(exports, "getDeployment", {
|
|
66
|
+
enumerable: true,
|
|
67
|
+
get: function () { return chunkKSGUFTW3_cjs.getDeployment; }
|
|
68
|
+
});
|
|
69
|
+
Object.defineProperty(exports, "getDeploymentOrThrow", {
|
|
70
|
+
enumerable: true,
|
|
71
|
+
get: function () { return chunkKSGUFTW3_cjs.getDeploymentOrThrow; }
|
|
72
|
+
});
|
|
73
|
+
Object.defineProperty(exports, "getSupportedChainIds", {
|
|
74
|
+
enumerable: true,
|
|
75
|
+
get: function () { return chunkKSGUFTW3_cjs.getSupportedChainIds; }
|
|
76
|
+
});
|
|
77
|
+
Object.defineProperty(exports, "hasDeployment", {
|
|
78
|
+
enumerable: true,
|
|
79
|
+
get: function () { return chunkKSGUFTW3_cjs.hasDeployment; }
|
|
84
80
|
});
|
|
85
81
|
Object.defineProperty(exports, "quoteBurnUPD", {
|
|
86
82
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkKSGUFTW3_cjs.quoteBurnUPD; }
|
|
88
84
|
});
|
|
89
85
|
Object.defineProperty(exports, "quoteMintUPD", {
|
|
90
86
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkKSGUFTW3_cjs.quoteMintUPD; }
|
|
92
88
|
});
|
|
93
89
|
Object.defineProperty(exports, "quoteStakeUPD", {
|
|
94
90
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkKSGUFTW3_cjs.quoteStakeUPD; }
|
|
96
92
|
});
|
|
97
93
|
Object.defineProperty(exports, "quoteUnstakeUPD", {
|
|
98
94
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkKSGUFTW3_cjs.quoteUnstakeUPD; }
|
|
100
96
|
});
|
|
101
97
|
Object.defineProperty(exports, "stabilizerStEthNeeded", {
|
|
102
98
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkKSGUFTW3_cjs.stabilizerStEthNeeded; }
|
|
100
|
+
});
|
|
101
|
+
Object.defineProperty(exports, "INSURANCE_ESCROW_ABI", {
|
|
102
|
+
enumerable: true,
|
|
103
|
+
get: function () { return chunk7BP37BGO_cjs.INSURANCE_ESCROW_ABI; }
|
|
104
104
|
});
|
|
105
105
|
Object.defineProperty(exports, "OVERCOLLATERALIZATION_REPORTER_ABI", {
|
|
106
106
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunk7BP37BGO_cjs.OVERCOLLATERALIZATION_REPORTER_ABI; }
|
|
108
108
|
});
|
|
109
109
|
Object.defineProperty(exports, "POSITION_ESCROW_ABI", {
|
|
110
110
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunk7BP37BGO_cjs.POSITION_ESCROW_ABI; }
|
|
112
112
|
});
|
|
113
113
|
Object.defineProperty(exports, "STABILIZER_ESCROW_ABI", {
|
|
114
114
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunk7BP37BGO_cjs.STABILIZER_ESCROW_ABI; }
|
|
116
116
|
});
|
|
117
117
|
Object.defineProperty(exports, "STABILIZER_NFT_ABI", {
|
|
118
118
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunk7BP37BGO_cjs.STABILIZER_NFT_ABI; }
|
|
120
120
|
});
|
|
121
121
|
Object.defineProperty(exports, "SUPD_ABI", {
|
|
122
122
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunk7BP37BGO_cjs.SUPD_ABI; }
|
|
124
124
|
});
|
|
125
125
|
Object.defineProperty(exports, "UPD_TOKEN_ABI", {
|
|
126
126
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunk7BP37BGO_cjs.UPD_TOKEN_ABI; }
|
|
128
128
|
});
|
|
129
129
|
Object.defineProperty(exports, "ETH_USD_ASSET_PAIR", {
|
|
130
130
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as CancelAuthorization, a as CancelAuthorizationParams, T as TransferAuthorization, b as TransferAuthorizationParams, U as UPDClient, c as UPDDeploymentConfig, V as VerificationCheck, d as VerificationResult, e as collateralizationRatio, f as createUPDClient, g as getContractAddress, h as getDeployment, i as getDeploymentOrThrow, j as getSupportedChainIds, k as hasDeployment, q as quoteBurnUPD, l as quoteMintUPD, m as quoteStakeUPD, n as quoteUnstakeUPD, s as signCancelAuthorization, o as signReceiveAuthorization, p as signTransferAuthorization, r as stabilizerStEthNeeded, v as verifyDeployment } from './index-
|
|
1
|
+
export { C as CancelAuthorization, a as CancelAuthorizationParams, T as TransferAuthorization, b as TransferAuthorizationParams, U as UPDClient, c as UPDDeploymentConfig, V as VerificationCheck, d as VerificationResult, e as collateralizationRatio, f as createUPDClient, g as getContractAddress, h as getDeployment, i as getDeploymentOrThrow, j as getSupportedChainIds, k as hasDeployment, q as quoteBurnUPD, l as quoteMintUPD, m as quoteStakeUPD, n as quoteUnstakeUPD, s as signCancelAuthorization, o as signReceiveAuthorization, p as signTransferAuthorization, r as stabilizerStEthNeeded, v as verifyDeployment } from './index-D6VgT_bZ.cjs';
|
|
2
2
|
export { B as BurnParams, C as CollateralInfo, M as MintParams, P as PriceAttestationQuery, S as SUPDInfo, a as StabilizerPosition, b as StakeParams, T as TransactionHash, U as UPDClientConfig, c as UnstakeParams } from './types-DySv82My.cjs';
|
|
3
3
|
export { E as ETH_USD_ASSET_PAIR, O as OracleClient, a as OracleClientConfig, c as createMockAttestation } from './constants-BlOP_9dy.cjs';
|
|
4
4
|
export { D as DEFAULT_MIN_RATIO_BPS, S as SystemHealth, c as computeSystemHealth } from './health-DPxBqH7b.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as CancelAuthorization, a as CancelAuthorizationParams, T as TransferAuthorization, b as TransferAuthorizationParams, U as UPDClient, c as UPDDeploymentConfig, V as VerificationCheck, d as VerificationResult, e as collateralizationRatio, f as createUPDClient, g as getContractAddress, h as getDeployment, i as getDeploymentOrThrow, j as getSupportedChainIds, k as hasDeployment, q as quoteBurnUPD, l as quoteMintUPD, m as quoteStakeUPD, n as quoteUnstakeUPD, s as signCancelAuthorization, o as signReceiveAuthorization, p as signTransferAuthorization, r as stabilizerStEthNeeded, v as verifyDeployment } from './index-
|
|
1
|
+
export { C as CancelAuthorization, a as CancelAuthorizationParams, T as TransferAuthorization, b as TransferAuthorizationParams, U as UPDClient, c as UPDDeploymentConfig, V as VerificationCheck, d as VerificationResult, e as collateralizationRatio, f as createUPDClient, g as getContractAddress, h as getDeployment, i as getDeploymentOrThrow, j as getSupportedChainIds, k as hasDeployment, q as quoteBurnUPD, l as quoteMintUPD, m as quoteStakeUPD, n as quoteUnstakeUPD, s as signCancelAuthorization, o as signReceiveAuthorization, p as signTransferAuthorization, r as stabilizerStEthNeeded, v as verifyDeployment } from './index-BMgIlGvW.js';
|
|
2
2
|
export { B as BurnParams, C as CollateralInfo, M as MintParams, P as PriceAttestationQuery, S as SUPDInfo, a as StabilizerPosition, b as StakeParams, T as TransactionHash, U as UPDClientConfig, c as UnstakeParams } from './types-DySv82My.js';
|
|
3
3
|
export { E as ETH_USD_ASSET_PAIR, O as OracleClient, a as OracleClientConfig, c as createMockAttestation } from './constants-Bk2bGYfX.js';
|
|
4
4
|
export { D as DEFAULT_MIN_RATIO_BPS, S as SystemHealth, c as computeSystemHealth } from './health-BUb4ItNt.js';
|