@agoric/inter-protocol 0.16.2-dev-75b00b2.0 → 0.16.2-dev-bef63e5.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 +25 -25
- package/src/auction/auctionBook.d.ts +2 -2
- package/src/auction/auctionBook.d.ts.map +1 -1
- package/src/auction/offerBook.d.ts +2 -29
- package/src/auction/offerBook.d.ts.map +1 -1
- package/src/auction/params.d.ts +2 -2
- package/src/clientSupport.d.ts +1 -1
- package/src/clientSupport.d.ts.map +1 -1
- package/src/clientSupport.js +1 -1
- package/src/econCommitteeCharter.d.ts +1 -9
- package/src/econCommitteeCharter.d.ts.map +1 -1
- package/src/price/fluxAggregatorContract.d.ts +5 -50
- package/src/price/fluxAggregatorContract.d.ts.map +1 -1
- package/src/price/fluxAggregatorKit.d.ts +2 -176
- package/src/price/fluxAggregatorKit.d.ts.map +1 -1
- package/src/price/priceOracleKit.d.ts +1 -15
- package/src/price/priceOracleKit.d.ts.map +1 -1
- package/src/price/roundsManager.d.ts +1 -129
- package/src/price/roundsManager.d.ts.map +1 -1
- package/src/price/roundsManager.js +20 -14
- package/src/proposals/committee-proposal.d.ts +4 -4
- package/src/proposals/committee-proposal.d.ts.map +1 -1
- package/src/proposals/committee-proposal.js +5 -5
- package/src/proposals/econ-behaviors.d.ts +11 -11
- package/src/proposals/econ-behaviors.d.ts.map +1 -1
- package/src/proposals/econ-behaviors.js +1 -1
- package/src/proposals/price-feed-proposal.d.ts +1 -1
- package/src/proposals/price-feed-proposal.d.ts.map +1 -1
- package/src/proposals/price-feed-proposal.js +1 -1
- package/src/proposals/startEconCommittee.d.ts +1 -1
- package/src/proposals/startEconCommittee.d.ts.map +1 -1
- package/src/proposals/startEconCommittee.js +1 -1
- package/src/provisionPool.d.ts +60 -64
- package/src/provisionPool.d.ts.map +1 -1
- package/src/provisionPool.js +1 -1
- package/src/provisionPoolKit.d.ts +133 -158
- package/src/provisionPoolKit.d.ts.map +1 -1
- package/src/provisionPoolKit.js +2 -2
- package/src/psm/psm.d.ts +4 -59
- package/src/psm/psm.d.ts.map +1 -1
- package/src/psm/types.d.ts +1 -1
- package/src/psm/types.d.ts.map +1 -1
- package/src/psm/types.js +1 -1
- package/src/reserve/assetReserve.d.ts +4 -4
- package/src/reserve/assetReserveKit.d.ts +1 -46
- package/src/reserve/assetReserveKit.d.ts.map +1 -1
- package/src/vaultFactory/orderedVaultStore.d.ts +20 -20
- package/src/vaultFactory/orderedVaultStore.d.ts.map +1 -1
- package/src/vaultFactory/orderedVaultStore.js +2 -2
- package/src/vaultFactory/params.d.ts +6 -6
- package/src/vaultFactory/params.d.ts.map +1 -1
- package/src/vaultFactory/params.js +1 -1
- package/src/vaultFactory/prioritizedVaults.d.ts +55 -55
- package/src/vaultFactory/prioritizedVaults.d.ts.map +1 -1
- package/src/vaultFactory/prioritizedVaults.js +1 -1
- package/src/vaultFactory/types.d.ts +5 -5
- package/src/vaultFactory/types.d.ts.map +1 -1
- package/src/vaultFactory/types.js +5 -5
- package/src/vaultFactory/vault.d.ts +7 -212
- package/src/vaultFactory/vault.d.ts.map +1 -1
- package/src/vaultFactory/vault.js +1 -1
- package/src/vaultFactory/vaultDirector.d.ts +23 -272
- package/src/vaultFactory/vaultDirector.d.ts.map +1 -1
- package/src/vaultFactory/vaultDirector.js +1 -1
- package/src/vaultFactory/vaultFactory.d.ts +18 -18
- package/src/vaultFactory/vaultFactory.d.ts.map +1 -1
- package/src/vaultFactory/vaultFactory.js +1 -1
- package/src/vaultFactory/vaultHolder.d.ts +12 -87
- package/src/vaultFactory/vaultHolder.d.ts.map +1 -1
- package/src/vaultFactory/vaultKit.d.ts +4 -4
- package/src/vaultFactory/vaultManager.d.ts +12 -211
- package/src/vaultFactory/vaultManager.d.ts.map +1 -1
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-bef63e5.0+bef63e5",
|
|
4
4
|
"description": "Core cryptoeconomy contracts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -31,32 +31,32 @@
|
|
|
31
31
|
},
|
|
32
32
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@agoric/assert": "0.6.1-dev-
|
|
35
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
36
|
-
"@agoric/governance": "0.10.4-dev-
|
|
37
|
-
"@agoric/internal": "0.3.3-dev-
|
|
38
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
39
|
-
"@agoric/store": "0.9.3-dev-
|
|
40
|
-
"@agoric/time": "0.3.3-dev-
|
|
41
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
42
|
-
"@agoric/vats": "0.15.2-dev-
|
|
43
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
44
|
-
"@endo/captp": "^
|
|
45
|
-
"@endo/eventual-send": "^0.
|
|
46
|
-
"@endo/far": "^0.
|
|
47
|
-
"@endo/marshal": "^0.
|
|
48
|
-
"@endo/nat": "^
|
|
49
|
-
"@endo/promise-kit": "^0.
|
|
34
|
+
"@agoric/assert": "0.6.1-dev-bef63e5.0+bef63e5",
|
|
35
|
+
"@agoric/ertp": "0.16.3-dev-bef63e5.0+bef63e5",
|
|
36
|
+
"@agoric/governance": "0.10.4-dev-bef63e5.0+bef63e5",
|
|
37
|
+
"@agoric/internal": "0.3.3-dev-bef63e5.0+bef63e5",
|
|
38
|
+
"@agoric/notifier": "0.6.3-dev-bef63e5.0+bef63e5",
|
|
39
|
+
"@agoric/store": "0.9.3-dev-bef63e5.0+bef63e5",
|
|
40
|
+
"@agoric/time": "0.3.3-dev-bef63e5.0+bef63e5",
|
|
41
|
+
"@agoric/vat-data": "0.5.3-dev-bef63e5.0+bef63e5",
|
|
42
|
+
"@agoric/vats": "0.15.2-dev-bef63e5.0+bef63e5",
|
|
43
|
+
"@agoric/zoe": "0.26.3-dev-bef63e5.0+bef63e5",
|
|
44
|
+
"@endo/captp": "^4.0.1",
|
|
45
|
+
"@endo/eventual-send": "^1.0.1",
|
|
46
|
+
"@endo/far": "^1.0.1",
|
|
47
|
+
"@endo/marshal": "^1.0.1",
|
|
48
|
+
"@endo/nat": "^5.0.1",
|
|
49
|
+
"@endo/promise-kit": "^1.0.1",
|
|
50
50
|
"jessie.js": "^0.3.2"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@agoric/smart-wallet": "0.5.4-dev-
|
|
54
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
55
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
56
|
-
"@agoric/zone": "0.2.3-dev-
|
|
57
|
-
"@endo/bundle-source": "^
|
|
58
|
-
"@endo/init": "^0.
|
|
59
|
-
"@endo/promise-kit": "^0.
|
|
53
|
+
"@agoric/smart-wallet": "0.5.4-dev-bef63e5.0+bef63e5",
|
|
54
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-bef63e5.0+bef63e5",
|
|
55
|
+
"@agoric/swingset-vat": "0.32.3-dev-bef63e5.0+bef63e5",
|
|
56
|
+
"@agoric/zone": "0.2.3-dev-bef63e5.0+bef63e5",
|
|
57
|
+
"@endo/bundle-source": "^3.0.1",
|
|
58
|
+
"@endo/init": "^1.0.1",
|
|
59
|
+
"@endo/promise-kit": "^1.0.1",
|
|
60
60
|
"@fast-check/ava": "^1.1.5",
|
|
61
61
|
"ava": "^5.3.0",
|
|
62
62
|
"c8": "^7.13.0",
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
"typeCoverage": {
|
|
86
86
|
"atLeast": 93.45
|
|
87
87
|
},
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "bef63e5f0c6ad6a553b3eef69d722c060995a247"
|
|
89
89
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export function makeOfferSpecShape(bidBrand: Brand<'nat'>, collateralBrand: Brand<'nat'>): any;
|
|
2
|
-
export function prepareAuctionBook(baggage: Baggage, zcf: ZCF, makeRecorderKit: import('@agoric/zoe/src/contractSupport/recorder.js').MakeRecorderKit): (bidBrand: Brand<"nat">, collateralBrand: Brand<"nat">, pAuthority: PriceAuthority, node: StorageNode) => {
|
|
2
|
+
export function prepareAuctionBook(baggage: Baggage, zcf: ZCF, makeRecorderKit: import('@agoric/zoe/src/contractSupport/recorder.js').MakeRecorderKit): (bidBrand: Brand<"nat">, collateralBrand: Brand<"nat">, pAuthority: PriceAuthority, node: StorageNode) => import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
3
3
|
/**
|
|
4
4
|
* @param {Amount<'nat'>} assetAmount
|
|
5
5
|
* @param {ZCFSeat} sourceSeat
|
|
@@ -32,7 +32,7 @@ export function prepareAuctionBook(baggage: Baggage, zcf: ZCF, makeRecorderKit:
|
|
|
32
32
|
getPublicTopics(): {
|
|
33
33
|
bookData: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<BookDataNotification>;
|
|
34
34
|
};
|
|
35
|
-
}
|
|
35
|
+
}>;
|
|
36
36
|
export type OfferSpec = {
|
|
37
37
|
maxBuy: Amount<'nat'>;
|
|
38
38
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auctionBook.d.ts","sourceRoot":"","sources":["auctionBook.js"],"names":[],"mappings":"AAyEO,6CAHI,MAAM,KAAK,CAAC,mBACZ,MAAM,KAAK,CAAC,OAiBtB;AA0BM,4CAJI,OAAO,OACP,GAAG,mBACH,OAAO,6CAA6C,EAAE,eAAe;IAwWxE;;;;;;;;OAQG;2BAPQ,OAAO,KAAK,CAAC,cACb,OAAO;IA6ElB,yCAAyC;+BAAlB,KAAK,GAAK,IAAI;;;;;IAsGrC;;;;OAIG;wBAHQ,SAAS,QACT,OAAO,aACP,OAAO;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"auctionBook.d.ts","sourceRoot":"","sources":["auctionBook.js"],"names":[],"mappings":"AAyEO,6CAHI,MAAM,KAAK,CAAC,mBACZ,MAAM,KAAK,CAAC,OAiBtB;AA0BM,4CAJI,OAAO,OACP,GAAG,mBACH,OAAO,6CAA6C,EAAE,eAAe;IAwWxE;;;;;;;;OAQG;2BAPQ,OAAO,KAAK,CAAC,cACb,OAAO;IA6ElB,yCAAyC;+BAAlB,KAAK,GAAK,IAAI;;;;;IAsGrC;;;;OAIG;wBAHQ,SAAS,QACT,OAAO,aACP,OAAO;;;;;;;;;;;GAsHzB;wBA9sBY;IACZ,MAAU,EAAE,OAAO,KAAK,CAAC,CAAC;CACvB,GAAG;IACN,YAAgB,CAAC,EAAE,OAAO,CAAC;CACxB,GAAG,CACE;IACR,UAAoB,EAAE,KAAK,CAAC;CACnB,GACD;IACR,eAAyB,EAAE,KAAK,CAAC;CACxB,CACJ;sBAuBQ,OAAO,kBAAkB,EAAE,OAAO;;;;;gBAIlC,KAAK,GAAG,IAAI;;;;;uBACZ,KAAK,GAAG,IAAI;;;;;uBAEZ,OAAO,KAAK,CAAC,GAAG,IAAI;;;;;2BAEpB,OAAO,KAAK,CAAC,GAAG,IAAI;;;;;oBAEpB,OAAO,KAAK,CAAC,GAAG,SAAS;;;;;qBAEzB,OAAO,KAAK,CAAC;;;;;yBAEb,OAAO,KAAK,CAAC,GAAG,IAAI;;0BAgqBpB,WAAW,WAAW,yBAAyB,CAAC,CAAC"}
|
|
@@ -1,18 +1,4 @@
|
|
|
1
|
-
export function prepareScaledBidBook(baggage: Baggage): (bidScalingPattern: any, collateralBrand: Brand<AssetKind>) => {
|
|
2
|
-
/**
|
|
3
|
-
* @param {ZCFSeat} seat
|
|
4
|
-
* @param {Ratio} bidScaling
|
|
5
|
-
* @param {Amount<'nat'>} wanted
|
|
6
|
-
* @param {boolean} exitAfterBuy
|
|
7
|
-
*/
|
|
8
|
-
add(seat: ZCFSeat, bidScaling: Ratio, wanted: Amount<'nat'>, exitAfterBuy: boolean): string;
|
|
9
|
-
/** @param {Ratio} bidScaling */
|
|
10
|
-
offersAbove(bidScaling: Ratio): [string, BidderRecord][];
|
|
11
|
-
hasOrders(): boolean;
|
|
12
|
-
delete(key: any): void;
|
|
13
|
-
updateReceived(key: any, sold: any): void;
|
|
14
|
-
exitAllSeats(): void;
|
|
15
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
1
|
+
export function prepareScaledBidBook(baggage: Baggage): (bidScalingPattern: any, collateralBrand: Brand<AssetKind>) => import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
16
2
|
/**
|
|
17
3
|
* @param {ZCFSeat} seat
|
|
18
4
|
* @param {Ratio} bidScaling
|
|
@@ -27,20 +13,7 @@ export function prepareScaledBidBook(baggage: Baggage): (bidScalingPattern: any,
|
|
|
27
13
|
updateReceived(key: any, sold: any): void;
|
|
28
14
|
exitAllSeats(): void;
|
|
29
15
|
}>;
|
|
30
|
-
export function preparePriceBook(baggage: Baggage): (priceRatioPattern: any, collateralBrand: Brand<AssetKind>) => {
|
|
31
|
-
/**
|
|
32
|
-
* @param {ZCFSeat} seat
|
|
33
|
-
* @param {Ratio} price
|
|
34
|
-
* @param {Amount<'nat'>} wanted
|
|
35
|
-
* @param {boolean} exitAfterBuy
|
|
36
|
-
*/
|
|
37
|
-
add(seat: ZCFSeat, price: Ratio, wanted: Amount<'nat'>, exitAfterBuy: boolean): string;
|
|
38
|
-
offersAbove(price: any): [string, BidderRecord][];
|
|
39
|
-
hasOrders(): boolean;
|
|
40
|
-
delete(key: any): void;
|
|
41
|
-
updateReceived(key: any, sold: any): void;
|
|
42
|
-
exitAllSeats(): void;
|
|
43
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
16
|
+
export function preparePriceBook(baggage: Baggage): (priceRatioPattern: any, collateralBrand: Brand<AssetKind>) => import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
44
17
|
/**
|
|
45
18
|
* @param {ZCFSeat} seat
|
|
46
19
|
* @param {Ratio} price
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"offerBook.d.ts","sourceRoot":"","sources":["offerBook.js"],"names":[],"mappings":"AAkDO,8CAFI,OAAO;IAkBZ;;;;;OAKG;cAJQ,OAAO,cACP,KAAK,UACL,OAAO,KAAK,CAAC,gBACb,OAAO;IAsBlB,gCAAgC;4BAApB,KAAK
|
|
1
|
+
{"version":3,"file":"offerBook.d.ts","sourceRoot":"","sources":["offerBook.js"],"names":[],"mappings":"AAkDO,8CAFI,OAAO;IAkBZ;;;;;OAKG;cAJQ,OAAO,cACP,KAAK,UACL,OAAO,KAAK,CAAC,gBACb,OAAO;IAsBlB,gCAAgC;4BAApB,KAAK;;;;;GAqCpB;AAcI,0CAFI,OAAO;IAkBZ;;;;;OAKG;cAJQ,OAAO,SACP,KAAK,UACL,OAAO,KAAK,CAAC,gBACb,OAAO;;;;;;GA0DrB;sBA/MW,OAAO,kBAAkB,EAAE,OAAO;2BAYnC;IACZ,IAAQ,EAAE,OAAO,CAAC;IAClB,MAAU,EAAE,OAAO,KAAK,CAAC,CAAC;IAC1B,MAAU,EAAE,QAAQ,CAAC;IACrB,QAAY,EAAE,OAAO,KAAK,CAAC,CAAC;CACzB,GAAG;IAAE,YAAY,EAAE,OAAO,CAAA;CAAE,GAAG,CAC1B;IAAE,UAAU,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,SAAS,CAAA;CAAE,GACzC;IAAE,UAAU,EAAE,SAAS,CAAC;IAAC,KAAK,EAAE,KAAK,CAAA;CAAE,CAC1C"}
|
package/src/auction/params.d.ts
CHANGED
|
@@ -83,12 +83,12 @@ export function makeGovernedTerms({ storageNode: _storageNode, marshaller: _mars
|
|
|
83
83
|
marshaller: ERef<Marshaller>;
|
|
84
84
|
}, timer: ERef<import('@agoric/time').TimerService>, priceAuthority: ERef<PriceAuthority>, reservePublicFacet: ERef<AssetReservePublicFacet>, params: AuctionParams): {
|
|
85
85
|
priceAuthority: ERef<PriceAuthority>;
|
|
86
|
-
reservePublicFacet: ERef<GovernedPublicFacet<{
|
|
86
|
+
reservePublicFacet: ERef<GovernedPublicFacet<import("@endo/exo/src/exo-makers").Guarded<{
|
|
87
87
|
makeAddCollateralInvitation(): Promise<Invitation<R, A>>;
|
|
88
88
|
getPublicTopics(): {
|
|
89
89
|
metrics: import("@agoric/zoe/src/contractSupport").PublicTopic<import("../reserve/assetReserveKit").MetricsNotification>;
|
|
90
90
|
};
|
|
91
|
-
}
|
|
91
|
+
}>>>;
|
|
92
92
|
timerService: ERef<import("@agoric/time").TimerService>;
|
|
93
93
|
governedParams: {
|
|
94
94
|
Electorate: {
|
package/src/clientSupport.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function lookupOfferIdForVault(vaultId: string, currentP: Promise<import('@agoric/smart-wallet/src/smartWallet').CurrentWalletRecord>): Promise<string>;
|
|
1
|
+
export function lookupOfferIdForVault(vaultId: string, currentP: Promise<import('@agoric/smart-wallet/src/smartWallet.js').CurrentWalletRecord>): Promise<string>;
|
|
2
2
|
export function makeParseAmount(agoricNames: Pick<import('@agoric/vats/tools/board-utils.js').AgoricNamesRemotes, 'brand' | 'vbankAsset'>, makeError?: (msg: string) => Error): (a: string) => Amount<'nat'>;
|
|
3
3
|
export namespace Offers {
|
|
4
4
|
namespace auction {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clientSupport.d.ts","sourceRoot":"","sources":["clientSupport.js"],"names":[],"mappings":"AAsKO,+CANI,MAAM,YACN,QACV,OAAW,
|
|
1
|
+
{"version":3,"file":"clientSupport.d.ts","sourceRoot":"","sources":["clientSupport.js"],"names":[],"mappings":"AAsKO,+CANI,MAAM,YACN,QACV,OAAW,yCAAyC,EAAE,mBAAmB,CACtE,GACS,QAAQ,MAAM,CAAC,CAW3B;AAmFM,6CAPI,KACV,OAAW,mCAAmC,EAAE,kBAAkB,EAClE,OAAW,GAAG,YAAY,CACvB,oBACa,MAAM,KAAK,KAAK,OAChB,MAAM,KAAK,OAAO,KAAK,CAAC,CAmCtC;;;;;;;;;;;;;;;;;;;;AAEH;;;;;;;;;;;;;;;;;;;GAmBG;AACH,2CAnBW,KACV,OAAW,mCAAmC,EAAE,kBAAkB,EAClE,OAAW,GAAG,YAAY,CACvB;aAEU,MAAM;UACT,MAAM;YACJ,MAAM;;;WAIH,MAAM;;cAGH,MAAM;KAGZ,OAAO,oCAAoC,EAAE,SAAS,CAuDlE;AAqCD;;;;;;;;;GASG;AACH,kDATW,OAAO,QACP;IACV,OAAW,EAAE,MAAM,CAAC;IACpB,OAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAa,EAAE,MAAM,CAAC;CACnB,iBACO,MAAM,GACJ,OAAO,oCAAoC,EAAE,SAAS,CAelE;AAxND;;;;;;;;;;;GAWG;AACH,6CAXW,KACV,OAAW,mCAAmC,EAAE,kBAAkB,EAClE,OAAW,CACR,YACO,QAAQ,QACR;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAAE,GAAG,CACnE;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,GACtB;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,CACzB,GACS,OAAO,oCAAoC,EAAE,SAAS,CA4BlE;AAzLD;;;;;;;;;;;;GAYG;AACH,0CAZW,KACV,OAAW,mCAAmC,EAAE,kBAAkB,EAClE,OAAW,CACR,QACO;IACV,OAAW,EAAE,MAAM,CAAC;IACpB,UAAc,EAAE,MAAM,CAAC;IACvB,cAAkB,EAAE,MAAM,CAAC;IAC3B,kBAAsB,EAAE,MAAM,CAAC;CAC5B,GACS,OAAO,oCAAoC,EAAE,SAAS,CAuBlE;AAED;;;;;;;;;;;;;;;GAeG;AACH,4CAfW,KACV,OAAW,mCAAmC,EAAE,kBAAkB,EAClE,OAAW,CACR,QACO;IACV,OAAW,EAAE,MAAM,CAAC;IACpB,kBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,cAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,cAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,UAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAc,CAAC,EAAE,MAAM,CAAC;CACrB,iBACO,MAAM,GACJ,OAAO,oCAAoC,EAAE,SAAS,CAiBlE;AAED;;;;;;;;;;;;GAYG;AACH,2CAZW,KACV,OAAW,mCAAmC,EAAE,kBAAkB,EAClE,OAAW,CACR,QACO;IACV,OAAW,EAAE,MAAM,CAAC;IACpB,kBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,UAAc,EAAE,MAAM,CAAC;CACpB,iBACO,MAAM,GACJ,OAAO,oCAAoC,EAAE,SAAS,CAclE;AAmND;;;;;;;;;;;GAWG;AACH,mDAXW,KACV,OAAW,mCAAmC,EAAE,kBAAkB,EAClE,OAAW,CACR;aAEU,MAAM;UACT,MAAM;wBACQ,MAAM;IAElB,OAAO,oCAAoC,EAAE,SAAS,CAuBlE"}
|
package/src/clientSupport.js
CHANGED
|
@@ -160,7 +160,7 @@ const makeCloseOffer = ({ brand }, opts, previousOffer) => {
|
|
|
160
160
|
/**
|
|
161
161
|
* @param {string} vaultId
|
|
162
162
|
* @param {Promise<
|
|
163
|
-
* import('@agoric/smart-wallet/src/smartWallet').CurrentWalletRecord
|
|
163
|
+
* import('@agoric/smart-wallet/src/smartWallet.js').CurrentWalletRecord
|
|
164
164
|
* >} currentP
|
|
165
165
|
* @returns {Promise<string>} offer id in which the vault was made
|
|
166
166
|
*/
|
|
@@ -10,15 +10,7 @@ export const meta: ContractMeta;
|
|
|
10
10
|
export function start(zcf: ZCF<{
|
|
11
11
|
binaryVoteCounterInstallation: Installation;
|
|
12
12
|
}>, privateArgs: undefined, baggage: import('@agoric/vat-data').Baggage): Promise<{
|
|
13
|
-
creatorFacet: {
|
|
14
|
-
/**
|
|
15
|
-
* @param {Instance} governedInstance
|
|
16
|
-
* @param {GovernorCreatorFacet<any>} governorFacet
|
|
17
|
-
* @param {string} [label] for diagnostic use only
|
|
18
|
-
*/
|
|
19
|
-
addInstance: (governedInstance: Instance, governorFacet: GovernorCreatorFacet<any>, label?: string | undefined) => void;
|
|
20
|
-
makeCharterMemberInvitation: () => Promise<Invitation<R, A>>;
|
|
21
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
13
|
+
creatorFacet: import("@endo/exo/src/exo-makers").Guarded<{
|
|
22
14
|
/**
|
|
23
15
|
* @param {Instance} governedInstance
|
|
24
16
|
* @param {GovernorCreatorFacet<any>} governorFacet
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"econCommitteeCharter.d.ts","sourceRoot":"","sources":["econCommitteeCharter.js"],"names":[],"mappings":"AAcA;;;;;GAKG;AAEH,iEAAkE;AAoBlE,2BAA2B;AAC3B,mBADW,YAAY,CAMrB;AAQK,2BAJI,IAAI;IAAE,6BAA6B,EAAE,YAAY,CAAA;CAAE,CAAC,eACpD,SAAS,WACT,OAAO,kBAAkB,EAAE,OAAO;;QAqHvC;;;;WAIG;wCAHQ,QAAQ,iBACR,qBAAqB,GAAG,CAAC;;;
|
|
1
|
+
{"version":3,"file":"econCommitteeCharter.d.ts","sourceRoot":"","sources":["econCommitteeCharter.js"],"names":[],"mappings":"AAcA;;;;;GAKG;AAEH,iEAAkE;AAoBlE,2BAA2B;AAC3B,mBADW,YAAY,CAMrB;AAQK,2BAJI,IAAI;IAAE,6BAA6B,EAAE,YAAY,CAAA;CAAE,CAAC,eACpD,SAAS,WACT,OAAO,kBAAkB,EAAE,OAAO;;QAqHvC;;;;WAIG;wCAHQ,QAAQ,iBACR,qBAAqB,GAAG,CAAC;;;GAazC;;cAhKa,MAAM;cACN,QAAQ;YACR,OAAO,MAAM,EAAE,OAAO,CAAC;;mBACV;YAAE,GAAG,EAAE,MAAM,CAAA;SAAE"}
|
|
@@ -24,7 +24,7 @@ export function start(zcf: ZCF<import("./fluxAggregatorKit.js").ChainlinkConfig
|
|
|
24
24
|
namesByAddressAdmin: ERef<import('@agoric/vats').NameAdmin>;
|
|
25
25
|
storageNode: StorageNode;
|
|
26
26
|
}, baggage: Baggage): Promise<{
|
|
27
|
-
creatorFacet: {
|
|
27
|
+
creatorFacet: import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
28
28
|
getParamMgrRetriever: () => {
|
|
29
29
|
get: () => import("@agoric/governance/src/contractGovernance/typedParamManager.js").TypedParamManager<{
|
|
30
30
|
Electorate: "invitation";
|
|
@@ -35,19 +35,11 @@ export function start(zcf: ZCF<import("./fluxAggregatorKit.js").ChainlinkConfig
|
|
|
35
35
|
}>;
|
|
36
36
|
}>;
|
|
37
37
|
getInvitation: (name: any) => Promise<Invitation<R, A>>;
|
|
38
|
-
getLimitedCreatorFacet: () => {
|
|
38
|
+
getLimitedCreatorFacet: () => import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
39
39
|
makeOracleInvitation(oracleId: string): Promise<Invitation<R, A>>;
|
|
40
40
|
removeOracle(oracleId: string): Promise<void>;
|
|
41
41
|
getRoundData: (roundIdRaw: any) => Promise<import("./roundsManager.js").RoundData>;
|
|
42
|
-
initOracle(oracleId: string): Promise<{
|
|
43
|
-
admin: {
|
|
44
|
-
disable(): void;
|
|
45
|
-
};
|
|
46
|
-
oracle: {
|
|
47
|
-
pushPrice({ roundId: roundIdRaw, unitPrice: valueRaw, }: import("./priceOracleKit.js").PriceDatum): Promise<void>;
|
|
48
|
-
getStatus(): import("./priceOracleKit.js").OracleStatus;
|
|
49
|
-
};
|
|
50
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
42
|
+
initOracle(oracleId: string): Promise<import("@endo/exo/src/exo-makers.js").GuardedKit<{
|
|
51
43
|
admin: {
|
|
52
44
|
disable(): void;
|
|
53
45
|
};
|
|
@@ -57,55 +49,18 @@ export function start(zcf: ZCF<import("./fluxAggregatorKit.js").ChainlinkConfig
|
|
|
57
49
|
};
|
|
58
50
|
}>>;
|
|
59
51
|
oracleRoundState(oracleId: string, queriedRoundId: bigint): Promise<import("./fluxAggregatorKit.js").RoundState>;
|
|
60
|
-
};
|
|
61
|
-
getGovernedApis: () => GovernedApis;
|
|
62
|
-
getGovernedApiNames: () => string[];
|
|
63
|
-
setOfferFilter: (strings: any) => Promise<void>;
|
|
64
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
65
|
-
getParamMgrRetriever: () => {
|
|
66
|
-
get: () => import("@agoric/governance/src/contractGovernance/typedParamManager.js").TypedParamManager<{
|
|
67
|
-
Electorate: "invitation";
|
|
68
|
-
}>;
|
|
69
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
70
|
-
get: () => import("@agoric/governance/src/contractGovernance/typedParamManager.js").TypedParamManager<{
|
|
71
|
-
Electorate: "invitation";
|
|
72
|
-
}>;
|
|
73
52
|
}>;
|
|
74
|
-
getInvitation: (name: any) => Promise<Invitation<R, A>>;
|
|
75
|
-
getLimitedCreatorFacet: () => {
|
|
76
|
-
makeOracleInvitation(oracleId: string): Promise<Invitation<R, A>>;
|
|
77
|
-
removeOracle(oracleId: string): Promise<void>;
|
|
78
|
-
getRoundData: (roundIdRaw: any) => Promise<import("./roundsManager.js").RoundData>;
|
|
79
|
-
initOracle(oracleId: string): Promise<{
|
|
80
|
-
admin: {
|
|
81
|
-
disable(): void;
|
|
82
|
-
};
|
|
83
|
-
oracle: {
|
|
84
|
-
pushPrice({ roundId: roundIdRaw, unitPrice: valueRaw, }: import("./priceOracleKit.js").PriceDatum): Promise<void>;
|
|
85
|
-
getStatus(): import("./priceOracleKit.js").OracleStatus;
|
|
86
|
-
};
|
|
87
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
88
|
-
admin: {
|
|
89
|
-
disable(): void;
|
|
90
|
-
};
|
|
91
|
-
oracle: {
|
|
92
|
-
pushPrice({ roundId: roundIdRaw, unitPrice: valueRaw, }: import("./priceOracleKit.js").PriceDatum): Promise<void>;
|
|
93
|
-
getStatus(): import("./priceOracleKit.js").OracleStatus;
|
|
94
|
-
};
|
|
95
|
-
}>>;
|
|
96
|
-
oracleRoundState(oracleId: string, queriedRoundId: bigint): Promise<import("./fluxAggregatorKit.js").RoundState>;
|
|
97
|
-
};
|
|
98
53
|
getGovernedApis: () => GovernedApis;
|
|
99
54
|
getGovernedApiNames: () => string[];
|
|
100
55
|
setOfferFilter: (strings: any) => Promise<void>;
|
|
101
56
|
}>;
|
|
102
|
-
publicFacet: {
|
|
57
|
+
publicFacet: import("@endo/exo/src/exo-makers.js").Guarded<{
|
|
103
58
|
getPriceAuthority(): PriceAuthority;
|
|
104
59
|
getPublicTopics(): {
|
|
105
60
|
quotes: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<PriceDescription>;
|
|
106
61
|
latestRound: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("./roundsManager.js").LatestRound>;
|
|
107
62
|
};
|
|
108
|
-
}
|
|
63
|
+
}>;
|
|
109
64
|
}>;
|
|
110
65
|
export type Baggage = import('@agoric/vat-data').Baggage;
|
|
111
66
|
export type TimerService = import('@agoric/time').TimerService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fluxAggregatorContract.d.ts","sourceRoot":"","sources":["fluxAggregatorContract.js"],"names":[],"mappings":"AAcA;;;;GAIG;AAEH,2BAA2B;AAC3B,mBADW,YAAY,CAmBrB;AA0BK;WAhBO,YAAY;aACV,MAAM,KAAK,CAAC;cACX,MAAM,KAAK,CAAC;iBACT,MAAM;;;;;;;;;;4BAMG,UAAU;gBACtB,KAAK,UAAU,CAAC;yBACP,KAAK,OAAO,cAAc,EAAE,SAAS,CAAC;iBAC9C,WAAW;YAElB,OAAO
|
|
1
|
+
{"version":3,"file":"fluxAggregatorContract.d.ts","sourceRoot":"","sources":["fluxAggregatorContract.js"],"names":[],"mappings":"AAcA;;;;GAIG;AAEH,2BAA2B;AAC3B,mBADW,YAAY,CAmBrB;AA0BK;WAhBO,YAAY;aACV,MAAM,KAAK,CAAC;cACX,MAAM,KAAK,CAAC;iBACT,MAAM;;;;;;;;;;4BAMG,UAAU;gBACtB,KAAK,UAAU,CAAC;yBACP,KAAK,OAAO,cAAc,EAAE,SAAS,CAAC;iBAC9C,WAAW;YAElB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmIjB;sBAnLY,OAAO,kBAAkB,EAAE,OAAO;2BAElC,OAAO,cAAc,EAAE,YAAY"}
|
|
@@ -4,7 +4,7 @@ export function prepareFluxAggregatorKit(baggage: Baggage, zcf: ZCF<ChainlinkCon
|
|
|
4
4
|
brandIn: Brand<'nat'>;
|
|
5
5
|
brandOut: Brand<'nat'>;
|
|
6
6
|
unitAmountIn?: Amount<"nat"> | undefined;
|
|
7
|
-
}>, timerPresence: TimerService, quoteKit: import('./roundsManager.js').QuoteKit, storageNode: StorageNode, makeDurablePublishKit: () => PublishKit<any>, makeRecorder: import('@agoric/zoe/src/contractSupport/recorder.js').MakeRecorder): Promise<() => {
|
|
7
|
+
}>, timerPresence: TimerService, quoteKit: import('./roundsManager.js').QuoteKit, storageNode: StorageNode, makeDurablePublishKit: () => PublishKit<any>, makeRecorder: import('@agoric/zoe/src/contractSupport/recorder.js').MakeRecorder): Promise<() => import("@endo/exo/src/exo-makers.js").GuardedKit<{
|
|
8
8
|
creator: {
|
|
9
9
|
/**
|
|
10
10
|
* An "oracle invitation" is an invitation to be able to submit data to
|
|
@@ -21,181 +21,7 @@ export function prepareFluxAggregatorKit(baggage: Baggage, zcf: ZCF<ChainlinkCon
|
|
|
21
21
|
removeOracle(oracleId: string): Promise<void>;
|
|
22
22
|
getRoundData: (roundIdRaw: any) => Promise<import("./roundsManager.js").RoundData>;
|
|
23
23
|
/** @param {string} oracleId */
|
|
24
|
-
initOracle(oracleId: string): Promise<{
|
|
25
|
-
/**
|
|
26
|
-
* @typedef {object} ChainlinkConfig
|
|
27
|
-
* @property {number} maxSubmissionCount
|
|
28
|
-
* @property {number} minSubmissionCount
|
|
29
|
-
* @property {bigint} restartDelay the number of rounds an Oracle has to wait
|
|
30
|
-
* before they can initiate a round
|
|
31
|
-
* @property {number} minSubmissionValue an immutable check for a lower bound of
|
|
32
|
-
* what submission values are accepted from an oracle
|
|
33
|
-
* @property {number} maxSubmissionValue an immutable check for an upper bound
|
|
34
|
-
* of what submission values are accepted from an oracle
|
|
35
|
-
* @property {number} timeout the number of seconds after the previous round
|
|
36
|
-
* that allowed to lapse before allowing an oracle to skip an unfinished
|
|
37
|
-
* round
|
|
38
|
-
*/
|
|
39
|
-
/**
|
|
40
|
-
* Returns a maker for a single durable FluxAggregatorKit, closed over the
|
|
41
|
-
* prepare() arguments.
|
|
42
|
-
*
|
|
43
|
-
* The kit aggregates price inputs to produce a PriceAuthority. Unlike the
|
|
44
|
-
* simpler `priceAggregator.js`, this approximates the _Node Operator
|
|
45
|
-
* Aggregation_ logic of [Chainlink price
|
|
46
|
-
* feeds](https://blog.chain.link/levels-of-data-aggregation-in-chainlink-price-feeds/).
|
|
47
|
-
*
|
|
48
|
-
* @param {Baggage} baggage
|
|
49
|
-
* @param {ZCF<
|
|
50
|
-
* ChainlinkConfig & {
|
|
51
|
-
* timer: TimerService;
|
|
52
|
-
* brandIn: Brand<'nat'>;
|
|
53
|
-
* brandOut: Brand<'nat'>;
|
|
54
|
-
* unitAmountIn?: Amount<'nat'>;
|
|
55
|
-
* }
|
|
56
|
-
* >} zcf
|
|
57
|
-
* @param {TimerService} timerPresence
|
|
58
|
-
* @param {import('./roundsManager.js').QuoteKit} quoteKit
|
|
59
|
-
* @param {StorageNode} storageNode
|
|
60
|
-
* @param {() => PublishKit<any>} makeDurablePublishKit
|
|
61
|
-
* @param {import('@agoric/zoe/src/contractSupport/recorder.js').MakeRecorder} makeRecorder
|
|
62
|
-
*/
|
|
63
|
-
admin: {
|
|
64
|
-
disable(): void;
|
|
65
|
-
};
|
|
66
|
-
oracle: {
|
|
67
|
-
pushPrice({ roundId: roundIdRaw, unitPrice: valueRaw, }: import("./priceOracleKit.js").PriceDatum): Promise<void>;
|
|
68
|
-
getStatus(): import("./priceOracleKit.js").OracleStatus;
|
|
69
|
-
};
|
|
70
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
71
|
-
/**
|
|
72
|
-
* @typedef {object} ChainlinkConfig
|
|
73
|
-
* @property {number} maxSubmissionCount
|
|
74
|
-
* @property {number} minSubmissionCount
|
|
75
|
-
* @property {bigint} restartDelay the number of rounds an Oracle has to wait
|
|
76
|
-
* before they can initiate a round
|
|
77
|
-
* @property {number} minSubmissionValue an immutable check for a lower bound of
|
|
78
|
-
* what submission values are accepted from an oracle
|
|
79
|
-
* @property {number} maxSubmissionValue an immutable check for an upper bound
|
|
80
|
-
* of what submission values are accepted from an oracle
|
|
81
|
-
* @property {number} timeout the number of seconds after the previous round
|
|
82
|
-
* that allowed to lapse before allowing an oracle to skip an unfinished
|
|
83
|
-
* round
|
|
84
|
-
*/
|
|
85
|
-
/**
|
|
86
|
-
* Returns a maker for a single durable FluxAggregatorKit, closed over the
|
|
87
|
-
* prepare() arguments.
|
|
88
|
-
*
|
|
89
|
-
* The kit aggregates price inputs to produce a PriceAuthority. Unlike the
|
|
90
|
-
* simpler `priceAggregator.js`, this approximates the _Node Operator
|
|
91
|
-
* Aggregation_ logic of [Chainlink price
|
|
92
|
-
* feeds](https://blog.chain.link/levels-of-data-aggregation-in-chainlink-price-feeds/).
|
|
93
|
-
*
|
|
94
|
-
* @param {Baggage} baggage
|
|
95
|
-
* @param {ZCF<
|
|
96
|
-
* ChainlinkConfig & {
|
|
97
|
-
* timer: TimerService;
|
|
98
|
-
* brandIn: Brand<'nat'>;
|
|
99
|
-
* brandOut: Brand<'nat'>;
|
|
100
|
-
* unitAmountIn?: Amount<'nat'>;
|
|
101
|
-
* }
|
|
102
|
-
* >} zcf
|
|
103
|
-
* @param {TimerService} timerPresence
|
|
104
|
-
* @param {import('./roundsManager.js').QuoteKit} quoteKit
|
|
105
|
-
* @param {StorageNode} storageNode
|
|
106
|
-
* @param {() => PublishKit<any>} makeDurablePublishKit
|
|
107
|
-
* @param {import('@agoric/zoe/src/contractSupport/recorder.js').MakeRecorder} makeRecorder
|
|
108
|
-
*/
|
|
109
|
-
admin: {
|
|
110
|
-
disable(): void;
|
|
111
|
-
};
|
|
112
|
-
oracle: {
|
|
113
|
-
pushPrice({ roundId: roundIdRaw, unitPrice: valueRaw, }: import("./priceOracleKit.js").PriceDatum): Promise<void>;
|
|
114
|
-
getStatus(): import("./priceOracleKit.js").OracleStatus;
|
|
115
|
-
};
|
|
116
|
-
}>>;
|
|
117
|
-
/**
|
|
118
|
-
* a method to provide all current info oracleStatuses need. Intended
|
|
119
|
-
* only only to be callable by oracleStatuses. Not for use by contracts
|
|
120
|
-
* to read state.
|
|
121
|
-
*
|
|
122
|
-
* @param {string} oracleId
|
|
123
|
-
* @param {bigint} queriedRoundId
|
|
124
|
-
* @returns {Promise<RoundState>}
|
|
125
|
-
*/
|
|
126
|
-
oracleRoundState(oracleId: string, queriedRoundId: bigint): Promise<RoundState>;
|
|
127
|
-
};
|
|
128
|
-
public: {
|
|
129
|
-
getPriceAuthority(): PriceAuthority;
|
|
130
|
-
getPublicTopics(): {
|
|
131
|
-
quotes: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<PriceDescription>;
|
|
132
|
-
latestRound: import("@agoric/zoe/src/contractSupport/topics.js").PublicTopic<import("./roundsManager.js").LatestRound>;
|
|
133
|
-
};
|
|
134
|
-
};
|
|
135
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
136
|
-
creator: {
|
|
137
|
-
/**
|
|
138
|
-
* An "oracle invitation" is an invitation to be able to submit data to
|
|
139
|
-
* include in the priceAggregator's results.
|
|
140
|
-
*
|
|
141
|
-
* The offer result from this invitation is a OracleAdmin, which can be
|
|
142
|
-
* used directly to manage the price submissions as well as to terminate
|
|
143
|
-
* the relationship.
|
|
144
|
-
*
|
|
145
|
-
* @param {string} oracleId unique per contract instance
|
|
146
|
-
*/
|
|
147
|
-
makeOracleInvitation(oracleId: string): Promise<Invitation<R, A>>;
|
|
148
|
-
/** @param {string} oracleId */
|
|
149
|
-
removeOracle(oracleId: string): Promise<void>;
|
|
150
|
-
getRoundData: (roundIdRaw: any) => Promise<import("./roundsManager.js").RoundData>;
|
|
151
|
-
/** @param {string} oracleId */
|
|
152
|
-
initOracle(oracleId: string): Promise<{
|
|
153
|
-
/**
|
|
154
|
-
* @typedef {object} ChainlinkConfig
|
|
155
|
-
* @property {number} maxSubmissionCount
|
|
156
|
-
* @property {number} minSubmissionCount
|
|
157
|
-
* @property {bigint} restartDelay the number of rounds an Oracle has to wait
|
|
158
|
-
* before they can initiate a round
|
|
159
|
-
* @property {number} minSubmissionValue an immutable check for a lower bound of
|
|
160
|
-
* what submission values are accepted from an oracle
|
|
161
|
-
* @property {number} maxSubmissionValue an immutable check for an upper bound
|
|
162
|
-
* of what submission values are accepted from an oracle
|
|
163
|
-
* @property {number} timeout the number of seconds after the previous round
|
|
164
|
-
* that allowed to lapse before allowing an oracle to skip an unfinished
|
|
165
|
-
* round
|
|
166
|
-
*/
|
|
167
|
-
/**
|
|
168
|
-
* Returns a maker for a single durable FluxAggregatorKit, closed over the
|
|
169
|
-
* prepare() arguments.
|
|
170
|
-
*
|
|
171
|
-
* The kit aggregates price inputs to produce a PriceAuthority. Unlike the
|
|
172
|
-
* simpler `priceAggregator.js`, this approximates the _Node Operator
|
|
173
|
-
* Aggregation_ logic of [Chainlink price
|
|
174
|
-
* feeds](https://blog.chain.link/levels-of-data-aggregation-in-chainlink-price-feeds/).
|
|
175
|
-
*
|
|
176
|
-
* @param {Baggage} baggage
|
|
177
|
-
* @param {ZCF<
|
|
178
|
-
* ChainlinkConfig & {
|
|
179
|
-
* timer: TimerService;
|
|
180
|
-
* brandIn: Brand<'nat'>;
|
|
181
|
-
* brandOut: Brand<'nat'>;
|
|
182
|
-
* unitAmountIn?: Amount<'nat'>;
|
|
183
|
-
* }
|
|
184
|
-
* >} zcf
|
|
185
|
-
* @param {TimerService} timerPresence
|
|
186
|
-
* @param {import('./roundsManager.js').QuoteKit} quoteKit
|
|
187
|
-
* @param {StorageNode} storageNode
|
|
188
|
-
* @param {() => PublishKit<any>} makeDurablePublishKit
|
|
189
|
-
* @param {import('@agoric/zoe/src/contractSupport/recorder.js').MakeRecorder} makeRecorder
|
|
190
|
-
*/
|
|
191
|
-
admin: {
|
|
192
|
-
disable(): void;
|
|
193
|
-
};
|
|
194
|
-
oracle: {
|
|
195
|
-
pushPrice({ roundId: roundIdRaw, unitPrice: valueRaw, }: import("./priceOracleKit.js").PriceDatum): Promise<void>;
|
|
196
|
-
getStatus(): import("./priceOracleKit.js").OracleStatus;
|
|
197
|
-
};
|
|
198
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
24
|
+
initOracle(oracleId: string): Promise<import("@endo/exo/src/exo-makers.js").GuardedKit<{
|
|
199
25
|
/**
|
|
200
26
|
* @typedef {object} ChainlinkConfig
|
|
201
27
|
* @property {number} maxSubmissionCount
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fluxAggregatorKit.d.ts","sourceRoot":"","sources":["fluxAggregatorKit.js"],"names":[],"mappings":"AAsBA,yDAA0D;AAoEnD,kDAfI,OAAO;WAGJ,YAAY;aACV,MAAM,KAAK,CAAC;cACX,MAAM,KAAK,CAAC;;mBAIlB,YAAY,YACZ,OAAO,oBAAoB,EAAE,QAAQ,eACrC,WAAW,yBACX,MAAM,WAAW,GAAG,CAAC,gBACrB,OAAO,6CAA6C,EAAE,YAAY;;QAmJrE;;;;;;;;;WASG;uCADQ,MAAM;QAsCjB,+BAA+B;+BAAnB,MAAM;;QAalB,+BAA+B;6BAAnB,MAAM;YAnP1B;;;;;;;;;;;;;eAaG;YAEH;;;;;;;;;;;;;;;;;;;;;;;eAuBG;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"fluxAggregatorKit.d.ts","sourceRoot":"","sources":["fluxAggregatorKit.js"],"names":[],"mappings":"AAsBA,yDAA0D;AAoEnD,kDAfI,OAAO;WAGJ,YAAY;aACV,MAAM,KAAK,CAAC;cACX,MAAM,KAAK,CAAC;;mBAIlB,YAAY,YACZ,OAAO,oBAAoB,EAAE,QAAQ,eACrC,WAAW,yBACX,MAAM,WAAW,GAAG,CAAC,gBACrB,OAAO,6CAA6C,EAAE,YAAY;;QAmJrE;;;;;;;;;WASG;uCADQ,MAAM;QAsCjB,+BAA+B;+BAAnB,MAAM;;QAalB,+BAA+B;6BAAnB,MAAM;YAnP1B;;;;;;;;;;;;;eAaG;YAEH;;;;;;;;;;;;;;;;;;;;;;;eAuBG;;;;;;;;;QAiOK;;;;;;;;WAQG;mCAHQ,MAAM,kBACN,MAAM,GACJ,QAAQ,UAAU,CAAC;;;;;;;;;IAqDvC;sBA7VY,OAAO,kBAAkB,EAAE,OAAO;wBAElC,OAAO,cAAc,EAAE,SAAS;;;;;2BAEhC,OAAO,cAAc,EAAE,YAAY;gCAGnC,OAAO,cAAc,EAAE,iBAAiB;2BAExC,OAAO,cAAc,EAAE,YAAY;;8BAQlC,OAAO;oBACP,MAAM;sBACN,MAAM;eACN,SAAS;kBACT,MAAM;iBACN,MAAM;;;wBAMN,MAAM;wBACN,MAAM;;;;;kBACN,MAAM;;;;;wBAEN,MAAM;;;;;wBAEN,MAAM;;;;;;aAEN,MAAM;;gCA2TN,WAAW,QAAQ,WAAW,+BAA+B,CAAC,CAAC,CAAC"}
|
|
@@ -1,19 +1,5 @@
|
|
|
1
1
|
export const INVITATION_MAKERS_DESC: "oracle invitation";
|
|
2
|
-
export function prepareOracleAdminKit(baggage: any): (args_0: HeldParams) => {
|
|
3
|
-
admin: {
|
|
4
|
-
disable(): void;
|
|
5
|
-
};
|
|
6
|
-
oracle: {
|
|
7
|
-
/**
|
|
8
|
-
* push a unitPrice result from this oracle
|
|
9
|
-
*
|
|
10
|
-
* @param {PriceDatum} datum
|
|
11
|
-
*/
|
|
12
|
-
pushPrice({ roundId: roundIdRaw, unitPrice: valueRaw, }: PriceDatum): Promise<void>;
|
|
13
|
-
/** @returns {OracleStatus} */
|
|
14
|
-
getStatus(): OracleStatus;
|
|
15
|
-
};
|
|
16
|
-
} & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
2
|
+
export function prepareOracleAdminKit(baggage: any): (args_0: HeldParams) => import("@endo/exo/src/exo-makers.js").GuardedKit<{
|
|
17
3
|
admin: {
|
|
18
4
|
disable(): void;
|
|
19
5
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"priceOracleKit.d.ts","sourceRoot":"","sources":["priceOracleKit.js"],"names":[],"mappings":"AAMA,yDAA0D;AA4DnD;;;;;QAcC;;;;WAIG;iEADQ,UAAU;QA0BrB,8BAA8B;qBAAhB,YAAY
|
|
1
|
+
{"version":3,"file":"priceOracleKit.d.ts","sourceRoot":"","sources":["priceOracleKit.js"],"names":[],"mappings":"AAMA,yDAA0D;AA4DnD;;;;;QAcC;;;;WAIG;iEADQ,UAAU;QA0BrB,8BAA8B;qBAAhB,YAAY;;GAa/B;;cAhHY,MAAM;;6BAGJ,YAAY,UACZ,OAAO,oBAAoB,EAAE,UAAU,KAC5C,QAAQ,YAAY,CAAC;;;yBAKnB;IAAE,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;IAAC,SAAS,EAAE,QAAQ,CAAA;CAAE;;;uBAKpD,MAAM;sBACN,MAAM;sBACN,MAAM;cACN,MAAM;;6BAGP,SAAS,UAAU,GAAG,EAAE,CAAC;2BAEzB,YAAY,GAAG,EAAE;oBAEhB,cAAc,GAAG,YAAY;wBAyF7B,WAAW,WAAW,4BAA4B,CAAC,CAAC"}
|