@agoric/zoe 0.26.3-dev-22cbeb1.0 → 0.26.3-dev-284e2db.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-contractFacet-js-meta.json +334 -322
- package/bundles/bundle-contractFacet.js +1 -1
- package/package.json +20 -20
- package/src/contractSupport/priceAuthority.d.ts +16 -1
- package/src/contractSupport/priceAuthority.d.ts.map +1 -1
- package/src/typeGuards.d.ts +113 -16
- package/src/typeGuards.d.ts.map +1 -1
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-284e2db.0+284e2db",
|
|
4
4
|
"description": "Zoe: the Smart Contract Framework for Offer Enforcement",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/zoeService/zoe.js",
|
|
@@ -43,27 +43,27 @@
|
|
|
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-vat": "0.32.3-dev-
|
|
52
|
-
"@agoric/time": "0.3.3-dev-
|
|
53
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
54
|
-
"@endo/bundle-source": "^2.5.
|
|
55
|
-
"@endo/captp": "^3.1.
|
|
56
|
-
"@endo/eventual-send": "^0.17.
|
|
57
|
-
"@endo/far": "^0.2.
|
|
58
|
-
"@endo/import-bundle": "^0.3.
|
|
59
|
-
"@endo/marshal": "^0.8.
|
|
60
|
-
"@endo/nat": "^4.1.
|
|
61
|
-
"@endo/patterns": "^0.2.
|
|
62
|
-
"@endo/promise-kit": "^0.2.
|
|
46
|
+
"@agoric/assert": "0.6.1-dev-284e2db.0+284e2db",
|
|
47
|
+
"@agoric/ertp": "0.16.3-dev-284e2db.0+284e2db",
|
|
48
|
+
"@agoric/internal": "0.3.3-dev-284e2db.0+284e2db",
|
|
49
|
+
"@agoric/notifier": "0.6.3-dev-284e2db.0+284e2db",
|
|
50
|
+
"@agoric/store": "0.9.3-dev-284e2db.0+284e2db",
|
|
51
|
+
"@agoric/swingset-vat": "0.32.3-dev-284e2db.0+284e2db",
|
|
52
|
+
"@agoric/time": "0.3.3-dev-284e2db.0+284e2db",
|
|
53
|
+
"@agoric/vat-data": "0.5.3-dev-284e2db.0+284e2db",
|
|
54
|
+
"@endo/bundle-source": "^2.5.2",
|
|
55
|
+
"@endo/captp": "^3.1.2",
|
|
56
|
+
"@endo/eventual-send": "^0.17.3",
|
|
57
|
+
"@endo/far": "^0.2.19",
|
|
58
|
+
"@endo/import-bundle": "^0.3.5",
|
|
59
|
+
"@endo/marshal": "^0.8.6",
|
|
60
|
+
"@endo/nat": "^4.1.28",
|
|
61
|
+
"@endo/patterns": "^0.2.3",
|
|
62
|
+
"@endo/promise-kit": "^0.2.57",
|
|
63
63
|
"yargs-parser": "^21.1.1"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@endo/init": "^0.5.
|
|
66
|
+
"@endo/init": "^0.5.57",
|
|
67
67
|
"ava": "^5.3.0",
|
|
68
68
|
"c8": "^7.13.0",
|
|
69
69
|
"import-meta-resolve": "^2.2.1",
|
|
@@ -127,5 +127,5 @@
|
|
|
127
127
|
"publishConfig": {
|
|
128
128
|
"access": "public"
|
|
129
129
|
},
|
|
130
|
-
"gitHead": "
|
|
130
|
+
"gitHead": "284e2db5155f3f0668969af4c4fec6836a5ba85b"
|
|
131
131
|
}
|
|
@@ -16,7 +16,22 @@ export function makeOnewayPriceAuthorityKit(opts: {
|
|
|
16
16
|
actualBrandIn: Brand<'nat'>;
|
|
17
17
|
actualBrandOut: Brand<'nat'>;
|
|
18
18
|
}): PriceAuthorityKit;
|
|
19
|
-
export const PriceAuthorityI: import("@endo/patterns").InterfaceGuard
|
|
19
|
+
export const PriceAuthorityI: import("@endo/patterns").InterfaceGuard<{
|
|
20
|
+
getQuoteIssuer: any;
|
|
21
|
+
getTimerService: any;
|
|
22
|
+
quoteGiven: any;
|
|
23
|
+
quoteWanted: any;
|
|
24
|
+
makeQuoteNotifier: any;
|
|
25
|
+
quoteAtTime: any;
|
|
26
|
+
quoteWhenLT: any;
|
|
27
|
+
quoteWhenLTE: any;
|
|
28
|
+
quoteWhenGTE: any;
|
|
29
|
+
quoteWhenGT: any;
|
|
30
|
+
mutableQuoteWhenLT: any;
|
|
31
|
+
mutableQuoteWhenLTE: any;
|
|
32
|
+
mutableQuoteWhenGTE: any;
|
|
33
|
+
mutableQuoteWhenGT: any;
|
|
34
|
+
}>;
|
|
20
35
|
export type CompareAmount = (amount: Amount, amountLimit: Amount) => boolean;
|
|
21
36
|
export type Trigger = (createInstantQuote: PriceQuoteCreate) => Promise<void>;
|
|
22
37
|
//# sourceMappingURL=priceAuthority.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"priceAuthority.d.ts","sourceRoot":"","sources":["priceAuthority.js"],"names":[],"mappings":"AA6DA;;;;;;;;;GASG;AACH;IAR+B,WAAW,EAA/B,OAAO,KAAK,CAAC;IACiB,QAAQ,EAAtC,KAAK,SAAS,OAAO,CAAC,CAAC;IACmC,KAAK,EAA/D,KAAK,OAAO,wBAAwB,EAAE,YAAY,CAAC;IAC5B,WAAW,EAAlC,gBAAgB;IACG,aAAa,EAAhC,MAAM,KAAK,CAAC;IACO,cAAc,EAAjC,MAAM,KAAK,CAAC;IACV,iBAAiB,CA8S7B;AAzUD
|
|
1
|
+
{"version":3,"file":"priceAuthority.d.ts","sourceRoot":"","sources":["priceAuthority.js"],"names":[],"mappings":"AA6DA;;;;;;;;;GASG;AACH;IAR+B,WAAW,EAA/B,OAAO,KAAK,CAAC;IACiB,QAAQ,EAAtC,KAAK,SAAS,OAAO,CAAC,CAAC;IACmC,KAAK,EAA/D,KAAK,OAAO,wBAAwB,EAAE,YAAY,CAAC;IAC5B,WAAW,EAAlC,gBAAgB;IACG,aAAa,EAAhC,MAAM,KAAK,CAAC;IACO,cAAc,EAAjC,MAAM,KAAK,CAAC;IACV,iBAAiB,CA8S7B;AAzUD;;;;;;;;;;;;;;;GAiBG;qCA3CQ,MAAM,eACN,MAAM,KACJ,OAAO;2CAiBT,gBAAgB,KACd,QAAQ,IAAI,CAAC"}
|
package/src/typeGuards.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export namespace InstanceRecordShape {
|
|
|
20
20
|
export { InstanceHandleShape as instance };
|
|
21
21
|
export let terms: import("@endo/patterns").Matcher;
|
|
22
22
|
}
|
|
23
|
-
export const HandleI: import("@endo/patterns").InterfaceGuard
|
|
23
|
+
export const HandleI: import("@endo/patterns").InterfaceGuard<{}>;
|
|
24
24
|
export function makeHandleShape(name: any): import("@endo/patterns").Matcher;
|
|
25
25
|
export const TimerShape: import("@endo/patterns").Matcher;
|
|
26
26
|
export namespace FullProposalShape {
|
|
@@ -34,34 +34,131 @@ export function isOnDemandExitRule(exit: any): boolean;
|
|
|
34
34
|
export function isWaivedExitRule(exit: ExitRule): exit is WaivedExitRule;
|
|
35
35
|
export function isAfterDeadlineExitRule(exit: ExitRule): exit is AfterDeadlineExitRule;
|
|
36
36
|
export const InvitationElementShape: import("@endo/patterns").Matcher;
|
|
37
|
-
export const OfferHandlerI: import("@endo/patterns").InterfaceGuard
|
|
37
|
+
export const OfferHandlerI: import("@endo/patterns").InterfaceGuard<{
|
|
38
|
+
handle: any;
|
|
39
|
+
}>;
|
|
38
40
|
export const SeatHandleAllocationsShape: import("@endo/patterns").Matcher;
|
|
39
41
|
export const ZoeMintShape: import("@endo/patterns").Matcher;
|
|
40
|
-
export const ZoeMintI: import("@endo/patterns").InterfaceGuard
|
|
41
|
-
|
|
42
|
+
export const ZoeMintI: import("@endo/patterns").InterfaceGuard<{
|
|
43
|
+
getIssuerRecord: any;
|
|
44
|
+
mintAndEscrow: any;
|
|
45
|
+
withdrawAndBurn: any;
|
|
46
|
+
}>;
|
|
47
|
+
export const ZcfMintI: import("@endo/patterns").InterfaceGuard<{
|
|
48
|
+
getIssuerRecord: any;
|
|
49
|
+
mintGains: any;
|
|
50
|
+
burnLosses: any;
|
|
51
|
+
}>;
|
|
42
52
|
export const FeeMintAccessShape: import("@endo/patterns").Matcher;
|
|
43
|
-
export const ExitObjectI: import("@endo/patterns").InterfaceGuard
|
|
53
|
+
export const ExitObjectI: import("@endo/patterns").InterfaceGuard<{
|
|
54
|
+
exit: any;
|
|
55
|
+
}>;
|
|
44
56
|
export const ExitObjectShape: import("@endo/patterns").Matcher;
|
|
45
57
|
export const InstanceAdminShape: import("@endo/patterns").Matcher;
|
|
46
|
-
export const InstanceAdminI: import("@endo/patterns").InterfaceGuard
|
|
58
|
+
export const InstanceAdminI: import("@endo/patterns").InterfaceGuard<{
|
|
59
|
+
makeInvitation: any;
|
|
60
|
+
saveIssuer: any;
|
|
61
|
+
makeNoEscrowSeat: any;
|
|
62
|
+
exitAllSeats: any;
|
|
63
|
+
failAllSeats: any;
|
|
64
|
+
exitSeat: any;
|
|
65
|
+
failSeat: any;
|
|
66
|
+
makeZoeMint: any;
|
|
67
|
+
registerFeeMint: any;
|
|
68
|
+
replaceAllocations: any;
|
|
69
|
+
stopAcceptingOffers: any;
|
|
70
|
+
setOfferFilter: any;
|
|
71
|
+
getOfferFilter: any;
|
|
72
|
+
getExitSubscriber: any;
|
|
73
|
+
isBlocked: any;
|
|
74
|
+
}>;
|
|
47
75
|
export namespace InstanceStorageManagerIKit {
|
|
48
|
-
let instanceStorageManager: import("@endo/patterns").InterfaceGuard
|
|
49
|
-
|
|
50
|
-
|
|
76
|
+
let instanceStorageManager: import("@endo/patterns").InterfaceGuard<{
|
|
77
|
+
getTerms: any;
|
|
78
|
+
getIssuers: any;
|
|
79
|
+
getBrands: any;
|
|
80
|
+
getInstallation: any;
|
|
81
|
+
getInvitationIssuer: any;
|
|
82
|
+
saveIssuer: any;
|
|
83
|
+
makeZoeMint: any;
|
|
84
|
+
registerFeeMint: any;
|
|
85
|
+
getInstanceRecord: any;
|
|
86
|
+
getIssuerRecords: any;
|
|
87
|
+
getWithdrawFacet: any;
|
|
88
|
+
initInstanceAdmin: any;
|
|
89
|
+
deleteInstanceAdmin: any;
|
|
90
|
+
makeInvitation: any;
|
|
91
|
+
getRoot: any;
|
|
92
|
+
getAdminNode: any;
|
|
93
|
+
}>;
|
|
94
|
+
let withdrawFacet: import("@endo/patterns").InterfaceGuard<{
|
|
95
|
+
withdrawPayments: any;
|
|
96
|
+
}>;
|
|
97
|
+
let helpers: import("@endo/patterns").InterfaceGuard<{
|
|
98
|
+
wrapIssuerKitWithZoeMint: any;
|
|
99
|
+
}>;
|
|
51
100
|
}
|
|
52
101
|
export const BundleCapShape: import("@endo/patterns").Matcher;
|
|
53
102
|
export const BundleShape: import("@endo/patterns").Matcher;
|
|
54
103
|
export const UnwrappedInstallationShape: import("@endo/patterns").Matcher;
|
|
55
104
|
export namespace ZoeStorageManagerIKit {
|
|
56
|
-
let zoeServiceDataAccess: import("@endo/patterns").InterfaceGuard
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
105
|
+
let zoeServiceDataAccess: import("@endo/patterns").InterfaceGuard<{
|
|
106
|
+
getTerms: any;
|
|
107
|
+
getIssuers: any;
|
|
108
|
+
getBrands: any;
|
|
109
|
+
getInstallation: any;
|
|
110
|
+
getInvitationIssuer: any;
|
|
111
|
+
getBundleIDFromInstallation: any;
|
|
112
|
+
installBundle: any;
|
|
113
|
+
installBundleID: any;
|
|
114
|
+
getPublicFacet: any;
|
|
115
|
+
getOfferFilter: any;
|
|
116
|
+
getProposalShapeForInvitation: any;
|
|
117
|
+
}>;
|
|
118
|
+
let makeOfferAccess: import("@endo/patterns").InterfaceGuard<{
|
|
119
|
+
getAssetKindByBrand: any;
|
|
120
|
+
getInstanceAdmin: any;
|
|
121
|
+
getProposalShapeForInvitation: any;
|
|
122
|
+
getInvitationIssuer: any;
|
|
123
|
+
depositPayments: any;
|
|
124
|
+
}>;
|
|
125
|
+
let startInstanceAccess: import("@endo/patterns").InterfaceGuard<{
|
|
126
|
+
makeZoeInstanceStorageManager: any;
|
|
127
|
+
unwrapInstallation: any;
|
|
128
|
+
}>;
|
|
129
|
+
let invitationIssuerAccess: import("@endo/patterns").InterfaceGuard<{
|
|
130
|
+
getInvitationIssuer: any;
|
|
131
|
+
}>;
|
|
60
132
|
}
|
|
61
|
-
export const ZoeServiceI: import("@endo/patterns").InterfaceGuard
|
|
62
|
-
|
|
133
|
+
export const ZoeServiceI: import("@endo/patterns").InterfaceGuard<{
|
|
134
|
+
install: any;
|
|
135
|
+
installBundleID: any;
|
|
136
|
+
startInstance: any;
|
|
137
|
+
offer: any;
|
|
138
|
+
getOfferFilter: any;
|
|
139
|
+
getInvitationIssuer: any;
|
|
140
|
+
getFeeIssuer: any;
|
|
141
|
+
getBrands: any;
|
|
142
|
+
getIssuers: any;
|
|
143
|
+
getPublicFacet: any;
|
|
144
|
+
getTerms: any;
|
|
145
|
+
getInstallationForInstance: any;
|
|
146
|
+
getBundleIDFromInstallation: any;
|
|
147
|
+
getInstallation: any;
|
|
148
|
+
getInstance: any;
|
|
149
|
+
getConfiguration: any;
|
|
150
|
+
getInvitationDetails: any;
|
|
151
|
+
getProposalShapeForInvitation: any;
|
|
152
|
+
}>;
|
|
153
|
+
export const AdminFacetI: import("@endo/patterns").InterfaceGuard<{
|
|
154
|
+
getVatShutdownPromise: any;
|
|
155
|
+
restartContract: any;
|
|
156
|
+
upgradeContract: any;
|
|
157
|
+
}>;
|
|
63
158
|
export const SeatDataShape: import("@endo/patterns").Matcher;
|
|
64
|
-
export const HandleOfferI: import("@endo/patterns").InterfaceGuard
|
|
159
|
+
export const HandleOfferI: import("@endo/patterns").InterfaceGuard<{
|
|
160
|
+
handleOffer: any;
|
|
161
|
+
}>;
|
|
65
162
|
export namespace PriceQuoteShape {
|
|
66
163
|
export { AmountShape as quoteAmount };
|
|
67
164
|
export let quotePayment: any;
|
package/src/typeGuards.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typeGuards.d.ts","sourceRoot":"","sources":["typeGuards.js"],"names":[],"mappings":"AAgBA,4DAAuC;AAEvC,qEAAqE;AACrE,+DAAyD;AACzD,mEAAiE;AACjE,iEAA6D;AAC7D,yDAA6C;AAE7C,wEAA8E;AAC9E,+EAGE;AACF,0EAGE;AACF,wEAA8E;AAC9E,yEAGE;AACF,uEAA4E;AAE5E,iEAOE;;;;;;;;;;AAaF,
|
|
1
|
+
{"version":3,"file":"typeGuards.d.ts","sourceRoot":"","sources":["typeGuards.js"],"names":[],"mappings":"AAgBA,4DAAuC;AAEvC,qEAAqE;AACrE,+DAAyD;AACzD,mEAAiE;AACjE,iEAA6D;AAC7D,yDAA6C;AAE7C,wEAA8E;AAC9E,+EAGE;AACF,0EAGE;AACF,wEAA8E;AAC9E,yEAGE;AACF,uEAA4E;AAE5E,iEAOE;;;;;;;;;;AAaF,kEAAiD;AAE1C,6EAA4D;AACnE,0DAAmD;;;;;;AA0BnD,2BAA2B;AAC3B,6DAAsE;AAE/D,uDAGN;AAMM,uCAHI,QAAQ,0BAMlB;AAMM,8CAHI,QAAQ,iCAMlB;AAED,sEAKG;AAEH;;GAEG;AAEH,0EAKE;AAEF,4DAAmD;AACnD;;;;GAIG;AAEH;;;;GASG;AAEH,kEAA+D;AAE/D;;GAEG;AAEH,+DAAsD;AACtD,kEAA+D;AAC/D;;;;;;;;;;;;;;;;GAiCG;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDH,8DAAuD;AACvD,2DAGE;AAEF,0EAUE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2DF;;;;;;;;;;;;;;;;;;;GA6CG;AAEH;;;;GAIG;AAEH,6DASE;AAEF;;GAKG;;;;;4BAvXI,cAAc"}
|