@agoric/inter-protocol 0.16.1 → 0.16.2-dev-8c14632.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/README.md +1 -1
- package/bundles/bundle-auctioneer-js-meta.json +285 -285
- package/bundles/bundle-auctioneer.js +1 -1
- package/bundles/bundle-econCommitteeCharter-js-meta.json +201 -201
- package/bundles/bundle-econCommitteeCharter.js +1 -1
- package/bundles/bundle-feeDistributor-js-meta.json +201 -201
- package/bundles/bundle-feeDistributor.js +1 -1
- package/bundles/bundle-fluxAggregatorKit-js-meta.json +307 -307
- package/bundles/bundle-fluxAggregatorKit.js +1 -1
- package/bundles/bundle-psm-js-meta.json +264 -264
- package/bundles/bundle-psm.js +1 -1
- package/bundles/bundle-reserve-js-meta.json +295 -295
- package/bundles/bundle-reserve.js +1 -1
- package/bundles/bundle-scaledPriceAuthority-js-meta.json +225 -225
- package/bundles/bundle-scaledPriceAuthority.js +1 -1
- package/bundles/bundle-vaultFactory-js-meta.json +346 -346
- package/bundles/bundle-vaultFactory.js +1 -1
- package/package.json +20 -19
- package/scripts/add-STARS.js +43 -0
- package/scripts/add-collateral-core.js +2 -2
- package/src/auction/scheduler.js +2 -12
- package/src/interest-math.js +13 -13
- package/src/interest.js +24 -24
- package/src/price/fluxAggregatorContract.js +4 -8
- package/src/proposals/addAssetToVault.js +19 -7
- package/src/proposals/price-feed-proposal.js +29 -15
- package/src/proposals/startPSM.js +6 -4
- package/src/reserve/assetReserve.js +2 -2
- package/src/vaultFactory/params.js +4 -4
- package/src/vaultFactory/storeUtils.js +11 -7
- package/src/vaultFactory/types.js +4 -4
- package/src/vaultFactory/vault.js +18 -13
- package/src/vaultFactory/vaultDirector.js +2 -0
- package/src/vaultFactory/vaultManager.js +47 -40
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ The above states are robust to system restarts and upgrades. This is accomplishe
|
|
|
21
21
|
Debts are denominated in µIST. (1 million µIST = 1 IST)
|
|
22
22
|
|
|
23
23
|
Each interest charging period (say daily) the actual debts in all vaults are affected. Materializing that across all vaults would be O(n) writes. Instead, to make charging interest O(1) we virtualize the debt that a vault owes to be a function of stable vault attributes and values that change in the vault manager when it charges interest. Specifically,
|
|
24
|
-
- a
|
|
24
|
+
- a compoundedStabilityFee value on the manager that keeps track of interest accrual since its launch
|
|
25
25
|
- a debtSnapshot on the vault by which one can calculate the actual debt
|
|
26
26
|
|
|
27
27
|
To maintain that the keys of vaults to liquidate are stable requires that its keys are also time-independent so they're recorded as a "normalized collateralization ratio", with the actual collateral divided by the normalized debt.
|