@agoric/inter-protocol 0.16.2-dev-dcddffd.0 → 0.16.2-dev-f010e07.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/bundles/bundle-auctioneer-js-meta.json +119 -119
- package/bundles/bundle-auctioneer.js +1 -1
- package/bundles/bundle-econCommitteeCharter-js-meta.json +71 -71
- package/bundles/bundle-econCommitteeCharter.js +1 -1
- package/bundles/bundle-feeDistributor-js-meta.json +57 -57
- package/bundles/bundle-feeDistributor.js +1 -1
- package/bundles/bundle-fluxAggregatorKit-js-meta.json +122 -122
- package/bundles/bundle-fluxAggregatorKit.js +1 -1
- package/bundles/bundle-psm-js-meta.json +109 -109
- package/bundles/bundle-psm.js +1 -1
- package/bundles/bundle-reserve-js-meta.json +108 -108
- package/bundles/bundle-reserve.js +1 -1
- package/bundles/bundle-scaledPriceAuthority-js-meta.json +78 -78
- package/bundles/bundle-scaledPriceAuthority.js +1 -1
- package/bundles/bundle-vaultFactory-js-meta.json +133 -133
- package/bundles/bundle-vaultFactory.js +1 -1
- package/package.json +17 -16
- package/src/proposals/addAssetToVault.js +1 -1
- package/src/proposals/core-proposal.js +1 -1
- package/src/proposals/econ-behaviors.js +1 -3
- package/src/proposals/startPSM.js +2 -2
- package/src/tokens.js +37 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/inter-protocol",
|
|
3
|
-
"version": "0.16.2-dev-
|
|
3
|
+
"version": "0.16.2-dev-f010e07.0+f010e07",
|
|
4
4
|
"description": "Core cryptoeconomy contracts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -30,16 +30,15 @@
|
|
|
30
30
|
},
|
|
31
31
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@agoric/assert": "0.6.1-dev-
|
|
34
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
35
|
-
"@agoric/governance": "0.10.4-dev-
|
|
36
|
-
"@agoric/internal": "0.3.3-dev-
|
|
37
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
38
|
-
"@agoric/store": "0.9.3-dev-
|
|
39
|
-
"@agoric/time": "0.3.3-dev-
|
|
40
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
41
|
-
"@agoric/
|
|
42
|
-
"@agoric/zoe": "0.26.3-dev-dcddffd.0+dcddffd",
|
|
33
|
+
"@agoric/assert": "0.6.1-dev-f010e07.0+f010e07",
|
|
34
|
+
"@agoric/ertp": "0.16.3-dev-f010e07.0+f010e07",
|
|
35
|
+
"@agoric/governance": "0.10.4-dev-f010e07.0+f010e07",
|
|
36
|
+
"@agoric/internal": "0.3.3-dev-f010e07.0+f010e07",
|
|
37
|
+
"@agoric/notifier": "0.6.3-dev-f010e07.0+f010e07",
|
|
38
|
+
"@agoric/store": "0.9.3-dev-f010e07.0+f010e07",
|
|
39
|
+
"@agoric/time": "0.3.3-dev-f010e07.0+f010e07",
|
|
40
|
+
"@agoric/vat-data": "0.5.3-dev-f010e07.0+f010e07",
|
|
41
|
+
"@agoric/zoe": "0.26.3-dev-f010e07.0+f010e07",
|
|
43
42
|
"@endo/captp": "^3.1.1",
|
|
44
43
|
"@endo/eventual-send": "^0.17.2",
|
|
45
44
|
"@endo/far": "^0.2.18",
|
|
@@ -48,10 +47,12 @@
|
|
|
48
47
|
"jessie.js": "^0.3.2"
|
|
49
48
|
},
|
|
50
49
|
"devDependencies": {
|
|
51
|
-
"@agoric/deploy-script-support": "0.10.4-dev-
|
|
52
|
-
"@agoric/smart-wallet": "0.5.4-dev-
|
|
53
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
54
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
50
|
+
"@agoric/deploy-script-support": "0.10.4-dev-f010e07.0+f010e07",
|
|
51
|
+
"@agoric/smart-wallet": "0.5.4-dev-f010e07.0+f010e07",
|
|
52
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-f010e07.0+f010e07",
|
|
53
|
+
"@agoric/swingset-vat": "0.32.3-dev-f010e07.0+f010e07",
|
|
54
|
+
"@agoric/vats": "0.15.2-dev-f010e07.0+f010e07",
|
|
55
|
+
"@agoric/zone": "0.2.3-dev-f010e07.0+f010e07",
|
|
55
56
|
"@endo/bundle-source": "^2.5.1",
|
|
56
57
|
"@endo/init": "^0.5.56",
|
|
57
58
|
"@endo/promise-kit": "^0.2.56",
|
|
@@ -78,5 +79,5 @@
|
|
|
78
79
|
"publishConfig": {
|
|
79
80
|
"access": "public"
|
|
80
81
|
},
|
|
81
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "f010e07de4def9e926f60e3327908baf5fa91b90"
|
|
82
83
|
}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
import { AmountMath, AssetKind } from '@agoric/ertp';
|
|
4
4
|
import { deeplyFulfilledObject } from '@agoric/internal';
|
|
5
|
-
import { Stable } from '@agoric/vats/src/tokens.js';
|
|
6
5
|
import { makeRatio } from '@agoric/zoe/src/contractSupport/index.js';
|
|
7
6
|
import { parseRatio } from '@agoric/zoe/src/contractSupport/ratio.js';
|
|
8
7
|
import { E } from '@endo/far';
|
|
8
|
+
import { Stable } from '../tokens.js';
|
|
9
9
|
import { instanceNameFor } from './price-feed-proposal.js';
|
|
10
10
|
import { reserveThenGetNames } from './utils.js';
|
|
11
11
|
|
|
@@ -6,11 +6,9 @@ import { AmountMath } from '@agoric/ertp';
|
|
|
6
6
|
import '@agoric/governance/exported.js';
|
|
7
7
|
import { deeplyFulfilledObject, makeTracer } from '@agoric/internal';
|
|
8
8
|
import { makeStorageNodeChild } from '@agoric/internal/src/lib-chainStorage.js';
|
|
9
|
-
import '@agoric/vats/exported.js';
|
|
10
|
-
import '@agoric/vats/src/core/types.js';
|
|
11
|
-
import { Stable } from '@agoric/vats/src/tokens.js';
|
|
12
9
|
import { E } from '@endo/far';
|
|
13
10
|
import { makeScalarBigMapStore } from '@agoric/vat-data';
|
|
11
|
+
import { Stable } from '../tokens.js';
|
|
14
12
|
import { makeGovernedTerms as makeGovernedATerms } from '../auction/params.js';
|
|
15
13
|
import { makeReserveTerms } from '../reserve/params.js';
|
|
16
14
|
import { makeGovernedTerms as makeGovernedVFTerms } from '../vaultFactory/params.js';
|
|
@@ -6,14 +6,14 @@ import { CONTRACT_ELECTORATE, ParamTypes } from '@agoric/governance';
|
|
|
6
6
|
import { makeStorageNodeChild } from '@agoric/internal/src/lib-chainStorage.js';
|
|
7
7
|
import { makeRatio } from '@agoric/zoe/src/contractSupport/index.js';
|
|
8
8
|
import { E } from '@endo/far';
|
|
9
|
-
import { Stable } from '@agoric/vats/src/tokens.js';
|
|
10
9
|
import {
|
|
11
10
|
makeHistoryReviver,
|
|
12
11
|
makeBoardRemote,
|
|
13
12
|
slotToBoardRemote,
|
|
14
|
-
} from '@agoric/
|
|
13
|
+
} from '@agoric/internal/src/marshal.js';
|
|
15
14
|
import { deeplyFulfilledObject } from '@agoric/internal';
|
|
16
15
|
import { makeScalarBigMapStore } from '@agoric/vat-data';
|
|
16
|
+
import { Stable } from '../tokens.js';
|
|
17
17
|
|
|
18
18
|
import { reserveThenGetNamePaths } from './utils.js';
|
|
19
19
|
|
package/src/tokens.js
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// @ts-check
|
|
2
|
+
|
|
3
|
+
/** @typedef { 'IST' | 'BLD' } TokenKeyword */
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Use static type check and unit tests rather than runtime import
|
|
7
|
+
* to avoid bundling all of ERTP just to get Stable.symbol.
|
|
8
|
+
*
|
|
9
|
+
* @type {typeof import('@agoric/ertp').AssetKind.NAT}
|
|
10
|
+
*/
|
|
11
|
+
const NAT = 'nat';
|
|
12
|
+
|
|
13
|
+
export const Stable = harden(
|
|
14
|
+
/** @type {const } */ ({
|
|
15
|
+
symbol: 'IST',
|
|
16
|
+
denom: 'uist',
|
|
17
|
+
proposedName: 'Agoric stable token',
|
|
18
|
+
assetKind: NAT,
|
|
19
|
+
displayInfo: {
|
|
20
|
+
decimalPlaces: 6,
|
|
21
|
+
assetKind: NAT,
|
|
22
|
+
},
|
|
23
|
+
}),
|
|
24
|
+
);
|
|
25
|
+
|
|
26
|
+
export const Stake = harden(
|
|
27
|
+
/** @type {const } */ ({
|
|
28
|
+
symbol: 'BLD',
|
|
29
|
+
denom: 'ubld',
|
|
30
|
+
proposedName: 'Agoric staking token',
|
|
31
|
+
assetKind: NAT,
|
|
32
|
+
displayInfo: {
|
|
33
|
+
decimalPlaces: 6,
|
|
34
|
+
assetKind: NAT,
|
|
35
|
+
},
|
|
36
|
+
}),
|
|
37
|
+
);
|