@graphprotocol/grc-20 0.25.7 → 0.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/README.md +2 -2
  2. package/dist/contracts.d.ts +2 -0
  3. package/dist/contracts.d.ts.map +1 -1
  4. package/dist/contracts.js +2 -0
  5. package/dist/contracts.js.map +1 -1
  6. package/dist/src/abis/dao-space-factory.d.ts +250 -0
  7. package/dist/src/abis/dao-space-factory.d.ts.map +1 -0
  8. package/dist/src/abis/dao-space-factory.js +326 -0
  9. package/dist/src/abis/dao-space-factory.js.map +1 -0
  10. package/dist/src/abis/index.d.ts +2 -0
  11. package/dist/src/abis/index.d.ts.map +1 -1
  12. package/dist/src/abis/index.js +2 -0
  13. package/dist/src/abis/index.js.map +1 -1
  14. package/dist/src/abis/space-registry.d.ts +367 -0
  15. package/dist/src/abis/space-registry.d.ts.map +1 -0
  16. package/dist/src/abis/space-registry.js +192 -0
  17. package/dist/src/abis/space-registry.js.map +1 -0
  18. package/dist/src/core/blocks/data.test.js +4 -4
  19. package/dist/src/core/blocks/data.test.js.map +1 -1
  20. package/dist/src/core/blocks/text.test.js +2 -2
  21. package/dist/src/core/blocks/text.test.js.map +1 -1
  22. package/dist/src/core/ids/content.d.ts.map +1 -1
  23. package/dist/src/core/ids/content.js +55 -55
  24. package/dist/src/core/ids/content.js.map +1 -1
  25. package/dist/src/core/ids/network.d.ts.map +1 -1
  26. package/dist/src/core/ids/network.js +3 -3
  27. package/dist/src/core/ids/network.js.map +1 -1
  28. package/dist/src/core/ids/system.d.ts.map +1 -1
  29. package/dist/src/core/ids/system.js +140 -140
  30. package/dist/src/core/ids/system.js.map +1 -1
  31. package/dist/src/encodings/get-create-dao-space-calldata.d.ts +146 -0
  32. package/dist/src/encodings/get-create-dao-space-calldata.d.ts.map +1 -0
  33. package/dist/src/encodings/get-create-dao-space-calldata.js +169 -0
  34. package/dist/src/encodings/get-create-dao-space-calldata.js.map +1 -0
  35. package/dist/src/encodings/get-create-dao-space-calldata.test.d.ts +2 -0
  36. package/dist/src/encodings/get-create-dao-space-calldata.test.d.ts.map +1 -0
  37. package/dist/src/encodings/get-create-dao-space-calldata.test.js +124 -0
  38. package/dist/src/encodings/get-create-dao-space-calldata.test.js.map +1 -0
  39. package/dist/src/encodings/get-register-space-calldata.d.ts +32 -0
  40. package/dist/src/encodings/get-register-space-calldata.d.ts.map +1 -0
  41. package/dist/src/encodings/get-register-space-calldata.js +39 -0
  42. package/dist/src/encodings/get-register-space-calldata.js.map +1 -0
  43. package/dist/src/encodings/get-register-space-calldata.test.d.ts +2 -0
  44. package/dist/src/encodings/get-register-space-calldata.test.d.ts.map +1 -0
  45. package/dist/src/encodings/get-register-space-calldata.test.js +15 -0
  46. package/dist/src/encodings/get-register-space-calldata.test.js.map +1 -0
  47. package/dist/src/encodings/index.d.ts +2 -0
  48. package/dist/src/encodings/index.d.ts.map +1 -1
  49. package/dist/src/encodings/index.js +2 -0
  50. package/dist/src/encodings/index.js.map +1 -1
  51. package/dist/src/graph/create-entity.test.js +25 -25
  52. package/dist/src/graph/create-entity.test.js.map +1 -1
  53. package/dist/src/graph/create-image.test.js +2 -2
  54. package/dist/src/graph/create-image.test.js.map +1 -1
  55. package/dist/src/graph/create-property.test.js +2 -2
  56. package/dist/src/graph/create-property.test.js.map +1 -1
  57. package/dist/src/graph/create-relation.test.js +11 -11
  58. package/dist/src/graph/create-relation.test.js.map +1 -1
  59. package/dist/src/graph/create-type.test.js +2 -2
  60. package/dist/src/graph/create-type.test.js.map +1 -1
  61. package/dist/src/graph/delete-relation.test.js +1 -1
  62. package/dist/src/graph/delete-relation.test.js.map +1 -1
  63. package/dist/src/graph/unset-entity-values.test.js +3 -3
  64. package/dist/src/graph/unset-entity-values.test.js.map +1 -1
  65. package/dist/src/graph/unset-relation-fields.test.js +2 -2
  66. package/dist/src/graph/unset-relation-fields.test.js.map +1 -1
  67. package/dist/src/graph/update-entity.test.js +3 -3
  68. package/dist/src/graph/update-entity.test.js.map +1 -1
  69. package/dist/src/graph/update-relation.test.js +5 -5
  70. package/dist/src/graph/update-relation.test.js.map +1 -1
  71. package/dist/src/id-utils.d.ts +2 -2
  72. package/dist/src/id-utils.d.ts.map +1 -1
  73. package/dist/src/id-utils.js +5 -4
  74. package/dist/src/id-utils.js.map +1 -1
  75. package/dist/src/id-utils.test.js +19 -3
  76. package/dist/src/id-utils.test.js.map +1 -1
  77. package/dist/src/id.d.ts +6 -0
  78. package/dist/src/id.d.ts.map +1 -1
  79. package/dist/src/id.js +7 -1
  80. package/dist/src/id.js.map +1 -1
  81. package/dist/src/id.test.js +1 -0
  82. package/dist/src/id.test.js.map +1 -1
  83. package/dist/src/internal/uuid.d.ts +11 -0
  84. package/dist/src/internal/uuid.d.ts.map +1 -0
  85. package/dist/src/internal/uuid.js +18 -0
  86. package/dist/src/internal/uuid.js.map +1 -0
  87. package/dist/src/proto/edit.test.js +38 -41
  88. package/dist/src/proto/edit.test.js.map +1 -1
  89. package/package.json +1 -1
package/README.md CHANGED
@@ -149,7 +149,7 @@ const { id: textEntityId, ops: createTextEntityOps } = Graph.createEntity({
149
149
  value: 'Hello',
150
150
  options: {
151
151
  type: 'text',
152
- language: Id('dad6e52a-5e94-4e55-9411-cfe3a3c3ea64'),
152
+ language: Id('dad6e52a5e944e559411cfe3a3c3ea64'),
153
153
  },
154
154
  },
155
155
  {
@@ -157,7 +157,7 @@ const { id: textEntityId, ops: createTextEntityOps } = Graph.createEntity({
157
157
  value: Graph.serializeNumber(42),
158
158
  options: {
159
159
  type: 'number',
160
- unit: Id('016c9b1c-d8a8-4e4d-9e84-4e40878bb235'),
160
+ unit: Id('016c9b1cd8a84e4d9e844e40878bb235'),
161
161
  },
162
162
  },
163
163
  ],
@@ -23,7 +23,9 @@ export declare const TESTNET: {
23
23
  readonly PERSONAL_SPACE_ADMIN_PLUGIN_REPO_ADDRESS: "0xc368129A081aE3d3dbB0C6DeC408FbB097b73aE2";
24
24
  readonly GOVERNANCE_PLUGIN_REPO_ADDRESS: "0x94A8FB48258E1094aa71fBc9F33196B7A9fFfb4f";
25
25
  readonly DAO_FACTORY_ADDRESS: "0xb138AE700C352BB1aC75688e8ceCB98CDDaa7F09";
26
+ readonly DAO_SPACE_FACTORY_ADDRESS: "0x86C773b693053D6899409f7deAb46ebd5FA0301c";
26
27
  readonly ENS_REGISTRY_ADDRESS: "0xD065A680075d0e27777bAa63CFFf17e1713a19Df";
27
28
  readonly PLUGIN_SETUP_PROCESSOR_ADDRESS: "0x3C9be4b42B313318091344A261DCDCd02DCd5736";
29
+ readonly SPACE_REGISTRY_ADDRESS: "0x4c04067ef79F08Ce071C0Fe82BF4FcFAFcF189af";
28
30
  };
29
31
  //# sourceMappingURL=contracts.d.ts.map
@@ -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;;;;;;;CAOV,CAAC"}
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"}
package/dist/contracts.js CHANGED
@@ -23,7 +23,9 @@ export const TESTNET = {
23
23
  PERSONAL_SPACE_ADMIN_PLUGIN_REPO_ADDRESS: '0xc368129A081aE3d3dbB0C6DeC408FbB097b73aE2',
24
24
  GOVERNANCE_PLUGIN_REPO_ADDRESS: '0x94A8FB48258E1094aa71fBc9F33196B7A9fFfb4f',
25
25
  DAO_FACTORY_ADDRESS: '0xb138AE700C352BB1aC75688e8ceCB98CDDaa7F09',
26
+ DAO_SPACE_FACTORY_ADDRESS: '0x86C773b693053D6899409f7deAb46ebd5FA0301c',
26
27
  ENS_REGISTRY_ADDRESS: '0xD065A680075d0e27777bAa63CFFf17e1713a19Df',
27
28
  PLUGIN_SETUP_PROCESSOR_ADDRESS: '0x3C9be4b42B313318091344A261DCDCd02DCd5736',
29
+ SPACE_REGISTRY_ADDRESS: '0x4c04067ef79F08Ce071C0Fe82BF4FcFAFcF189af',
28
30
  };
29
31
  //# sourceMappingURL=contracts.js.map
@@ -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,oBAAoB,EAAE,4CAA4C;IAClE,8BAA8B,EAAE,4CAA4C;CACpE,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,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"}
@@ -0,0 +1,250 @@
1
+ export declare const abi: readonly [{
2
+ readonly inputs: readonly [];
3
+ readonly stateMutability: "nonpayable";
4
+ readonly type: "constructor";
5
+ }, {
6
+ readonly inputs: readonly [{
7
+ readonly internalType: "address";
8
+ readonly name: "target";
9
+ readonly type: "address";
10
+ }];
11
+ readonly name: "AddressEmptyCode";
12
+ readonly type: "error";
13
+ }, {
14
+ readonly inputs: readonly [{
15
+ readonly internalType: "address";
16
+ readonly name: "implementation";
17
+ readonly type: "address";
18
+ }];
19
+ readonly name: "ERC1967InvalidImplementation";
20
+ readonly type: "error";
21
+ }, {
22
+ readonly inputs: readonly [];
23
+ readonly name: "ERC1967NonPayable";
24
+ readonly type: "error";
25
+ }, {
26
+ readonly inputs: readonly [];
27
+ readonly name: "FailedCall";
28
+ readonly type: "error";
29
+ }, {
30
+ readonly inputs: readonly [];
31
+ readonly name: "InvalidInitialization";
32
+ readonly type: "error";
33
+ }, {
34
+ readonly inputs: readonly [];
35
+ readonly name: "NotInitializing";
36
+ readonly type: "error";
37
+ }, {
38
+ readonly inputs: readonly [{
39
+ readonly internalType: "address";
40
+ readonly name: "owner";
41
+ readonly type: "address";
42
+ }];
43
+ readonly name: "OwnableInvalidOwner";
44
+ readonly type: "error";
45
+ }, {
46
+ readonly inputs: readonly [{
47
+ readonly internalType: "address";
48
+ readonly name: "account";
49
+ readonly type: "address";
50
+ }];
51
+ readonly name: "OwnableUnauthorizedAccount";
52
+ readonly type: "error";
53
+ }, {
54
+ readonly inputs: readonly [];
55
+ readonly name: "UUPSUnauthorizedCallContext";
56
+ readonly type: "error";
57
+ }, {
58
+ readonly inputs: readonly [{
59
+ readonly internalType: "bytes32";
60
+ readonly name: "slot";
61
+ readonly type: "bytes32";
62
+ }];
63
+ readonly name: "UUPSUnsupportedProxiableUUID";
64
+ readonly type: "error";
65
+ }, {
66
+ readonly anonymous: false;
67
+ readonly inputs: readonly [{
68
+ readonly indexed: false;
69
+ readonly internalType: "address";
70
+ readonly name: "newDAOSpaceProxy";
71
+ readonly type: "address";
72
+ }];
73
+ readonly name: "DAOSpaceProxyCreated";
74
+ readonly type: "event";
75
+ }, {
76
+ readonly anonymous: false;
77
+ readonly inputs: readonly [{
78
+ readonly indexed: false;
79
+ readonly internalType: "uint64";
80
+ readonly name: "version";
81
+ readonly type: "uint64";
82
+ }];
83
+ readonly name: "Initialized";
84
+ readonly type: "event";
85
+ }, {
86
+ readonly anonymous: false;
87
+ readonly inputs: readonly [{
88
+ readonly indexed: true;
89
+ readonly internalType: "address";
90
+ readonly name: "previousOwner";
91
+ readonly type: "address";
92
+ }, {
93
+ readonly indexed: true;
94
+ readonly internalType: "address";
95
+ readonly name: "newOwner";
96
+ readonly type: "address";
97
+ }];
98
+ readonly name: "OwnershipTransferred";
99
+ readonly type: "event";
100
+ }, {
101
+ readonly anonymous: false;
102
+ readonly inputs: readonly [{
103
+ readonly indexed: true;
104
+ readonly internalType: "address";
105
+ readonly name: "implementation";
106
+ readonly type: "address";
107
+ }];
108
+ readonly name: "Upgraded";
109
+ readonly type: "event";
110
+ }, {
111
+ readonly inputs: readonly [];
112
+ readonly name: "UPGRADE_INTERFACE_VERSION";
113
+ readonly outputs: readonly [{
114
+ readonly internalType: "string";
115
+ readonly name: "";
116
+ readonly type: "string";
117
+ }];
118
+ readonly stateMutability: "view";
119
+ readonly type: "function";
120
+ }, {
121
+ readonly inputs: readonly [{
122
+ readonly components: readonly [{
123
+ readonly internalType: "uint256";
124
+ readonly name: "slowPathPercentageThreshold";
125
+ readonly type: "uint256";
126
+ }, {
127
+ readonly internalType: "uint256";
128
+ readonly name: "fastPathFlatThreshold";
129
+ readonly type: "uint256";
130
+ }, {
131
+ readonly internalType: "uint256";
132
+ readonly name: "quorum";
133
+ readonly type: "uint256";
134
+ }, {
135
+ readonly internalType: "uint256";
136
+ readonly name: "duration";
137
+ readonly type: "uint256";
138
+ }];
139
+ readonly internalType: "struct IDAOSpace.VotingSettings";
140
+ readonly name: "_votingSettings";
141
+ readonly type: "tuple";
142
+ }, {
143
+ readonly internalType: "address[]";
144
+ readonly name: "_initialEditors";
145
+ readonly type: "address[]";
146
+ }, {
147
+ readonly internalType: "address[]";
148
+ readonly name: "_initialMembers";
149
+ readonly type: "address[]";
150
+ }];
151
+ readonly name: "createDAOSpaceProxy";
152
+ readonly outputs: readonly [{
153
+ readonly internalType: "address";
154
+ readonly name: "_newDAOSpaceProxy";
155
+ readonly type: "address";
156
+ }];
157
+ readonly stateMutability: "nonpayable";
158
+ readonly type: "function";
159
+ }, {
160
+ readonly inputs: readonly [];
161
+ readonly name: "daoSpaceBeacon";
162
+ readonly outputs: readonly [{
163
+ readonly internalType: "address";
164
+ readonly name: "";
165
+ readonly type: "address";
166
+ }];
167
+ readonly stateMutability: "view";
168
+ readonly type: "function";
169
+ }, {
170
+ readonly inputs: readonly [{
171
+ readonly internalType: "bytes";
172
+ readonly name: "_initializerData";
173
+ readonly type: "bytes";
174
+ }];
175
+ readonly name: "initialize";
176
+ readonly outputs: readonly [];
177
+ readonly stateMutability: "nonpayable";
178
+ readonly type: "function";
179
+ }, {
180
+ readonly inputs: readonly [];
181
+ readonly name: "owner";
182
+ readonly outputs: readonly [{
183
+ readonly internalType: "address";
184
+ readonly name: "";
185
+ readonly type: "address";
186
+ }];
187
+ readonly stateMutability: "view";
188
+ readonly type: "function";
189
+ }, {
190
+ readonly inputs: readonly [];
191
+ readonly name: "proxiableUUID";
192
+ readonly outputs: readonly [{
193
+ readonly internalType: "bytes32";
194
+ readonly name: "";
195
+ readonly type: "bytes32";
196
+ }];
197
+ readonly stateMutability: "view";
198
+ readonly type: "function";
199
+ }, {
200
+ readonly inputs: readonly [];
201
+ readonly name: "renounceOwnership";
202
+ readonly outputs: readonly [];
203
+ readonly stateMutability: "nonpayable";
204
+ readonly type: "function";
205
+ }, {
206
+ readonly inputs: readonly [];
207
+ readonly name: "spaceRegistry";
208
+ readonly outputs: readonly [{
209
+ readonly internalType: "contract ISpaceRegistry";
210
+ readonly name: "";
211
+ readonly type: "address";
212
+ }];
213
+ readonly stateMutability: "view";
214
+ readonly type: "function";
215
+ }, {
216
+ readonly inputs: readonly [{
217
+ readonly internalType: "address";
218
+ readonly name: "newOwner";
219
+ readonly type: "address";
220
+ }];
221
+ readonly name: "transferOwnership";
222
+ readonly outputs: readonly [];
223
+ readonly stateMutability: "nonpayable";
224
+ readonly type: "function";
225
+ }, {
226
+ readonly inputs: readonly [{
227
+ readonly internalType: "address";
228
+ readonly name: "newImplementation";
229
+ readonly type: "address";
230
+ }, {
231
+ readonly internalType: "bytes";
232
+ readonly name: "data";
233
+ readonly type: "bytes";
234
+ }];
235
+ readonly name: "upgradeToAndCall";
236
+ readonly outputs: readonly [];
237
+ readonly stateMutability: "payable";
238
+ readonly type: "function";
239
+ }, {
240
+ readonly inputs: readonly [];
241
+ readonly name: "version";
242
+ readonly outputs: readonly [{
243
+ readonly internalType: "string";
244
+ readonly name: "_version";
245
+ readonly type: "string";
246
+ }];
247
+ readonly stateMutability: "pure";
248
+ readonly type: "function";
249
+ }];
250
+ //# sourceMappingURL=dao-space-factory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dao-space-factory.d.ts","sourceRoot":"","sources":["../../../src/abis/dao-space-factory.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoUN,CAAC"}
@@ -0,0 +1,326 @@
1
+ export const abi = [
2
+ {
3
+ inputs: [],
4
+ stateMutability: 'nonpayable',
5
+ type: 'constructor',
6
+ },
7
+ {
8
+ inputs: [
9
+ {
10
+ internalType: 'address',
11
+ name: 'target',
12
+ type: 'address',
13
+ },
14
+ ],
15
+ name: 'AddressEmptyCode',
16
+ type: 'error',
17
+ },
18
+ {
19
+ inputs: [
20
+ {
21
+ internalType: 'address',
22
+ name: 'implementation',
23
+ type: 'address',
24
+ },
25
+ ],
26
+ name: 'ERC1967InvalidImplementation',
27
+ type: 'error',
28
+ },
29
+ {
30
+ inputs: [],
31
+ name: 'ERC1967NonPayable',
32
+ type: 'error',
33
+ },
34
+ {
35
+ inputs: [],
36
+ name: 'FailedCall',
37
+ type: 'error',
38
+ },
39
+ {
40
+ inputs: [],
41
+ name: 'InvalidInitialization',
42
+ type: 'error',
43
+ },
44
+ {
45
+ inputs: [],
46
+ name: 'NotInitializing',
47
+ type: 'error',
48
+ },
49
+ {
50
+ inputs: [
51
+ {
52
+ internalType: 'address',
53
+ name: 'owner',
54
+ type: 'address',
55
+ },
56
+ ],
57
+ name: 'OwnableInvalidOwner',
58
+ type: 'error',
59
+ },
60
+ {
61
+ inputs: [
62
+ {
63
+ internalType: 'address',
64
+ name: 'account',
65
+ type: 'address',
66
+ },
67
+ ],
68
+ name: 'OwnableUnauthorizedAccount',
69
+ type: 'error',
70
+ },
71
+ {
72
+ inputs: [],
73
+ name: 'UUPSUnauthorizedCallContext',
74
+ type: 'error',
75
+ },
76
+ {
77
+ inputs: [
78
+ {
79
+ internalType: 'bytes32',
80
+ name: 'slot',
81
+ type: 'bytes32',
82
+ },
83
+ ],
84
+ name: 'UUPSUnsupportedProxiableUUID',
85
+ type: 'error',
86
+ },
87
+ {
88
+ anonymous: false,
89
+ inputs: [
90
+ {
91
+ indexed: false,
92
+ internalType: 'address',
93
+ name: 'newDAOSpaceProxy',
94
+ type: 'address',
95
+ },
96
+ ],
97
+ name: 'DAOSpaceProxyCreated',
98
+ type: 'event',
99
+ },
100
+ {
101
+ anonymous: false,
102
+ inputs: [
103
+ {
104
+ indexed: false,
105
+ internalType: 'uint64',
106
+ name: 'version',
107
+ type: 'uint64',
108
+ },
109
+ ],
110
+ name: 'Initialized',
111
+ type: 'event',
112
+ },
113
+ {
114
+ anonymous: false,
115
+ inputs: [
116
+ {
117
+ indexed: true,
118
+ internalType: 'address',
119
+ name: 'previousOwner',
120
+ type: 'address',
121
+ },
122
+ {
123
+ indexed: true,
124
+ internalType: 'address',
125
+ name: 'newOwner',
126
+ type: 'address',
127
+ },
128
+ ],
129
+ name: 'OwnershipTransferred',
130
+ type: 'event',
131
+ },
132
+ {
133
+ anonymous: false,
134
+ inputs: [
135
+ {
136
+ indexed: true,
137
+ internalType: 'address',
138
+ name: 'implementation',
139
+ type: 'address',
140
+ },
141
+ ],
142
+ name: 'Upgraded',
143
+ type: 'event',
144
+ },
145
+ {
146
+ inputs: [],
147
+ name: 'UPGRADE_INTERFACE_VERSION',
148
+ outputs: [
149
+ {
150
+ internalType: 'string',
151
+ name: '',
152
+ type: 'string',
153
+ },
154
+ ],
155
+ stateMutability: 'view',
156
+ type: 'function',
157
+ },
158
+ {
159
+ inputs: [
160
+ {
161
+ components: [
162
+ {
163
+ internalType: 'uint256',
164
+ name: 'slowPathPercentageThreshold',
165
+ type: 'uint256',
166
+ },
167
+ {
168
+ internalType: 'uint256',
169
+ name: 'fastPathFlatThreshold',
170
+ type: 'uint256',
171
+ },
172
+ {
173
+ internalType: 'uint256',
174
+ name: 'quorum',
175
+ type: 'uint256',
176
+ },
177
+ {
178
+ internalType: 'uint256',
179
+ name: 'duration',
180
+ type: 'uint256',
181
+ },
182
+ ],
183
+ internalType: 'struct IDAOSpace.VotingSettings',
184
+ name: '_votingSettings',
185
+ type: 'tuple',
186
+ },
187
+ {
188
+ internalType: 'address[]',
189
+ name: '_initialEditors',
190
+ type: 'address[]',
191
+ },
192
+ {
193
+ internalType: 'address[]',
194
+ name: '_initialMembers',
195
+ type: 'address[]',
196
+ },
197
+ ],
198
+ name: 'createDAOSpaceProxy',
199
+ outputs: [
200
+ {
201
+ internalType: 'address',
202
+ name: '_newDAOSpaceProxy',
203
+ type: 'address',
204
+ },
205
+ ],
206
+ stateMutability: 'nonpayable',
207
+ type: 'function',
208
+ },
209
+ {
210
+ inputs: [],
211
+ name: 'daoSpaceBeacon',
212
+ outputs: [
213
+ {
214
+ internalType: 'address',
215
+ name: '',
216
+ type: 'address',
217
+ },
218
+ ],
219
+ stateMutability: 'view',
220
+ type: 'function',
221
+ },
222
+ {
223
+ inputs: [
224
+ {
225
+ internalType: 'bytes',
226
+ name: '_initializerData',
227
+ type: 'bytes',
228
+ },
229
+ ],
230
+ name: 'initialize',
231
+ outputs: [],
232
+ stateMutability: 'nonpayable',
233
+ type: 'function',
234
+ },
235
+ {
236
+ inputs: [],
237
+ name: 'owner',
238
+ outputs: [
239
+ {
240
+ internalType: 'address',
241
+ name: '',
242
+ type: 'address',
243
+ },
244
+ ],
245
+ stateMutability: 'view',
246
+ type: 'function',
247
+ },
248
+ {
249
+ inputs: [],
250
+ name: 'proxiableUUID',
251
+ outputs: [
252
+ {
253
+ internalType: 'bytes32',
254
+ name: '',
255
+ type: 'bytes32',
256
+ },
257
+ ],
258
+ stateMutability: 'view',
259
+ type: 'function',
260
+ },
261
+ {
262
+ inputs: [],
263
+ name: 'renounceOwnership',
264
+ outputs: [],
265
+ stateMutability: 'nonpayable',
266
+ type: 'function',
267
+ },
268
+ {
269
+ inputs: [],
270
+ name: 'spaceRegistry',
271
+ outputs: [
272
+ {
273
+ internalType: 'contract ISpaceRegistry',
274
+ name: '',
275
+ type: 'address',
276
+ },
277
+ ],
278
+ stateMutability: 'view',
279
+ type: 'function',
280
+ },
281
+ {
282
+ inputs: [
283
+ {
284
+ internalType: 'address',
285
+ name: 'newOwner',
286
+ type: 'address',
287
+ },
288
+ ],
289
+ name: 'transferOwnership',
290
+ outputs: [],
291
+ stateMutability: 'nonpayable',
292
+ type: 'function',
293
+ },
294
+ {
295
+ inputs: [
296
+ {
297
+ internalType: 'address',
298
+ name: 'newImplementation',
299
+ type: 'address',
300
+ },
301
+ {
302
+ internalType: 'bytes',
303
+ name: 'data',
304
+ type: 'bytes',
305
+ },
306
+ ],
307
+ name: 'upgradeToAndCall',
308
+ outputs: [],
309
+ stateMutability: 'payable',
310
+ type: 'function',
311
+ },
312
+ {
313
+ inputs: [],
314
+ name: 'version',
315
+ outputs: [
316
+ {
317
+ internalType: 'string',
318
+ name: '_version',
319
+ type: 'string',
320
+ },
321
+ ],
322
+ stateMutability: 'pure',
323
+ type: 'function',
324
+ },
325
+ ];
326
+ //# sourceMappingURL=dao-space-factory.js.map
@@ -0,0 +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,IAA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EAAE,mBAAmB;QACzB,OAAO,EAAE,EAAE;QACX,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,eAAe;QACrB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,yBAAyB;gBACvC,IAAI,EAAE,EAAE;gBACR,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,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;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,4 +1,5 @@
1
1
  export { abi as DaoAbi } from './dao.js';
2
+ export { abi as DaoSpaceFactoryAbi } from './dao-space-factory.js';
2
3
  export { abi as GovernanceSetupAbi } from './governance-setup.js';
3
4
  export { abi as MainVotingAbi } from './main-voting.js';
4
5
  export { abi as MemberAccessAbi } from './member-access.js';
@@ -6,5 +7,6 @@ export { abi as PersonalSpaceAdminAbi } from './personal-space-admin.js';
6
7
  export { abi as PersonalSpaceAdminSetupAbi } from './personal-space-admin-setup.js';
7
8
  export { abi as PluginSetupProcessorAbi } from './plugin-setup-processor.js';
8
9
  export { abi as SpaceAbi } from './space.js';
10
+ export { abi as SpaceRegistryAbi } from './space-registry.js';
9
11
  export { abi as SpaceSetupAbi } from './space-setup.js';
10
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/abis/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,GAAG,IAAI,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAAE,GAAG,IAAI,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,GAAG,IAAI,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,GAAG,IAAI,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,EAAE,GAAG,IAAI,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AACpF,OAAO,EAAE,GAAG,IAAI,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAC7E,OAAO,EAAE,GAAG,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,GAAG,IAAI,aAAa,EAAE,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/abis/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,GAAG,IAAI,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,EAAE,GAAG,IAAI,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAAE,GAAG,IAAI,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,GAAG,IAAI,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,GAAG,IAAI,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,EAAE,GAAG,IAAI,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AACpF,OAAO,EAAE,GAAG,IAAI,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAC7E,OAAO,EAAE,GAAG,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,GAAG,IAAI,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,GAAG,IAAI,aAAa,EAAE,MAAM,kBAAkB,CAAC"}
@@ -1,4 +1,5 @@
1
1
  export { abi as DaoAbi } from './dao.js';
2
+ export { abi as DaoSpaceFactoryAbi } from './dao-space-factory.js';
2
3
  export { abi as GovernanceSetupAbi } from './governance-setup.js';
3
4
  export { abi as MainVotingAbi } from './main-voting.js';
4
5
  export { abi as MemberAccessAbi } from './member-access.js';
@@ -6,5 +7,6 @@ export { abi as PersonalSpaceAdminAbi } from './personal-space-admin.js';
6
7
  export { abi as PersonalSpaceAdminSetupAbi } from './personal-space-admin-setup.js';
7
8
  export { abi as PluginSetupProcessorAbi } from './plugin-setup-processor.js';
8
9
  export { abi as SpaceAbi } from './space.js';
10
+ export { abi as SpaceRegistryAbi } from './space-registry.js';
9
11
  export { abi as SpaceSetupAbi } from './space-setup.js';
10
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/abis/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,GAAG,IAAI,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAA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