@agoric/vats 0.15.2-u13.0 → 0.15.2-u14.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/CHANGELOG.md +17 -0
- package/decentral-devnet-config.json +150 -142
- package/exported.d.ts +2 -0
- package/exported.d.ts.map +1 -0
- package/index.d.ts +6 -0
- package/index.d.ts.map +1 -0
- package/index.js +10 -0
- package/package.json +24 -20
- package/scripts/build-game1-start.d.ts +1 -1
- package/scripts/build-game1-start.d.ts.map +1 -1
- package/scripts/build-game1-start.js +0 -1
- package/scripts/build-wallet-factory2-upgrade.d.ts +11 -0
- package/scripts/build-wallet-factory2-upgrade.d.ts.map +1 -0
- package/scripts/build-wallet-factory2-upgrade.js +29 -0
- package/scripts/build-walletFactory-upgrade.d.ts +1 -1
- package/scripts/build-walletFactory-upgrade.d.ts.map +1 -1
- package/scripts/build-walletFactory-upgrade.js +0 -1
- package/scripts/replace-zoe.d.ts +5 -0
- package/scripts/replace-zoe.d.ts.map +1 -0
- package/scripts/replace-zoe.js +19 -0
- package/scripts/revive-kread.d.ts +5 -0
- package/scripts/revive-kread.d.ts.map +1 -0
- package/scripts/revive-kread.js +13 -0
- package/scripts/set-core-proposal-env.js +1 -1
- package/src/core/boot-chain.d.ts +1 -1
- package/src/core/boot-chain.d.ts.map +1 -1
- package/src/core/boot-chain.js +1 -1
- package/src/core/boot-sim.d.ts +1 -1
- package/src/core/boot-sim.d.ts.map +1 -1
- package/src/core/boot-sim.js +1 -1
- package/src/core/boot-solo.d.ts +1 -1
- package/src/core/boot-solo.d.ts.map +1 -1
- package/src/core/boot-solo.js +2 -2
- package/src/core/lib-boot.d.ts.map +1 -1
- package/src/core/lib-boot.js +24 -17
- package/src/core/startWalletFactory.d.ts +12 -8
- package/src/core/startWalletFactory.d.ts.map +1 -1
- package/src/core/types.d.ts +6 -4
- package/src/core/types.d.ts.map +1 -1
- package/src/proposals/kread-proposal.d.ts +31 -0
- package/src/proposals/kread-proposal.d.ts.map +1 -0
- package/src/proposals/kread-proposal.js +24 -0
- package/src/proposals/zcf-proposal.d.ts +30 -0
- package/src/proposals/zcf-proposal.d.ts.map +1 -0
- package/src/proposals/zcf-proposal.js +49 -0
- package/src/provisionPool.d.ts +6 -4
- package/src/provisionPool.d.ts.map +1 -1
- package/src/provisionPoolKit.d.ts +12 -8
- package/src/provisionPoolKit.d.ts.map +1 -1
- package/src/vat-zoe.d.ts +2 -0
- package/src/vat-zoe.d.ts.map +1 -1
- package/src/vat-zoe.js +8 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,23 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
### [0.15.2-u14.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/vats@0.15.2-u13.0...@agoric/vats@0.15.2-u14.0) (2024-02-27)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* smartWallet verstion 2 with watchedPromises ([31d7c2f](https://github.com/Agoric/agoric-sdk/commit/31d7c2f4ecea9a34956cc6716fb8d73cbeb12e64))
|
|
12
|
+
* repair KREAd contract on zoe upgrade ([6ac7623](https://github.com/Agoric/agoric-sdk/commit/6ac762379e2660353a23202acd2d6fb52ed13682))
|
|
13
|
+
* replace zoe and zcf ([#8846](https://github.com/Agoric/agoric-sdk/issues/8846)) ([0169c7e](https://github.com/Agoric/agoric-sdk/commit/0169c7e505099fdcfa8e4d1436e5d3b372f1c320))
|
|
14
|
+
* support `coreProposals.steps` ([368cf01](https://github.com/Agoric/agoric-sdk/commit/368cf013f329f87c8e740ec48ac3faebb5a065eb))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **vats:** include index.js in NPM package ([#8815](https://github.com/Agoric/agoric-sdk/issues/8815)) ([5749bd2](https://github.com/Agoric/agoric-sdk/commit/5749bd2c3de726c9c9ba326e05756f4c30c15903))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
6
23
|
### [0.15.2-u13.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/vats@0.15.2-u12.0...@agoric/vats@0.15.2-u13.0) (2023-12-07)
|
|
7
24
|
|
|
8
25
|
**Note:** Version bump only for package @agoric/vats
|
|
@@ -2,159 +2,167 @@
|
|
|
2
2
|
"$comment": "This SwingSet config file (see loadSwingsetConfigFile) includes non-production facilities such as a faucet. Pending #5819, it includes vaults in coreProposals; once #5819 is done, vaults are expected to be added by devnet governance.",
|
|
3
3
|
"bootstrap": "bootstrap",
|
|
4
4
|
"defaultReapInterval": 1000,
|
|
5
|
-
"coreProposals":
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
"coreProposals": {
|
|
6
|
+
"steps": [
|
|
7
|
+
[
|
|
8
|
+
"@agoric/vats/scripts/init-core.js"
|
|
9
|
+
],
|
|
10
|
+
[
|
|
11
|
+
"@agoric/vats/scripts/init-network.js"
|
|
12
|
+
],
|
|
13
|
+
[
|
|
12
14
|
{
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
15
|
+
"module": "@agoric/inter-protocol/scripts/init-core.js",
|
|
16
|
+
"entrypoint": "defaultProposalBuilder",
|
|
17
|
+
"args": [
|
|
18
|
+
{
|
|
19
|
+
"econCommitteeOptions": {
|
|
20
|
+
"committeeSize": 3
|
|
21
|
+
},
|
|
22
|
+
"referencedUi": "bafybeidvpbtlgefi3ptuqzr2fwfyfjqfj6onmye63ij7qkrb4yjxekdh3e",
|
|
23
|
+
"minInitialPoolLiquidity": "0"
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
},
|
|
25
27
|
{
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
28
|
+
"module": "@agoric/inter-protocol/scripts/add-collateral-core.js",
|
|
29
|
+
"entrypoint": "defaultProposalBuilder",
|
|
30
|
+
"args": [
|
|
31
|
+
{
|
|
32
|
+
"interchainAssetOptions": {
|
|
33
|
+
"denom": "ibc/toyatom",
|
|
34
|
+
"decimalPlaces": 6,
|
|
35
|
+
"initialPrice": 12.34,
|
|
36
|
+
"keyword": "ATOM",
|
|
37
|
+
"oracleBrand": "ATOM",
|
|
38
|
+
"proposedName": "ATOM"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
},
|
|
41
43
|
{
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
44
|
+
"module": "@agoric/inter-protocol/scripts/add-collateral-core.js",
|
|
45
|
+
"entrypoint": "psmProposalBuilder",
|
|
46
|
+
"args": [
|
|
47
|
+
{
|
|
48
|
+
"anchorOptions": {
|
|
49
|
+
"denom": "ibc/toyusdc",
|
|
50
|
+
"decimalPlaces": 6,
|
|
51
|
+
"keyword": "USDC_axl",
|
|
52
|
+
"proposedName": "USD Coin"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
},
|
|
55
57
|
{
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
58
|
+
"module": "@agoric/inter-protocol/scripts/add-collateral-core.js",
|
|
59
|
+
"entrypoint": "psmProposalBuilder",
|
|
60
|
+
"args": [
|
|
61
|
+
{
|
|
62
|
+
"anchorOptions": {
|
|
63
|
+
"denom": "ibc/usdc5678",
|
|
64
|
+
"decimalPlaces": 6,
|
|
65
|
+
"keyword": "USDC_grv",
|
|
66
|
+
"proposedName": "USC Coin"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
},
|
|
69
71
|
{
|
|
70
|
-
"
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
72
|
+
"module": "@agoric/inter-protocol/scripts/add-collateral-core.js",
|
|
73
|
+
"entrypoint": "psmProposalBuilder",
|
|
74
|
+
"args": [
|
|
75
|
+
{
|
|
76
|
+
"anchorOptions": {
|
|
77
|
+
"denom": "ibc/usdt1234",
|
|
78
|
+
"decimalPlaces": 6,
|
|
79
|
+
"keyword": "USDT_axl",
|
|
80
|
+
"proposedName": "Tether USD"
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
},
|
|
83
85
|
{
|
|
84
|
-
"
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
86
|
+
"module": "@agoric/inter-protocol/scripts/add-collateral-core.js",
|
|
87
|
+
"entrypoint": "psmProposalBuilder",
|
|
88
|
+
"args": [
|
|
89
|
+
{
|
|
90
|
+
"anchorOptions": {
|
|
91
|
+
"denom": "ibc/toyollie",
|
|
92
|
+
"decimalPlaces": 6,
|
|
93
|
+
"keyword": "USDT_grv",
|
|
94
|
+
"proposedName": "Tether USD"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
},
|
|
97
99
|
{
|
|
98
|
-
"
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
100
|
+
"module": "@agoric/inter-protocol/scripts/add-collateral-core.js",
|
|
101
|
+
"entrypoint": "psmProposalBuilder",
|
|
102
|
+
"args": [
|
|
103
|
+
{
|
|
104
|
+
"anchorOptions": {
|
|
105
|
+
"denom": "ibc/toyellie",
|
|
106
|
+
"decimalPlaces": 6,
|
|
107
|
+
"keyword": "AUSD",
|
|
108
|
+
"proposedName": "Anchor USD"
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
]
|
|
112
|
+
},
|
|
111
113
|
{
|
|
112
|
-
"
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
114
|
+
"module": "@agoric/inter-protocol/scripts/price-feed-core.js",
|
|
115
|
+
"entrypoint": "defaultProposalBuilder",
|
|
116
|
+
"args": [
|
|
117
|
+
{
|
|
118
|
+
"contractTerms": {
|
|
119
|
+
"POLL_INTERVAL": 30,
|
|
120
|
+
"maxSubmissionCount": 1000,
|
|
121
|
+
"minSubmissionCount": 3,
|
|
122
|
+
"restartDelay": 1,
|
|
123
|
+
"timeout": 10,
|
|
124
|
+
"minSubmissionValue": 1,
|
|
125
|
+
"maxSubmissionValue": 9007199254740991
|
|
126
|
+
},
|
|
127
|
+
"AGORIC_INSTANCE_NAME": "ATOM-USD price feed",
|
|
128
|
+
"oracleAddresses": [
|
|
129
|
+
"agoric10vjkvkmpp9e356xeh6qqlhrny2htyzp8hf88fk",
|
|
130
|
+
"agoric1qj07c7vfk3knqdral0sej7fa6eavkdn8vd8etf",
|
|
131
|
+
"agoric1lw4e4aas9q84tq0q92j85rwjjjapf8dmnllnft",
|
|
132
|
+
"agoric1ra0g6crtsy6r3qnpu7ruvm7qd4wjnznyzg5nu4",
|
|
133
|
+
"agoric1zj6vrrrjq4gsyr9lw7dplv4vyejg3p8j2urm82"
|
|
134
|
+
],
|
|
135
|
+
"IN_BRAND_LOOKUP": [
|
|
136
|
+
"agoricNames",
|
|
137
|
+
"oracleBrand",
|
|
138
|
+
"ATOM"
|
|
139
|
+
],
|
|
140
|
+
"IN_BRAND_DECIMALS": 6,
|
|
141
|
+
"OUT_BRAND_LOOKUP": [
|
|
142
|
+
"agoricNames",
|
|
143
|
+
"oracleBrand",
|
|
144
|
+
"USD"
|
|
145
|
+
],
|
|
146
|
+
"OUT_BRAND_DECIMALS": 4
|
|
147
|
+
}
|
|
148
|
+
]
|
|
149
|
+
},
|
|
148
150
|
{
|
|
149
|
-
"
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
151
|
+
"module": "@agoric/inter-protocol/scripts/invite-committee-core.js",
|
|
152
|
+
"entrypoint": "defaultProposalBuilder",
|
|
153
|
+
"args": [
|
|
154
|
+
{
|
|
155
|
+
"voterAddresses": {
|
|
156
|
+
"gov1": "agoric1ldmtatp24qlllgxmrsjzcpe20fvlkp448zcuce",
|
|
157
|
+
"gov2": "agoric140dmkrz2e42ergjj7gyvejhzmjzurvqeq82ang",
|
|
158
|
+
"gov3": "agoric1w8wktaur4zf8qmmtn3n7x3r0jhsjkjntcm3u6h"
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
]
|
|
154
162
|
}
|
|
155
163
|
]
|
|
156
|
-
|
|
157
|
-
|
|
164
|
+
]
|
|
165
|
+
},
|
|
158
166
|
"vats": {
|
|
159
167
|
"bootstrap": {
|
|
160
168
|
"sourceSpec": "@agoric/vats/src/core/boot-chain.js",
|
package/exported.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exported.d.ts","sourceRoot":"","sources":["exported.js"],"names":[],"mappings":""}
|
package/index.d.ts
ADDED
package/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.js"],"names":[],"mappings":""}
|
package/index.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// @ts-check
|
|
2
|
+
// Ambient types
|
|
3
|
+
import './src/core/types.js';
|
|
4
|
+
|
|
5
|
+
// eslint-disable-next-line import/export -- no named exports
|
|
6
|
+
export * from './src/types.js';
|
|
7
|
+
export * from './src/nameHub.js';
|
|
8
|
+
export * from './src/bridge.js';
|
|
9
|
+
export { makePromiseSpace } from './src/core/promise-space.js';
|
|
10
|
+
export { makeAgoricNamesAccess } from './src/core/utils.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/vats",
|
|
3
|
-
"version": "0.15.2-
|
|
3
|
+
"version": "0.15.2-u14.0",
|
|
4
4
|
"description": "Agoric's Vat library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -29,32 +29,36 @@
|
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@agoric/assert": "^0.6.1-u11wf.0",
|
|
32
|
-
"@agoric/
|
|
33
|
-
"@agoric/
|
|
34
|
-
"@agoric/
|
|
35
|
-
"@agoric/
|
|
36
|
-
"@agoric/
|
|
37
|
-
"@agoric/
|
|
38
|
-
"@agoric/
|
|
39
|
-
"@agoric/
|
|
40
|
-
"@agoric/
|
|
41
|
-
"@agoric/
|
|
42
|
-
"@agoric/
|
|
43
|
-
"@agoric/
|
|
32
|
+
"@agoric/deploy-script-support": "^0.10.4-u14.0",
|
|
33
|
+
"@agoric/ertp": "^0.16.3-u14.0",
|
|
34
|
+
"@agoric/governance": "^0.10.4-u14.0",
|
|
35
|
+
"@agoric/inter-protocol": "^0.16.2-u14.0",
|
|
36
|
+
"@agoric/internal": "^0.4.0-u14.0",
|
|
37
|
+
"@agoric/notifier": "^0.6.3-u14.0",
|
|
38
|
+
"@agoric/sharing-service": "^0.2.12-u14.0",
|
|
39
|
+
"@agoric/store": "^0.9.3-u14.0",
|
|
40
|
+
"@agoric/swingset-vat": "^0.32.3-u14.0",
|
|
41
|
+
"@agoric/time": "^0.3.3-u14.0",
|
|
42
|
+
"@agoric/vat-data": "^0.5.3-u14.0",
|
|
43
|
+
"@agoric/zoe": "^0.26.3-u14.0",
|
|
44
|
+
"@agoric/zone": "^0.2.3-u14.0",
|
|
44
45
|
"@endo/far": "0.2.18",
|
|
45
46
|
"@endo/import-bundle": "0.3.4",
|
|
46
47
|
"@endo/init": "0.5.56",
|
|
47
48
|
"@endo/marshal": "0.8.5",
|
|
48
49
|
"@endo/nat": "4.1.27",
|
|
50
|
+
"@endo/patterns": "^0.2.2",
|
|
49
51
|
"@endo/promise-kit": "0.2.56",
|
|
52
|
+
"import-meta-resolve": "^2.2.1",
|
|
50
53
|
"jessie.js": "^0.3.2"
|
|
51
54
|
},
|
|
52
55
|
"devDependencies": {
|
|
53
|
-
"@agoric/cosmic-swingset": "^0.42.0-
|
|
56
|
+
"@agoric/cosmic-swingset": "^0.42.0-u14.0",
|
|
54
57
|
"@agoric/deploy-script-support": "^0.10.4-u13.0",
|
|
55
|
-
"@agoric/smart-wallet": "^0.5.4-
|
|
56
|
-
"@agoric/swing-store": "^0.9.2-
|
|
57
|
-
"@agoric/swingset-liveslots": "^0.10.3-
|
|
58
|
+
"@agoric/smart-wallet": "^0.5.4-u14.0",
|
|
59
|
+
"@agoric/swing-store": "^0.9.2-u14.0",
|
|
60
|
+
"@agoric/swingset-liveslots": "^0.10.3-u14.0",
|
|
61
|
+
"@agoric/vats": "^0.15.2-u14.0",
|
|
58
62
|
"@endo/bundle-source": "2.5.2-upstream-rollup",
|
|
59
63
|
"@endo/captp": "3.1.1",
|
|
60
64
|
"@endo/stream": "0.3.25",
|
|
@@ -68,8 +72,8 @@
|
|
|
68
72
|
"scripts/",
|
|
69
73
|
"tools/",
|
|
70
74
|
"*.json",
|
|
71
|
-
"
|
|
72
|
-
"exported
|
|
75
|
+
"index.*",
|
|
76
|
+
"exported.*"
|
|
73
77
|
],
|
|
74
78
|
"publishConfig": {
|
|
75
79
|
"access": "public"
|
|
@@ -85,5 +89,5 @@
|
|
|
85
89
|
"timeout": "20m",
|
|
86
90
|
"workerThreads": false
|
|
87
91
|
},
|
|
88
|
-
"gitHead": "
|
|
92
|
+
"gitHead": "b3a6f3374cb3bddab39fc6d6f426429cae6c29c6"
|
|
89
93
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** @type {import('@agoric/deploy-script-support/src/externalTypes.js').ProposalBuilder} */
|
|
2
2
|
export const game1ProposalBuilder: import('@agoric/deploy-script-support/src/externalTypes.js').ProposalBuilder;
|
|
3
|
-
declare
|
|
3
|
+
declare function _default(homeP: any, endowments: any): Promise<void>;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=build-game1-start.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-game1-start.d.ts","sourceRoot":"","sources":["build-game1-start.js"],"names":[],"mappings":"AAUA,2FAA2F;AAC3F,mCADW,OAAO,oDAAoD,EAAE,eAAe,CAiBrF"}
|
|
1
|
+
{"version":3,"file":"build-game1-start.d.ts","sourceRoot":"","sources":["build-game1-start.js"],"names":[],"mappings":"AAUA,2FAA2F;AAC3F,mCADW,OAAO,oDAAoD,EAAE,eAAe,CAiBrF;AAEa,sEAGd"}
|
|
@@ -27,7 +27,6 @@ export const game1ProposalBuilder = async ({ publishRef, install }) => {
|
|
|
27
27
|
});
|
|
28
28
|
};
|
|
29
29
|
|
|
30
|
-
/** @type {DeployScriptFunction} */
|
|
31
30
|
export default async (homeP, endowments) => {
|
|
32
31
|
const { writeCoreProposal } = await makeHelpers(homeP, endowments);
|
|
33
32
|
await writeCoreProposal('start-game1', game1ProposalBuilder);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file
|
|
3
|
+
* `agoric run scripts/smart-wallet/build-wallet-factory2-upgrade.js`
|
|
4
|
+
* produces a proposal and permit file, as well as the necessary bundles. It
|
|
5
|
+
* also prints helpful instructions for copying the files and installing them.
|
|
6
|
+
*/
|
|
7
|
+
/** @type {import('@agoric/deploy-script-support/src/externalTypes.js').ProposalBuilder} */
|
|
8
|
+
export const defaultProposalBuilder: import('@agoric/deploy-script-support/src/externalTypes.js').ProposalBuilder;
|
|
9
|
+
declare function _default(homeP: any, endowments: any): Promise<void>;
|
|
10
|
+
export default _default;
|
|
11
|
+
//# sourceMappingURL=build-wallet-factory2-upgrade.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build-wallet-factory2-upgrade.d.ts","sourceRoot":"","sources":["build-wallet-factory2-upgrade.js"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH,2FAA2F;AAC3F,qCADW,OAAO,oDAAoD,EAAE,eAAe,CAclF;AAEU,sEAGd"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { makeHelpers } from '@agoric/deploy-script-support';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @file
|
|
5
|
+
* `agoric run scripts/smart-wallet/build-wallet-factory2-upgrade.js`
|
|
6
|
+
* produces a proposal and permit file, as well as the necessary bundles. It
|
|
7
|
+
* also prints helpful instructions for copying the files and installing them.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/** @type {import('@agoric/deploy-script-support/src/externalTypes.js').ProposalBuilder} */
|
|
11
|
+
export const defaultProposalBuilder = async ({ publishRef, install }) =>
|
|
12
|
+
harden({
|
|
13
|
+
sourceSpec:
|
|
14
|
+
'@agoric/smart-wallet/src/proposals/upgrade-wallet-factory2-proposal.js',
|
|
15
|
+
getManifestCall: [
|
|
16
|
+
'getManifestForUpgradeWallet',
|
|
17
|
+
{
|
|
18
|
+
walletRef: publishRef(
|
|
19
|
+
// @ts-expect-error eslint is confused. The call is correct.
|
|
20
|
+
install('@agoric/smart-wallet/src/walletFactory.js'),
|
|
21
|
+
),
|
|
22
|
+
},
|
|
23
|
+
],
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
export default async (homeP, endowments) => {
|
|
27
|
+
const { writeCoreProposal } = await makeHelpers(homeP, endowments);
|
|
28
|
+
await writeCoreProposal('upgrade-wallet-factory', defaultProposalBuilder);
|
|
29
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** @type {import('@agoric/deploy-script-support/src/externalTypes.js').ProposalBuilder} */
|
|
2
2
|
export const defaultProposalBuilder: import('@agoric/deploy-script-support/src/externalTypes.js').ProposalBuilder;
|
|
3
|
-
declare
|
|
3
|
+
declare function _default(homeP: any, endowments: any): Promise<void>;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=build-walletFactory-upgrade.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-walletFactory-upgrade.d.ts","sourceRoot":"","sources":["build-walletFactory-upgrade.js"],"names":[],"mappings":"AAUA,2FAA2F;AAC3F,qCADW,OAAO,oDAAoD,EAAE,eAAe,CAkBrF"}
|
|
1
|
+
{"version":3,"file":"build-walletFactory-upgrade.d.ts","sourceRoot":"","sources":["build-walletFactory-upgrade.js"],"names":[],"mappings":"AAUA,2FAA2F;AAC3F,qCADW,OAAO,oDAAoD,EAAE,eAAe,CAkBrF;AAEa,sEAGd"}
|
|
@@ -28,7 +28,6 @@ export const defaultProposalBuilder = async ({ publishRef, install }) => {
|
|
|
28
28
|
});
|
|
29
29
|
};
|
|
30
30
|
|
|
31
|
-
/** @type {DeployScriptFunction} */
|
|
32
31
|
export default async (homeP, endowments) => {
|
|
33
32
|
const { writeCoreProposal } = await makeHelpers(homeP, endowments);
|
|
34
33
|
await writeCoreProposal('upgrade-walletFactory', defaultProposalBuilder);
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** @type {import('@agoric/deploy-script-support/src/externalTypes.js').ProposalBuilder} */
|
|
2
|
+
export const defaultProposalBuilder: import('@agoric/deploy-script-support/src/externalTypes.js').ProposalBuilder;
|
|
3
|
+
declare function _default(homeP: any, endowments: any): Promise<void>;
|
|
4
|
+
export default _default;
|
|
5
|
+
//# sourceMappingURL=replace-zoe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"replace-zoe.d.ts","sourceRoot":"","sources":["replace-zoe.js"],"names":[],"mappings":"AAEA,2FAA2F;AAC3F,qCADW,OAAO,oDAAoD,EAAE,eAAe,CAWlF;AAEU,sEAGd"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { makeHelpers } from '@agoric/deploy-script-support';
|
|
2
|
+
|
|
3
|
+
/** @type {import('@agoric/deploy-script-support/src/externalTypes.js').ProposalBuilder} */
|
|
4
|
+
export const defaultProposalBuilder = async ({ publishRef, install }) =>
|
|
5
|
+
harden({
|
|
6
|
+
sourceSpec: '@agoric/vats/src/proposals/zcf-proposal.js',
|
|
7
|
+
getManifestCall: [
|
|
8
|
+
'getManifestForZoe',
|
|
9
|
+
{
|
|
10
|
+
zoeRef: publishRef(install('@agoric/vats/src/vat-zoe.js')),
|
|
11
|
+
zcfRef: publishRef(install('@agoric/zoe/src/contractFacet/vatRoot.js')),
|
|
12
|
+
},
|
|
13
|
+
],
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
export default async (homeP, endowments) => {
|
|
17
|
+
const { writeCoreProposal } = await makeHelpers(homeP, endowments);
|
|
18
|
+
await writeCoreProposal('replace-zcf', defaultProposalBuilder);
|
|
19
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** @type {import('@agoric/deploy-script-support/src/externalTypes.js').ProposalBuilder} */
|
|
2
|
+
export const defaultProposalBuilder: import('@agoric/deploy-script-support/src/externalTypes.js').ProposalBuilder;
|
|
3
|
+
declare function _default(homeP: any, endowments: any): Promise<void>;
|
|
4
|
+
export default _default;
|
|
5
|
+
//# sourceMappingURL=revive-kread.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"revive-kread.d.ts","sourceRoot":"","sources":["revive-kread.js"],"names":[],"mappings":"AAEA,2FAA2F;AAC3F,qCADW,OAAO,oDAAoD,EAAE,eAAe,CAKlF;AAEU,sEAGd"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { makeHelpers } from '@agoric/deploy-script-support';
|
|
2
|
+
|
|
3
|
+
/** @type {import('@agoric/deploy-script-support/src/externalTypes.js').ProposalBuilder} */
|
|
4
|
+
export const defaultProposalBuilder = async () =>
|
|
5
|
+
harden({
|
|
6
|
+
sourceSpec: '@agoric/vats/src/proposals/kread-proposal.js',
|
|
7
|
+
getManifestCall: ['getManifestForKread'],
|
|
8
|
+
});
|
|
9
|
+
|
|
10
|
+
export default async (homeP, endowments) => {
|
|
11
|
+
const { writeCoreProposal } = await makeHelpers(homeP, endowments);
|
|
12
|
+
await writeCoreProposal('revive-kread', defaultProposalBuilder);
|
|
13
|
+
};
|
package/src/core/boot-chain.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export function buildRootObject(vatPowers: import("@agoric/swingset-vat").Termin
|
|
|
3
3
|
D: DProxy;
|
|
4
4
|
logger: (msg: any) => void;
|
|
5
5
|
}, vatParameters: {
|
|
6
|
-
|
|
6
|
+
coreProposalCodeSteps?: string[];
|
|
7
7
|
}, baggage: MapStore<string, unknown>): {
|
|
8
8
|
bootstrap: (vats: SwingsetVats, devices: SoloDevices | ChainDevices) => Promise<void>;
|
|
9
9
|
consumeItem: (name: any) => Promise<unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"boot-chain.d.ts","sourceRoot":"","sources":["boot-chain.js"],"names":[],"mappings":"AAqBA,iEAAiD;AAc1C;OARC,MAAM;0BACQ,IAAI;kBAEf;IACV,
|
|
1
|
+
{"version":3,"file":"boot-chain.d.ts","sourceRoot":"","sources":["boot-chain.js"],"names":[],"mappings":"AAqBA,iEAAiD;AAc1C;OARC,MAAM;0BACQ,IAAI;kBAEf;IACV,qBAAyB,CAAC,EAAE,MAAM,EAAE,CAAC;CAClC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAeH"}
|
package/src/core/boot-chain.js
CHANGED
|
@@ -29,7 +29,7 @@ export const MANIFEST = CHAIN_BOOTSTRAP_MANIFEST;
|
|
|
29
29
|
* logger: (msg) => void,
|
|
30
30
|
* }} vatPowers
|
|
31
31
|
* @param {{
|
|
32
|
-
*
|
|
32
|
+
* coreProposalCodeSteps?: string[];
|
|
33
33
|
* }} vatParameters
|
|
34
34
|
* @param {import('@agoric/vat-data').Baggage} baggage
|
|
35
35
|
*/
|