@geoprotocol/geo-sdk 0.19.1 → 0.19.3
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/dist/examples/ranks/create-ordinal-rank.d.ts +1 -1
- package/dist/examples/ranks/create-ordinal-rank.js +9 -6
- package/dist/examples/ranks/create-ordinal-rank.js.map +1 -1
- package/dist/examples/ranks/create-weighted-rank.d.ts +1 -1
- package/dist/examples/ranks/create-weighted-rank.js +9 -6
- package/dist/examples/ranks/create-weighted-rank.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/src/abis/dao-space-factory.d.ts +6 -43
- package/dist/src/abis/dao-space-factory.d.ts.map +1 -1
- package/dist/src/abis/dao-space-factory.js +27 -38
- package/dist/src/abis/dao-space-factory.js.map +1 -1
- package/dist/src/abis/dao-space.d.ts +7 -98
- package/dist/src/abis/dao-space.d.ts.map +1 -1
- package/dist/src/abis/dao-space.js +99 -61
- package/dist/src/abis/dao-space.js.map +1 -1
- package/dist/src/abis/index.d.ts +2 -2
- package/dist/src/abis/index.d.ts.map +1 -1
- package/dist/src/abis/index.js +2 -2
- package/dist/src/abis/index.js.map +1 -1
- package/dist/src/abis/space-registry.d.ts +0 -26
- package/dist/src/abis/space-registry.d.ts.map +1 -1
- package/dist/src/abis/space-registry.js +0 -33
- package/dist/src/abis/space-registry.js.map +1 -1
- package/dist/src/client/dao-spaces.d.ts +33 -93
- package/dist/src/client/dao-spaces.d.ts.map +1 -1
- package/dist/src/client/dao-spaces.js +42 -174
- package/dist/src/client/dao-spaces.js.map +1 -1
- package/dist/src/client/dao-spaces.test.js +79 -313
- package/dist/src/client/dao-spaces.test.js.map +1 -1
- package/dist/src/client/personal-spaces.d.ts +0 -74
- package/dist/src/client/personal-spaces.d.ts.map +1 -1
- package/dist/src/client/personal-spaces.js +2 -82
- package/dist/src/client/personal-spaces.js.map +1 -1
- package/dist/src/client/ranks.d.ts +36 -0
- package/dist/src/client/ranks.d.ts.map +1 -0
- package/dist/src/client/ranks.js +57 -0
- package/dist/src/client/ranks.js.map +1 -0
- package/dist/src/client/ranks.test.d.ts +2 -0
- package/dist/src/client/ranks.test.d.ts.map +1 -0
- package/dist/src/client/ranks.test.js +96 -0
- package/dist/src/client/ranks.test.js.map +1 -0
- package/dist/src/client/spaces.test.js +7 -27
- package/dist/src/client/spaces.test.js.map +1 -1
- package/dist/src/client.d.ts +21 -33
- package/dist/src/client.d.ts.map +1 -1
- package/dist/src/client.js +81 -102
- package/dist/src/client.js.map +1 -1
- package/dist/src/client.test.js +3 -8
- package/dist/src/client.test.js.map +1 -1
- package/dist/src/core/ids/system.d.ts +8 -0
- package/dist/src/core/ids/system.d.ts.map +1 -1
- package/dist/src/core/ids/system.js +8 -0
- package/dist/src/core/ids/system.js.map +1 -1
- package/dist/src/dao-space/constants.d.ts +0 -10
- package/dist/src/dao-space/constants.d.ts.map +1 -1
- package/dist/src/dao-space/constants.js +0 -10
- package/dist/src/dao-space/constants.js.map +1 -1
- package/dist/src/dao-space/execute-proposal.d.ts +1 -1
- package/dist/src/dao-space/execute-proposal.js +2 -2
- package/dist/src/dao-space/execute-proposal.js.map +1 -1
- package/dist/src/dao-space/index.d.ts +1 -2
- package/dist/src/dao-space/index.d.ts.map +1 -1
- package/dist/src/dao-space/index.js +0 -1
- package/dist/src/dao-space/index.js.map +1 -1
- package/dist/src/dao-space/propose-add-editor.d.ts +20 -1
- package/dist/src/dao-space/propose-add-editor.d.ts.map +1 -1
- package/dist/src/dao-space/propose-add-editor.js +87 -12
- package/dist/src/dao-space/propose-add-editor.js.map +1 -1
- package/dist/src/dao-space/propose-add-editor.test.js +4 -16
- package/dist/src/dao-space/propose-add-editor.test.js.map +1 -1
- package/dist/src/dao-space/propose-add-member.d.ts +20 -1
- package/dist/src/dao-space/propose-add-member.d.ts.map +1 -1
- package/dist/src/dao-space/propose-add-member.js +87 -12
- package/dist/src/dao-space/propose-add-member.js.map +1 -1
- package/dist/src/dao-space/propose-add-member.test.js +0 -13
- package/dist/src/dao-space/propose-add-member.test.js.map +1 -1
- package/dist/src/dao-space/propose-edit.test.js +0 -45
- package/dist/src/dao-space/propose-edit.test.js.map +1 -1
- package/dist/src/dao-space/propose-remove-editor.d.ts +22 -1
- package/dist/src/dao-space/propose-remove-editor.d.ts.map +1 -1
- package/dist/src/dao-space/propose-remove-editor.js +94 -12
- package/dist/src/dao-space/propose-remove-editor.js.map +1 -1
- package/dist/src/dao-space/propose-remove-editor.test.js +4 -22
- package/dist/src/dao-space/propose-remove-editor.test.js.map +1 -1
- package/dist/src/dao-space/propose-remove-member.d.ts +22 -1
- package/dist/src/dao-space/propose-remove-member.d.ts.map +1 -1
- package/dist/src/dao-space/propose-remove-member.js +94 -12
- package/dist/src/dao-space/propose-remove-member.js.map +1 -1
- package/dist/src/dao-space/propose-remove-member.test.js +0 -19
- package/dist/src/dao-space/propose-remove-member.test.js.map +1 -1
- package/dist/src/dao-space/types.d.ts +11 -72
- package/dist/src/dao-space/types.d.ts.map +1 -1
- package/dist/src/dao-space/vote-proposal.d.ts +1 -1
- package/dist/src/dao-space/vote-proposal.js +2 -2
- package/dist/src/dao-space/vote-proposal.js.map +1 -1
- package/dist/src/dao-space/vote-proposal.test.js +0 -54
- package/dist/src/dao-space/vote-proposal.test.js.map +1 -1
- package/dist/src/e2e-api-surface.test.d.ts +2 -0
- package/dist/src/e2e-api-surface.test.d.ts.map +1 -0
- package/dist/src/{api-surface.e2e.test.js → e2e-api-surface.test.js} +101 -286
- package/dist/src/e2e-api-surface.test.js.map +1 -0
- package/dist/src/e2e-legacy-api-surface.test.d.ts +2 -0
- package/dist/src/e2e-legacy-api-surface.test.d.ts.map +1 -0
- package/dist/src/{legacy-api-surface.e2e.test.js → e2e-legacy-api-surface.test.js} +70 -90
- package/dist/src/e2e-legacy-api-surface.test.js.map +1 -0
- package/dist/src/encodings/get-create-dao-space-calldata.d.ts +21 -34
- package/dist/src/encodings/get-create-dao-space-calldata.d.ts.map +1 -1
- package/dist/src/encodings/get-create-dao-space-calldata.js +35 -64
- package/dist/src/encodings/get-create-dao-space-calldata.js.map +1 -1
- package/dist/src/encodings/get-create-dao-space-calldata.test.js +64 -94
- package/dist/src/encodings/get-create-dao-space-calldata.test.js.map +1 -1
- package/dist/src/full-flow-test.test.js +2 -5
- package/dist/src/full-flow-test.test.js.map +1 -1
- package/dist/src/ops/index.d.ts +1 -0
- package/dist/src/ops/index.d.ts.map +1 -1
- package/dist/src/ops/index.js +1 -0
- package/dist/src/ops/index.js.map +1 -1
- package/dist/src/ops/ranks.d.ts +33 -0
- package/dist/src/ops/ranks.d.ts.map +1 -0
- package/dist/src/ops/ranks.js +33 -0
- package/dist/src/ops/ranks.js.map +1 -0
- package/dist/src/ops/ranks.test.d.ts +2 -0
- package/dist/src/ops/ranks.test.d.ts.map +1 -0
- package/dist/src/ops/ranks.test.js +36 -0
- package/dist/src/ops/ranks.test.js.map +1 -0
- package/dist/src/personal-space/constants.d.ts +1 -1
- package/dist/src/personal-space/constants.d.ts.map +1 -1
- package/dist/src/personal-space/constants.js +1 -1
- package/dist/src/personal-space/constants.js.map +1 -1
- package/dist/src/personal-space/create-space.d.ts +2 -2
- package/dist/src/personal-space/create-space.d.ts.map +1 -1
- package/dist/src/personal-space/create-space.js +3 -4
- package/dist/src/personal-space/create-space.js.map +1 -1
- package/dist/src/personal-space/types.d.ts +1 -4
- package/dist/src/personal-space/types.d.ts.map +1 -1
- package/dist/src/ranks/create-rank.d.ts +19 -9
- package/dist/src/ranks/create-rank.d.ts.map +1 -1
- package/dist/src/ranks/create-rank.js +34 -57
- package/dist/src/ranks/create-rank.js.map +1 -1
- package/dist/src/ranks/create-rank.test.js +151 -23
- package/dist/src/ranks/create-rank.test.js.map +1 -1
- package/dist/src/ranks/index.d.ts +0 -1
- package/dist/src/ranks/index.d.ts.map +1 -1
- package/dist/src/ranks/index.js +0 -1
- package/dist/src/ranks/index.js.map +1 -1
- package/dist/src/ranks/types.d.ts +30 -0
- package/dist/src/ranks/types.d.ts.map +1 -1
- package/dist/src/ranks/update-rank.d.ts +40 -0
- package/dist/src/ranks/update-rank.d.ts.map +1 -0
- package/dist/src/ranks/update-rank.js +61 -0
- package/dist/src/ranks/update-rank.js.map +1 -0
- package/dist/src/ranks/update-rank.test.d.ts +2 -0
- package/dist/src/ranks/update-rank.test.d.ts.map +1 -0
- package/dist/src/ranks/update-rank.test.js +120 -0
- package/dist/src/ranks/update-rank.test.js.map +1 -0
- package/dist/src/ranks/vote-ops.d.ts +37 -0
- package/dist/src/ranks/vote-ops.d.ts.map +1 -0
- package/dist/src/ranks/vote-ops.js +96 -0
- package/dist/src/ranks/vote-ops.js.map +1 -0
- package/package.json +1 -1
- package/dist/src/abis/dao-space-v2.test.d.ts +0 -2
- package/dist/src/abis/dao-space-v2.test.d.ts.map +0 -1
- package/dist/src/abis/dao-space-v2.test.js +0 -67
- package/dist/src/abis/dao-space-v2.test.js.map +0 -1
- package/dist/src/api-surface.e2e.test.d.ts +0 -2
- package/dist/src/api-surface.e2e.test.d.ts.map +0 -1
- package/dist/src/api-surface.e2e.test.js.map +0 -1
- package/dist/src/contracts-v2/local-geobrowser.e2e.test.d.ts +0 -2
- package/dist/src/contracts-v2/local-geobrowser.e2e.test.d.ts.map +0 -1
- package/dist/src/contracts-v2/local-geobrowser.e2e.test.js +0 -239
- package/dist/src/contracts-v2/local-geobrowser.e2e.test.js.map +0 -1
- package/dist/src/dao-space/propose-update-voting-settings.d.ts +0 -8
- package/dist/src/dao-space/propose-update-voting-settings.d.ts.map +0 -1
- package/dist/src/dao-space/propose-update-voting-settings.js +0 -19
- package/dist/src/dao-space/propose-update-voting-settings.js.map +0 -1
- package/dist/src/dao-space/propose-update-voting-settings.test.d.ts +0 -2
- package/dist/src/dao-space/propose-update-voting-settings.test.d.ts.map +0 -1
- package/dist/src/dao-space/propose-update-voting-settings.test.js +0 -118
- package/dist/src/dao-space/propose-update-voting-settings.test.js.map +0 -1
- package/dist/src/e2e-test-environment.d.ts +0 -26
- package/dist/src/e2e-test-environment.d.ts.map +0 -1
- package/dist/src/e2e-test-environment.js +0 -150
- package/dist/src/e2e-test-environment.js.map +0 -1
- package/dist/src/legacy-api-surface.e2e.test.d.ts +0 -2
- package/dist/src/legacy-api-surface.e2e.test.d.ts.map +0 -1
- package/dist/src/legacy-api-surface.e2e.test.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Example: Creating an Ordinal Rank with grc-20-ts
|
|
3
3
|
*
|
|
4
|
-
* This example demonstrates how to use
|
|
4
|
+
* This example demonstrates how to use `Ops.ranks.create` to create
|
|
5
5
|
* an ordinal (ordered) rank in the Knowledge Graph.
|
|
6
6
|
*/
|
|
7
7
|
export {};
|
|
@@ -1,28 +1,31 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Example: Creating an Ordinal Rank with grc-20-ts
|
|
3
3
|
*
|
|
4
|
-
* This example demonstrates how to use
|
|
4
|
+
* This example demonstrates how to use `Ops.ranks.create` to create
|
|
5
5
|
* an ordinal (ordered) rank in the Knowledge Graph.
|
|
6
6
|
*/
|
|
7
|
-
import { IdUtils,
|
|
7
|
+
import { IdUtils, Ops } from '@geoprotocol/geo-sdk';
|
|
8
8
|
// For this example, we'll generate some entity IDs to represent items we want to rank.
|
|
9
9
|
// In a real application, these would be existing entity IDs from your Knowledge Graph.
|
|
10
10
|
const movie1Id = IdUtils.generate();
|
|
11
11
|
const movie2Id = IdUtils.generate();
|
|
12
12
|
const movie3Id = IdUtils.generate();
|
|
13
|
+
// Each ranked entity is scoped to a space perspective via `spaceId`. In a real
|
|
14
|
+
// application this is the space the ranked entity lives in.
|
|
15
|
+
const spaceId = IdUtils.generate();
|
|
13
16
|
// =============================================================================
|
|
14
17
|
// Example 1: Creating an Ordinal Rank (Ordered List)
|
|
15
18
|
// =============================================================================
|
|
16
19
|
// Ordinal ranks are used when you want to rank items by position (1st, 2nd, 3rd, etc.)
|
|
17
20
|
// The position is derived from the array order - no need to specify position values!
|
|
18
|
-
const ordinalRankResult =
|
|
21
|
+
const ordinalRankResult = Ops.ranks.create({
|
|
19
22
|
name: 'My Favorite Movies of 2024',
|
|
20
23
|
description: 'A ranked list of my top movies this year',
|
|
21
24
|
rankType: 'ORDINAL',
|
|
22
25
|
votes: [
|
|
23
|
-
{ entityId: movie1Id }, // 1st place
|
|
24
|
-
{ entityId: movie2Id }, // 2nd place
|
|
25
|
-
{ entityId: movie3Id }, // 3rd place
|
|
26
|
+
{ entityId: movie1Id, spaceId }, // 1st place
|
|
27
|
+
{ entityId: movie2Id, spaceId }, // 2nd place
|
|
28
|
+
{ entityId: movie3Id, spaceId }, // 3rd place
|
|
26
29
|
],
|
|
27
30
|
});
|
|
28
31
|
console.log('=== Ordinal Rank Example ===');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-ordinal-rank.js","sourceRoot":"","sources":["../../../examples/ranks/create-ordinal-rank.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"create-ordinal-rank.js","sourceRoot":"","sources":["../../../examples/ranks/create-ordinal-rank.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAEpD,uFAAuF;AACvF,uFAAuF;AACvF,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC;AACpC,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC;AACpC,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC;AAEpC,+EAA+E;AAC/E,4DAA4D;AAC5D,MAAM,OAAO,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC;AAEnC,gFAAgF;AAChF,qDAAqD;AACrD,gFAAgF;AAChF,uFAAuF;AACvF,qFAAqF;AAErF,MAAM,iBAAiB,GAAG,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC;IACzC,IAAI,EAAE,4BAA4B;IAClC,WAAW,EAAE,0CAA0C;IACvD,QAAQ,EAAE,SAAS;IACnB,KAAK,EAAE;QACL,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,YAAY;QAC7C,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,YAAY;QAC7C,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,YAAY;KAC9C;CACF,CAAC,CAAC;AAEH,OAAO,CAAC,GAAG,CAAC,8BAA8B,CAAC,CAAC;AAC5C,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE,iBAAiB,CAAC,EAAE,CAAC,CAAC;AAC9C,OAAO,CAAC,GAAG,CAAC,uBAAuB,EAAE,iBAAiB,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AACnE,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,iBAAiB,CAAC,OAAO,CAAC,CAAC;AAE3D,wEAAwE;AACxE,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,CAAC;AACvC,KAAK,MAAM,EAAE,IAAI,iBAAiB,CAAC,GAAG,EAAE,CAAC;IACvC,IAAI,EAAE,CAAC,IAAI,KAAK,cAAc,EAAE,CAAC;QAC/B,OAAO,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;IAClC,CAAC;SAAM,IAAI,EAAE,CAAC,IAAI,KAAK,gBAAgB,EAAE,CAAC;QACxC,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACpC,CAAC;AACH,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Example: Creating a Weighted Rank with grc-20-ts
|
|
3
3
|
*
|
|
4
|
-
* This example demonstrates how to use
|
|
4
|
+
* This example demonstrates how to use `Ops.ranks.create` to create
|
|
5
5
|
* a weighted (scored) rank in the Knowledge Graph.
|
|
6
6
|
*/
|
|
7
7
|
export {};
|
|
@@ -1,28 +1,31 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Example: Creating a Weighted Rank with grc-20-ts
|
|
3
3
|
*
|
|
4
|
-
* This example demonstrates how to use
|
|
4
|
+
* This example demonstrates how to use `Ops.ranks.create` to create
|
|
5
5
|
* a weighted (scored) rank in the Knowledge Graph.
|
|
6
6
|
*/
|
|
7
|
-
import { IdUtils,
|
|
7
|
+
import { IdUtils, Ops } from '@geoprotocol/geo-sdk';
|
|
8
8
|
// For this example, we'll generate some entity IDs to represent items we want to rank.
|
|
9
9
|
// In a real application, these would be existing entity IDs from your Knowledge Graph.
|
|
10
10
|
const restaurant1Id = IdUtils.generate();
|
|
11
11
|
const restaurant2Id = IdUtils.generate();
|
|
12
12
|
const restaurant3Id = IdUtils.generate();
|
|
13
|
+
// Each ranked entity is scoped to a space perspective via `spaceId`. In a real
|
|
14
|
+
// application this is the space the ranked entity lives in.
|
|
15
|
+
const spaceId = IdUtils.generate();
|
|
13
16
|
// =============================================================================
|
|
14
17
|
// Example 1: Creating a Weighted Rank (Scored List)
|
|
15
18
|
// =============================================================================
|
|
16
19
|
// Weighted ranks are used when you want to assign numeric scores to items.
|
|
17
20
|
// Useful for ratings, reviews, or any scenario where magnitude matters.
|
|
18
|
-
const weightedRankResult =
|
|
21
|
+
const weightedRankResult = Ops.ranks.create({
|
|
19
22
|
name: 'Restaurant Ratings',
|
|
20
23
|
description: 'My restaurant reviews',
|
|
21
24
|
rankType: 'WEIGHTED',
|
|
22
25
|
votes: [
|
|
23
|
-
{ entityId: restaurant1Id, value: 90 }, // Can use any number and scale as needed
|
|
24
|
-
{ entityId: restaurant2Id, value: 65 },
|
|
25
|
-
{ entityId: restaurant3Id, value: 50 },
|
|
26
|
+
{ entityId: restaurant1Id, spaceId, value: 90 }, // Can use any number and scale as needed
|
|
27
|
+
{ entityId: restaurant2Id, spaceId, value: 65 },
|
|
28
|
+
{ entityId: restaurant3Id, spaceId, value: 50 },
|
|
26
29
|
],
|
|
27
30
|
});
|
|
28
31
|
console.log('\n=== Weighted Rank Example ===');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-weighted-rank.js","sourceRoot":"","sources":["../../../examples/ranks/create-weighted-rank.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"create-weighted-rank.js","sourceRoot":"","sources":["../../../examples/ranks/create-weighted-rank.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAEpD,uFAAuF;AACvF,uFAAuF;AACvF,MAAM,aAAa,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC;AACzC,MAAM,aAAa,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC;AACzC,MAAM,aAAa,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC;AAEzC,+EAA+E;AAC/E,4DAA4D;AAC5D,MAAM,OAAO,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC;AAEnC,gFAAgF;AAChF,oDAAoD;AACpD,gFAAgF;AAChF,2EAA2E;AAC3E,wEAAwE;AAExE,MAAM,kBAAkB,GAAG,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC;IAC1C,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EAAE,uBAAuB;IACpC,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE;QACL,EAAE,QAAQ,EAAE,aAAa,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,yCAAyC;QAC1F,EAAE,QAAQ,EAAE,aAAa,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,EAAE;QAC/C,EAAE,QAAQ,EAAE,aAAa,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,EAAE;KAChD;CACF,CAAC,CAAC;AAEH,OAAO,CAAC,GAAG,CAAC,iCAAiC,CAAC,CAAC;AAC/C,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE,kBAAkB,CAAC,EAAE,CAAC,CAAC;AAC/C,OAAO,CAAC,GAAG,CAAC,uBAAuB,EAAE,kBAAkB,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AACpE,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,OAAO,CAAC,CAAC;AAE5D,wEAAwE;AACxE,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,CAAC;AACvC,KAAK,MAAM,EAAE,IAAI,kBAAkB,CAAC,GAAG,EAAE,CAAC;IACxC,IAAI,EAAE,CAAC,IAAI,KAAK,cAAc,EAAE,CAAC;QAC/B,OAAO,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;IAClC,CAAC;SAAM,IAAI,EAAE,CAAC,IAAI,KAAK,gBAAgB,EAAE,CAAC;QACxC,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACpC,CAAC;AACH,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export { getChecksumAddress } from './src/core/get-checksum-address.js';
|
|
|
18
18
|
*/
|
|
19
19
|
export * as daoSpace from './src/dao-space/index.js';
|
|
20
20
|
export * as Encoding from './src/encoding.js';
|
|
21
|
-
export {
|
|
21
|
+
export { getAcceptEditorArguments, getAcceptSubspaceArguments, getCalldataForSpaceGovernanceType, getCreateDaoSpaceCalldata, getCreatePersonalSpaceCalldata, getProcessGeoProposalArguments, getRemoveEditorArguments, getRemoveSubspaceArguments, validateIpfsUri, } from './src/encodings/index.js';
|
|
22
22
|
/**
|
|
23
23
|
* @deprecated Use `Ops` for pure operation builders and `createGeoClient({ network })`
|
|
24
24
|
* for API, storage, image, comment, entity-delete, and transaction workflows.
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index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AC;AAC7C;;;;;GAKG;AACH,OAAO,KAAK,IAAI,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAC7E,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAC;AAC1C;;;;GAIG;AACH,OAAO,KAAK,aAAa,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C;;;GAGG;AACH,OAAO,KAAK,IAAI,MAAM,sBAAsB,CAAC;AAE7C;;;;GAIG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EACL,2BAA2B,EAC3B,eAAe,EACf,eAAe,GAChB,MAAM,uBAAuB,CAAC;AAE/B;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACxE,cAAc,gBAAgB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -18,7 +18,7 @@ export { getChecksumAddress } from './src/core/get-checksum-address.js';
|
|
|
18
18
|
*/
|
|
19
19
|
export * as daoSpace from './src/dao-space/index.js';
|
|
20
20
|
export * as Encoding from './src/encoding.js';
|
|
21
|
-
export {
|
|
21
|
+
export { getAcceptEditorArguments, getAcceptSubspaceArguments, getCalldataForSpaceGovernanceType, getCreateDaoSpaceCalldata, getCreatePersonalSpaceCalldata, getProcessGeoProposalArguments, getRemoveEditorArguments, getRemoveSubspaceArguments, validateIpfsUri, } from './src/encodings/index.js';
|
|
22
22
|
/**
|
|
23
23
|
* @deprecated Use `Ops` for pure operation builders and `createGeoClient({ network })`
|
|
24
24
|
* for API, storage, image, comment, entity-delete, and transaction workflows.
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,OAAO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;AACtC,OAAO,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAC7E,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAC;AAC1C;;;;GAIG;AACH,OAAO,KAAK,aAAa,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C;;;GAGG;AACH,OAAO,KAAK,IAAI,MAAM,sBAAsB,CAAC;AAE7C;;;;GAIG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EACL,2BAA2B,EAC3B,eAAe,EACf,eAAe,GAChB,MAAM,uBAAuB,CAAC;AAE/B;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACxE,cAAc,gBAAgB,CAAC"}
|
|
@@ -1,32 +1,3 @@
|
|
|
1
|
-
export declare const VotingSettingsV2Components: readonly [{
|
|
2
|
-
readonly internalType: "uint256";
|
|
3
|
-
readonly name: "partialPercentageSupportThreshold";
|
|
4
|
-
readonly type: "uint256";
|
|
5
|
-
}, {
|
|
6
|
-
readonly internalType: "uint256";
|
|
7
|
-
readonly name: "universalPercentageSupportThreshold";
|
|
8
|
-
readonly type: "uint256";
|
|
9
|
-
}, {
|
|
10
|
-
readonly internalType: "uint256";
|
|
11
|
-
readonly name: "flatSupportThreshold";
|
|
12
|
-
readonly type: "uint256";
|
|
13
|
-
}, {
|
|
14
|
-
readonly internalType: "uint256";
|
|
15
|
-
readonly name: "quorum";
|
|
16
|
-
readonly type: "uint256";
|
|
17
|
-
}, {
|
|
18
|
-
readonly internalType: "uint256";
|
|
19
|
-
readonly name: "duration";
|
|
20
|
-
readonly type: "uint256";
|
|
21
|
-
}, {
|
|
22
|
-
readonly internalType: "bool";
|
|
23
|
-
readonly name: "disableFastPathAccessForNewMembers";
|
|
24
|
-
readonly type: "bool";
|
|
25
|
-
}, {
|
|
26
|
-
readonly internalType: "uint256";
|
|
27
|
-
readonly name: "executionGracePeriod";
|
|
28
|
-
readonly type: "uint256";
|
|
29
|
-
}];
|
|
30
1
|
export declare const abi: readonly [{
|
|
31
2
|
readonly inputs: readonly [];
|
|
32
3
|
readonly stateMutability: "nonpayable";
|
|
@@ -140,15 +111,11 @@ export declare const abi: readonly [{
|
|
|
140
111
|
readonly inputs: readonly [{
|
|
141
112
|
readonly components: readonly [{
|
|
142
113
|
readonly internalType: "uint256";
|
|
143
|
-
readonly name: "
|
|
114
|
+
readonly name: "slowPathPercentageThreshold";
|
|
144
115
|
readonly type: "uint256";
|
|
145
116
|
}, {
|
|
146
117
|
readonly internalType: "uint256";
|
|
147
|
-
readonly name: "
|
|
148
|
-
readonly type: "uint256";
|
|
149
|
-
}, {
|
|
150
|
-
readonly internalType: "uint256";
|
|
151
|
-
readonly name: "flatSupportThreshold";
|
|
118
|
+
readonly name: "fastPathFlatThreshold";
|
|
152
119
|
readonly type: "uint256";
|
|
153
120
|
}, {
|
|
154
121
|
readonly internalType: "uint256";
|
|
@@ -158,14 +125,6 @@ export declare const abi: readonly [{
|
|
|
158
125
|
readonly internalType: "uint256";
|
|
159
126
|
readonly name: "duration";
|
|
160
127
|
readonly type: "uint256";
|
|
161
|
-
}, {
|
|
162
|
-
readonly internalType: "bool";
|
|
163
|
-
readonly name: "disableFastPathAccessForNewMembers";
|
|
164
|
-
readonly type: "bool";
|
|
165
|
-
}, {
|
|
166
|
-
readonly internalType: "uint256";
|
|
167
|
-
readonly name: "executionGracePeriod";
|
|
168
|
-
readonly type: "uint256";
|
|
169
128
|
}];
|
|
170
129
|
readonly internalType: "struct IDAOSpace.VotingSettings";
|
|
171
130
|
readonly name: "_votingSettings";
|
|
@@ -190,6 +149,10 @@ export declare const abi: readonly [{
|
|
|
190
149
|
readonly internalType: "bytes16";
|
|
191
150
|
readonly name: "_initialTopicId";
|
|
192
151
|
readonly type: "bytes16";
|
|
152
|
+
}, {
|
|
153
|
+
readonly internalType: "bytes";
|
|
154
|
+
readonly name: "_initialTopicData";
|
|
155
|
+
readonly type: "bytes";
|
|
193
156
|
}];
|
|
194
157
|
readonly name: "createDAOSpaceProxy";
|
|
195
158
|
readonly outputs: readonly [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dao-space-factory.d.ts","sourceRoot":"","sources":["../../../src/abis/dao-space-factory.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"dao-space-factory.d.ts","sourceRoot":"","sources":["../../../src/abis/dao-space-factory.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqWN,CAAC"}
|
|
@@ -1,40 +1,3 @@
|
|
|
1
|
-
export const VotingSettingsV2Components = [
|
|
2
|
-
{
|
|
3
|
-
internalType: 'uint256',
|
|
4
|
-
name: 'partialPercentageSupportThreshold',
|
|
5
|
-
type: 'uint256',
|
|
6
|
-
},
|
|
7
|
-
{
|
|
8
|
-
internalType: 'uint256',
|
|
9
|
-
name: 'universalPercentageSupportThreshold',
|
|
10
|
-
type: 'uint256',
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
internalType: 'uint256',
|
|
14
|
-
name: 'flatSupportThreshold',
|
|
15
|
-
type: 'uint256',
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
internalType: 'uint256',
|
|
19
|
-
name: 'quorum',
|
|
20
|
-
type: 'uint256',
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
internalType: 'uint256',
|
|
24
|
-
name: 'duration',
|
|
25
|
-
type: 'uint256',
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
internalType: 'bool',
|
|
29
|
-
name: 'disableFastPathAccessForNewMembers',
|
|
30
|
-
type: 'bool',
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
internalType: 'uint256',
|
|
34
|
-
name: 'executionGracePeriod',
|
|
35
|
-
type: 'uint256',
|
|
36
|
-
},
|
|
37
|
-
];
|
|
38
1
|
export const abi = [
|
|
39
2
|
{
|
|
40
3
|
inputs: [],
|
|
@@ -182,7 +145,28 @@ export const abi = [
|
|
|
182
145
|
{
|
|
183
146
|
inputs: [
|
|
184
147
|
{
|
|
185
|
-
components:
|
|
148
|
+
components: [
|
|
149
|
+
{
|
|
150
|
+
internalType: 'uint256',
|
|
151
|
+
name: 'slowPathPercentageThreshold',
|
|
152
|
+
type: 'uint256',
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
internalType: 'uint256',
|
|
156
|
+
name: 'fastPathFlatThreshold',
|
|
157
|
+
type: 'uint256',
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
internalType: 'uint256',
|
|
161
|
+
name: 'quorum',
|
|
162
|
+
type: 'uint256',
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
internalType: 'uint256',
|
|
166
|
+
name: 'duration',
|
|
167
|
+
type: 'uint256',
|
|
168
|
+
},
|
|
169
|
+
],
|
|
186
170
|
internalType: 'struct IDAOSpace.VotingSettings',
|
|
187
171
|
name: '_votingSettings',
|
|
188
172
|
type: 'tuple',
|
|
@@ -212,6 +196,11 @@ export const abi = [
|
|
|
212
196
|
name: '_initialTopicId',
|
|
213
197
|
type: 'bytes16',
|
|
214
198
|
},
|
|
199
|
+
{
|
|
200
|
+
internalType: 'bytes',
|
|
201
|
+
name: '_initialTopicData',
|
|
202
|
+
type: 'bytes',
|
|
203
|
+
},
|
|
215
204
|
],
|
|
216
205
|
name: 'createDAOSpaceProxy',
|
|
217
206
|
outputs: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dao-space-factory.js","sourceRoot":"","sources":["../../../src/abis/dao-space-factory.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"dao-space-factory.js","sourceRoot":"","sources":["../../../src/abis/dao-space-factory.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,GAAG,GAAG;IACjB;QACE,MAAM,EAAE,EAAE;QACV,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,aAAa;KACpB;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,mBAAmB;QACzB,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,uBAAuB;QAC7B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,iBAAiB;QACvB,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,qBAAqB;QAC3B,IAAI,EAAE,OAAO;KACd;IACD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AAU;KACjB;CACO,CAAC"}
|
|
@@ -1,36 +1,3 @@
|
|
|
1
|
-
export declare const ProposalParametersV2Components: readonly [{
|
|
2
|
-
readonly internalType: "enum IDAOSpace.VotingMode";
|
|
3
|
-
readonly name: "votingMode";
|
|
4
|
-
readonly type: "uint8";
|
|
5
|
-
}, {
|
|
6
|
-
readonly internalType: "uint256";
|
|
7
|
-
readonly name: "partialPercentageSupportThreshold";
|
|
8
|
-
readonly type: "uint256";
|
|
9
|
-
}, {
|
|
10
|
-
readonly internalType: "uint256";
|
|
11
|
-
readonly name: "universalPercentageSupportThreshold";
|
|
12
|
-
readonly type: "uint256";
|
|
13
|
-
}, {
|
|
14
|
-
readonly internalType: "uint256";
|
|
15
|
-
readonly name: "flatSupportThreshold";
|
|
16
|
-
readonly type: "uint256";
|
|
17
|
-
}, {
|
|
18
|
-
readonly internalType: "uint256";
|
|
19
|
-
readonly name: "quorum";
|
|
20
|
-
readonly type: "uint256";
|
|
21
|
-
}, {
|
|
22
|
-
readonly internalType: "uint256";
|
|
23
|
-
readonly name: "startDate";
|
|
24
|
-
readonly type: "uint256";
|
|
25
|
-
}, {
|
|
26
|
-
readonly internalType: "uint256";
|
|
27
|
-
readonly name: "lastDate";
|
|
28
|
-
readonly type: "uint256";
|
|
29
|
-
}, {
|
|
30
|
-
readonly internalType: "uint256";
|
|
31
|
-
readonly name: "executeBy";
|
|
32
|
-
readonly type: "uint256";
|
|
33
|
-
}];
|
|
34
1
|
export declare const abi: readonly [{
|
|
35
2
|
readonly inputs: readonly [];
|
|
36
3
|
readonly stateMutability: "nonpayable";
|
|
@@ -141,16 +108,6 @@ export declare const abi: readonly [{
|
|
|
141
108
|
}];
|
|
142
109
|
readonly stateMutability: "view";
|
|
143
110
|
readonly type: "function";
|
|
144
|
-
}, {
|
|
145
|
-
readonly inputs: readonly [];
|
|
146
|
-
readonly name: "MINIMUM_EXECUTION_GRACE_PERIOD";
|
|
147
|
-
readonly outputs: readonly [{
|
|
148
|
-
readonly internalType: "uint256";
|
|
149
|
-
readonly name: "";
|
|
150
|
-
readonly type: "uint256";
|
|
151
|
-
}];
|
|
152
|
-
readonly stateMutability: "view";
|
|
153
|
-
readonly type: "function";
|
|
154
111
|
}, {
|
|
155
112
|
readonly inputs: readonly [];
|
|
156
113
|
readonly name: "MINIMUM_VOTING_DURATION";
|
|
@@ -273,15 +230,7 @@ export declare const abi: readonly [{
|
|
|
273
230
|
readonly type: "uint8";
|
|
274
231
|
}, {
|
|
275
232
|
readonly internalType: "uint256";
|
|
276
|
-
readonly name: "
|
|
277
|
-
readonly type: "uint256";
|
|
278
|
-
}, {
|
|
279
|
-
readonly internalType: "uint256";
|
|
280
|
-
readonly name: "universalPercentageSupportThreshold";
|
|
281
|
-
readonly type: "uint256";
|
|
282
|
-
}, {
|
|
283
|
-
readonly internalType: "uint256";
|
|
284
|
-
readonly name: "flatSupportThreshold";
|
|
233
|
+
readonly name: "supportThreshold";
|
|
285
234
|
readonly type: "uint256";
|
|
286
235
|
}, {
|
|
287
236
|
readonly internalType: "uint256";
|
|
@@ -295,10 +244,6 @@ export declare const abi: readonly [{
|
|
|
295
244
|
readonly internalType: "uint256";
|
|
296
245
|
readonly name: "lastDate";
|
|
297
246
|
readonly type: "uint256";
|
|
298
|
-
}, {
|
|
299
|
-
readonly internalType: "uint256";
|
|
300
|
-
readonly name: "executeBy";
|
|
301
|
-
readonly type: "uint256";
|
|
302
247
|
}];
|
|
303
248
|
readonly internalType: "struct IDAOSpace.ProposalParameters";
|
|
304
249
|
readonly name: "_parameters";
|
|
@@ -384,15 +329,7 @@ export declare const abi: readonly [{
|
|
|
384
329
|
readonly type: "uint8";
|
|
385
330
|
}, {
|
|
386
331
|
readonly internalType: "uint256";
|
|
387
|
-
readonly name: "
|
|
388
|
-
readonly type: "uint256";
|
|
389
|
-
}, {
|
|
390
|
-
readonly internalType: "uint256";
|
|
391
|
-
readonly name: "universalPercentageSupportThreshold";
|
|
392
|
-
readonly type: "uint256";
|
|
393
|
-
}, {
|
|
394
|
-
readonly internalType: "uint256";
|
|
395
|
-
readonly name: "flatSupportThreshold";
|
|
332
|
+
readonly name: "supportThreshold";
|
|
396
333
|
readonly type: "uint256";
|
|
397
334
|
}, {
|
|
398
335
|
readonly internalType: "uint256";
|
|
@@ -406,10 +343,6 @@ export declare const abi: readonly [{
|
|
|
406
343
|
readonly internalType: "uint256";
|
|
407
344
|
readonly name: "lastDate";
|
|
408
345
|
readonly type: "uint256";
|
|
409
|
-
}, {
|
|
410
|
-
readonly internalType: "uint256";
|
|
411
|
-
readonly name: "executeBy";
|
|
412
|
-
readonly type: "uint256";
|
|
413
346
|
}];
|
|
414
347
|
readonly internalType: "struct IDAOSpace.ProposalParameters";
|
|
415
348
|
readonly name: "_parameters";
|
|
@@ -458,7 +391,7 @@ export declare const abi: readonly [{
|
|
|
458
391
|
readonly type: "bytes16";
|
|
459
392
|
}, {
|
|
460
393
|
readonly internalType: "uint8";
|
|
461
|
-
readonly name: "
|
|
394
|
+
readonly name: "_version";
|
|
462
395
|
readonly type: "uint8";
|
|
463
396
|
}, {
|
|
464
397
|
readonly internalType: "bytes16";
|
|
@@ -653,15 +586,11 @@ export declare const abi: readonly [{
|
|
|
653
586
|
readonly inputs: readonly [{
|
|
654
587
|
readonly components: readonly [{
|
|
655
588
|
readonly internalType: "uint256";
|
|
656
|
-
readonly name: "
|
|
589
|
+
readonly name: "slowPathPercentageThreshold";
|
|
657
590
|
readonly type: "uint256";
|
|
658
591
|
}, {
|
|
659
592
|
readonly internalType: "uint256";
|
|
660
|
-
readonly name: "
|
|
661
|
-
readonly type: "uint256";
|
|
662
|
-
}, {
|
|
663
|
-
readonly internalType: "uint256";
|
|
664
|
-
readonly name: "flatSupportThreshold";
|
|
593
|
+
readonly name: "fastPathFlatThreshold";
|
|
665
594
|
readonly type: "uint256";
|
|
666
595
|
}, {
|
|
667
596
|
readonly internalType: "uint256";
|
|
@@ -671,14 +600,6 @@ export declare const abi: readonly [{
|
|
|
671
600
|
readonly internalType: "uint256";
|
|
672
601
|
readonly name: "duration";
|
|
673
602
|
readonly type: "uint256";
|
|
674
|
-
}, {
|
|
675
|
-
readonly internalType: "bool";
|
|
676
|
-
readonly name: "disableFastPathAccessForNewMembers";
|
|
677
|
-
readonly type: "bool";
|
|
678
|
-
}, {
|
|
679
|
-
readonly internalType: "uint256";
|
|
680
|
-
readonly name: "executionGracePeriod";
|
|
681
|
-
readonly type: "uint256";
|
|
682
603
|
}];
|
|
683
604
|
readonly internalType: "struct IDAOSpace.VotingSettings";
|
|
684
605
|
readonly name: "_votingSettings";
|
|
@@ -730,15 +651,11 @@ export declare const abi: readonly [{
|
|
|
730
651
|
readonly outputs: readonly [{
|
|
731
652
|
readonly components: readonly [{
|
|
732
653
|
readonly internalType: "uint256";
|
|
733
|
-
readonly name: "
|
|
734
|
-
readonly type: "uint256";
|
|
735
|
-
}, {
|
|
736
|
-
readonly internalType: "uint256";
|
|
737
|
-
readonly name: "universalPercentageSupportThreshold";
|
|
654
|
+
readonly name: "slowPathPercentageThreshold";
|
|
738
655
|
readonly type: "uint256";
|
|
739
656
|
}, {
|
|
740
657
|
readonly internalType: "uint256";
|
|
741
|
-
readonly name: "
|
|
658
|
+
readonly name: "fastPathFlatThreshold";
|
|
742
659
|
readonly type: "uint256";
|
|
743
660
|
}, {
|
|
744
661
|
readonly internalType: "uint256";
|
|
@@ -748,14 +665,6 @@ export declare const abi: readonly [{
|
|
|
748
665
|
readonly internalType: "uint256";
|
|
749
666
|
readonly name: "duration";
|
|
750
667
|
readonly type: "uint256";
|
|
751
|
-
}, {
|
|
752
|
-
readonly internalType: "bool";
|
|
753
|
-
readonly name: "disableFastPathAccessForNewMembers";
|
|
754
|
-
readonly type: "bool";
|
|
755
|
-
}, {
|
|
756
|
-
readonly internalType: "uint256";
|
|
757
|
-
readonly name: "executionGracePeriod";
|
|
758
|
-
readonly type: "uint256";
|
|
759
668
|
}];
|
|
760
669
|
readonly internalType: "struct IDAOSpace.VotingSettings";
|
|
761
670
|
readonly name: "_votingSettings";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dao-space.d.ts","sourceRoot":"","sources":["../../../src/abis/dao-space.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dao-space.d.ts","sourceRoot":"","sources":["../../../src/abis/dao-space.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAw4BN,CAAC"}
|