@agoric/governance 0.10.4-dev-6d71e87.0 → 0.10.4-dev-10ec2d9.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/governance",
|
|
3
|
-
"version": "0.10.4-dev-
|
|
3
|
+
"version": "0.10.4-dev-10ec2d9.0+10ec2d9",
|
|
4
4
|
"description": "Core governance support",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -31,13 +31,13 @@
|
|
|
31
31
|
},
|
|
32
32
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
35
|
-
"@agoric/internal": "0.3.3-dev-
|
|
36
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
37
|
-
"@agoric/store": "0.9.3-dev-
|
|
38
|
-
"@agoric/time": "0.3.3-dev-
|
|
39
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
40
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
34
|
+
"@agoric/ertp": "0.16.3-dev-10ec2d9.0+10ec2d9",
|
|
35
|
+
"@agoric/internal": "0.3.3-dev-10ec2d9.0+10ec2d9",
|
|
36
|
+
"@agoric/notifier": "0.6.3-dev-10ec2d9.0+10ec2d9",
|
|
37
|
+
"@agoric/store": "0.9.3-dev-10ec2d9.0+10ec2d9",
|
|
38
|
+
"@agoric/time": "0.3.3-dev-10ec2d9.0+10ec2d9",
|
|
39
|
+
"@agoric/vat-data": "0.5.3-dev-10ec2d9.0+10ec2d9",
|
|
40
|
+
"@agoric/zoe": "0.26.3-dev-10ec2d9.0+10ec2d9",
|
|
41
41
|
"@endo/bundle-source": "^4.0.0",
|
|
42
42
|
"@endo/captp": "^4.4.5",
|
|
43
43
|
"@endo/errors": "^1.2.10",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"import-meta-resolve": "^4.1.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
52
|
+
"@agoric/swingset-vat": "0.32.3-dev-10ec2d9.0+10ec2d9",
|
|
53
53
|
"@endo/bundle-source": "^4.0.0",
|
|
54
54
|
"@endo/init": "^1.1.9",
|
|
55
55
|
"ava": "^5.3.0",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"typeCoverage": {
|
|
79
79
|
"atLeast": 89.47
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "10ec2d9d92b0ecd194a22685d56c29d4de5dc878"
|
|
82
82
|
}
|
|
@@ -16,7 +16,7 @@ export function prepareContractGovernorKit(baggage: import("@agoric/vat-data").B
|
|
|
16
16
|
*/
|
|
17
17
|
replaceElectorate(poserInvitation: Invitation): Promise<void>;
|
|
18
18
|
voteOnParamChanges(voteCounterInstallation: Installation, deadline: import("@agoric/time").Timestamp, paramSpec: import("./types.js").ParamChangesSpec<import("./types.js").StandardParamPath>): Promise<import("./types.js").ContractGovernanceVoteResult>;
|
|
19
|
-
voteOnApiInvocation(apiMethodName: string, methodArgs:
|
|
19
|
+
voteOnApiInvocation(apiMethodName: string, methodArgs: Passable[], voteCounterInstallation: Installation, deadline: import("@agoric/time").Timestamp): Promise<import("./types.js").ContractGovernanceVoteResult>;
|
|
20
20
|
voteOnOfferFilter(voteCounterInstallation: Installation, deadline: import("@agoric/time").Timestamp, strings: string[]): Promise<import("./types.js").ContractGovernanceVoteResult>;
|
|
21
21
|
getCreatorFacet(): any;
|
|
22
22
|
getAdminFacet(): import("@agoric/zoe/src/zoeService/utils.js").AdminFacet<GovernableStartFn>;
|
package/src/contractHelper.d.ts
CHANGED
|
@@ -59,7 +59,7 @@ export function handleParamGovernance<M extends import("./contractGovernance/typ
|
|
|
59
59
|
getUnknown: import("@agoric/swingset-liveslots").PlusContext<never, ((name: string) => InvitationAmount) | ((name: string) => Amount) | ((name: string) => Brand) | ((name: string) => Instance) | ((name: string) => Installation) | ((name: string) => bigint) | ((name: string) => Ratio) | ((name: string) => string) | ((name: string) => import("@agoric/time").TimestampRecord) | ((name: string) => import("@agoric/time").RelativeTimeRecord) | ((name: string) => any)>;
|
|
60
60
|
getSubscription: () => globalThis.StoredSubscription<GovernanceSubscriptionState>;
|
|
61
61
|
getGovernedParams: () => globalThis.ERef<import("./types.js").ParamStateRecord>;
|
|
62
|
-
} &
|
|
62
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, OPF & {
|
|
63
63
|
getBrand: import("@agoric/swingset-liveslots").PlusContext<never, ((name: string) => InvitationAmount) | ((name: string) => Amount) | ((name: string) => Brand) | ((name: string) => Instance) | ((name: string) => Installation) | ((name: string) => bigint) | ((name: string) => Ratio) | ((name: string) => string) | ((name: string) => import("@agoric/time").TimestampRecord) | ((name: string) => import("@agoric/time").RelativeTimeRecord) | ((name: string) => any)>;
|
|
64
64
|
getInstallation: import("@agoric/swingset-liveslots").PlusContext<never, ((name: string) => InvitationAmount) | ((name: string) => Amount) | ((name: string) => Brand) | ((name: string) => Instance) | ((name: string) => Installation) | ((name: string) => bigint) | ((name: string) => Ratio) | ((name: string) => string) | ((name: string) => import("@agoric/time").TimestampRecord) | ((name: string) => import("@agoric/time").RelativeTimeRecord) | ((name: string) => any)>;
|
|
65
65
|
getInstance: import("@agoric/swingset-liveslots").PlusContext<never, ((name: string) => InvitationAmount) | ((name: string) => Amount) | ((name: string) => Brand) | ((name: string) => Instance) | ((name: string) => Installation) | ((name: string) => bigint) | ((name: string) => Ratio) | ((name: string) => string) | ((name: string) => import("@agoric/time").TimestampRecord) | ((name: string) => import("@agoric/time").RelativeTimeRecord) | ((name: string) => any)>;
|
|
@@ -88,7 +88,7 @@ export function handleParamGovernance<M extends import("./contractGovernance/typ
|
|
|
88
88
|
get: () => import("./contractGovernance/typedParamManager.js").TypedParamManager<M & {
|
|
89
89
|
Electorate: "invitation";
|
|
90
90
|
}>;
|
|
91
|
-
} &
|
|
91
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
92
92
|
get: () => import("./contractGovernance/typedParamManager.js").TypedParamManager<M & {
|
|
93
93
|
Electorate: "invitation";
|
|
94
94
|
}>;
|
package/src/electorateTools.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export function getQuestion(questionHandleP: ERef<Handle<"Question">>, questionS
|
|
|
40
40
|
*/
|
|
41
41
|
export function getPoserInvitation(zcf: ZCF, addQuestion: AddQuestion): Promise<Invitation<{
|
|
42
42
|
addQuestion: AddQuestion;
|
|
43
|
-
} &
|
|
43
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
44
44
|
addQuestion: AddQuestion;
|
|
45
45
|
}>, undefined>>;
|
|
46
46
|
import type { VoteCounterCreatorFacet } from './types.js';
|
package/src/quorumCounter.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export function makeQuorumCounter(quorumThreshold: any): {
|
|
2
2
|
check: (stats: any) => boolean;
|
|
3
|
-
} &
|
|
3
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
4
4
|
check: (stats: any) => boolean;
|
|
5
5
|
}>;
|
|
6
6
|
//# sourceMappingURL=quorumCounter.d.ts.map
|
|
@@ -23,20 +23,20 @@ export function setUpGovernedContract<T extends GovernableStartFn>(zoe: ERef<Zoe
|
|
|
23
23
|
}) => Promise<{
|
|
24
24
|
creatorFacet: {
|
|
25
25
|
changeParams: (paramSpec: import("../src/types.js").ParamChangesSpec<any>) => Promise<void>;
|
|
26
|
-
invokeAPI: (apiMethodName: string, methodArgs:
|
|
26
|
+
invokeAPI: (apiMethodName: string, methodArgs: Passable[]) => Promise<{
|
|
27
27
|
apiMethodName: string;
|
|
28
|
-
methodArgs:
|
|
28
|
+
methodArgs: Passable[];
|
|
29
29
|
}>;
|
|
30
30
|
setFilters: (strings: Array<string>) => Promise<void>;
|
|
31
31
|
getCreatorFacet: () => Promise<{}>;
|
|
32
32
|
getAdminFacet: () => import("@agoric/zoe/src/zoeService/utils.js").AdminFacet<SF>;
|
|
33
33
|
getInstance: () => Instance<SF>;
|
|
34
34
|
getPublicFacet: () => Awaited<ReturnType<SF>>["publicFacet"];
|
|
35
|
-
} &
|
|
35
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
36
36
|
changeParams: (paramSpec: import("../src/types.js").ParamChangesSpec<any>) => Promise<void>;
|
|
37
|
-
invokeAPI: (apiMethodName: string, methodArgs:
|
|
37
|
+
invokeAPI: (apiMethodName: string, methodArgs: Passable[]) => Promise<{
|
|
38
38
|
apiMethodName: string;
|
|
39
|
-
methodArgs:
|
|
39
|
+
methodArgs: Passable[];
|
|
40
40
|
}>;
|
|
41
41
|
setFilters: (strings: Array<string>) => Promise<void>;
|
|
42
42
|
getCreatorFacet: () => Promise<{}>;
|
|
@@ -46,7 +46,7 @@ export function setUpGovernedContract<T extends GovernableStartFn>(zoe: ERef<Zoe
|
|
|
46
46
|
}>;
|
|
47
47
|
publicFacet: {
|
|
48
48
|
getGovernedContract: () => Instance<SF>;
|
|
49
|
-
} &
|
|
49
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
50
50
|
getGovernedContract: () => Instance<SF>;
|
|
51
51
|
}>;
|
|
52
52
|
}>)>;
|
|
@@ -67,20 +67,20 @@ export function setUpGovernedContract<T extends GovernableStartFn>(zoe: ERef<Zoe
|
|
|
67
67
|
}) => Promise<{
|
|
68
68
|
creatorFacet: {
|
|
69
69
|
changeParams: (paramSpec: import("../src/types.js").ParamChangesSpec<any>) => Promise<void>;
|
|
70
|
-
invokeAPI: (apiMethodName: string, methodArgs:
|
|
70
|
+
invokeAPI: (apiMethodName: string, methodArgs: Passable[]) => Promise<{
|
|
71
71
|
apiMethodName: string;
|
|
72
|
-
methodArgs:
|
|
72
|
+
methodArgs: Passable[];
|
|
73
73
|
}>;
|
|
74
74
|
setFilters: (strings: Array<string>) => Promise<void>;
|
|
75
75
|
getCreatorFacet: () => Promise<{}>;
|
|
76
76
|
getAdminFacet: () => import("@agoric/zoe/src/zoeService/utils.js").AdminFacet<SF>;
|
|
77
77
|
getInstance: () => Instance<SF>;
|
|
78
78
|
getPublicFacet: () => Awaited<ReturnType<SF>>["publicFacet"];
|
|
79
|
-
} &
|
|
79
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
80
80
|
changeParams: (paramSpec: import("../src/types.js").ParamChangesSpec<any>) => Promise<void>;
|
|
81
|
-
invokeAPI: (apiMethodName: string, methodArgs:
|
|
81
|
+
invokeAPI: (apiMethodName: string, methodArgs: Passable[]) => Promise<{
|
|
82
82
|
apiMethodName: string;
|
|
83
|
-
methodArgs:
|
|
83
|
+
methodArgs: Passable[];
|
|
84
84
|
}>;
|
|
85
85
|
setFilters: (strings: Array<string>) => Promise<void>;
|
|
86
86
|
getCreatorFacet: () => Promise<{}>;
|
|
@@ -90,7 +90,7 @@ export function setUpGovernedContract<T extends GovernableStartFn>(zoe: ERef<Zoe
|
|
|
90
90
|
}>;
|
|
91
91
|
publicFacet: {
|
|
92
92
|
getGovernedContract: () => Instance<SF>;
|
|
93
|
-
} &
|
|
93
|
+
} & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
94
94
|
getGovernedContract: () => Instance<SF>;
|
|
95
95
|
}>;
|
|
96
96
|
}>)>;
|