@geoprotocol/geo-sdk 0.19.1 → 0.19.2
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/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/spaces.test.js +7 -27
- package/dist/src/client/spaces.test.js.map +1 -1
- package/dist/src/client.d.ts +16 -33
- package/dist/src/client.d.ts.map +1 -1
- package/dist/src/client.js +60 -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/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/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/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
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.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,
|
|
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;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,GAChB,MAAM,0BAA0B,CAAC;AAClC;;;GAGG;AACH,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAC;AAC9C,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 {
|
|
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,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,
|
|
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,GAChB,MAAM,0BAA0B,CAAC;AAClC;;;GAGG;AACH,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAC;AAC9C,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"}
|
|
@@ -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;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ACE,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,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"}
|
|
@@ -1,46 +1,3 @@
|
|
|
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
|
-
];
|
|
44
1
|
export const abi = [
|
|
45
2
|
{
|
|
46
3
|
inputs: [],
|
|
@@ -182,19 +139,6 @@ export const abi = [
|
|
|
182
139
|
stateMutability: 'view',
|
|
183
140
|
type: 'function',
|
|
184
141
|
},
|
|
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
|
-
},
|
|
198
142
|
{
|
|
199
143
|
inputs: [],
|
|
200
144
|
name: 'MINIMUM_VOTING_DURATION',
|
|
@@ -347,7 +291,33 @@ export const abi = [
|
|
|
347
291
|
type: 'bytes16',
|
|
348
292
|
},
|
|
349
293
|
{
|
|
350
|
-
components:
|
|
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
|
+
],
|
|
351
321
|
internalType: 'struct IDAOSpace.ProposalParameters',
|
|
352
322
|
name: '_parameters',
|
|
353
323
|
type: 'tuple',
|
|
@@ -450,7 +420,33 @@ export const abi = [
|
|
|
450
420
|
type: 'bytes16',
|
|
451
421
|
},
|
|
452
422
|
{
|
|
453
|
-
components:
|
|
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
|
+
],
|
|
454
450
|
internalType: 'struct IDAOSpace.ProposalParameters',
|
|
455
451
|
name: '_parameters',
|
|
456
452
|
type: 'tuple',
|
|
@@ -512,7 +508,7 @@ export const abi = [
|
|
|
512
508
|
},
|
|
513
509
|
{
|
|
514
510
|
internalType: 'uint8',
|
|
515
|
-
name: '
|
|
511
|
+
name: '_version',
|
|
516
512
|
type: 'uint8',
|
|
517
513
|
},
|
|
518
514
|
{
|
|
@@ -765,7 +761,28 @@ export const abi = [
|
|
|
765
761
|
{
|
|
766
762
|
inputs: [
|
|
767
763
|
{
|
|
768
|
-
components:
|
|
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
|
+
],
|
|
769
786
|
internalType: 'struct IDAOSpace.VotingSettings',
|
|
770
787
|
name: '_votingSettings',
|
|
771
788
|
type: 'tuple',
|
|
@@ -827,7 +844,28 @@ export const abi = [
|
|
|
827
844
|
name: 'votingSettings',
|
|
828
845
|
outputs: [
|
|
829
846
|
{
|
|
830
|
-
components:
|
|
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
|
+
],
|
|
831
869
|
internalType: 'struct IDAOSpace.VotingSettings',
|
|
832
870
|
name: '_votingSettings',
|
|
833
871
|
type: 'tuple',
|