@agoric/inter-protocol 0.16.2-dev-35cb8ca.0 → 0.16.2-dev-6498ae1.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 +15 -15
- package/src/feeDistributor.d.ts +10 -10
- package/src/vaultFactory/burn.d.ts +1 -1
- package/src/vaultFactory/burn.d.ts.map +1 -1
- package/src/proposals/add-auction.d.ts +0 -114
- package/src/proposals/add-auction.d.ts.map +0 -1
- package/src/proposals/addAssetToVault.d.ts +0 -173
- package/src/proposals/addAssetToVault.d.ts.map +0 -1
- package/src/proposals/committee-proposal.d.ts +0 -113
- package/src/proposals/committee-proposal.d.ts.map +0 -1
- package/src/proposals/core-proposal.d.ts +0 -149
- package/src/proposals/core-proposal.d.ts.map +0 -1
- package/src/proposals/deploy-price-feeds.d.ts +0 -81
- package/src/proposals/deploy-price-feeds.d.ts.map +0 -1
- package/src/proposals/econ-behaviors.d.ts +0 -543
- package/src/proposals/econ-behaviors.d.ts.map +0 -1
- package/src/proposals/price-feed-proposal.d.ts +0 -84
- package/src/proposals/price-feed-proposal.d.ts.map +0 -1
- package/src/proposals/replace-fee-distributor.d.ts +0 -48
- package/src/proposals/replace-fee-distributor.d.ts.map +0 -1
- package/src/proposals/replace-scaledPriceAuthorities.d.ts +0 -30
- package/src/proposals/replace-scaledPriceAuthorities.d.ts.map +0 -1
- package/src/proposals/replaceElectorate.d.ts +0 -65
- package/src/proposals/replaceElectorate.d.ts.map +0 -1
- package/src/proposals/startEconCommittee.d.ts +0 -34
- package/src/proposals/startEconCommittee.d.ts.map +0 -1
- package/src/proposals/startPSM.d.ts +0 -59
- package/src/proposals/startPSM.d.ts.map +0 -1
- package/src/proposals/upgrade-scaledPriceAuthorities.d.ts +0 -24
- package/src/proposals/upgrade-scaledPriceAuthorities.d.ts.map +0 -1
- package/src/proposals/upgrade-vaults.d.ts +0 -41
- package/src/proposals/upgrade-vaults.d.ts.map +0 -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-6498ae1.0+6498ae1",
|
|
4
4
|
"description": "Core cryptoeconomy contracts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -31,16 +31,16 @@
|
|
|
31
31
|
},
|
|
32
32
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
33
33
|
"dependencies": {
|
|
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/vats": "0.15.2-dev-
|
|
42
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
43
|
-
"@agoric/zone": "0.2.3-dev-
|
|
34
|
+
"@agoric/ertp": "0.16.3-dev-6498ae1.0+6498ae1",
|
|
35
|
+
"@agoric/governance": "0.10.4-dev-6498ae1.0+6498ae1",
|
|
36
|
+
"@agoric/internal": "0.3.3-dev-6498ae1.0+6498ae1",
|
|
37
|
+
"@agoric/notifier": "0.6.3-dev-6498ae1.0+6498ae1",
|
|
38
|
+
"@agoric/store": "0.9.3-dev-6498ae1.0+6498ae1",
|
|
39
|
+
"@agoric/time": "0.3.3-dev-6498ae1.0+6498ae1",
|
|
40
|
+
"@agoric/vat-data": "0.5.3-dev-6498ae1.0+6498ae1",
|
|
41
|
+
"@agoric/vats": "0.15.2-dev-6498ae1.0+6498ae1",
|
|
42
|
+
"@agoric/zoe": "0.26.3-dev-6498ae1.0+6498ae1",
|
|
43
|
+
"@agoric/zone": "0.2.3-dev-6498ae1.0+6498ae1",
|
|
44
44
|
"@endo/captp": "^4.4.4",
|
|
45
45
|
"@endo/errors": "^1.2.9",
|
|
46
46
|
"@endo/eventual-send": "^1.3.0",
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
"jessie.js": "^0.3.4"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@agoric/smart-wallet": "0.5.4-dev-
|
|
55
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
56
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
54
|
+
"@agoric/smart-wallet": "0.5.4-dev-6498ae1.0+6498ae1",
|
|
55
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-6498ae1.0+6498ae1",
|
|
56
|
+
"@agoric/swingset-vat": "0.32.3-dev-6498ae1.0+6498ae1",
|
|
57
57
|
"@endo/bundle-source": "^3.5.1",
|
|
58
58
|
"@endo/init": "^1.1.8",
|
|
59
59
|
"@endo/promise-kit": "^1.1.9",
|
|
@@ -84,5 +84,5 @@
|
|
|
84
84
|
"typeCoverage": {
|
|
85
85
|
"atLeast": 95.62
|
|
86
86
|
},
|
|
87
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "6498ae1ecd1e8ada0eec29d2714e8cf69efbcee9"
|
|
88
88
|
}
|
package/src/feeDistributor.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/** @type {ContractMeta<typeof start>} */
|
|
2
2
|
export const meta: ContractMeta<typeof start>;
|
|
3
3
|
export function makeContractFeeCollector(zoe: ERef<ZoeService>, creatorFacet: ERef<CollectibleContractFacet>): {
|
|
4
|
-
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
4
|
+
collectFees: () => Promise<globalThis.Payment<any, any>>;
|
|
5
5
|
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
6
|
-
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
6
|
+
collectFees: () => Promise<globalThis.Payment<any, any>>;
|
|
7
7
|
}>;
|
|
8
8
|
export function startDistributing(schedulePayments: () => Promise<unknown>, timerService: ERef<TimerService>, collectionInterval?: RelativeTime): void;
|
|
9
9
|
export function makeShareConfig(destinations?: Record<Keyword, ERef<FeeDestination>>, keywordShares?: Record<Keyword, NatValue>): {
|
|
@@ -21,9 +21,9 @@ export function makeFeeDistributor(feeIssuer: ERef<Issuer<"nat">>, terms: {
|
|
|
21
21
|
}): {
|
|
22
22
|
creatorFacet: {
|
|
23
23
|
makeContractFeeCollector: (zoe: ERef<ZoeService>, creatorFacet: ERef<CollectibleContractFacet>) => {
|
|
24
|
-
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
24
|
+
collectFees: () => Promise<globalThis.Payment<any, any>>;
|
|
25
25
|
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
26
|
-
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
26
|
+
collectFees: () => Promise<globalThis.Payment<any, any>>;
|
|
27
27
|
}>;
|
|
28
28
|
/**
|
|
29
29
|
* Start distributing fees from this collector.
|
|
@@ -62,9 +62,9 @@ export function makeFeeDistributor(feeIssuer: ERef<Issuer<"nat">>, terms: {
|
|
|
62
62
|
setKeywordShares: (newShares: Record<Keyword, bigint>) => void;
|
|
63
63
|
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
64
64
|
makeContractFeeCollector: (zoe: ERef<ZoeService>, creatorFacet: ERef<CollectibleContractFacet>) => {
|
|
65
|
-
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
65
|
+
collectFees: () => Promise<globalThis.Payment<any, any>>;
|
|
66
66
|
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
67
|
-
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
67
|
+
collectFees: () => Promise<globalThis.Payment<any, any>>;
|
|
68
68
|
}>;
|
|
69
69
|
/**
|
|
70
70
|
* Start distributing fees from this collector.
|
|
@@ -113,9 +113,9 @@ export function makeFeeDistributor(feeIssuer: ERef<Issuer<"nat">>, terms: {
|
|
|
113
113
|
export function start(zcf: ZCF<Parameters<typeof makeFeeDistributor>[1]>): Promise<{
|
|
114
114
|
creatorFacet: {
|
|
115
115
|
makeContractFeeCollector: (zoe: ERef<ZoeService>, creatorFacet: ERef<CollectibleContractFacet>) => {
|
|
116
|
-
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
116
|
+
collectFees: () => Promise<globalThis.Payment<any, any>>;
|
|
117
117
|
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
118
|
-
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
118
|
+
collectFees: () => Promise<globalThis.Payment<any, any>>;
|
|
119
119
|
}>;
|
|
120
120
|
/**
|
|
121
121
|
* Start distributing fees from this collector.
|
|
@@ -154,9 +154,9 @@ export function start(zcf: ZCF<Parameters<typeof makeFeeDistributor>[1]>): Promi
|
|
|
154
154
|
setKeywordShares: (newShares: Record<Keyword, bigint>) => void;
|
|
155
155
|
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
156
156
|
makeContractFeeCollector: (zoe: ERef<ZoeService>, creatorFacet: ERef<CollectibleContractFacet>) => {
|
|
157
|
-
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
157
|
+
collectFees: () => Promise<globalThis.Payment<any, any>>;
|
|
158
158
|
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
159
|
-
collectFees: () => Promise<globalThis.Payment<any>>;
|
|
159
|
+
collectFees: () => Promise<globalThis.Payment<any, any>>;
|
|
160
160
|
}>;
|
|
161
161
|
/**
|
|
162
162
|
* Start distributing fees from this collector.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function paymentFromZCFMint(zcf: ZCF, zcfMint: ZCFMint, amount: Amount): Promise<globalThis.Payment<any>>;
|
|
1
|
+
export function paymentFromZCFMint(zcf: ZCF, zcfMint: ZCFMint, amount: Amount): Promise<globalThis.Payment<any, any>>;
|
|
2
2
|
//# sourceMappingURL=burn.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"burn.d.ts","sourceRoot":"","sources":["burn.js"],"names":[],"mappings":"AAWO,wCAJI,GAAG,WACH,OAAO,UACP,MAAM,
|
|
1
|
+
{"version":3,"file":"burn.d.ts","sourceRoot":"","sources":["burn.js"],"names":[],"mappings":"AAWO,wCAJI,GAAG,WACH,OAAO,UACP,MAAM,yCAOhB"}
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
export function addAuction({ consume: { agoricNamesAdmin, auctioneerKit: legacyKitP, board, chainStorage, chainTimerService, economicCommitteeCreatorFacet: electorateCreatorFacet, governedContractKits: governedContractKitsP, priceAuthority8400, retiredContractInstances: retiredContractInstancesP, zoe, }, produce: { auctioneerKit: produceAuctioneerKit, auctionUpgradeNewInstance, auctionUpgradeNewGovCreator, newContractGovBundleId, retiredContractInstances: produceRetiredInstances, }, instance: { consume: { reserve: reserveInstance }, produce: { auctioneer: auctionInstance }, }, installation: { consume: { auctioneer: auctioneerInstallationP }, }, issuer: { consume: { [Stable.symbol]: stableIssuerP }, }, }: import("./econ-behaviors.js").EconomyBootstrapPowers & interlockPowers, { options: { contractGovernorRef: contractGovernorBundle, contractGovernorInstallation, }, }: {
|
|
2
|
-
options: {
|
|
3
|
-
contractGovernorRef: {
|
|
4
|
-
bundleID: string;
|
|
5
|
-
};
|
|
6
|
-
contractGovernorInstallation: Installation;
|
|
7
|
-
};
|
|
8
|
-
}): Promise<void>;
|
|
9
|
-
export const ADD_AUCTION_MANIFEST: {
|
|
10
|
-
[x: string]: {
|
|
11
|
-
consume: {
|
|
12
|
-
agoricNamesAdmin: boolean;
|
|
13
|
-
auctioneerKit: boolean;
|
|
14
|
-
board: boolean;
|
|
15
|
-
chainStorage: boolean;
|
|
16
|
-
chainTimerService: boolean;
|
|
17
|
-
econCharterKit: boolean;
|
|
18
|
-
economicCommitteeCreatorFacet: boolean;
|
|
19
|
-
governedContractKits: boolean;
|
|
20
|
-
priceAuthority8400: boolean;
|
|
21
|
-
retiredContractInstances: boolean;
|
|
22
|
-
zoe: boolean;
|
|
23
|
-
};
|
|
24
|
-
produce: {
|
|
25
|
-
auctioneerKit: boolean;
|
|
26
|
-
auctionUpgradeNewInstance: boolean;
|
|
27
|
-
auctionUpgradeNewGovCreator: boolean;
|
|
28
|
-
newContractGovBundleId: boolean;
|
|
29
|
-
retiredContractInstances: boolean;
|
|
30
|
-
};
|
|
31
|
-
instance: {
|
|
32
|
-
consume: {
|
|
33
|
-
reserve: boolean;
|
|
34
|
-
};
|
|
35
|
-
produce: {
|
|
36
|
-
auctioneer: boolean;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
installation: {
|
|
40
|
-
consume: {
|
|
41
|
-
contractGovernor: boolean;
|
|
42
|
-
auctioneer: boolean;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
issuer: {
|
|
46
|
-
consume: {
|
|
47
|
-
IST: boolean;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
export function getManifestForAddAuction({ restoreRef }: {
|
|
53
|
-
restoreRef: any;
|
|
54
|
-
}, { auctioneerRef, contractGovernorRef }: any): Promise<{
|
|
55
|
-
manifest: {
|
|
56
|
-
[x: string]: {
|
|
57
|
-
consume: {
|
|
58
|
-
agoricNamesAdmin: boolean;
|
|
59
|
-
auctioneerKit: boolean;
|
|
60
|
-
board: boolean;
|
|
61
|
-
chainStorage: boolean;
|
|
62
|
-
chainTimerService: boolean;
|
|
63
|
-
econCharterKit: boolean;
|
|
64
|
-
economicCommitteeCreatorFacet: boolean;
|
|
65
|
-
governedContractKits: boolean;
|
|
66
|
-
priceAuthority8400: boolean;
|
|
67
|
-
retiredContractInstances: boolean;
|
|
68
|
-
zoe: boolean;
|
|
69
|
-
};
|
|
70
|
-
produce: {
|
|
71
|
-
auctioneerKit: boolean;
|
|
72
|
-
auctionUpgradeNewInstance: boolean;
|
|
73
|
-
auctionUpgradeNewGovCreator: boolean;
|
|
74
|
-
newContractGovBundleId: boolean;
|
|
75
|
-
retiredContractInstances: boolean;
|
|
76
|
-
};
|
|
77
|
-
instance: {
|
|
78
|
-
consume: {
|
|
79
|
-
reserve: boolean;
|
|
80
|
-
};
|
|
81
|
-
produce: {
|
|
82
|
-
auctioneer: boolean;
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
|
-
installation: {
|
|
86
|
-
consume: {
|
|
87
|
-
contractGovernor: boolean;
|
|
88
|
-
auctioneer: boolean;
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
issuer: {
|
|
92
|
-
consume: {
|
|
93
|
-
IST: boolean;
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
|
-
};
|
|
98
|
-
options: {
|
|
99
|
-
contractGovernorRef: any;
|
|
100
|
-
contractGovernorInstallation: any;
|
|
101
|
-
};
|
|
102
|
-
installations: {
|
|
103
|
-
auctioneer: any;
|
|
104
|
-
contractGovernor: any;
|
|
105
|
-
};
|
|
106
|
-
}>;
|
|
107
|
-
export type interlockPowers = PromiseSpaceOf<{
|
|
108
|
-
auctionUpgradeNewInstance: Instance;
|
|
109
|
-
auctionUpgradeNewGovCreator: any;
|
|
110
|
-
newContractGovBundleId: string;
|
|
111
|
-
retiredContractInstances: MapStore<string, Instance>;
|
|
112
|
-
}>;
|
|
113
|
-
import { Stable } from '@agoric/internal/src/tokens.js';
|
|
114
|
-
//# sourceMappingURL=add-auction.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"add-auction.d.ts","sourceRoot":"","sources":["add-auction.js"],"names":[],"mappings":"AA4BO,0sBATI,OAAO,qBAAqB,EAAE,sBAAsB,GAC1D,eAAe,gGACT;IACN,OAAO,EAAE;QACP,mBAAmB,EAAE;YAAE,QAAQ,EAAE,MAAM,CAAA;SAAE,CAAC;QAC1C,4BAA4B,EAAE,YAAY,CAAC;KAC5C,CAAC;CACH,iBAuMH;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiCG;AASI,yDAHJ;IAAmB,UAAU,EAArB,GAAG;CACX,0CAAQ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiBb;8BAlRY,cAAc,CAAC;IACvB,yBAAyB,EAAE,QAAQ,CAAC;IACpC,2BAA2B,EAAE,GAAG,CAAC;IACjC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,wBAAwB,EAAE,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;CACtD,CAAC;uBAbkB,gCAAgC"}
|
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
export * from "./startPSM.js";
|
|
2
|
-
export function publishInterchainAssetFromBoardId({ consume: { board, agoricNamesAdmin } }: BootstrapPowers, { options: { interchainAssetOptions } }: {
|
|
3
|
-
options: {
|
|
4
|
-
interchainAssetOptions: InterchainAssetOptions;
|
|
5
|
-
};
|
|
6
|
-
}): Promise<[void, void]>;
|
|
7
|
-
export function publishInterchainAssetFromBank({ consume: { bankManager, agoricNamesAdmin, reserveKit, startUpgradable }, installation: { consume: { mintHolder }, }, }: EconomyBootstrapPowers, { options: { interchainAssetOptions } }: {
|
|
8
|
-
options: {
|
|
9
|
-
interchainAssetOptions: InterchainAssetOptions;
|
|
10
|
-
};
|
|
11
|
-
}): Promise<void>;
|
|
12
|
-
export function startScaledPriceAuthority({ consume: { agoricNamesAdmin, startUpgradable, priceAuthorityAdmin, priceAuthority, }, }: BootstrapPowers, { options: { interchainAssetOptions } }: {
|
|
13
|
-
options: {
|
|
14
|
-
interchainAssetOptions: InterchainAssetOptions;
|
|
15
|
-
};
|
|
16
|
-
}): Promise<{
|
|
17
|
-
instance: import("@agoric/zoe/src/zoeService/utils.js").Instance<import("@agoric/zoe/src/zoeService/utils.js").ContractStartFunction>;
|
|
18
|
-
adminFacet: import("@agoric/zoe/src/zoeService/utils.js").AdminFacet<import("@agoric/zoe/src/zoeService/utils.js").ContractStartFunction>;
|
|
19
|
-
creatorFacet: object;
|
|
20
|
-
publicFacet: object;
|
|
21
|
-
} & {
|
|
22
|
-
creatorFacet?: object;
|
|
23
|
-
publicFacet?: object;
|
|
24
|
-
} & {
|
|
25
|
-
label: string;
|
|
26
|
-
}>;
|
|
27
|
-
export function registerScaledPriceAuthority(powers: BootstrapPowers, { options }: {
|
|
28
|
-
options: object;
|
|
29
|
-
}): Promise<void>;
|
|
30
|
-
export function addAssetToVault({ consume: { vaultFactoryKit, agoricNamesAdmin, auctioneerKit, chainTimerService, }, brand: { consume: { [Stable.symbol]: stableP }, }, instance: { consume: consumeInstance }, }: EconomyBootstrapPowers, { options: { debtLimitValue, interestRateValue, interchainAssetOptions, }, }: {
|
|
31
|
-
options: {
|
|
32
|
-
interchainAssetOptions: InterchainAssetOptions;
|
|
33
|
-
debtLimitValue: bigint | number | string;
|
|
34
|
-
interestRateValue: bigint;
|
|
35
|
-
};
|
|
36
|
-
}): Promise<void>;
|
|
37
|
-
export function getManifestForAddAssetToVault({ restoreRef }: {
|
|
38
|
-
restoreRef: any;
|
|
39
|
-
}, { debtLimitValue, interestRateValue, interchainAssetOptions, scaledPriceAuthorityRef, }: {
|
|
40
|
-
debtLimitValue: any;
|
|
41
|
-
interestRateValue: any;
|
|
42
|
-
interchainAssetOptions: any;
|
|
43
|
-
scaledPriceAuthorityRef: any;
|
|
44
|
-
}): {
|
|
45
|
-
manifest: {
|
|
46
|
-
[x: string]: {
|
|
47
|
-
consume: {
|
|
48
|
-
board: boolean;
|
|
49
|
-
agoricNamesAdmin: boolean;
|
|
50
|
-
bankManager?: undefined;
|
|
51
|
-
reserveKit?: undefined;
|
|
52
|
-
startUpgradable?: undefined;
|
|
53
|
-
priceAuthorityAdmin?: undefined;
|
|
54
|
-
priceAuthority?: undefined;
|
|
55
|
-
auctioneerKit?: undefined;
|
|
56
|
-
vaultFactoryKit?: undefined;
|
|
57
|
-
chainTimerService?: undefined;
|
|
58
|
-
};
|
|
59
|
-
produce?: undefined;
|
|
60
|
-
installation?: undefined;
|
|
61
|
-
instance?: undefined;
|
|
62
|
-
brand?: undefined;
|
|
63
|
-
} | {
|
|
64
|
-
consume: {
|
|
65
|
-
bankManager: boolean;
|
|
66
|
-
agoricNamesAdmin: boolean;
|
|
67
|
-
reserveKit: boolean;
|
|
68
|
-
startUpgradable: boolean;
|
|
69
|
-
board?: undefined;
|
|
70
|
-
priceAuthorityAdmin?: undefined;
|
|
71
|
-
priceAuthority?: undefined;
|
|
72
|
-
auctioneerKit?: undefined;
|
|
73
|
-
vaultFactoryKit?: undefined;
|
|
74
|
-
chainTimerService?: undefined;
|
|
75
|
-
};
|
|
76
|
-
produce: {
|
|
77
|
-
bankMints: boolean;
|
|
78
|
-
vBankKits: boolean;
|
|
79
|
-
};
|
|
80
|
-
installation: {
|
|
81
|
-
consume: {
|
|
82
|
-
mintHolder: boolean;
|
|
83
|
-
scaledPriceAuthority?: undefined;
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
|
-
instance?: undefined;
|
|
87
|
-
brand?: undefined;
|
|
88
|
-
} | {
|
|
89
|
-
consume: {
|
|
90
|
-
agoricNamesAdmin: boolean;
|
|
91
|
-
startUpgradable: boolean;
|
|
92
|
-
priceAuthorityAdmin: boolean;
|
|
93
|
-
priceAuthority: boolean;
|
|
94
|
-
board?: undefined;
|
|
95
|
-
bankManager?: undefined;
|
|
96
|
-
reserveKit?: undefined;
|
|
97
|
-
auctioneerKit?: undefined;
|
|
98
|
-
vaultFactoryKit?: undefined;
|
|
99
|
-
chainTimerService?: undefined;
|
|
100
|
-
};
|
|
101
|
-
instance: {
|
|
102
|
-
produce: boolean;
|
|
103
|
-
consume?: undefined;
|
|
104
|
-
};
|
|
105
|
-
installation: {
|
|
106
|
-
consume: {
|
|
107
|
-
scaledPriceAuthority: boolean;
|
|
108
|
-
mintHolder?: undefined;
|
|
109
|
-
};
|
|
110
|
-
};
|
|
111
|
-
produce?: undefined;
|
|
112
|
-
brand?: undefined;
|
|
113
|
-
} | {
|
|
114
|
-
consume: {
|
|
115
|
-
auctioneerKit: string;
|
|
116
|
-
vaultFactoryKit: string;
|
|
117
|
-
agoricNamesAdmin: boolean;
|
|
118
|
-
chainTimerService: boolean;
|
|
119
|
-
board?: undefined;
|
|
120
|
-
bankManager?: undefined;
|
|
121
|
-
reserveKit?: undefined;
|
|
122
|
-
startUpgradable?: undefined;
|
|
123
|
-
priceAuthorityAdmin?: undefined;
|
|
124
|
-
priceAuthority?: undefined;
|
|
125
|
-
};
|
|
126
|
-
brand: {
|
|
127
|
-
consume: {
|
|
128
|
-
IST: boolean;
|
|
129
|
-
};
|
|
130
|
-
};
|
|
131
|
-
instance: {
|
|
132
|
-
consume: boolean;
|
|
133
|
-
produce?: undefined;
|
|
134
|
-
};
|
|
135
|
-
produce?: undefined;
|
|
136
|
-
installation?: undefined;
|
|
137
|
-
};
|
|
138
|
-
};
|
|
139
|
-
installations: {
|
|
140
|
-
scaledPriceAuthority: any;
|
|
141
|
-
};
|
|
142
|
-
options: {
|
|
143
|
-
debtLimitValue: any;
|
|
144
|
-
interchainAssetOptions: any;
|
|
145
|
-
interestRateValue: any;
|
|
146
|
-
};
|
|
147
|
-
};
|
|
148
|
-
export type InterchainAssetOptions = {
|
|
149
|
-
issuerBoardId?: string | undefined;
|
|
150
|
-
denom?: string | undefined;
|
|
151
|
-
decimalPlaces?: number | undefined;
|
|
152
|
-
/**
|
|
153
|
-
* - used in regstering with reserve, vaultFactory
|
|
154
|
-
*/
|
|
155
|
-
keyword: string;
|
|
156
|
-
/**
|
|
157
|
-
* - used in agoricNames for compatibility:
|
|
158
|
-
* defaults to `keyword` if not provided
|
|
159
|
-
*/
|
|
160
|
-
issuerName?: string | undefined;
|
|
161
|
-
/**
|
|
162
|
-
* - defaults to `issuerName` if not provided
|
|
163
|
-
*/
|
|
164
|
-
proposedName?: string | undefined;
|
|
165
|
-
/**
|
|
166
|
-
* - defaults to `issuerName` if not provided
|
|
167
|
-
*/
|
|
168
|
-
oracleBrand?: string | undefined;
|
|
169
|
-
initialPrice?: number | undefined;
|
|
170
|
-
};
|
|
171
|
-
import type { EconomyBootstrapPowers } from './econ-behaviors.js';
|
|
172
|
-
import { Stable } from '@agoric/internal/src/tokens.js';
|
|
173
|
-
//# sourceMappingURL=addAssetToVault.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"addAssetToVault.d.ts","sourceRoot":"","sources":["addAssetToVault.js"],"names":[],"mappings":";AA4CO,4FALI,eAAe,2CAEvB;IAAuB,OAAO,EAC9B;QAA+C,sBAAsB,EAA7D,sBAAsB;KAChC;CAAA,yBAsBA;AAQM,yKALI,sBAAsB,2CAE9B;IAAuB,OAAO,EAC9B;QAA+C,sBAAsB,EAA7D,sBAAsB;KAChC;CAAA,iBAmDA;AAQM,qIALI,eAAe,2CAEvB;IAAuB,OAAO,EAC9B;QAA+C,sBAAsB,EAA7D,sBAAsB;KAChC;CAAA;;;;;;;;;;GAuGA;AAOM,qDAJI,eAAe,eAEvB;IAAuB,OAAO,EAAtB,MAAM;CAChB,iBAgBA;AA+EM,mNAPI,sBAAsB,gFAE9B;IAAuB,OAAO,EAC9B;QAA+C,sBAAsB,EAA7D,sBAAsB;QACmB,cAAc,EAAvD,MAAM,GAAG,MAAM,GAAG,MAAM;QACD,iBAAiB,EAAxC,MAAM;KAChB;CAAA,iBAyEA;AAEM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8EN;;;;;;;;aA1ca,MAAM;;;;;;;;;;;;;;;;4CAQsB,qBAAqB;uBAzBxC,gCAAgC"}
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
export function inviteCommitteeMembers({ consume: { namesByAddressAdmin, economicCommitteeCreatorFacet, ...consume }, }: import("./econ-behaviors.js").EconomyBootstrapPowers, { options: { voterAddresses } }: {
|
|
2
|
-
options: {
|
|
3
|
-
voterAddresses: Record<string, string>;
|
|
4
|
-
};
|
|
5
|
-
}): Promise<void>;
|
|
6
|
-
export function startEconCharter({ consume: { zoe }, produce: { econCharterKit }, installation: { consume: { binaryVoteCounter: counterP, econCommitteeCharter: installP }, }, instance: { produce: { econCommitteeCharter: instanceP }, }, }: import("./econ-behaviors.js").EconomyBootstrapPowers): Promise<void>;
|
|
7
|
-
export function addGovernorsToEconCharter({ consume: { reserveKit, vaultFactoryKit, econCharterKit, auctioneerKit }, instance: { consume: { reserve, VaultFactory, auctioneer }, }, }: import("./econ-behaviors.js").EconomyBootstrapPowers): Promise<void>;
|
|
8
|
-
export function inviteToEconCharter({ consume: { namesByAddressAdmin, econCharterKit } }: import("./econ-behaviors.js").EconomyBootstrapPowers, { options: { voterAddresses } }: {
|
|
9
|
-
options: {
|
|
10
|
-
voterAddresses: Record<string, string>;
|
|
11
|
-
};
|
|
12
|
-
}): Promise<void>;
|
|
13
|
-
export function getManifestForInviteCommittee({ restoreRef }: {
|
|
14
|
-
restoreRef: any;
|
|
15
|
-
}, { voterAddresses, econCommitteeCharterRef }: {
|
|
16
|
-
voterAddresses: any;
|
|
17
|
-
econCommitteeCharterRef: any;
|
|
18
|
-
}): Promise<{
|
|
19
|
-
manifest: {
|
|
20
|
-
[x: string]: {
|
|
21
|
-
consume: {
|
|
22
|
-
namesByAddressAdmin: boolean;
|
|
23
|
-
economicCommitteeCreatorFacet: boolean;
|
|
24
|
-
highPrioritySendersManager: boolean;
|
|
25
|
-
zoe?: undefined;
|
|
26
|
-
auctioneerKit?: undefined;
|
|
27
|
-
econCharterKit?: undefined;
|
|
28
|
-
agoricNames?: undefined;
|
|
29
|
-
reserveKit?: undefined;
|
|
30
|
-
vaultFactoryKit?: undefined;
|
|
31
|
-
};
|
|
32
|
-
produce?: undefined;
|
|
33
|
-
installation?: undefined;
|
|
34
|
-
instance?: undefined;
|
|
35
|
-
} | {
|
|
36
|
-
consume: {
|
|
37
|
-
zoe: boolean;
|
|
38
|
-
namesByAddressAdmin?: undefined;
|
|
39
|
-
economicCommitteeCreatorFacet?: undefined;
|
|
40
|
-
highPrioritySendersManager?: undefined;
|
|
41
|
-
auctioneerKit?: undefined;
|
|
42
|
-
econCharterKit?: undefined;
|
|
43
|
-
agoricNames?: undefined;
|
|
44
|
-
reserveKit?: undefined;
|
|
45
|
-
vaultFactoryKit?: undefined;
|
|
46
|
-
};
|
|
47
|
-
produce: {
|
|
48
|
-
econCharterKit: boolean;
|
|
49
|
-
};
|
|
50
|
-
installation: {
|
|
51
|
-
consume: {
|
|
52
|
-
binaryVoteCounter: boolean;
|
|
53
|
-
econCommitteeCharter: boolean;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
instance: {
|
|
57
|
-
produce: {
|
|
58
|
-
econCommitteeCharter: boolean;
|
|
59
|
-
};
|
|
60
|
-
consume?: undefined;
|
|
61
|
-
};
|
|
62
|
-
} | {
|
|
63
|
-
consume: {
|
|
64
|
-
auctioneerKit: boolean;
|
|
65
|
-
econCharterKit: boolean;
|
|
66
|
-
zoe: boolean;
|
|
67
|
-
agoricNames: boolean;
|
|
68
|
-
namesByAddressAdmin: boolean;
|
|
69
|
-
economicCommitteeCreatorFacet: boolean;
|
|
70
|
-
reserveKit: boolean;
|
|
71
|
-
vaultFactoryKit: boolean;
|
|
72
|
-
highPrioritySendersManager?: undefined;
|
|
73
|
-
};
|
|
74
|
-
installation: {
|
|
75
|
-
consume: {
|
|
76
|
-
binaryVoteCounter: boolean;
|
|
77
|
-
econCommitteeCharter?: undefined;
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
instance: {
|
|
81
|
-
consume: {
|
|
82
|
-
auctioneer: boolean;
|
|
83
|
-
reserve: boolean;
|
|
84
|
-
VaultFactory: boolean;
|
|
85
|
-
};
|
|
86
|
-
produce?: undefined;
|
|
87
|
-
};
|
|
88
|
-
produce?: undefined;
|
|
89
|
-
} | {
|
|
90
|
-
consume: {
|
|
91
|
-
namesByAddressAdmin: boolean;
|
|
92
|
-
econCharterKit: boolean;
|
|
93
|
-
economicCommitteeCreatorFacet?: undefined;
|
|
94
|
-
highPrioritySendersManager?: undefined;
|
|
95
|
-
zoe?: undefined;
|
|
96
|
-
auctioneerKit?: undefined;
|
|
97
|
-
agoricNames?: undefined;
|
|
98
|
-
reserveKit?: undefined;
|
|
99
|
-
vaultFactoryKit?: undefined;
|
|
100
|
-
};
|
|
101
|
-
produce?: undefined;
|
|
102
|
-
installation?: undefined;
|
|
103
|
-
instance?: undefined;
|
|
104
|
-
};
|
|
105
|
-
};
|
|
106
|
-
installations: {
|
|
107
|
-
econCommitteeCharter: any;
|
|
108
|
-
};
|
|
109
|
-
options: {
|
|
110
|
-
voterAddresses: any;
|
|
111
|
-
};
|
|
112
|
-
}>;
|
|
113
|
-
//# sourceMappingURL=committee-proposal.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"committee-proposal.d.ts","sourceRoot":"","sources":["committee-proposal.js"],"names":[],"mappings":"AAeO,yHAHI,OAAO,qBAAqB,EAAE,sBAAsB,mCACpD;IAAE,OAAO,EAAE;QAAE,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;KAAE,CAAA;CAAE,iBAoCjE;AAKM,+OADK,OAAO,qBAAqB,EAAE,sBAAsB,iBA+B/D;AAQM,uLAFI,OAAO,qBAAqB,EAAE,sBAAsB,iBAiC9D;AAQM,0FAHI,OAAO,qBAAqB,EAAE,sBAAsB,mCACpD;IAAE,OAAO,EAAE;QAAE,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;KAAE,CAAA;CAAE,iBAkBjE;AAIM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDN"}
|