@geoprotocol/geo-sdk 0.19.0 → 0.19.1
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/README.md +2 -2
- 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 +43 -6
- package/dist/src/abis/dao-space-factory.d.ts.map +1 -1
- package/dist/src/abis/dao-space-factory.js +38 -27
- package/dist/src/abis/dao-space-factory.js.map +1 -1
- package/dist/src/abis/dao-space.d.ts +98 -7
- package/dist/src/abis/dao-space.d.ts.map +1 -1
- package/dist/src/abis/dao-space.js +61 -99
- 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 +26 -0
- package/dist/src/abis/space-registry.d.ts.map +1 -1
- package/dist/src/abis/space-registry.js +33 -0
- package/dist/src/abis/space-registry.js.map +1 -1
- package/dist/src/api-surface.e2e.test.d.ts +2 -0
- package/dist/src/api-surface.e2e.test.d.ts.map +1 -0
- package/dist/src/{e2e-api-surface.test.js → api-surface.e2e.test.js} +287 -102
- package/dist/src/api-surface.e2e.test.js.map +1 -0
- package/dist/src/client/dao-spaces.d.ts +93 -33
- package/dist/src/client/dao-spaces.d.ts.map +1 -1
- package/dist/src/client/dao-spaces.js +174 -42
- package/dist/src/client/dao-spaces.js.map +1 -1
- package/dist/src/client/dao-spaces.test.js +313 -79
- package/dist/src/client/dao-spaces.test.js.map +1 -1
- package/dist/src/client/personal-spaces.d.ts +74 -0
- package/dist/src/client/personal-spaces.d.ts.map +1 -1
- package/dist/src/client/personal-spaces.js +82 -2
- package/dist/src/client/personal-spaces.js.map +1 -1
- package/dist/src/client/spaces.test.js +27 -7
- package/dist/src/client/spaces.test.js.map +1 -1
- package/dist/src/client.d.ts +29 -16
- package/dist/src/client.d.ts.map +1 -1
- package/dist/src/client.js +101 -59
- package/dist/src/client.js.map +1 -1
- package/dist/src/client.test.js +8 -3
- package/dist/src/client.test.js.map +1 -1
- package/dist/src/dao-space/constants.d.ts +10 -0
- package/dist/src/dao-space/constants.d.ts.map +1 -1
- package/dist/src/dao-space/constants.js +10 -0
- 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 +2 -1
- package/dist/src/dao-space/index.d.ts.map +1 -1
- package/dist/src/dao-space/index.js +1 -0
- package/dist/src/dao-space/index.js.map +1 -1
- package/dist/src/dao-space/propose-add-editor.d.ts +1 -20
- package/dist/src/dao-space/propose-add-editor.d.ts.map +1 -1
- package/dist/src/dao-space/propose-add-editor.js +12 -87
- package/dist/src/dao-space/propose-add-editor.js.map +1 -1
- package/dist/src/dao-space/propose-add-editor.test.js +16 -4
- package/dist/src/dao-space/propose-add-editor.test.js.map +1 -1
- package/dist/src/dao-space/propose-add-member.d.ts +1 -20
- package/dist/src/dao-space/propose-add-member.d.ts.map +1 -1
- package/dist/src/dao-space/propose-add-member.js +12 -87
- package/dist/src/dao-space/propose-add-member.js.map +1 -1
- package/dist/src/dao-space/propose-add-member.test.js +13 -0
- package/dist/src/dao-space/propose-add-member.test.js.map +1 -1
- package/dist/src/dao-space/propose-edit.test.js +45 -0
- package/dist/src/dao-space/propose-edit.test.js.map +1 -1
- package/dist/src/dao-space/propose-remove-editor.d.ts +1 -22
- package/dist/src/dao-space/propose-remove-editor.d.ts.map +1 -1
- package/dist/src/dao-space/propose-remove-editor.js +12 -94
- package/dist/src/dao-space/propose-remove-editor.js.map +1 -1
- package/dist/src/dao-space/propose-remove-editor.test.js +22 -4
- package/dist/src/dao-space/propose-remove-editor.test.js.map +1 -1
- package/dist/src/dao-space/propose-remove-member.d.ts +1 -22
- package/dist/src/dao-space/propose-remove-member.d.ts.map +1 -1
- package/dist/src/dao-space/propose-remove-member.js +12 -94
- package/dist/src/dao-space/propose-remove-member.js.map +1 -1
- package/dist/src/dao-space/propose-remove-member.test.js +19 -0
- package/dist/src/dao-space/propose-remove-member.test.js.map +1 -1
- package/dist/src/dao-space/types.d.ts +72 -11
- 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 +54 -0
- package/dist/src/dao-space/vote-proposal.test.js.map +1 -1
- package/dist/src/e2e-test-environment.d.ts +26 -0
- package/dist/src/e2e-test-environment.d.ts.map +1 -0
- package/dist/src/e2e-test-environment.js +150 -0
- package/dist/src/e2e-test-environment.js.map +1 -0
- package/dist/src/encodings/get-create-dao-space-calldata.d.ts +32 -9
- package/dist/src/encodings/get-create-dao-space-calldata.d.ts.map +1 -1
- package/dist/src/encodings/get-create-dao-space-calldata.js +63 -16
- package/dist/src/encodings/get-create-dao-space-calldata.js.map +1 -1
- package/dist/src/encodings/get-create-dao-space-calldata.test.js +90 -23
- package/dist/src/encodings/get-create-dao-space-calldata.test.js.map +1 -1
- package/dist/src/full-flow-test.test.js +5 -2
- package/dist/src/full-flow-test.test.js.map +1 -1
- package/dist/src/legacy-api-surface.e2e.test.d.ts +2 -0
- package/dist/src/legacy-api-surface.e2e.test.d.ts.map +1 -0
- package/dist/src/{e2e-legacy-api-surface.test.js → legacy-api-surface.e2e.test.js} +91 -71
- package/dist/src/legacy-api-surface.e2e.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 +4 -3
- package/dist/src/personal-space/create-space.js.map +1 -1
- package/dist/src/personal-space/types.d.ts +4 -1
- package/dist/src/personal-space/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/proto.d.ts +0 -5
- package/dist/proto.d.ts.map +0 -1
- package/dist/proto.js +0 -5
- package/dist/proto.js.map +0 -1
- package/dist/src/client/proposals.d.ts +0 -185
- package/dist/src/client/proposals.d.ts.map +0 -1
- package/dist/src/client/proposals.js +0 -294
- package/dist/src/client/proposals.js.map +0 -1
- package/dist/src/client/proposals.test.d.ts +0 -2
- package/dist/src/client/proposals.test.d.ts.map +0 -1
- package/dist/src/client/proposals.test.js +0 -243
- package/dist/src/client/proposals.test.js.map +0 -1
- package/dist/src/contracts-v2/abis.d.ts +0 -196
- package/dist/src/contracts-v2/abis.d.ts.map +0 -1
- package/dist/src/contracts-v2/abis.js +0 -110
- package/dist/src/contracts-v2/abis.js.map +0 -1
- package/dist/src/contracts-v2/actions.d.ts +0 -56
- package/dist/src/contracts-v2/actions.d.ts.map +0 -1
- package/dist/src/contracts-v2/actions.js +0 -83
- package/dist/src/contracts-v2/actions.js.map +0 -1
- package/dist/src/contracts-v2/encoding.d.ts +0 -80
- package/dist/src/contracts-v2/encoding.d.ts.map +0 -1
- package/dist/src/contracts-v2/encoding.js +0 -193
- package/dist/src/contracts-v2/encoding.js.map +0 -1
- package/dist/src/contracts-v2/encoding.test.d.ts +0 -2
- package/dist/src/contracts-v2/encoding.test.d.ts.map +0 -1
- package/dist/src/contracts-v2/encoding.test.js +0 -93
- package/dist/src/contracts-v2/encoding.test.js.map +0 -1
- package/dist/src/contracts-v2/voting-settings.d.ts +0 -48
- package/dist/src/contracts-v2/voting-settings.d.ts.map +0 -1
- package/dist/src/contracts-v2/voting-settings.js +0 -69
- package/dist/src/contracts-v2/voting-settings.js.map +0 -1
- package/dist/src/e2e/local-geobrowser.d.ts +0 -9
- package/dist/src/e2e/local-geobrowser.d.ts.map +0 -1
- package/dist/src/e2e/local-geobrowser.js +0 -35
- package/dist/src/e2e/local-geobrowser.js.map +0 -1
- package/dist/src/e2e/v2-contracts.test.d.ts +0 -2
- package/dist/src/e2e/v2-contracts.test.d.ts.map +0 -1
- package/dist/src/e2e/v2-contracts.test.js +0 -25
- package/dist/src/e2e/v2-contracts.test.js.map +0 -1
- package/dist/src/e2e-api-surface.test.d.ts +0 -2
- package/dist/src/e2e-api-surface.test.d.ts.map +0 -1
- package/dist/src/e2e-api-surface.test.js.map +0 -1
- package/dist/src/e2e-flows.test.d.ts +0 -2
- package/dist/src/e2e-flows.test.d.ts.map +0 -1
- package/dist/src/e2e-flows.test.js +0 -445
- package/dist/src/e2e-flows.test.js.map +0 -1
- package/dist/src/e2e-legacy-api-surface.test.d.ts +0 -2
- package/dist/src/e2e-legacy-api-surface.test.d.ts.map +0 -1
- package/dist/src/e2e-legacy-api-surface.test.js.map +0 -1
- package/dist/src/graph/create-space.d.ts +0 -37
- package/dist/src/graph/create-space.d.ts.map +0 -1
- package/dist/src/graph/create-space.js +0 -67
- package/dist/src/graph/create-space.js.map +0 -1
- package/dist/src/ops/images.d.ts +0 -37
- package/dist/src/ops/images.d.ts.map +0 -1
- package/dist/src/ops/images.js +0 -69
- package/dist/src/ops/images.js.map +0 -1
- package/dist/src/proto/index.d.ts +0 -7
- package/dist/src/proto/index.d.ts.map +0 -1
- package/dist/src/proto/index.js +0 -7
- package/dist/src/proto/index.js.map +0 -1
package/README.md
CHANGED
|
@@ -609,7 +609,7 @@ const tx = await geo.daoSpaces.create({
|
|
|
609
609
|
slowPathPercentageThreshold: 50,
|
|
610
610
|
fastPathFlatThreshold: 1,
|
|
611
611
|
quorum: 1,
|
|
612
|
-
|
|
612
|
+
durationInSeconds: 3 * 24 * 60 * 60,
|
|
613
613
|
},
|
|
614
614
|
});
|
|
615
615
|
|
|
@@ -721,7 +721,7 @@ const actions = [
|
|
|
721
721
|
slowPathPercentageThreshold: 60,
|
|
722
722
|
fastPathFlatThreshold: 2,
|
|
723
723
|
quorum: 3,
|
|
724
|
-
|
|
724
|
+
durationInSeconds: 5 * 24 * 60 * 60,
|
|
725
725
|
}),
|
|
726
726
|
];
|
|
727
727
|
|
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 { getAcceptEditorArguments, getAcceptSubspaceArguments, getCalldataForSpaceGovernanceType, getCreateDaoSpaceCalldata, getCreatePersonalSpaceCalldata, getProcessGeoProposalArguments, getRemoveEditorArguments, getRemoveSubspaceArguments, validateIpfsUri, } from './src/encodings/index.js';
|
|
21
|
+
export { DEFAULT_VOTING_SETTINGS, daysToSeconds, getAcceptEditorArguments, getAcceptSubspaceArguments, getCalldataForSpaceGovernanceType, getCreateDaoSpaceCalldata, getCreatePersonalSpaceCalldata, getProcessGeoProposalArguments, getRemoveEditorArguments, getRemoveSubspaceArguments, MINIMUM_EXECUTION_GRACE_PERIOD, MINIMUM_EXECUTION_GRACE_PERIOD_DAYS, MINIMUM_VOTING_DURATION, MINIMUM_VOTING_DURATION_DAYS, percentageToRatio, toContractVotingSettings, validateIpfsUri, validateVotingSettingsInput, } 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.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACv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AC9C,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC;;;GAGG;AACH,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;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 { getAcceptEditorArguments, getAcceptSubspaceArguments, getCalldataForSpaceGovernanceType, getCreateDaoSpaceCalldata, getCreatePersonalSpaceCalldata, getProcessGeoProposalArguments, getRemoveEditorArguments, getRemoveSubspaceArguments, validateIpfsUri, } from './src/encodings/index.js';
|
|
21
|
+
export { DEFAULT_VOTING_SETTINGS, daysToSeconds, getAcceptEditorArguments, getAcceptSubspaceArguments, getCalldataForSpaceGovernanceType, getCreateDaoSpaceCalldata, getCreatePersonalSpaceCalldata, getProcessGeoProposalArguments, getRemoveEditorArguments, getRemoveSubspaceArguments, MINIMUM_EXECUTION_GRACE_PERIOD, MINIMUM_EXECUTION_GRACE_PERIOD_DAYS, MINIMUM_VOTING_DURATION, MINIMUM_VOTING_DURATION_DAYS, percentageToRatio, toContractVotingSettings, validateIpfsUri, validateVotingSettingsInput, } 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,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD;;;GAGG;AACH,OAAO,KAAK,MAAM,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACxE;;GAEG;AACH,OAAO,KAAK,QAAQ,MAAM,0BAA0B,CAAC;AACrD,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EACL,wBAAwB,EACxB,0BAA0B,EAC1B,iCAAiC,EACjC,yBAAyB,EACzB,8BAA8B,EAC9B,8BAA8B,EAC9B,wBAAwB,EACxB,0BAA0B,EAC1B,eAAe,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD;;;GAGG;AACH,OAAO,KAAK,M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Ac,gBAAgB,CAAC"}
|
|
@@ -1,3 +1,32 @@
|
|
|
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
|
+
}];
|
|
1
30
|
export declare const abi: readonly [{
|
|
2
31
|
readonly inputs: readonly [];
|
|
3
32
|
readonly stateMutability: "nonpayable";
|
|
@@ -111,11 +140,15 @@ export declare const abi: readonly [{
|
|
|
111
140
|
readonly inputs: readonly [{
|
|
112
141
|
readonly components: readonly [{
|
|
113
142
|
readonly internalType: "uint256";
|
|
114
|
-
readonly name: "
|
|
143
|
+
readonly name: "partialPercentageSupportThreshold";
|
|
115
144
|
readonly type: "uint256";
|
|
116
145
|
}, {
|
|
117
146
|
readonly internalType: "uint256";
|
|
118
|
-
readonly name: "
|
|
147
|
+
readonly name: "universalPercentageSupportThreshold";
|
|
148
|
+
readonly type: "uint256";
|
|
149
|
+
}, {
|
|
150
|
+
readonly internalType: "uint256";
|
|
151
|
+
readonly name: "flatSupportThreshold";
|
|
119
152
|
readonly type: "uint256";
|
|
120
153
|
}, {
|
|
121
154
|
readonly internalType: "uint256";
|
|
@@ -125,6 +158,14 @@ export declare const abi: readonly [{
|
|
|
125
158
|
readonly internalType: "uint256";
|
|
126
159
|
readonly name: "duration";
|
|
127
160
|
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";
|
|
128
169
|
}];
|
|
129
170
|
readonly internalType: "struct IDAOSpace.VotingSettings";
|
|
130
171
|
readonly name: "_votingSettings";
|
|
@@ -149,10 +190,6 @@ export declare const abi: readonly [{
|
|
|
149
190
|
readonly internalType: "bytes16";
|
|
150
191
|
readonly name: "_initialTopicId";
|
|
151
192
|
readonly type: "bytes16";
|
|
152
|
-
}, {
|
|
153
|
-
readonly internalType: "bytes";
|
|
154
|
-
readonly name: "_initialTopicData";
|
|
155
|
-
readonly type: "bytes";
|
|
156
193
|
}];
|
|
157
194
|
readonly name: "createDAOSpaceProxy";
|
|
158
195
|
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,GAAG
|
|
1
|
+
{"version":3,"file":"dao-space-factory.d.ts","sourceRoot":"","sources":["../../../src/abis/dao-space-factory.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoC7B,CAAC;AAEX,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2UN,CAAC"}
|
|
@@ -1,3 +1,40 @@
|
|
|
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
|
+
];
|
|
1
38
|
export const abi = [
|
|
2
39
|
{
|
|
3
40
|
inputs: [],
|
|
@@ -145,28 +182,7 @@ export const abi = [
|
|
|
145
182
|
{
|
|
146
183
|
inputs: [
|
|
147
184
|
{
|
|
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
|
-
],
|
|
185
|
+
components: VotingSettingsV2Components,
|
|
170
186
|
internalType: 'struct IDAOSpace.VotingSettings',
|
|
171
187
|
name: '_votingSettings',
|
|
172
188
|
type: 'tuple',
|
|
@@ -196,11 +212,6 @@ export const abi = [
|
|
|
196
212
|
name: '_initialTopicId',
|
|
197
213
|
type: 'bytes16',
|
|
198
214
|
},
|
|
199
|
-
{
|
|
200
|
-
internalType: 'bytes',
|
|
201
|
-
name: '_initialTopicData',
|
|
202
|
-
type: 'bytes',
|
|
203
|
-
},
|
|
204
215
|
],
|
|
205
216
|
name: 'createDAOSpaceProxy',
|
|
206
217
|
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,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,kBAAk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ACf,IAAI,EAAE,QAAQ;aACf;SACF;QACD,IAAI,EAAE,aAAa;QACnB,IAAI,EAAE,OAAO;KACd;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,sBAAsB;QAC5B,IAAI,EAAE,OAAO;KACd;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,2BAA2B;QACjC,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,QAAQ;gBACtB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,QAAQ;aACf;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN;gBACE,UAAU,EAAE
|
|
1
|
+
{"version":3,"file":"dao-space-factory.js","sourceRoot":"","sources":["../../../src/abis/dao-space-factory.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC;QACE,YAAY,EAAE,SAAS;QACvB,IAAI,EAAE,mCAAmC;QACzC,IAAI,EAAE,SAAS;KAChB;IACD;QACE,YAAY,EAAE,SAAS;QACvB,IAAI,EAAE,qCAAqC;QAC3C,IAAI,EAAE,SAAS;KAChB;IACD;QACE,YAAY,EAAE,SAAS;QACvB,IAAI,EAAE,sBAAs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E,SAAS;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,mBAAmB;QACzB,OAAO,EAAE,EAAE;QACX,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,mBAAmB;gBACzB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,OAAO;gBACrB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,OAAO;aACd;SACF;QACD,IAAI,EAAE,kBAAkB;QACxB,OAAO,EAAE,EAAE;QACX,eAAe,EAAE,SAAS;QAC1B,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,SAAS;QACf,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,QAAQ;gBACtB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;aACf;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;CACO,CAAC"}
|
|
@@ -1,3 +1,36 @@
|
|
|
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
|
+
}];
|
|
1
34
|
export declare const abi: readonly [{
|
|
2
35
|
readonly inputs: readonly [];
|
|
3
36
|
readonly stateMutability: "nonpayable";
|
|
@@ -108,6 +141,16 @@ export declare const abi: readonly [{
|
|
|
108
141
|
}];
|
|
109
142
|
readonly stateMutability: "view";
|
|
110
143
|
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";
|
|
111
154
|
}, {
|
|
112
155
|
readonly inputs: readonly [];
|
|
113
156
|
readonly name: "MINIMUM_VOTING_DURATION";
|
|
@@ -230,7 +273,15 @@ export declare const abi: readonly [{
|
|
|
230
273
|
readonly type: "uint8";
|
|
231
274
|
}, {
|
|
232
275
|
readonly internalType: "uint256";
|
|
233
|
-
readonly name: "
|
|
276
|
+
readonly name: "partialPercentageSupportThreshold";
|
|
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";
|
|
234
285
|
readonly type: "uint256";
|
|
235
286
|
}, {
|
|
236
287
|
readonly internalType: "uint256";
|
|
@@ -244,6 +295,10 @@ export declare const abi: readonly [{
|
|
|
244
295
|
readonly internalType: "uint256";
|
|
245
296
|
readonly name: "lastDate";
|
|
246
297
|
readonly type: "uint256";
|
|
298
|
+
}, {
|
|
299
|
+
readonly internalType: "uint256";
|
|
300
|
+
readonly name: "executeBy";
|
|
301
|
+
readonly type: "uint256";
|
|
247
302
|
}];
|
|
248
303
|
readonly internalType: "struct IDAOSpace.ProposalParameters";
|
|
249
304
|
readonly name: "_parameters";
|
|
@@ -329,7 +384,15 @@ export declare const abi: readonly [{
|
|
|
329
384
|
readonly type: "uint8";
|
|
330
385
|
}, {
|
|
331
386
|
readonly internalType: "uint256";
|
|
332
|
-
readonly name: "
|
|
387
|
+
readonly name: "partialPercentageSupportThreshold";
|
|
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";
|
|
333
396
|
readonly type: "uint256";
|
|
334
397
|
}, {
|
|
335
398
|
readonly internalType: "uint256";
|
|
@@ -343,6 +406,10 @@ export declare const abi: readonly [{
|
|
|
343
406
|
readonly internalType: "uint256";
|
|
344
407
|
readonly name: "lastDate";
|
|
345
408
|
readonly type: "uint256";
|
|
409
|
+
}, {
|
|
410
|
+
readonly internalType: "uint256";
|
|
411
|
+
readonly name: "executeBy";
|
|
412
|
+
readonly type: "uint256";
|
|
346
413
|
}];
|
|
347
414
|
readonly internalType: "struct IDAOSpace.ProposalParameters";
|
|
348
415
|
readonly name: "_parameters";
|
|
@@ -391,7 +458,7 @@ export declare const abi: readonly [{
|
|
|
391
458
|
readonly type: "bytes16";
|
|
392
459
|
}, {
|
|
393
460
|
readonly internalType: "uint8";
|
|
394
|
-
readonly name: "
|
|
461
|
+
readonly name: "_proposalVersion";
|
|
395
462
|
readonly type: "uint8";
|
|
396
463
|
}, {
|
|
397
464
|
readonly internalType: "bytes16";
|
|
@@ -586,11 +653,15 @@ export declare const abi: readonly [{
|
|
|
586
653
|
readonly inputs: readonly [{
|
|
587
654
|
readonly components: readonly [{
|
|
588
655
|
readonly internalType: "uint256";
|
|
589
|
-
readonly name: "
|
|
656
|
+
readonly name: "partialPercentageSupportThreshold";
|
|
590
657
|
readonly type: "uint256";
|
|
591
658
|
}, {
|
|
592
659
|
readonly internalType: "uint256";
|
|
593
|
-
readonly name: "
|
|
660
|
+
readonly name: "universalPercentageSupportThreshold";
|
|
661
|
+
readonly type: "uint256";
|
|
662
|
+
}, {
|
|
663
|
+
readonly internalType: "uint256";
|
|
664
|
+
readonly name: "flatSupportThreshold";
|
|
594
665
|
readonly type: "uint256";
|
|
595
666
|
}, {
|
|
596
667
|
readonly internalType: "uint256";
|
|
@@ -600,6 +671,14 @@ export declare const abi: readonly [{
|
|
|
600
671
|
readonly internalType: "uint256";
|
|
601
672
|
readonly name: "duration";
|
|
602
673
|
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";
|
|
603
682
|
}];
|
|
604
683
|
readonly internalType: "struct IDAOSpace.VotingSettings";
|
|
605
684
|
readonly name: "_votingSettings";
|
|
@@ -651,11 +730,15 @@ export declare const abi: readonly [{
|
|
|
651
730
|
readonly outputs: readonly [{
|
|
652
731
|
readonly components: readonly [{
|
|
653
732
|
readonly internalType: "uint256";
|
|
654
|
-
readonly name: "
|
|
733
|
+
readonly name: "partialPercentageSupportThreshold";
|
|
734
|
+
readonly type: "uint256";
|
|
735
|
+
}, {
|
|
736
|
+
readonly internalType: "uint256";
|
|
737
|
+
readonly name: "universalPercentageSupportThreshold";
|
|
655
738
|
readonly type: "uint256";
|
|
656
739
|
}, {
|
|
657
740
|
readonly internalType: "uint256";
|
|
658
|
-
readonly name: "
|
|
741
|
+
readonly name: "flatSupportThreshold";
|
|
659
742
|
readonly type: "uint256";
|
|
660
743
|
}, {
|
|
661
744
|
readonly internalType: "uint256";
|
|
@@ -665,6 +748,14 @@ export declare const abi: readonly [{
|
|
|
665
748
|
readonly internalType: "uint256";
|
|
666
749
|
readonly name: "duration";
|
|
667
750
|
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";
|
|
668
759
|
}];
|
|
669
760
|
readonly internalType: "struct IDAOSpace.VotingSettings";
|
|
670
761
|
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":"AAEA,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyCjC,CAAC;AAEX,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuzBN,CAAC"}
|
|
@@ -1,3 +1,46 @@
|
|
|
1
|
+
import { VotingSettingsV2Components } from './dao-space-factory.js';
|
|
2
|
+
export const ProposalParametersV2Components = [
|
|
3
|
+
{
|
|
4
|
+
internalType: 'enum IDAOSpace.VotingMode',
|
|
5
|
+
name: 'votingMode',
|
|
6
|
+
type: 'uint8',
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
internalType: 'uint256',
|
|
10
|
+
name: 'partialPercentageSupportThreshold',
|
|
11
|
+
type: 'uint256',
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
internalType: 'uint256',
|
|
15
|
+
name: 'universalPercentageSupportThreshold',
|
|
16
|
+
type: 'uint256',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
internalType: 'uint256',
|
|
20
|
+
name: 'flatSupportThreshold',
|
|
21
|
+
type: 'uint256',
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
internalType: 'uint256',
|
|
25
|
+
name: 'quorum',
|
|
26
|
+
type: 'uint256',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
internalType: 'uint256',
|
|
30
|
+
name: 'startDate',
|
|
31
|
+
type: 'uint256',
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
internalType: 'uint256',
|
|
35
|
+
name: 'lastDate',
|
|
36
|
+
type: 'uint256',
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
internalType: 'uint256',
|
|
40
|
+
name: 'executeBy',
|
|
41
|
+
type: 'uint256',
|
|
42
|
+
},
|
|
43
|
+
];
|
|
1
44
|
export const abi = [
|
|
2
45
|
{
|
|
3
46
|
inputs: [],
|
|
@@ -139,6 +182,19 @@ export const abi = [
|
|
|
139
182
|
stateMutability: 'view',
|
|
140
183
|
type: 'function',
|
|
141
184
|
},
|
|
185
|
+
{
|
|
186
|
+
inputs: [],
|
|
187
|
+
name: 'MINIMUM_EXECUTION_GRACE_PERIOD',
|
|
188
|
+
outputs: [
|
|
189
|
+
{
|
|
190
|
+
internalType: 'uint256',
|
|
191
|
+
name: '',
|
|
192
|
+
type: 'uint256',
|
|
193
|
+
},
|
|
194
|
+
],
|
|
195
|
+
stateMutability: 'view',
|
|
196
|
+
type: 'function',
|
|
197
|
+
},
|
|
142
198
|
{
|
|
143
199
|
inputs: [],
|
|
144
200
|
name: 'MINIMUM_VOTING_DURATION',
|
|
@@ -291,33 +347,7 @@ export const abi = [
|
|
|
291
347
|
type: 'bytes16',
|
|
292
348
|
},
|
|
293
349
|
{
|
|
294
|
-
components:
|
|
295
|
-
{
|
|
296
|
-
internalType: 'enum IDAOSpace.VotingMode',
|
|
297
|
-
name: 'votingMode',
|
|
298
|
-
type: 'uint8',
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
internalType: 'uint256',
|
|
302
|
-
name: 'supportThreshold',
|
|
303
|
-
type: 'uint256',
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
internalType: 'uint256',
|
|
307
|
-
name: 'quorum',
|
|
308
|
-
type: 'uint256',
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
internalType: 'uint256',
|
|
312
|
-
name: 'startDate',
|
|
313
|
-
type: 'uint256',
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
internalType: 'uint256',
|
|
317
|
-
name: 'lastDate',
|
|
318
|
-
type: 'uint256',
|
|
319
|
-
},
|
|
320
|
-
],
|
|
350
|
+
components: ProposalParametersV2Components,
|
|
321
351
|
internalType: 'struct IDAOSpace.ProposalParameters',
|
|
322
352
|
name: '_parameters',
|
|
323
353
|
type: 'tuple',
|
|
@@ -420,33 +450,7 @@ export const abi = [
|
|
|
420
450
|
type: 'bytes16',
|
|
421
451
|
},
|
|
422
452
|
{
|
|
423
|
-
components:
|
|
424
|
-
{
|
|
425
|
-
internalType: 'enum IDAOSpace.VotingMode',
|
|
426
|
-
name: 'votingMode',
|
|
427
|
-
type: 'uint8',
|
|
428
|
-
},
|
|
429
|
-
{
|
|
430
|
-
internalType: 'uint256',
|
|
431
|
-
name: 'supportThreshold',
|
|
432
|
-
type: 'uint256',
|
|
433
|
-
},
|
|
434
|
-
{
|
|
435
|
-
internalType: 'uint256',
|
|
436
|
-
name: 'quorum',
|
|
437
|
-
type: 'uint256',
|
|
438
|
-
},
|
|
439
|
-
{
|
|
440
|
-
internalType: 'uint256',
|
|
441
|
-
name: 'startDate',
|
|
442
|
-
type: 'uint256',
|
|
443
|
-
},
|
|
444
|
-
{
|
|
445
|
-
internalType: 'uint256',
|
|
446
|
-
name: 'lastDate',
|
|
447
|
-
type: 'uint256',
|
|
448
|
-
},
|
|
449
|
-
],
|
|
453
|
+
components: ProposalParametersV2Components,
|
|
450
454
|
internalType: 'struct IDAOSpace.ProposalParameters',
|
|
451
455
|
name: '_parameters',
|
|
452
456
|
type: 'tuple',
|
|
@@ -508,7 +512,7 @@ export const abi = [
|
|
|
508
512
|
},
|
|
509
513
|
{
|
|
510
514
|
internalType: 'uint8',
|
|
511
|
-
name: '
|
|
515
|
+
name: '_proposalVersion',
|
|
512
516
|
type: 'uint8',
|
|
513
517
|
},
|
|
514
518
|
{
|
|
@@ -761,28 +765,7 @@ export const abi = [
|
|
|
761
765
|
{
|
|
762
766
|
inputs: [
|
|
763
767
|
{
|
|
764
|
-
components:
|
|
765
|
-
{
|
|
766
|
-
internalType: 'uint256',
|
|
767
|
-
name: 'slowPathPercentageThreshold',
|
|
768
|
-
type: 'uint256',
|
|
769
|
-
},
|
|
770
|
-
{
|
|
771
|
-
internalType: 'uint256',
|
|
772
|
-
name: 'fastPathFlatThreshold',
|
|
773
|
-
type: 'uint256',
|
|
774
|
-
},
|
|
775
|
-
{
|
|
776
|
-
internalType: 'uint256',
|
|
777
|
-
name: 'quorum',
|
|
778
|
-
type: 'uint256',
|
|
779
|
-
},
|
|
780
|
-
{
|
|
781
|
-
internalType: 'uint256',
|
|
782
|
-
name: 'duration',
|
|
783
|
-
type: 'uint256',
|
|
784
|
-
},
|
|
785
|
-
],
|
|
768
|
+
components: VotingSettingsV2Components,
|
|
786
769
|
internalType: 'struct IDAOSpace.VotingSettings',
|
|
787
770
|
name: '_votingSettings',
|
|
788
771
|
type: 'tuple',
|
|
@@ -844,28 +827,7 @@ export const abi = [
|
|
|
844
827
|
name: 'votingSettings',
|
|
845
828
|
outputs: [
|
|
846
829
|
{
|
|
847
|
-
components:
|
|
848
|
-
{
|
|
849
|
-
internalType: 'uint256',
|
|
850
|
-
name: 'slowPathPercentageThreshold',
|
|
851
|
-
type: 'uint256',
|
|
852
|
-
},
|
|
853
|
-
{
|
|
854
|
-
internalType: 'uint256',
|
|
855
|
-
name: 'fastPathFlatThreshold',
|
|
856
|
-
type: 'uint256',
|
|
857
|
-
},
|
|
858
|
-
{
|
|
859
|
-
internalType: 'uint256',
|
|
860
|
-
name: 'quorum',
|
|
861
|
-
type: 'uint256',
|
|
862
|
-
},
|
|
863
|
-
{
|
|
864
|
-
internalType: 'uint256',
|
|
865
|
-
name: 'duration',
|
|
866
|
-
type: 'uint256',
|
|
867
|
-
},
|
|
868
|
-
],
|
|
830
|
+
components: VotingSettingsV2Components,
|
|
869
831
|
internalType: 'struct IDAOSpace.VotingSettings',
|
|
870
832
|
name: '_votingSettings',
|
|
871
833
|
type: 'tuple',
|