@geoprotocol/geo-sdk 0.18.3 → 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.
Files changed (360) hide show
  1. package/README.md +995 -372
  2. package/dist/contracts.d.ts +0 -11
  3. package/dist/contracts.d.ts.map +1 -1
  4. package/dist/contracts.js +0 -11
  5. package/dist/contracts.js.map +1 -1
  6. package/dist/index.d.ts +8 -1
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/index.js +8 -1
  9. package/dist/index.js.map +1 -1
  10. package/dist/lite.d.ts +2 -0
  11. package/dist/lite.d.ts.map +1 -1
  12. package/dist/lite.js +2 -0
  13. package/dist/lite.js.map +1 -1
  14. package/dist/src/abis/dao-space-factory.d.ts +43 -6
  15. package/dist/src/abis/dao-space-factory.d.ts.map +1 -1
  16. package/dist/src/abis/dao-space-factory.js +38 -27
  17. package/dist/src/abis/dao-space-factory.js.map +1 -1
  18. package/dist/src/abis/dao-space-v2.test.d.ts +2 -0
  19. package/dist/src/abis/dao-space-v2.test.d.ts.map +1 -0
  20. package/dist/src/abis/dao-space-v2.test.js +67 -0
  21. package/dist/src/abis/dao-space-v2.test.js.map +1 -0
  22. package/dist/src/abis/dao-space.d.ts +98 -7
  23. package/dist/src/abis/dao-space.d.ts.map +1 -1
  24. package/dist/src/abis/dao-space.js +61 -99
  25. package/dist/src/abis/dao-space.js.map +1 -1
  26. package/dist/src/abis/index.d.ts +2 -2
  27. package/dist/src/abis/index.d.ts.map +1 -1
  28. package/dist/src/abis/index.js +2 -2
  29. package/dist/src/abis/index.js.map +1 -1
  30. package/dist/src/abis/space-registry.d.ts +26 -0
  31. package/dist/src/abis/space-registry.d.ts.map +1 -1
  32. package/dist/src/abis/space-registry.js +33 -0
  33. package/dist/src/abis/space-registry.js.map +1 -1
  34. package/dist/src/api-surface.e2e.test.d.ts +2 -0
  35. package/dist/src/api-surface.e2e.test.d.ts.map +1 -0
  36. package/dist/src/api-surface.e2e.test.js +1206 -0
  37. package/dist/src/api-surface.e2e.test.js.map +1 -0
  38. package/dist/src/client/api.d.ts +86 -0
  39. package/dist/src/client/api.d.ts.map +1 -0
  40. package/dist/src/client/api.js +169 -0
  41. package/dist/src/client/api.js.map +1 -0
  42. package/dist/src/client/comments.d.ts +59 -0
  43. package/dist/src/client/comments.d.ts.map +1 -0
  44. package/dist/src/client/comments.js +96 -0
  45. package/dist/src/client/comments.js.map +1 -0
  46. package/dist/src/client/context.d.ts +20 -0
  47. package/dist/src/client/context.d.ts.map +1 -0
  48. package/dist/src/client/context.js +20 -0
  49. package/dist/src/client/context.js.map +1 -0
  50. package/dist/src/client/dao-spaces.d.ts +408 -0
  51. package/dist/src/client/dao-spaces.d.ts.map +1 -0
  52. package/dist/src/client/dao-spaces.js +626 -0
  53. package/dist/src/client/dao-spaces.js.map +1 -0
  54. package/dist/src/client/dao-spaces.test.d.ts +2 -0
  55. package/dist/src/client/dao-spaces.test.d.ts.map +1 -0
  56. package/dist/src/client/dao-spaces.test.js +497 -0
  57. package/dist/src/client/dao-spaces.test.js.map +1 -0
  58. package/dist/src/client/edits.d.ts +100 -0
  59. package/dist/src/client/edits.d.ts.map +1 -0
  60. package/dist/src/client/edits.js +131 -0
  61. package/dist/src/client/edits.js.map +1 -0
  62. package/dist/src/client/edits.test.d.ts +2 -0
  63. package/dist/src/client/edits.test.d.ts.map +1 -0
  64. package/dist/src/client/edits.test.js +98 -0
  65. package/dist/src/client/edits.test.js.map +1 -0
  66. package/dist/src/client/entities.d.ts +23 -0
  67. package/dist/src/client/entities.d.ts.map +1 -0
  68. package/dist/src/client/entities.js +88 -0
  69. package/dist/src/client/entities.js.map +1 -0
  70. package/dist/src/client/entity-votes.d.ts +141 -0
  71. package/dist/src/client/entity-votes.d.ts.map +1 -0
  72. package/dist/src/client/entity-votes.js +168 -0
  73. package/dist/src/client/entity-votes.js.map +1 -0
  74. package/dist/src/client/entity-votes.test.d.ts +2 -0
  75. package/dist/src/client/entity-votes.test.d.ts.map +1 -0
  76. package/dist/src/client/entity-votes.test.js +93 -0
  77. package/dist/src/client/entity-votes.test.js.map +1 -0
  78. package/dist/src/client/graph-workflows.test.d.ts +2 -0
  79. package/dist/src/client/graph-workflows.test.d.ts.map +1 -0
  80. package/dist/src/client/graph-workflows.test.js +83 -0
  81. package/dist/src/client/graph-workflows.test.js.map +1 -0
  82. package/dist/src/client/images-storage.test.d.ts +2 -0
  83. package/dist/src/client/images-storage.test.d.ts.map +1 -0
  84. package/dist/src/client/images-storage.test.js +52 -0
  85. package/dist/src/client/images-storage.test.js.map +1 -0
  86. package/dist/src/client/images.d.ts +35 -0
  87. package/dist/src/client/images.d.ts.map +1 -0
  88. package/dist/src/client/images.js +90 -0
  89. package/dist/src/client/images.js.map +1 -0
  90. package/dist/src/client/personal-spaces.d.ts +229 -0
  91. package/dist/src/client/personal-spaces.d.ts.map +1 -0
  92. package/dist/src/client/personal-spaces.js +278 -0
  93. package/dist/src/client/personal-spaces.js.map +1 -0
  94. package/dist/src/client/spaces.test.d.ts +2 -0
  95. package/dist/src/client/spaces.test.d.ts.map +1 -0
  96. package/dist/src/client/spaces.test.js +175 -0
  97. package/dist/src/client/spaces.test.js.map +1 -0
  98. package/dist/src/client/storage.d.ts +52 -0
  99. package/dist/src/client/storage.d.ts.map +1 -0
  100. package/dist/src/client/storage.js +53 -0
  101. package/dist/src/client/storage.js.map +1 -0
  102. package/dist/src/client.d.ts +338 -0
  103. package/dist/src/client.d.ts.map +1 -0
  104. package/dist/src/client.js +494 -0
  105. package/dist/src/client.js.map +1 -0
  106. package/dist/src/client.test.d.ts +2 -0
  107. package/dist/src/client.test.d.ts.map +1 -0
  108. package/dist/src/client.test.js +125 -0
  109. package/dist/src/client.test.js.map +1 -0
  110. package/dist/src/contracts-v2/local-geobrowser.e2e.test.d.ts +2 -0
  111. package/dist/src/contracts-v2/local-geobrowser.e2e.test.d.ts.map +1 -0
  112. package/dist/src/contracts-v2/local-geobrowser.e2e.test.js +239 -0
  113. package/dist/src/contracts-v2/local-geobrowser.e2e.test.js.map +1 -0
  114. package/dist/src/dao-space/constants.d.ts +16 -3
  115. package/dist/src/dao-space/constants.d.ts.map +1 -1
  116. package/dist/src/dao-space/constants.js +16 -5
  117. package/dist/src/dao-space/constants.js.map +1 -1
  118. package/dist/src/dao-space/create-space.d.ts +1 -31
  119. package/dist/src/dao-space/create-space.d.ts.map +1 -1
  120. package/dist/src/dao-space/create-space.js +5 -70
  121. package/dist/src/dao-space/create-space.js.map +1 -1
  122. package/dist/src/dao-space/execute-proposal.d.ts +1 -22
  123. package/dist/src/dao-space/execute-proposal.d.ts.map +1 -1
  124. package/dist/src/dao-space/execute-proposal.js +12 -59
  125. package/dist/src/dao-space/execute-proposal.js.map +1 -1
  126. package/dist/src/dao-space/index.d.ts +2 -1
  127. package/dist/src/dao-space/index.d.ts.map +1 -1
  128. package/dist/src/dao-space/index.js +1 -0
  129. package/dist/src/dao-space/index.js.map +1 -1
  130. package/dist/src/dao-space/propose-add-editor.d.ts +1 -20
  131. package/dist/src/dao-space/propose-add-editor.d.ts.map +1 -1
  132. package/dist/src/dao-space/propose-add-editor.js +12 -87
  133. package/dist/src/dao-space/propose-add-editor.js.map +1 -1
  134. package/dist/src/dao-space/propose-add-editor.test.js +16 -4
  135. package/dist/src/dao-space/propose-add-editor.test.js.map +1 -1
  136. package/dist/src/dao-space/propose-add-member.d.ts +1 -20
  137. package/dist/src/dao-space/propose-add-member.d.ts.map +1 -1
  138. package/dist/src/dao-space/propose-add-member.js +12 -87
  139. package/dist/src/dao-space/propose-add-member.js.map +1 -1
  140. package/dist/src/dao-space/propose-add-member.test.js +13 -0
  141. package/dist/src/dao-space/propose-add-member.test.js.map +1 -1
  142. package/dist/src/dao-space/propose-edit.d.ts +1 -30
  143. package/dist/src/dao-space/propose-edit.d.ts.map +1 -1
  144. package/dist/src/dao-space/propose-edit.js +12 -108
  145. package/dist/src/dao-space/propose-edit.js.map +1 -1
  146. package/dist/src/dao-space/propose-edit.test.js +53 -1
  147. package/dist/src/dao-space/propose-edit.test.js.map +1 -1
  148. package/dist/src/dao-space/propose-remove-editor.d.ts +1 -22
  149. package/dist/src/dao-space/propose-remove-editor.d.ts.map +1 -1
  150. package/dist/src/dao-space/propose-remove-editor.js +12 -94
  151. package/dist/src/dao-space/propose-remove-editor.js.map +1 -1
  152. package/dist/src/dao-space/propose-remove-editor.test.js +24 -11
  153. package/dist/src/dao-space/propose-remove-editor.test.js.map +1 -1
  154. package/dist/src/dao-space/propose-remove-member.d.ts +1 -22
  155. package/dist/src/dao-space/propose-remove-member.d.ts.map +1 -1
  156. package/dist/src/dao-space/propose-remove-member.js +12 -94
  157. package/dist/src/dao-space/propose-remove-member.js.map +1 -1
  158. package/dist/src/dao-space/propose-remove-member.test.js +19 -0
  159. package/dist/src/dao-space/propose-remove-member.test.js.map +1 -1
  160. package/dist/src/dao-space/propose-request-membership.d.ts.map +1 -1
  161. package/dist/src/dao-space/propose-request-membership.js +4 -4
  162. package/dist/src/dao-space/propose-request-membership.js.map +1 -1
  163. package/dist/src/dao-space/propose-update-voting-settings.d.ts +8 -0
  164. package/dist/src/dao-space/propose-update-voting-settings.d.ts.map +1 -0
  165. package/dist/src/dao-space/propose-update-voting-settings.js +19 -0
  166. package/dist/src/dao-space/propose-update-voting-settings.js.map +1 -0
  167. package/dist/src/dao-space/propose-update-voting-settings.test.d.ts +2 -0
  168. package/dist/src/dao-space/propose-update-voting-settings.test.d.ts.map +1 -0
  169. package/dist/src/dao-space/propose-update-voting-settings.test.js +118 -0
  170. package/dist/src/dao-space/propose-update-voting-settings.test.js.map +1 -0
  171. package/dist/src/dao-space/types.d.ts +72 -11
  172. package/dist/src/dao-space/types.d.ts.map +1 -1
  173. package/dist/src/dao-space/vote-proposal.d.ts +1 -24
  174. package/dist/src/dao-space/vote-proposal.d.ts.map +1 -1
  175. package/dist/src/dao-space/vote-proposal.js +12 -64
  176. package/dist/src/dao-space/vote-proposal.js.map +1 -1
  177. package/dist/src/dao-space/vote-proposal.test.js +54 -0
  178. package/dist/src/dao-space/vote-proposal.test.js.map +1 -1
  179. package/dist/src/e2e-test-environment.d.ts +26 -0
  180. package/dist/src/e2e-test-environment.d.ts.map +1 -0
  181. package/dist/src/e2e-test-environment.js +150 -0
  182. package/dist/src/e2e-test-environment.js.map +1 -0
  183. package/dist/src/encoding.d.ts +3 -0
  184. package/dist/src/encoding.d.ts.map +1 -1
  185. package/dist/src/encoding.js +3 -0
  186. package/dist/src/encoding.js.map +1 -1
  187. package/dist/src/encodings/get-create-dao-space-calldata.d.ts +34 -97
  188. package/dist/src/encodings/get-create-dao-space-calldata.d.ts.map +1 -1
  189. package/dist/src/encodings/get-create-dao-space-calldata.js +66 -109
  190. package/dist/src/encodings/get-create-dao-space-calldata.js.map +1 -1
  191. package/dist/src/encodings/get-create-dao-space-calldata.test.js +90 -23
  192. package/dist/src/encodings/get-create-dao-space-calldata.test.js.map +1 -1
  193. package/dist/src/encodings/get-create-personal-space-calldata.d.ts +2 -0
  194. package/dist/src/encodings/get-create-personal-space-calldata.d.ts.map +1 -1
  195. package/dist/src/encodings/get-create-personal-space-calldata.js +2 -0
  196. package/dist/src/encodings/get-create-personal-space-calldata.js.map +1 -1
  197. package/dist/src/full-flow-test.test.js +5 -2
  198. package/dist/src/full-flow-test.test.js.map +1 -1
  199. package/dist/src/graph/comment-utils.d.ts +4 -0
  200. package/dist/src/graph/comment-utils.d.ts.map +1 -1
  201. package/dist/src/graph/comment-utils.js +4 -0
  202. package/dist/src/graph/comment-utils.js.map +1 -1
  203. package/dist/src/graph/constants.d.ts +12 -3
  204. package/dist/src/graph/constants.d.ts.map +1 -1
  205. package/dist/src/graph/constants.js +11 -5
  206. package/dist/src/graph/constants.js.map +1 -1
  207. package/dist/src/graph/create-comment.d.ts +3 -22
  208. package/dist/src/graph/create-comment.d.ts.map +1 -1
  209. package/dist/src/graph/create-comment.js +6 -136
  210. package/dist/src/graph/create-comment.js.map +1 -1
  211. package/dist/src/graph/create-comment.test.js +19 -8
  212. package/dist/src/graph/create-comment.test.js.map +1 -1
  213. package/dist/src/graph/create-entity.d.ts +2 -0
  214. package/dist/src/graph/create-entity.d.ts.map +1 -1
  215. package/dist/src/graph/create-entity.js +2 -0
  216. package/dist/src/graph/create-entity.js.map +1 -1
  217. package/dist/src/graph/create-image.d.ts +2 -21
  218. package/dist/src/graph/create-image.d.ts.map +1 -1
  219. package/dist/src/graph/create-image.js +7 -69
  220. package/dist/src/graph/create-image.js.map +1 -1
  221. package/dist/src/graph/create-property.d.ts +2 -0
  222. package/dist/src/graph/create-property.d.ts.map +1 -1
  223. package/dist/src/graph/create-property.js +2 -0
  224. package/dist/src/graph/create-property.js.map +1 -1
  225. package/dist/src/graph/create-proposal-review.d.ts +1 -27
  226. package/dist/src/graph/create-proposal-review.d.ts.map +1 -1
  227. package/dist/src/graph/create-proposal-review.js +4 -61
  228. package/dist/src/graph/create-proposal-review.js.map +1 -1
  229. package/dist/src/graph/create-relation.d.ts +2 -0
  230. package/dist/src/graph/create-relation.d.ts.map +1 -1
  231. package/dist/src/graph/create-relation.js +2 -0
  232. package/dist/src/graph/create-relation.js.map +1 -1
  233. package/dist/src/graph/create-type.d.ts +2 -0
  234. package/dist/src/graph/create-type.d.ts.map +1 -1
  235. package/dist/src/graph/create-type.js +2 -0
  236. package/dist/src/graph/create-type.js.map +1 -1
  237. package/dist/src/graph/delete-entity.d.ts +2 -14
  238. package/dist/src/graph/delete-entity.d.ts.map +1 -1
  239. package/dist/src/graph/delete-entity.js +5 -78
  240. package/dist/src/graph/delete-entity.js.map +1 -1
  241. package/dist/src/graph/delete-entity.test.js +7 -0
  242. package/dist/src/graph/delete-entity.test.js.map +1 -1
  243. package/dist/src/graph/delete-relation.d.ts +2 -0
  244. package/dist/src/graph/delete-relation.d.ts.map +1 -1
  245. package/dist/src/graph/delete-relation.js +2 -0
  246. package/dist/src/graph/delete-relation.js.map +1 -1
  247. package/dist/src/graph/entity-vote.d.ts +3 -3
  248. package/dist/src/graph/entity-vote.d.ts.map +1 -1
  249. package/dist/src/graph/entity-vote.js +21 -46
  250. package/dist/src/graph/entity-vote.js.map +1 -1
  251. package/dist/src/graph/update-comment.d.ts +3 -0
  252. package/dist/src/graph/update-comment.d.ts.map +1 -1
  253. package/dist/src/graph/update-comment.js +3 -0
  254. package/dist/src/graph/update-comment.js.map +1 -1
  255. package/dist/src/graph/update-entity.d.ts +2 -0
  256. package/dist/src/graph/update-entity.d.ts.map +1 -1
  257. package/dist/src/graph/update-entity.js +2 -0
  258. package/dist/src/graph/update-entity.js.map +1 -1
  259. package/dist/src/graph/update-proposal-review.d.ts +2 -27
  260. package/dist/src/graph/update-proposal-review.d.ts.map +1 -1
  261. package/dist/src/graph/update-proposal-review.js +4 -50
  262. package/dist/src/graph/update-proposal-review.js.map +1 -1
  263. package/dist/src/graph/update-relation.d.ts +2 -0
  264. package/dist/src/graph/update-relation.d.ts.map +1 -1
  265. package/dist/src/graph/update-relation.js +2 -0
  266. package/dist/src/graph/update-relation.js.map +1 -1
  267. package/dist/src/ipfs-core.d.ts +42 -0
  268. package/dist/src/ipfs-core.d.ts.map +1 -0
  269. package/dist/src/ipfs-core.js +165 -0
  270. package/dist/src/ipfs-core.js.map +1 -0
  271. package/dist/src/ipfs-core.test.d.ts +2 -0
  272. package/dist/src/ipfs-core.test.d.ts.map +1 -0
  273. package/dist/src/ipfs-core.test.js +56 -0
  274. package/dist/src/ipfs-core.test.js.map +1 -0
  275. package/dist/src/ipfs.d.ts +7 -52
  276. package/dist/src/ipfs.d.ts.map +1 -1
  277. package/dist/src/ipfs.js +27 -170
  278. package/dist/src/ipfs.js.map +1 -1
  279. package/dist/src/legacy-api-surface.e2e.test.d.ts +2 -0
  280. package/dist/src/legacy-api-surface.e2e.test.d.ts.map +1 -0
  281. package/dist/src/legacy-api-surface.e2e.test.js +860 -0
  282. package/dist/src/legacy-api-surface.e2e.test.js.map +1 -0
  283. package/dist/src/networks.d.ts +46 -0
  284. package/dist/src/networks.d.ts.map +1 -0
  285. package/dist/src/networks.js +90 -0
  286. package/dist/src/networks.js.map +1 -0
  287. package/dist/src/ops/comments.d.ts +80 -0
  288. package/dist/src/ops/comments.d.ts.map +1 -0
  289. package/dist/src/ops/comments.js +142 -0
  290. package/dist/src/ops/comments.js.map +1 -0
  291. package/dist/src/ops/entities.d.ts +50 -0
  292. package/dist/src/ops/entities.d.ts.map +1 -0
  293. package/dist/src/ops/entities.js +51 -0
  294. package/dist/src/ops/entities.js.map +1 -0
  295. package/dist/src/ops/index.d.ts +7 -0
  296. package/dist/src/ops/index.d.ts.map +1 -0
  297. package/dist/src/ops/index.js +7 -0
  298. package/dist/src/ops/index.js.map +1 -0
  299. package/dist/src/ops/index.test.d.ts +2 -0
  300. package/dist/src/ops/index.test.d.ts.map +1 -0
  301. package/dist/src/ops/index.test.js +115 -0
  302. package/dist/src/ops/index.test.js.map +1 -0
  303. package/dist/src/ops/properties.d.ts +20 -0
  304. package/dist/src/ops/properties.d.ts.map +1 -0
  305. package/dist/src/ops/properties.js +20 -0
  306. package/dist/src/ops/properties.js.map +1 -0
  307. package/dist/src/ops/proposal-reviews.d.ts +43 -0
  308. package/dist/src/ops/proposal-reviews.d.ts.map +1 -0
  309. package/dist/src/ops/proposal-reviews.js +103 -0
  310. package/dist/src/ops/proposal-reviews.js.map +1 -0
  311. package/dist/src/ops/relations.d.ts +57 -0
  312. package/dist/src/ops/relations.d.ts.map +1 -0
  313. package/dist/src/ops/relations.js +59 -0
  314. package/dist/src/ops/relations.js.map +1 -0
  315. package/dist/src/ops/types.d.ts +20 -0
  316. package/dist/src/ops/types.d.ts.map +1 -0
  317. package/dist/src/ops/types.js +20 -0
  318. package/dist/src/ops/types.js.map +1 -0
  319. package/dist/src/personal-space/constants.d.ts +1 -0
  320. package/dist/src/personal-space/constants.d.ts.map +1 -1
  321. package/dist/src/personal-space/constants.js +1 -0
  322. package/dist/src/personal-space/constants.js.map +1 -1
  323. package/dist/src/personal-space/create-space.d.ts +3 -20
  324. package/dist/src/personal-space/create-space.d.ts.map +1 -1
  325. package/dist/src/personal-space/create-space.js +5 -21
  326. package/dist/src/personal-space/create-space.js.map +1 -1
  327. package/dist/src/personal-space/has-space.d.ts +9 -2
  328. package/dist/src/personal-space/has-space.d.ts.map +1 -1
  329. package/dist/src/personal-space/has-space.js +9 -13
  330. package/dist/src/personal-space/has-space.js.map +1 -1
  331. package/dist/src/personal-space/has-space.test.d.ts +2 -0
  332. package/dist/src/personal-space/has-space.test.d.ts.map +1 -0
  333. package/dist/src/personal-space/has-space.test.js +30 -0
  334. package/dist/src/personal-space/has-space.test.js.map +1 -0
  335. package/dist/src/personal-space/publish-edit.d.ts +1 -22
  336. package/dist/src/personal-space/publish-edit.d.ts.map +1 -1
  337. package/dist/src/personal-space/publish-edit.js +10 -64
  338. package/dist/src/personal-space/publish-edit.js.map +1 -1
  339. package/dist/src/personal-space/types.d.ts +4 -1
  340. package/dist/src/personal-space/types.d.ts.map +1 -1
  341. package/dist/src/smart-wallet.d.ts +2 -4
  342. package/dist/src/smart-wallet.d.ts.map +1 -1
  343. package/dist/src/smart-wallet.js +6 -9
  344. package/dist/src/smart-wallet.js.map +1 -1
  345. package/dist/src/types.d.ts +25 -0
  346. package/dist/src/types.d.ts.map +1 -1
  347. package/dist/src/types.js.map +1 -1
  348. package/package.json +14 -1
  349. package/dist/proto.d.ts +0 -5
  350. package/dist/proto.d.ts.map +0 -1
  351. package/dist/proto.js +0 -5
  352. package/dist/proto.js.map +0 -1
  353. package/dist/src/graph/create-space.d.ts +0 -37
  354. package/dist/src/graph/create-space.d.ts.map +0 -1
  355. package/dist/src/graph/create-space.js +0 -67
  356. package/dist/src/graph/create-space.js.map +0 -1
  357. package/dist/src/proto/index.d.ts +0 -7
  358. package/dist/src/proto/index.d.ts.map +0 -1
  359. package/dist/src/proto/index.js +0 -7
  360. package/dist/src/proto/index.js.map +0 -1
@@ -4,17 +4,6 @@
4
4
  *
5
5
  * @since 0.0.6
6
6
  */
7
- /**
8
- * Mainnet contract addresses
9
- */
10
- export declare const MAINNET: {
11
- readonly SPACE_PLUGIN_REPO_ADDRESS: "0xd9559df98e4103CDf0A119d4bff1537B383E462c";
12
- readonly PERSONAL_SPACE_ADMIN_PLUGIN_REPO_ADDRESS: "0xa00870c6501349E126E71Dc1705fBaa2B5aeac0d";
13
- readonly GOVERNANCE_PLUGIN_REPO_ADDRESS: "0x81A45db7E303eED5D8e0B84b39d96DBa23192Eab";
14
- readonly DAO_FACTORY_ADDRESS: "0x9012fcc278a860B66e644cE491a1CbabFBb34a72";
15
- readonly ENS_REGISTRY_ADDRESS: "0x81C575f78903F8aC1FD73dEC06d20ffdC51c9b4E";
16
- readonly PLUGIN_SETUP_PROCESSOR_ADDRESS: "0xfcC0Aba63c1F1f887099EAB0d1A624A5B7A82Fc2";
17
- };
18
7
  /**
19
8
  * Testnet contract addresses
20
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"contracts.d.ts","sourceRoot":"","sources":["../contracts.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;GAEG;AACH,eAAO,MAAM,OAAO;;;;;;;CAOV,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,OAAO;;;;;;;;;CASV,CAAC;AAEX,eAAO,MAAM,cAAc,EAAG,oCAA6C,CAAC"}
1
+ {"version":3,"file":"contracts.d.ts","sourceRoot":"","sources":["../contracts.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;GAEG;AACH,eAAO,MAAM,OAAO;;;;;;;;;CASV,CAAC;AAEX,eAAO,MAAM,cAAc,EAAG,oCAA6C,CAAC"}
package/dist/contracts.js CHANGED
@@ -4,17 +4,6 @@
4
4
  *
5
5
  * @since 0.0.6
6
6
  */
7
- /**
8
- * Mainnet contract addresses
9
- */
10
- export const MAINNET = {
11
- SPACE_PLUGIN_REPO_ADDRESS: '0xd9559df98e4103CDf0A119d4bff1537B383E462c',
12
- PERSONAL_SPACE_ADMIN_PLUGIN_REPO_ADDRESS: '0xa00870c6501349E126E71Dc1705fBaa2B5aeac0d',
13
- GOVERNANCE_PLUGIN_REPO_ADDRESS: '0x81A45db7E303eED5D8e0B84b39d96DBa23192Eab',
14
- DAO_FACTORY_ADDRESS: '0x9012fcc278a860B66e644cE491a1CbabFBb34a72',
15
- ENS_REGISTRY_ADDRESS: '0x81C575f78903F8aC1FD73dEC06d20ffdC51c9b4E',
16
- PLUGIN_SETUP_PROCESSOR_ADDRESS: '0xfcC0Aba63c1F1f887099EAB0d1A624A5B7A82Fc2',
17
- };
18
7
  /**
19
8
  * Testnet contract addresses
20
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"contracts.js","sourceRoot":"","sources":["../contracts.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,yBAAyB,EAAE,4CAA4C;IACvE,wCAAwC,EAAE,4CAA4C;IACtF,8BAA8B,EAAE,4CAA4C;IAC5E,mBAAmB,EAAE,4CAA4C;IACjE,oBAAoB,EAAE,4CAA4C;IAClE,8BAA8B,EAAE,4CAA4C;CACpE,CAAC;AAEX;;GAEG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,yBAAyB,EAAE,4CAA4C;IACvE,wCAAwC,EAAE,4CAA4C;IACtF,8BAA8B,EAAE,4CAA4C;IAC5E,mBAAmB,EAAE,4CAA4C;IACjE,yBAAyB,EAAE,4CAA4C;IACvE,oBAAoB,EAAE,4CAA4C;IAClE,8BAA8B,EAAE,4CAA4C;IAC5E,sBAAsB,EAAE,4CAA4C;CAC5D,CAAC;AAEX,MAAM,CAAC,MAAM,cAAc,GAAG,oCAA6C,CAAC"}
1
+ {"version":3,"file":"contracts.js","sourceRoot":"","sources":["../contracts.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,yBAAyB,EAAE,4CAA4C;IACvE,wCAAwC,EAAE,4CAA4C;IACtF,8BAA8B,EAAE,4CAA4C;IAC5E,mBAAmB,EAAE,4CAA4C;IACjE,yBAAyB,EAAE,4CAA4C;IACvE,oBAAoB,EAAE,4CAA4C;IAClE,8BAA8B,EAAE,4CAA4C;IAC5E,sBAAsB,EAAE,4CAA4C;CAC5D,CAAC;AAEX,MAAM,CAAC,MAAM,cAAc,GAAG,oCAA6C,CAAC"}
package/dist/index.d.ts CHANGED
@@ -6,6 +6,7 @@
6
6
  */
7
7
  export { Account } from './src/account.js';
8
8
  export { DataBlock, TextBlock } from './src/blocks.js';
9
+ export { createGeoClient } from './src/client.js';
9
10
  /**
10
11
  * This module provides utility functions for working with base58 ids
11
12
  * in TypeScript.
@@ -17,7 +18,11 @@ export { getChecksumAddress } from './src/core/get-checksum-address.js';
17
18
  */
18
19
  export * as daoSpace from './src/dao-space/index.js';
19
20
  export * as Encoding from './src/encoding.js';
20
- 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
+ /**
23
+ * @deprecated Use `Ops` for pure operation builders and `createGeoClient({ network })`
24
+ * for API, storage, image, comment, entity-delete, and transaction workflows.
25
+ */
21
26
  export * as Graph from './src/graph/index.js';
22
27
  export { Id } from './src/id.js';
23
28
  /**
@@ -32,6 +37,8 @@ export * as IdUtils from './src/id-utils.js';
32
37
  * @since 0.1.1
33
38
  */
34
39
  export * as Ipfs from './src/ipfs.js';
40
+ export { defineGeoNetworkConfig, GeoTestnetConfig } from './src/networks.js';
41
+ export * as Ops from './src/ops/index.js';
35
42
  /**
36
43
  * This module provides functions for creating and managing personal spaces.
37
44
  *
@@ -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;;;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,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;;;;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,M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gB,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
@@ -6,6 +6,7 @@
6
6
  */
7
7
  export { Account } from './src/account.js';
8
8
  export { DataBlock, TextBlock } from './src/blocks.js';
9
+ export { createGeoClient } from './src/client.js';
9
10
  /**
10
11
  * This module provides utility functions for working with base58 ids
11
12
  * in TypeScript.
@@ -17,7 +18,11 @@ export { getChecksumAddress } from './src/core/get-checksum-address.js';
17
18
  */
18
19
  export * as daoSpace from './src/dao-space/index.js';
19
20
  export * as Encoding from './src/encoding.js';
20
- 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
+ /**
23
+ * @deprecated Use `Ops` for pure operation builders and `createGeoClient({ network })`
24
+ * for API, storage, image, comment, entity-delete, and transaction workflows.
25
+ */
21
26
  export * as Graph from './src/graph/index.js';
22
27
  export { Id } from './src/id.js';
23
28
  /**
@@ -32,6 +37,8 @@ export * as IdUtils from './src/id-utils.js';
32
37
  * @since 0.1.1
33
38
  */
34
39
  export * as Ipfs from './src/ipfs.js';
40
+ export { defineGeoNetworkConfig, GeoTestnetConfig } from './src/networks.js';
41
+ export * as Ops from './src/ops/index.js';
35
42
  /**
36
43
  * This module provides functions for creating and managing personal spaces.
37
44
  *
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;;;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,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC;;;GAGG;AACH,OAAO,KAAK,OAAO,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AA2B,GAC5B,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/lite.d.ts CHANGED
@@ -20,6 +20,8 @@ export * as Graph from './src/graph/index.js';
20
20
  export { Id } from './src/id.js';
21
21
  export * as IdUtils from './src/id-utils.js';
22
22
  export * as Ipfs from './src/ipfs.js';
23
+ export { defineGeoNetworkConfig, GeoTestnetConfig } from './src/networks.js';
24
+ export * as Ops from './src/ops/index.js';
23
25
  export { Position } from './src/position.js';
24
26
  export * as Rank from './src/ranks/index.js';
25
27
  export { GraphUrl } from './src/scheme.js';
@@ -1 +1 @@
1
- {"version":3,"file":"lite.d.ts","sourceRoot":"","sources":["../lite.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,OAAO,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AE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAC7E,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACxE,cAAc,gBAAgB,CAAC"}
package/dist/lite.js CHANGED
@@ -20,6 +20,8 @@ export * as Graph from './src/graph/index.js';
20
20
  export { Id } from './src/id.js';
21
21
  export * as IdUtils from './src/id-utils.js';
22
22
  export * as Ipfs from './src/ipfs.js';
23
+ export { defineGeoNetworkConfig, GeoTestnetConfig } from './src/networks.js';
24
+ export * as Ops from './src/ops/index.js';
23
25
  export { Position } from './src/position.js';
24
26
  export * as Rank from './src/ranks/index.js';
25
27
  export { GraphUrl } from './src/scheme.js';
package/dist/lite.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"lite.js","sourceRoot":"","sources":["../lite.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,MAAM,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACxE,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAC9C,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACxE,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"lite.js","sourceRoot":"","sources":["../lite.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,MAAM,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACxE,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAC9C,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAC7E,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACxE,cAAc,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: "slowPathPercentageThreshold";
143
+ readonly name: "partialPercentageSupportThreshold";
115
144
  readonly type: "uint256";
116
145
  }, {
117
146
  readonly internalType: "uint256";
118
- readonly name: "fastPathFlatThreshold";
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqWN,CAAC"}
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,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;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,4BAA4B;QAClC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,6BAA6B;QACnC,IAAI,EAAE,OAAO;KACd;IAC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SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,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
+ {"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,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AI,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,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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=dao-space-v2.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dao-space-v2.test.d.ts","sourceRoot":"","sources":["../../../src/abis/dao-space-v2.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,67 @@
1
+ import { describe, expect, it } from 'vitest';
2
+ import { DaoSpaceAbi, DaoSpaceFactoryAbi, ProposalParametersV2Components, VotingSettingsV2Components, } from './index.js';
3
+ const VOTING_SETTINGS_FIELD_NAMES = [
4
+ 'partialPercentageSupportThreshold',
5
+ 'universalPercentageSupportThreshold',
6
+ 'flatSupportThreshold',
7
+ 'quorum',
8
+ 'duration',
9
+ 'disableFastPathAccessForNewMembers',
10
+ 'executionGracePeriod',
11
+ ];
12
+ const PROPOSAL_PARAMETERS_FIELD_NAMES = [
13
+ 'votingMode',
14
+ 'partialPercentageSupportThreshold',
15
+ 'universalPercentageSupportThreshold',
16
+ 'flatSupportThreshold',
17
+ 'quorum',
18
+ 'startDate',
19
+ 'lastDate',
20
+ 'executeBy',
21
+ ];
22
+ function functionAbi(abi, name) {
23
+ const item = abi.find(entry => entry.type === 'function' && entry.name === name);
24
+ if (!item) {
25
+ throw new Error(`Missing ABI function ${name}`);
26
+ }
27
+ return item;
28
+ }
29
+ function componentNames(components) {
30
+ return components.map(component => component.name);
31
+ }
32
+ describe('contracts v2 DAO ABI fragments', () => {
33
+ it('defines the v2 VotingSettings tuple components', () => {
34
+ expect(componentNames(VotingSettingsV2Components)).toEqual(VOTING_SETTINGS_FIELD_NAMES);
35
+ expect(VotingSettingsV2Components.at(5)?.type).toBe('bool');
36
+ });
37
+ it('defines the v2 ProposalParameters tuple components', () => {
38
+ expect(componentNames(ProposalParametersV2Components)).toEqual(PROPOSAL_PARAMETERS_FIELD_NAMES);
39
+ });
40
+ it('exposes createDAOSpaceProxy with six inputs and v2 voting settings', () => {
41
+ const createDao = functionAbi(DaoSpaceFactoryAbi, 'createDAOSpaceProxy');
42
+ expect(createDao.inputs?.map(input => input.name)).toEqual([
43
+ '_votingSettings',
44
+ '_initialEditors',
45
+ '_initialMembers',
46
+ '_initialEditsContentUri',
47
+ '_initialEditsMetadata',
48
+ '_initialTopicId',
49
+ ]);
50
+ expect(componentNames(createDao.inputs?.[0]?.components ?? [])).toEqual(VOTING_SETTINGS_FIELD_NAMES);
51
+ });
52
+ it('exposes DAO voting settings reads and writes with v2 settings', () => {
53
+ const updateVotingSettings = functionAbi(DaoSpaceAbi, 'updateVotingSettings');
54
+ const votingSettings = functionAbi(DaoSpaceAbi, 'votingSettings');
55
+ expect(componentNames(updateVotingSettings.inputs?.[0]?.components ?? [])).toEqual(VOTING_SETTINGS_FIELD_NAMES);
56
+ expect(componentNames(votingSettings.outputs?.[0]?.components ?? [])).toEqual(VOTING_SETTINGS_FIELD_NAMES);
57
+ });
58
+ it('exposes version-aware proposal reads with v2 proposal parameters', () => {
59
+ const getLatestProposalInformation = functionAbi(DaoSpaceAbi, 'getLatestProposalInformation');
60
+ const getProposalInformation = functionAbi(DaoSpaceAbi, 'getProposalInformation');
61
+ expect(componentNames(getLatestProposalInformation.outputs?.[2]?.components ?? [])).toEqual(PROPOSAL_PARAMETERS_FIELD_NAMES);
62
+ expect(componentNames(getProposalInformation.outputs?.[2]?.components ?? [])).toEqual(PROPOSAL_PARAMETERS_FIELD_NAMES);
63
+ expect(functionAbi(DaoSpaceAbi, 'latestProposalVersion')).toBeDefined();
64
+ expect(functionAbi(DaoSpaceAbi, 'MINIMUM_EXECUTION_GRACE_PERIOD')).toBeDefined();
65
+ });
66
+ });
67
+ //# sourceMappingURL=dao-space-v2.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dao-space-v2.test.js","sourceRoot":"","sources":["../../../src/abis/dao-space-v2.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAE9C,OAAO,EACL,WAAW,EACX,kBAAkB,EAClB,8BAA8B,EAC9B,0BAA0B,GAC3B,MAAM,YAAY,CAAC;AAEpB,MAAM,2BAA2B,GAAG;IAClC,mCAAmC;IACnC,qCAAqC;IACrC,sBAAsB;IACtB,QAAQ;IACR,UAAU;IACV,oCAAoC;IACpC,sBAAsB;CACvB,CAAC;AAEF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c,CAAC,sBAAsB,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,UAAU,IAAI,EAAE,CAAC,CAAC,CAAC,OAAO,CACnF,+BAA+B,CAChC,CAAC;QACF,MAAM,CAAC,WAAW,CAAC,WAAW,EAAE,uBAAuB,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;QACxE,MAAM,CAAC,WAAW,CAAC,WAAW,EAAE,gCAAgC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;IACnF,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,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: "supportThreshold";
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: "supportThreshold";
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: "_version";
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: "slowPathPercentageThreshold";
656
+ readonly name: "partialPercentageSupportThreshold";
590
657
  readonly type: "uint256";
591
658
  }, {
592
659
  readonly internalType: "uint256";
593
- readonly name: "fastPathFlatThreshold";
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: "slowPathPercentageThreshold";
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: "fastPathFlatThreshold";
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":"AAAA,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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