@agoric/zoe 0.26.3-dev-3ac36ad.0 → 0.26.3-dev-7cead9c.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/zoe",
|
|
3
|
-
"version": "0.26.3-dev-
|
|
3
|
+
"version": "0.26.3-dev-7cead9c.0+7cead9c",
|
|
4
4
|
"description": "Zoe: the Smart Contract Framework for Offer Enforcement",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/zoeService/zoe.js",
|
|
@@ -43,28 +43,28 @@
|
|
|
43
43
|
},
|
|
44
44
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@agoric/assert": "0.6.1-dev-
|
|
47
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
48
|
-
"@agoric/internal": "0.3.3-dev-
|
|
49
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
50
|
-
"@agoric/store": "0.9.3-dev-
|
|
51
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
52
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
53
|
-
"@agoric/time": "0.3.3-dev-
|
|
54
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
55
|
-
"@endo/bundle-source": "^2.
|
|
56
|
-
"@endo/captp": "^3.1.
|
|
57
|
-
"@endo/eventual-send": "^0.17.
|
|
58
|
-
"@endo/far": "^0.2.
|
|
59
|
-
"@endo/import-bundle": "^0.
|
|
60
|
-
"@endo/marshal": "^0.8.
|
|
61
|
-
"@endo/nat": "^4.1.
|
|
62
|
-
"@endo/patterns": "^0.2.
|
|
63
|
-
"@endo/promise-kit": "^0.2.
|
|
46
|
+
"@agoric/assert": "0.6.1-dev-7cead9c.0+7cead9c",
|
|
47
|
+
"@agoric/ertp": "0.16.3-dev-7cead9c.0+7cead9c",
|
|
48
|
+
"@agoric/internal": "0.3.3-dev-7cead9c.0+7cead9c",
|
|
49
|
+
"@agoric/notifier": "0.6.3-dev-7cead9c.0+7cead9c",
|
|
50
|
+
"@agoric/store": "0.9.3-dev-7cead9c.0+7cead9c",
|
|
51
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-7cead9c.0+7cead9c",
|
|
52
|
+
"@agoric/swingset-vat": "0.32.3-dev-7cead9c.0+7cead9c",
|
|
53
|
+
"@agoric/time": "0.3.3-dev-7cead9c.0+7cead9c",
|
|
54
|
+
"@agoric/vat-data": "0.5.3-dev-7cead9c.0+7cead9c",
|
|
55
|
+
"@endo/bundle-source": "^2.7.0",
|
|
56
|
+
"@endo/captp": "^3.1.4",
|
|
57
|
+
"@endo/eventual-send": "^0.17.5",
|
|
58
|
+
"@endo/far": "^0.2.21",
|
|
59
|
+
"@endo/import-bundle": "^0.4.1",
|
|
60
|
+
"@endo/marshal": "^0.8.8",
|
|
61
|
+
"@endo/nat": "^4.1.30",
|
|
62
|
+
"@endo/patterns": "^0.2.5",
|
|
63
|
+
"@endo/promise-kit": "^0.2.59",
|
|
64
64
|
"yargs-parser": "^21.1.1"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@endo/init": "^0.5.
|
|
67
|
+
"@endo/init": "^0.5.59",
|
|
68
68
|
"ava": "^5.3.0",
|
|
69
69
|
"c8": "^7.13.0",
|
|
70
70
|
"import-meta-resolve": "^2.2.1",
|
|
@@ -133,5 +133,5 @@
|
|
|
133
133
|
"publishConfig": {
|
|
134
134
|
"access": "public"
|
|
135
135
|
},
|
|
136
|
-
"gitHead": "
|
|
136
|
+
"gitHead": "7cead9c21830d2936f08849568d65a131af3a2fd"
|
|
137
137
|
}
|
|
@@ -17,20 +17,20 @@ export function makeOnewayPriceAuthorityKit(opts: {
|
|
|
17
17
|
actualBrandOut: Brand<'nat'>;
|
|
18
18
|
}): PriceAuthorityKit;
|
|
19
19
|
export const PriceAuthorityI: import("@endo/patterns").InterfaceGuard<{
|
|
20
|
-
getQuoteIssuer:
|
|
21
|
-
getTimerService:
|
|
22
|
-
quoteGiven:
|
|
23
|
-
quoteWanted:
|
|
24
|
-
makeQuoteNotifier:
|
|
25
|
-
quoteAtTime:
|
|
26
|
-
quoteWhenLT:
|
|
27
|
-
quoteWhenLTE:
|
|
28
|
-
quoteWhenGTE:
|
|
29
|
-
quoteWhenGT:
|
|
30
|
-
mutableQuoteWhenLT:
|
|
31
|
-
mutableQuoteWhenLTE:
|
|
32
|
-
mutableQuoteWhenGTE:
|
|
33
|
-
mutableQuoteWhenGT:
|
|
20
|
+
getQuoteIssuer: import("@endo/patterns").MethodGuard;
|
|
21
|
+
getTimerService: import("@endo/patterns").MethodGuard;
|
|
22
|
+
quoteGiven: import("@endo/patterns").MethodGuard;
|
|
23
|
+
quoteWanted: import("@endo/patterns").MethodGuard;
|
|
24
|
+
makeQuoteNotifier: import("@endo/patterns").MethodGuard;
|
|
25
|
+
quoteAtTime: import("@endo/patterns").MethodGuard;
|
|
26
|
+
quoteWhenLT: import("@endo/patterns").MethodGuard;
|
|
27
|
+
quoteWhenLTE: import("@endo/patterns").MethodGuard;
|
|
28
|
+
quoteWhenGTE: import("@endo/patterns").MethodGuard;
|
|
29
|
+
quoteWhenGT: import("@endo/patterns").MethodGuard;
|
|
30
|
+
mutableQuoteWhenLT: import("@endo/patterns").MethodGuard;
|
|
31
|
+
mutableQuoteWhenLTE: import("@endo/patterns").MethodGuard;
|
|
32
|
+
mutableQuoteWhenGTE: import("@endo/patterns").MethodGuard;
|
|
33
|
+
mutableQuoteWhenGT: import("@endo/patterns").MethodGuard;
|
|
34
34
|
}>;
|
|
35
35
|
export type CompareAmount = (amount: Amount, amountLimit: Amount) => boolean;
|
|
36
36
|
export type Trigger = (createInstantQuote: PriceQuoteCreate) => Promise<void>;
|
package/src/typeGuards.d.ts
CHANGED
|
@@ -36,67 +36,67 @@ export function isWaivedExitRule(exit: ExitRule): exit is WaivedExitRule;
|
|
|
36
36
|
export function isAfterDeadlineExitRule(exit: ExitRule): exit is AfterDeadlineExitRule;
|
|
37
37
|
export const InvitationElementShape: import("@endo/patterns").Matcher;
|
|
38
38
|
export const OfferHandlerI: import("@endo/patterns").InterfaceGuard<{
|
|
39
|
-
handle:
|
|
39
|
+
handle: import("@endo/patterns").MethodGuard;
|
|
40
40
|
}>;
|
|
41
41
|
export const SeatHandleAllocationsShape: import("@endo/patterns").Matcher;
|
|
42
42
|
export const ZoeMintShape: import("@endo/patterns").Matcher;
|
|
43
43
|
export const ZoeMintI: import("@endo/patterns").InterfaceGuard<{
|
|
44
|
-
getIssuerRecord:
|
|
45
|
-
mintAndEscrow:
|
|
46
|
-
withdrawAndBurn:
|
|
44
|
+
getIssuerRecord: import("@endo/patterns").MethodGuard;
|
|
45
|
+
mintAndEscrow: import("@endo/patterns").MethodGuard;
|
|
46
|
+
withdrawAndBurn: import("@endo/patterns").MethodGuard;
|
|
47
47
|
}>;
|
|
48
48
|
export const ZcfMintI: import("@endo/patterns").InterfaceGuard<{
|
|
49
|
-
getIssuerRecord:
|
|
50
|
-
mintGains:
|
|
51
|
-
burnLosses:
|
|
49
|
+
getIssuerRecord: import("@endo/patterns").MethodGuard;
|
|
50
|
+
mintGains: import("@endo/patterns").MethodGuard;
|
|
51
|
+
burnLosses: import("@endo/patterns").MethodGuard;
|
|
52
52
|
}>;
|
|
53
53
|
export const FeeMintAccessShape: import("@endo/patterns").Matcher;
|
|
54
54
|
export const ExitObjectI: import("@endo/patterns").InterfaceGuard<{
|
|
55
|
-
exit:
|
|
55
|
+
exit: import("@endo/patterns").MethodGuard;
|
|
56
56
|
}>;
|
|
57
57
|
export const ExitObjectShape: import("@endo/patterns").Matcher;
|
|
58
58
|
export const InstanceAdminShape: import("@endo/patterns").Matcher;
|
|
59
59
|
export const InstanceAdminI: import("@endo/patterns").InterfaceGuard<{
|
|
60
|
-
makeInvitation:
|
|
61
|
-
saveIssuer:
|
|
62
|
-
makeNoEscrowSeat:
|
|
63
|
-
exitAllSeats:
|
|
64
|
-
failAllSeats:
|
|
65
|
-
exitSeat:
|
|
66
|
-
failSeat:
|
|
67
|
-
makeZoeMint:
|
|
68
|
-
registerFeeMint:
|
|
69
|
-
replaceAllocations:
|
|
70
|
-
stopAcceptingOffers:
|
|
71
|
-
setOfferFilter:
|
|
72
|
-
getOfferFilter:
|
|
73
|
-
getExitSubscriber:
|
|
74
|
-
isBlocked:
|
|
60
|
+
makeInvitation: import("@endo/patterns").MethodGuard;
|
|
61
|
+
saveIssuer: import("@endo/patterns").MethodGuard;
|
|
62
|
+
makeNoEscrowSeat: import("@endo/patterns").MethodGuard;
|
|
63
|
+
exitAllSeats: import("@endo/patterns").MethodGuard;
|
|
64
|
+
failAllSeats: import("@endo/patterns").MethodGuard;
|
|
65
|
+
exitSeat: import("@endo/patterns").MethodGuard;
|
|
66
|
+
failSeat: import("@endo/patterns").MethodGuard;
|
|
67
|
+
makeZoeMint: import("@endo/patterns").MethodGuard;
|
|
68
|
+
registerFeeMint: import("@endo/patterns").MethodGuard;
|
|
69
|
+
replaceAllocations: import("@endo/patterns").MethodGuard;
|
|
70
|
+
stopAcceptingOffers: import("@endo/patterns").MethodGuard;
|
|
71
|
+
setOfferFilter: import("@endo/patterns").MethodGuard;
|
|
72
|
+
getOfferFilter: import("@endo/patterns").MethodGuard;
|
|
73
|
+
getExitSubscriber: import("@endo/patterns").MethodGuard;
|
|
74
|
+
isBlocked: import("@endo/patterns").MethodGuard;
|
|
75
75
|
}>;
|
|
76
76
|
export namespace InstanceStorageManagerIKit {
|
|
77
77
|
let instanceStorageManager: import("@endo/patterns").InterfaceGuard<{
|
|
78
|
-
getTerms:
|
|
79
|
-
getIssuers:
|
|
80
|
-
getBrands:
|
|
81
|
-
getInstallation:
|
|
82
|
-
getInvitationIssuer:
|
|
83
|
-
saveIssuer:
|
|
84
|
-
makeZoeMint:
|
|
85
|
-
registerFeeMint:
|
|
86
|
-
getInstanceRecord:
|
|
87
|
-
getIssuerRecords:
|
|
88
|
-
getWithdrawFacet:
|
|
89
|
-
initInstanceAdmin:
|
|
90
|
-
deleteInstanceAdmin:
|
|
91
|
-
makeInvitation:
|
|
92
|
-
getRoot:
|
|
93
|
-
getAdminNode:
|
|
78
|
+
getTerms: import("@endo/patterns").MethodGuard;
|
|
79
|
+
getIssuers: import("@endo/patterns").MethodGuard;
|
|
80
|
+
getBrands: import("@endo/patterns").MethodGuard;
|
|
81
|
+
getInstallation: import("@endo/patterns").MethodGuard;
|
|
82
|
+
getInvitationIssuer: import("@endo/patterns").MethodGuard;
|
|
83
|
+
saveIssuer: import("@endo/patterns").MethodGuard;
|
|
84
|
+
makeZoeMint: import("@endo/patterns").MethodGuard;
|
|
85
|
+
registerFeeMint: import("@endo/patterns").MethodGuard;
|
|
86
|
+
getInstanceRecord: import("@endo/patterns").MethodGuard;
|
|
87
|
+
getIssuerRecords: import("@endo/patterns").MethodGuard;
|
|
88
|
+
getWithdrawFacet: import("@endo/patterns").MethodGuard;
|
|
89
|
+
initInstanceAdmin: import("@endo/patterns").MethodGuard;
|
|
90
|
+
deleteInstanceAdmin: import("@endo/patterns").MethodGuard;
|
|
91
|
+
makeInvitation: import("@endo/patterns").MethodGuard;
|
|
92
|
+
getRoot: import("@endo/patterns").MethodGuard;
|
|
93
|
+
getAdminNode: import("@endo/patterns").MethodGuard;
|
|
94
94
|
}>;
|
|
95
95
|
let withdrawFacet: import("@endo/patterns").InterfaceGuard<{
|
|
96
|
-
withdrawPayments:
|
|
96
|
+
withdrawPayments: import("@endo/patterns").MethodGuard;
|
|
97
97
|
}>;
|
|
98
98
|
let helpers: import("@endo/patterns").InterfaceGuard<{
|
|
99
|
-
wrapIssuerKitWithZoeMint:
|
|
99
|
+
wrapIssuerKitWithZoeMint: import("@endo/patterns").MethodGuard;
|
|
100
100
|
}>;
|
|
101
101
|
}
|
|
102
102
|
export const BundleCapShape: import("@endo/patterns").Matcher;
|
|
@@ -104,61 +104,61 @@ export const BundleShape: import("@endo/patterns").Matcher;
|
|
|
104
104
|
export const UnwrappedInstallationShape: import("@endo/patterns").Matcher;
|
|
105
105
|
export namespace ZoeStorageManagerIKit {
|
|
106
106
|
let zoeServiceDataAccess: import("@endo/patterns").InterfaceGuard<{
|
|
107
|
-
getTerms:
|
|
108
|
-
getIssuers:
|
|
109
|
-
getBrands:
|
|
110
|
-
getInstallation:
|
|
111
|
-
getInvitationIssuer:
|
|
112
|
-
getBundleIDFromInstallation:
|
|
113
|
-
installBundle:
|
|
114
|
-
installBundleID:
|
|
115
|
-
getPublicFacet:
|
|
116
|
-
getOfferFilter:
|
|
117
|
-
getProposalShapeForInvitation:
|
|
107
|
+
getTerms: import("@endo/patterns").MethodGuard;
|
|
108
|
+
getIssuers: import("@endo/patterns").MethodGuard;
|
|
109
|
+
getBrands: import("@endo/patterns").MethodGuard;
|
|
110
|
+
getInstallation: import("@endo/patterns").MethodGuard;
|
|
111
|
+
getInvitationIssuer: import("@endo/patterns").MethodGuard;
|
|
112
|
+
getBundleIDFromInstallation: import("@endo/patterns").MethodGuard;
|
|
113
|
+
installBundle: import("@endo/patterns").MethodGuard;
|
|
114
|
+
installBundleID: import("@endo/patterns").MethodGuard;
|
|
115
|
+
getPublicFacet: import("@endo/patterns").MethodGuard;
|
|
116
|
+
getOfferFilter: import("@endo/patterns").MethodGuard;
|
|
117
|
+
getProposalShapeForInvitation: import("@endo/patterns").MethodGuard;
|
|
118
118
|
}>;
|
|
119
119
|
let makeOfferAccess: import("@endo/patterns").InterfaceGuard<{
|
|
120
|
-
getAssetKindByBrand:
|
|
121
|
-
getInstanceAdmin:
|
|
122
|
-
getProposalShapeForInvitation:
|
|
123
|
-
getInvitationIssuer:
|
|
124
|
-
depositPayments:
|
|
120
|
+
getAssetKindByBrand: import("@endo/patterns").MethodGuard;
|
|
121
|
+
getInstanceAdmin: import("@endo/patterns").MethodGuard;
|
|
122
|
+
getProposalShapeForInvitation: import("@endo/patterns").MethodGuard;
|
|
123
|
+
getInvitationIssuer: import("@endo/patterns").MethodGuard;
|
|
124
|
+
depositPayments: import("@endo/patterns").MethodGuard;
|
|
125
125
|
}>;
|
|
126
126
|
let startInstanceAccess: import("@endo/patterns").InterfaceGuard<{
|
|
127
|
-
makeZoeInstanceStorageManager:
|
|
128
|
-
unwrapInstallation:
|
|
127
|
+
makeZoeInstanceStorageManager: import("@endo/patterns").MethodGuard;
|
|
128
|
+
unwrapInstallation: import("@endo/patterns").MethodGuard;
|
|
129
129
|
}>;
|
|
130
130
|
let invitationIssuerAccess: import("@endo/patterns").InterfaceGuard<{
|
|
131
|
-
getInvitationIssuer:
|
|
131
|
+
getInvitationIssuer: import("@endo/patterns").MethodGuard;
|
|
132
132
|
}>;
|
|
133
133
|
}
|
|
134
134
|
export const ZoeServiceI: import("@endo/patterns").InterfaceGuard<{
|
|
135
|
-
install:
|
|
136
|
-
installBundleID:
|
|
137
|
-
startInstance:
|
|
138
|
-
offer:
|
|
139
|
-
getOfferFilter:
|
|
140
|
-
getInvitationIssuer:
|
|
141
|
-
getFeeIssuer:
|
|
142
|
-
getBrands:
|
|
143
|
-
getIssuers:
|
|
144
|
-
getPublicFacet:
|
|
145
|
-
getTerms:
|
|
146
|
-
getInstallationForInstance:
|
|
147
|
-
getBundleIDFromInstallation:
|
|
148
|
-
getInstallation:
|
|
149
|
-
getInstance:
|
|
150
|
-
getConfiguration:
|
|
151
|
-
getInvitationDetails:
|
|
152
|
-
getProposalShapeForInvitation:
|
|
135
|
+
install: import("@endo/patterns").MethodGuard;
|
|
136
|
+
installBundleID: import("@endo/patterns").MethodGuard;
|
|
137
|
+
startInstance: import("@endo/patterns").MethodGuard;
|
|
138
|
+
offer: import("@endo/patterns").MethodGuard;
|
|
139
|
+
getOfferFilter: import("@endo/patterns").MethodGuard;
|
|
140
|
+
getInvitationIssuer: import("@endo/patterns").MethodGuard;
|
|
141
|
+
getFeeIssuer: import("@endo/patterns").MethodGuard;
|
|
142
|
+
getBrands: import("@endo/patterns").MethodGuard;
|
|
143
|
+
getIssuers: import("@endo/patterns").MethodGuard;
|
|
144
|
+
getPublicFacet: import("@endo/patterns").MethodGuard;
|
|
145
|
+
getTerms: import("@endo/patterns").MethodGuard;
|
|
146
|
+
getInstallationForInstance: import("@endo/patterns").MethodGuard;
|
|
147
|
+
getBundleIDFromInstallation: import("@endo/patterns").MethodGuard;
|
|
148
|
+
getInstallation: import("@endo/patterns").MethodGuard;
|
|
149
|
+
getInstance: import("@endo/patterns").MethodGuard;
|
|
150
|
+
getConfiguration: import("@endo/patterns").MethodGuard;
|
|
151
|
+
getInvitationDetails: import("@endo/patterns").MethodGuard;
|
|
152
|
+
getProposalShapeForInvitation: import("@endo/patterns").MethodGuard;
|
|
153
153
|
}>;
|
|
154
154
|
export const AdminFacetI: import("@endo/patterns").InterfaceGuard<{
|
|
155
|
-
getVatShutdownPromise:
|
|
156
|
-
restartContract:
|
|
157
|
-
upgradeContract:
|
|
155
|
+
getVatShutdownPromise: import("@endo/patterns").MethodGuard;
|
|
156
|
+
restartContract: import("@endo/patterns").MethodGuard;
|
|
157
|
+
upgradeContract: import("@endo/patterns").MethodGuard;
|
|
158
158
|
}>;
|
|
159
159
|
export const SeatDataShape: import("@endo/patterns").Matcher;
|
|
160
160
|
export const HandleOfferI: import("@endo/patterns").InterfaceGuard<{
|
|
161
|
-
handleOffer:
|
|
161
|
+
handleOffer: import("@endo/patterns").MethodGuard;
|
|
162
162
|
}>;
|
|
163
163
|
export namespace PriceQuoteShape {
|
|
164
164
|
export { AmountShape as quoteAmount };
|