@agoric/governance 0.10.4-dev-8a7c1b2.0 → 0.10.4-dev-b78165c.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 +10 -10
- package/src/binaryVoteCounter.d.ts.map +1 -1
- package/src/binaryVoteCounter.js +1 -0
- package/src/committee.d.ts +1 -0
- package/src/committee.d.ts.map +1 -1
- package/src/committee.js +1 -0
- package/src/contractGovernance/paramManager.d.ts +1 -0
- package/src/contractGovernance/paramManager.d.ts.map +1 -1
- package/src/contractGovernance/paramManager.js +1 -0
- package/src/electorateTools.d.ts +2 -0
- package/src/electorateTools.d.ts.map +1 -1
- package/src/electorateTools.js +1 -0
- package/src/multiCandidateVoteCounter.d.ts.map +1 -1
- package/src/multiCandidateVoteCounter.js +1 -0
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-b78165c.0+b78165c",
|
|
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-b78165c.0+b78165c",
|
|
35
|
+
"@agoric/internal": "0.3.3-dev-b78165c.0+b78165c",
|
|
36
|
+
"@agoric/notifier": "0.6.3-dev-b78165c.0+b78165c",
|
|
37
|
+
"@agoric/store": "0.9.3-dev-b78165c.0+b78165c",
|
|
38
|
+
"@agoric/time": "0.3.3-dev-b78165c.0+b78165c",
|
|
39
|
+
"@agoric/vat-data": "0.5.3-dev-b78165c.0+b78165c",
|
|
40
|
+
"@agoric/zoe": "0.26.3-dev-b78165c.0+b78165c",
|
|
41
41
|
"@endo/bundle-source": "^3.5.0",
|
|
42
42
|
"@endo/captp": "^4.4.3",
|
|
43
43
|
"@endo/errors": "^1.2.8",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"import-meta-resolve": "^2.2.1"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
52
|
+
"@agoric/swingset-vat": "0.32.3-dev-b78165c.0+b78165c",
|
|
53
53
|
"@endo/bundle-source": "^3.5.0",
|
|
54
54
|
"@endo/init": "^1.1.7",
|
|
55
55
|
"ava": "^5.3.0",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"typeCoverage": {
|
|
79
79
|
"atLeast": 89.49
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "b78165cebb22ad74ee7053e448f1e0df7f6fa4bd"
|
|
82
82
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"binaryVoteCounter.d.ts","sourceRoot":"","sources":["binaryVoteCounter.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"binaryVoteCounter.d.ts","sourceRoot":"","sources":["binaryVoteCounter.js"],"names":[],"mappings":"AA2CA,+BAA+B;AAC/B,oCADW,gBAAgB,CA8JzB;AAMF;;;GAGG;AACH,2BAHW,GAAG,CAAC;IAAC,YAAY,EAAE,YAAY,CAAC;IAAC,eAAe,EAAE,MAAM,CAAA;CAAC,CAAC,wBAC1D;IAAC,gBAAgB,EAAE,SAAS,CAAC,aAAa,CAAC,CAAA;CAAC;;;EAoBtD;sCAhNyF,YAAY;kCAAZ,YAAY;mCAAZ,YAAY"}
|
package/src/binaryVoteCounter.js
CHANGED
package/src/committee.d.ts
CHANGED
package/src/committee.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"committee.d.ts","sourceRoot":"","sources":["committee.js"],"names":[],"mappings":"AAiBA
|
|
1
|
+
{"version":3,"file":"committee.d.ts","sourceRoot":"","sources":["committee.js"],"names":[],"mappings":"AAiBA;;;GAGG;AAEH;;;;GAIG;AAEH,yCAAyC;AACzC,mBADW,YAAY,CAAC,OAAO,KAAK,CAAC,CAOnC;AAoBK,2BARI,GAAG,CAAC;IACV,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC,eACM;IAAE,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;IAAC,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,CAAA;CAAC,WAC/D,OAAO,kBAAkB,EAAE,OAAO,GAChC;IAAC,YAAY,EAAE,+BAA+B,CAAC;IAAC,WAAW,EAAE,yBAAyB,CAAA;CAAC,CAkInG;8CAhKa,sBAAsB,GAAG;IAClC,mBAAmB,EAAE,MAAM,OAAO,CAAC,UAAU,CAAC;QAAE,KAAK,EAAE;YAAE,aAAa,CAAC,MAAM,EAAE,GAAG,EAAE,MAAM,CAAC,EAAE,GAAG,GAAK,IAAI,CAAA;SAAC,CAAA;KAAC,CAAC,CAAC,EAAE,CAAA;CAChH;+CAN6G,YAAY;4CAAZ,YAAY"}
|
package/src/committee.js
CHANGED
|
@@ -16,6 +16,7 @@ import { ElectorateCreatorI, ElectoratePublicI } from './typeGuards.js';
|
|
|
16
16
|
import { prepareVoterKit } from './voterKit.js';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
|
+
* @import {MapStore} from '@agoric/swingset-liveslots';
|
|
19
20
|
* @import {ElectorateCreatorFacet, CommitteeElectoratePublic, QuestionDetails, OutcomeRecord, AddQuestion} from './types.js';
|
|
20
21
|
*/
|
|
21
22
|
|
|
@@ -14,6 +14,7 @@ export type ParamManagerBuilder = {
|
|
|
14
14
|
build: () => AnyParamManager;
|
|
15
15
|
};
|
|
16
16
|
/**
|
|
17
|
+
* @import {MapStore} from '@agoric/swingset-liveslots';
|
|
17
18
|
* @import {AnyParamManager, GovernanceSubscriptionState, ParamManagerBase, ParamStateRecord, ParamValueTyped, UpdateParams} from '../types.js';
|
|
18
19
|
*/
|
|
19
20
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paramManager.d.ts","sourceRoot":"","sources":["paramManager.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"paramManager.d.ts","sourceRoot":"","sources":["paramManager.js"],"names":[],"mappings":";eA2Cc,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,mBAAmB;cACpD,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,KAAK,mBAAmB;qBACnD,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY,KAAK,mBAAmB;iBAC1D,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,KAAK,mBAAmB;mBACtD,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,KAAK,mBAAmB;YACxD,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,mBAAmB;cACpD,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,KAAK,mBAAmB;eACnD,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,eAAe,EAAE,UAAU,CAAC,GAAG,CAAC,KAAK,mBAAmB;eACrF,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,mBAAmB;kBACpD,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,cAAc,EAAE,SAAS,KAAK,mBAAmB;qBAC9E,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,cAAc,EAAE,YAAY,KAAK,mBAAmB;gBACjF,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,mBAAmB;WACjD,MAAM,eAAe;;AAnCnC;;;GAGG;AAEH;;;GAGG;AACH,sDAHW,gBAAgB,kBAChB;IAAC,CAAC,mBAAmB,CAAC,EAAE,gBAAgB,YAAY,CAAC,CAAA;CAAC,QAYhE;AAED;;;;;;;;;;;;;;;GAeG;AAEH;;;GAGG;AACH,sDAHW,OAAO,kBAAkB,EAAE,kBAAkB,CAAC,2BAA2B,CAAC,QAC1E,IAAI,CAAC,UAAU,CAAC,uBAgX1B;qCAtZiI,aAAa;sCAAb,aAAa;oCAJ3G,kBAAkB;qCAI4E,aAAa;iDAAb,aAAa"}
|
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
import { CONTRACT_ELECTORATE } from './governParam.js';
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
+
* @import {MapStore} from '@agoric/swingset-liveslots';
|
|
22
23
|
* @import {AnyParamManager, GovernanceSubscriptionState, ParamManagerBase, ParamStateRecord, ParamValueTyped, UpdateParams} from '../types.js';
|
|
23
24
|
*/
|
|
24
25
|
|
package/src/electorateTools.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export type QuestionRecord = {
|
|
|
4
4
|
deadline: import("@agoric/time").Timestamp;
|
|
5
5
|
};
|
|
6
6
|
/**
|
|
7
|
+
* @import {MapStore} from '@agoric/swingset-liveslots';
|
|
7
8
|
* @import {VoteCounterCreatorFacet, VoteCounterPublicFacet, QuestionSpec, OutcomeRecord, AddQuestion, AddQuestionReturn} from './types.js';
|
|
8
9
|
*/
|
|
9
10
|
/**
|
|
@@ -44,6 +45,7 @@ export function getPoserInvitation(zcf: ZCF, addQuestion: AddQuestion): Promise<
|
|
|
44
45
|
import type { VoteCounterCreatorFacet } from './types.js';
|
|
45
46
|
import type { VoteCounterPublicFacet } from './types.js';
|
|
46
47
|
import type { QuestionSpec } from './types.js';
|
|
48
|
+
import type { MapStore } from '@agoric/swingset-liveslots';
|
|
47
49
|
import type { OutcomeRecord } from './types.js';
|
|
48
50
|
import type { AddQuestionReturn } from './types.js';
|
|
49
51
|
import type { AddQuestion } from './types.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"electorateTools.d.ts","sourceRoot":"","sources":["electorateTools.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"electorateTools.d.ts","sourceRoot":"","sources":["electorateTools.js"],"names":[],"mappings":";aAWc,IAAI,CAAC,uBAAuB,CAAC;iBAC7B,sBAAsB;cACtB,OAAO,cAAc,EAAE,SAAS;;AAT9C;;;GAGG;AAEH;;;;;GAKG;AAEH;;;;;;;;;;;GAWG;AACH,kCATW,GAAG,gBACH,YAAY,mBACZ,OAAO,eACP,IAAI,CAAC,YAAY,CAAC,iBAClB,SAAS,MAAM,CAAC,UAAU,CAAC,EAAE,cAAc,CAAC,sBAC5C,SAAS,CAAC,OAAO,CAAC,oBAClB,SAAS,CAAC,aAAa,CAAC,GACtB,OAAO,CAAC,iBAAiB,CAAC,CAsCtC;AAED,0EAA0E;AAC1E,gDADY,SAAS,MAAM,CAAC,UAAU,CAAC,EAAE,cAAc,CAAC,iCAcvD;AAED;;;GAGG;AACH,6CAHW,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,iBACxB,SAAS,MAAM,CAAC,UAAU,CAAC,EAAE,cAAc,CAAC,0CAKpD;AAEH;;;GAGG;AACH,wCAHW,GAAG,eACH,WAAW;;;;gBAarB;6CApG8H,YAAY;4CAAZ,YAAY;kCAAZ,YAAY;8BADhH,4BAA4B;mCACwE,YAAY;uCAAZ,YAAY;iCAAZ,YAAY"}
|
package/src/electorateTools.js
CHANGED
|
@@ -3,6 +3,7 @@ import { E } from '@endo/eventual-send';
|
|
|
3
3
|
import { deeplyFulfilled, Far } from '@endo/marshal';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
+
* @import {MapStore} from '@agoric/swingset-liveslots';
|
|
6
7
|
* @import {VoteCounterCreatorFacet, VoteCounterPublicFacet, QuestionSpec, OutcomeRecord, AddQuestion, AddQuestionReturn} from './types.js';
|
|
7
8
|
*/
|
|
8
9
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multiCandidateVoteCounter.d.ts","sourceRoot":"","sources":["multiCandidateVoteCounter.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"multiCandidateVoteCounter.d.ts","sourceRoot":"","sources":["multiCandidateVoteCounter.js"],"names":[],"mappings":"AAoCA,oCAAoC;AACpC,4CADW,qBAAqB,CAwL9B;AAEF;;;GAGG;AACH,2BAHW,GAAG,CAAC;IAAC,YAAY,EAAE,YAAY,CAAC;IAAC,eAAe,EAAE,MAAM,CAAA;CAAE,CAAC,wBAC3D;IAAC,gBAAgB,EAAE,SAAS,CAAC,kBAAkB,CAAC,CAAA;CAAC;;;EAgB3D;2CA1NmG,YAAY;kCAAZ,YAAY;wCAAZ,YAAY"}
|
|
@@ -19,6 +19,7 @@ import { makeQuorumCounter } from './quorumCounter.js';
|
|
|
19
19
|
import { breakTie } from './breakTie.js';
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
+
* @import {MapStore} from '@agoric/swingset-liveslots';
|
|
22
23
|
* @import {QuestionSpec, BuildMultiVoteCounter, MultiOutcomeRecord, Position, VoteStatistics} from './types.js';
|
|
23
24
|
*/
|
|
24
25
|
|