@graphprotocol/grc-20 0.0.4

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 (295) hide show
  1. package/README.md +153 -0
  2. package/dist/abis.d.ts +2 -0
  3. package/dist/abis.d.ts.map +1 -0
  4. package/dist/abis.js +2 -0
  5. package/dist/abis.js.map +1 -0
  6. package/dist/constants.d.ts +2 -0
  7. package/dist/constants.d.ts.map +1 -0
  8. package/dist/constants.js +3 -0
  9. package/dist/constants.js.map +1 -0
  10. package/dist/contracts.d.ts +7 -0
  11. package/dist/contracts.d.ts.map +1 -0
  12. package/dist/contracts.js +10 -0
  13. package/dist/contracts.js.map +1 -0
  14. package/dist/error.d.ts +2 -0
  15. package/dist/error.d.ts.map +1 -0
  16. package/dist/error.js +8 -0
  17. package/dist/error.js.map +1 -0
  18. package/dist/example.d.ts +2 -0
  19. package/dist/example.d.ts.map +1 -0
  20. package/dist/example.js +27 -0
  21. package/dist/example.js.map +1 -0
  22. package/dist/index.d.ts +14 -0
  23. package/dist/index.d.ts.map +1 -0
  24. package/dist/index.js +14 -0
  25. package/dist/index.js.map +1 -0
  26. package/dist/proto.d.ts +3 -0
  27. package/dist/proto.d.ts.map +1 -0
  28. package/dist/proto.js +3 -0
  29. package/dist/proto.js.map +1 -0
  30. package/dist/run.d.ts +2 -0
  31. package/dist/run.d.ts.map +1 -0
  32. package/dist/run.js +4 -0
  33. package/dist/run.js.map +1 -0
  34. package/dist/src/abis/dao.d.ts +899 -0
  35. package/dist/src/abis/dao.d.ts.map +1 -0
  36. package/dist/src/abis/dao.js +1159 -0
  37. package/dist/src/abis/dao.js.map +1 -0
  38. package/dist/src/abis/governance-setup.d.ts +351 -0
  39. package/dist/src/abis/governance-setup.d.ts.map +1 -0
  40. package/dist/src/abis/governance-setup.js +461 -0
  41. package/dist/src/abis/governance-setup.js.map +1 -0
  42. package/dist/src/abis/index.d.ts +10 -0
  43. package/dist/src/abis/index.d.ts.map +1 -0
  44. package/dist/src/abis/index.js +10 -0
  45. package/dist/src/abis/index.js.map +1 -0
  46. package/dist/src/abis/main-voting.d.ts +1443 -0
  47. package/dist/src/abis/main-voting.d.ts.map +1 -0
  48. package/dist/src/abis/main-voting.js +1866 -0
  49. package/dist/src/abis/main-voting.js.map +1 -0
  50. package/dist/src/abis/member-access.d.ts +567 -0
  51. package/dist/src/abis/member-access.d.ts.map +1 -0
  52. package/dist/src/abis/member-access.js +735 -0
  53. package/dist/src/abis/member-access.js.map +1 -0
  54. package/dist/src/abis/personal-space-admin-setup.d.ts +259 -0
  55. package/dist/src/abis/personal-space-admin-setup.d.ts.map +1 -0
  56. package/dist/src/abis/personal-space-admin-setup.js +340 -0
  57. package/dist/src/abis/personal-space-admin-setup.js.map +1 -0
  58. package/dist/src/abis/personal-space-admin.d.ts +408 -0
  59. package/dist/src/abis/personal-space-admin.d.ts.map +1 -0
  60. package/dist/src/abis/personal-space-admin.js +526 -0
  61. package/dist/src/abis/personal-space-admin.js.map +1 -0
  62. package/dist/src/abis/plugin-setup-processor.d.ts +998 -0
  63. package/dist/src/abis/plugin-setup-processor.d.ts.map +1 -0
  64. package/dist/src/abis/plugin-setup-processor.js +1293 -0
  65. package/dist/src/abis/plugin-setup-processor.js.map +1 -0
  66. package/dist/src/abis/space-setup.d.ts +294 -0
  67. package/dist/src/abis/space-setup.d.ts.map +1 -0
  68. package/dist/src/abis/space-setup.js +387 -0
  69. package/dist/src/abis/space-setup.js.map +1 -0
  70. package/dist/src/abis/space.d.ts +263 -0
  71. package/dist/src/abis/space.d.ts.map +1 -0
  72. package/dist/src/abis/space.js +340 -0
  73. package/dist/src/abis/space.js.map +1 -0
  74. package/dist/src/account.d.ts +2 -0
  75. package/dist/src/account.d.ts.map +1 -0
  76. package/dist/src/account.js +2 -0
  77. package/dist/src/account.js.map +1 -0
  78. package/dist/src/base58.d.ts +36 -0
  79. package/dist/src/base58.d.ts.map +1 -0
  80. package/dist/src/base58.js +62 -0
  81. package/dist/src/base58.js.map +1 -0
  82. package/dist/src/base58.test.d.ts +2 -0
  83. package/dist/src/base58.test.d.ts.map +1 -0
  84. package/dist/src/base58.test.js +2 -0
  85. package/dist/src/base58.test.js.map +1 -0
  86. package/dist/src/blocks.d.ts +4 -0
  87. package/dist/src/blocks.d.ts.map +1 -0
  88. package/dist/src/blocks.js +4 -0
  89. package/dist/src/blocks.js.map +1 -0
  90. package/dist/src/core/account.d.ts +8 -0
  91. package/dist/src/core/account.d.ts.map +1 -0
  92. package/dist/src/core/account.js +50 -0
  93. package/dist/src/core/account.js.map +1 -0
  94. package/dist/src/core/base58.d.ts +37 -0
  95. package/dist/src/core/base58.d.ts.map +1 -0
  96. package/dist/src/core/base58.js +62 -0
  97. package/dist/src/core/base58.js.map +1 -0
  98. package/dist/src/core/base58.test.d.ts +2 -0
  99. package/dist/src/core/base58.test.d.ts.map +1 -0
  100. package/dist/src/core/base58.test.js +15 -0
  101. package/dist/src/core/base58.test.js.map +1 -0
  102. package/dist/src/core/blocks/data.d.ts +11 -0
  103. package/dist/src/core/blocks/data.d.ts.map +1 -0
  104. package/dist/src/core/blocks/data.js +48 -0
  105. package/dist/src/core/blocks/data.js.map +1 -0
  106. package/dist/src/core/blocks/image.d.ts +9 -0
  107. package/dist/src/core/blocks/image.d.ts.map +1 -0
  108. package/dist/src/core/blocks/image.js +9 -0
  109. package/dist/src/core/blocks/image.js.map +1 -0
  110. package/dist/src/core/blocks/text.d.ts +9 -0
  111. package/dist/src/core/blocks/text.d.ts.map +1 -0
  112. package/dist/src/core/blocks/text.js +30 -0
  113. package/dist/src/core/blocks/text.js.map +1 -0
  114. package/dist/src/core/get-checksum-address.d.ts +10 -0
  115. package/dist/src/core/get-checksum-address.d.ts.map +1 -0
  116. package/dist/src/core/get-checksum-address.js +20 -0
  117. package/dist/src/core/get-checksum-address.js.map +1 -0
  118. package/dist/src/core/ids/content.d.ts +59 -0
  119. package/dist/src/core/ids/content.d.ts.map +1 -0
  120. package/dist/src/core/ids/content.js +59 -0
  121. package/dist/src/core/ids/content.js.map +1 -0
  122. package/dist/src/core/ids/generate.d.ts +2 -0
  123. package/dist/src/core/ids/generate.d.ts.map +1 -0
  124. package/dist/src/core/ids/generate.js +4 -0
  125. package/dist/src/core/ids/generate.js.map +1 -0
  126. package/dist/src/core/ids/network.d.ts +4 -0
  127. package/dist/src/core/ids/network.d.ts.map +1 -0
  128. package/dist/src/core/ids/network.js +4 -0
  129. package/dist/src/core/ids/network.js.map +1 -0
  130. package/dist/src/core/ids/system.d.ts +212 -0
  131. package/dist/src/core/ids/system.d.ts.map +1 -0
  132. package/dist/src/core/ids/system.js +220 -0
  133. package/dist/src/core/ids/system.js.map +1 -0
  134. package/dist/src/core/image.d.ts +13 -0
  135. package/dist/src/core/image.d.ts.map +1 -0
  136. package/dist/src/core/image.js +33 -0
  137. package/dist/src/core/image.js.map +1 -0
  138. package/dist/src/core/position-strings/cursors.d.ts +56 -0
  139. package/dist/src/core/position-strings/cursors.d.ts.map +1 -0
  140. package/dist/src/core/position-strings/cursors.js +69 -0
  141. package/dist/src/core/position-strings/cursors.js.map +1 -0
  142. package/dist/src/core/position-strings/find-position.d.ts +24 -0
  143. package/dist/src/core/position-strings/find-position.d.ts.map +1 -0
  144. package/dist/src/core/position-strings/find-position.js +38 -0
  145. package/dist/src/core/position-strings/find-position.js.map +1 -0
  146. package/dist/src/core/position-strings/ids.d.ts +37 -0
  147. package/dist/src/core/position-strings/ids.d.ts.map +1 -0
  148. package/dist/src/core/position-strings/ids.js +79 -0
  149. package/dist/src/core/position-strings/ids.js.map +1 -0
  150. package/dist/src/core/position-strings/index.d.ts +5 -0
  151. package/dist/src/core/position-strings/index.d.ts.map +1 -0
  152. package/dist/src/core/position-strings/index.js +6 -0
  153. package/dist/src/core/position-strings/index.js.map +1 -0
  154. package/dist/src/core/position-strings/position-source.d.ts +128 -0
  155. package/dist/src/core/position-strings/position-source.d.ts.map +1 -0
  156. package/dist/src/core/position-strings/position-source.js +314 -0
  157. package/dist/src/core/position-strings/position-source.js.map +1 -0
  158. package/dist/src/core/position-strings/test/cursors.test.d.ts +2 -0
  159. package/dist/src/core/position-strings/test/cursors.test.d.ts.map +1 -0
  160. package/dist/src/core/position-strings/test/cursors.test.js +104 -0
  161. package/dist/src/core/position-strings/test/cursors.test.js.map +1 -0
  162. package/dist/src/core/position-strings/test/find-position.test.d.ts +2 -0
  163. package/dist/src/core/position-strings/test/find-position.test.d.ts.map +1 -0
  164. package/dist/src/core/position-strings/test/find-position.test.js +48 -0
  165. package/dist/src/core/position-strings/test/find-position.test.js.map +1 -0
  166. package/dist/src/core/position-strings/test/fuzz.test.d.ts +2 -0
  167. package/dist/src/core/position-strings/test/fuzz.test.d.ts.map +1 -0
  168. package/dist/src/core/position-strings/test/fuzz.test.js +78 -0
  169. package/dist/src/core/position-strings/test/fuzz.test.js.map +1 -0
  170. package/dist/src/core/position-strings/test/ids.test.d.ts +2 -0
  171. package/dist/src/core/position-strings/test/ids.test.d.ts.map +1 -0
  172. package/dist/src/core/position-strings/test/ids.test.js +17 -0
  173. package/dist/src/core/position-strings/test/ids.test.js.map +1 -0
  174. package/dist/src/core/position-strings/test/manual.test.d.ts +2 -0
  175. package/dist/src/core/position-strings/test/manual.test.d.ts.map +1 -0
  176. package/dist/src/core/position-strings/test/manual.test.js +307 -0
  177. package/dist/src/core/position-strings/test/manual.test.js.map +1 -0
  178. package/dist/src/core/position-strings/test/util.d.ts +6 -0
  179. package/dist/src/core/position-strings/test/util.d.ts.map +1 -0
  180. package/dist/src/core/position-strings/test/util.js +26 -0
  181. package/dist/src/core/position-strings/test/util.js.map +1 -0
  182. package/dist/src/core/position-strings/util.d.ts +8 -0
  183. package/dist/src/core/position-strings/util.d.ts.map +1 -0
  184. package/dist/src/core/position-strings/util.js +26 -0
  185. package/dist/src/core/position-strings/util.js.map +1 -0
  186. package/dist/src/core/position.d.ts +7 -0
  187. package/dist/src/core/position.d.ts.map +1 -0
  188. package/dist/src/core/position.js +7 -0
  189. package/dist/src/core/position.js.map +1 -0
  190. package/dist/src/core/relation.d.ts +30 -0
  191. package/dist/src/core/relation.d.ts.map +1 -0
  192. package/dist/src/core/relation.js +40 -0
  193. package/dist/src/core/relation.js.map +1 -0
  194. package/dist/src/core/scheme.d.ts +10 -0
  195. package/dist/src/core/scheme.d.ts.map +1 -0
  196. package/dist/src/core/scheme.js +21 -0
  197. package/dist/src/core/scheme.js.map +1 -0
  198. package/dist/src/core/triple.d.ts +14 -0
  199. package/dist/src/core/triple.d.ts.map +1 -0
  200. package/dist/src/core/triple.js +20 -0
  201. package/dist/src/core/triple.js.map +1 -0
  202. package/dist/src/encodings/get-accept-editor-arguments.d.ts +11 -0
  203. package/dist/src/encodings/get-accept-editor-arguments.d.ts.map +1 -0
  204. package/dist/src/encodings/get-accept-editor-arguments.js +23 -0
  205. package/dist/src/encodings/get-accept-editor-arguments.js.map +1 -0
  206. package/dist/src/encodings/get-accept-subspace-arguments.d.ts +11 -0
  207. package/dist/src/encodings/get-accept-subspace-arguments.d.ts.map +1 -0
  208. package/dist/src/encodings/get-accept-subspace-arguments.js +23 -0
  209. package/dist/src/encodings/get-accept-subspace-arguments.js.map +1 -0
  210. package/dist/src/encodings/get-calldata-for-space-governance-type.d.ts +8 -0
  211. package/dist/src/encodings/get-calldata-for-space-governance-type.d.ts.map +1 -0
  212. package/dist/src/encodings/get-calldata-for-space-governance-type.js +19 -0
  213. package/dist/src/encodings/get-calldata-for-space-governance-type.js.map +1 -0
  214. package/dist/src/encodings/get-process-geo-proposal-arguments.d.ts +7 -0
  215. package/dist/src/encodings/get-process-geo-proposal-arguments.d.ts.map +1 -0
  216. package/dist/src/encodings/get-process-geo-proposal-arguments.js +23 -0
  217. package/dist/src/encodings/get-process-geo-proposal-arguments.js.map +1 -0
  218. package/dist/src/encodings/get-remove-editor-arguments.d.ts +11 -0
  219. package/dist/src/encodings/get-remove-editor-arguments.d.ts.map +1 -0
  220. package/dist/src/encodings/get-remove-editor-arguments.js +23 -0
  221. package/dist/src/encodings/get-remove-editor-arguments.js.map +1 -0
  222. package/dist/src/encodings/get-remove-subspace-arguments.d.ts +11 -0
  223. package/dist/src/encodings/get-remove-subspace-arguments.d.ts.map +1 -0
  224. package/dist/src/encodings/get-remove-subspace-arguments.js +23 -0
  225. package/dist/src/encodings/get-remove-subspace-arguments.js.map +1 -0
  226. package/dist/src/encodings/index.d.ts +7 -0
  227. package/dist/src/encodings/index.d.ts.map +1 -0
  228. package/dist/src/encodings/index.js +7 -0
  229. package/dist/src/encodings/index.js.map +1 -0
  230. package/dist/src/id.d.ts +15 -0
  231. package/dist/src/id.d.ts.map +1 -0
  232. package/dist/src/id.js +21 -0
  233. package/dist/src/id.js.map +1 -0
  234. package/dist/src/image.d.ts +2 -0
  235. package/dist/src/image.d.ts.map +1 -0
  236. package/dist/src/image.js +2 -0
  237. package/dist/src/image.js.map +1 -0
  238. package/dist/src/position.d.ts +2 -0
  239. package/dist/src/position.d.ts.map +1 -0
  240. package/dist/src/position.js +2 -0
  241. package/dist/src/position.js.map +1 -0
  242. package/dist/src/proto/create-edit-proposal.d.ts +9 -0
  243. package/dist/src/proto/create-edit-proposal.d.ts.map +1 -0
  244. package/dist/src/proto/create-edit-proposal.js +54 -0
  245. package/dist/src/proto/create-edit-proposal.js.map +1 -0
  246. package/dist/src/proto/create-edit-proposal.test.d.ts +2 -0
  247. package/dist/src/proto/create-edit-proposal.test.d.ts.map +1 -0
  248. package/dist/src/proto/create-edit-proposal.test.js +140 -0
  249. package/dist/src/proto/create-edit-proposal.test.js.map +1 -0
  250. package/dist/src/proto/create-membership-proposal.d.ts +7 -0
  251. package/dist/src/proto/create-membership-proposal.d.ts.map +1 -0
  252. package/dist/src/proto/create-membership-proposal.js +26 -0
  253. package/dist/src/proto/create-membership-proposal.js.map +1 -0
  254. package/dist/src/proto/create-subspace-proposal.d.ts +7 -0
  255. package/dist/src/proto/create-subspace-proposal.d.ts.map +1 -0
  256. package/dist/src/proto/create-subspace-proposal.js +12 -0
  257. package/dist/src/proto/create-subspace-proposal.js.map +1 -0
  258. package/dist/src/proto/edit.d.ts +9 -0
  259. package/dist/src/proto/edit.d.ts.map +1 -0
  260. package/dist/src/proto/edit.js +54 -0
  261. package/dist/src/proto/edit.js.map +1 -0
  262. package/dist/src/proto/edit.test.d.ts +2 -0
  263. package/dist/src/proto/edit.test.d.ts.map +1 -0
  264. package/dist/src/proto/edit.test.js +140 -0
  265. package/dist/src/proto/edit.test.js.map +1 -0
  266. package/dist/src/proto/gen/src/proto/ipfs_pb.d.ts +404 -0
  267. package/dist/src/proto/gen/src/proto/ipfs_pb.d.ts.map +1 -0
  268. package/dist/src/proto/gen/src/proto/ipfs_pb.js +602 -0
  269. package/dist/src/proto/gen/src/proto/ipfs_pb.js.map +1 -0
  270. package/dist/src/proto/index.d.ts +2 -0
  271. package/dist/src/proto/index.d.ts.map +1 -0
  272. package/dist/src/proto/index.js +2 -0
  273. package/dist/src/proto/index.js.map +1 -0
  274. package/dist/src/relation.d.ts +2 -0
  275. package/dist/src/relation.d.ts.map +1 -0
  276. package/dist/src/relation.js +2 -0
  277. package/dist/src/relation.js.map +1 -0
  278. package/dist/src/scheme.d.ts +2 -0
  279. package/dist/src/scheme.d.ts.map +1 -0
  280. package/dist/src/scheme.js +2 -0
  281. package/dist/src/scheme.js.map +1 -0
  282. package/dist/src/system-ids.d.ts +4 -0
  283. package/dist/src/system-ids.d.ts.map +1 -0
  284. package/dist/src/system-ids.js +4 -0
  285. package/dist/src/system-ids.js.map +1 -0
  286. package/dist/src/triple.d.ts +2 -0
  287. package/dist/src/triple.d.ts.map +1 -0
  288. package/dist/src/triple.js +2 -0
  289. package/dist/src/triple.js.map +1 -0
  290. package/dist/src/types.d.ts +86 -0
  291. package/dist/src/types.d.ts.map +1 -0
  292. package/dist/src/types.js +13 -0
  293. package/dist/src/types.js.map +1 -0
  294. package/dist/tsconfig.tsbuildinfo +1 -0
  295. package/package.json +47 -0
@@ -0,0 +1,4 @@
1
+ export * as SYSTEM_IDS from './core/ids/system.js';
2
+ export * as NETWORK_IDS from './core/ids/network.js';
3
+ export * as CONTENT_IDS from './core/ids/content.js';
4
+ //# sourceMappingURL=system-ids.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"system-ids.d.ts","sourceRoot":"","sources":["../../src/system-ids.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AACnD,OAAO,KAAK,WAAW,MAAM,uBAAuB,CAAC;AACrD,OAAO,KAAK,WAAW,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * as SYSTEM_IDS from './core/ids/system.js';
2
+ export * as NETWORK_IDS from './core/ids/network.js';
3
+ export * as CONTENT_IDS from './core/ids/content.js';
4
+ //# sourceMappingURL=system-ids.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"system-ids.js","sourceRoot":"","sources":["../../src/system-ids.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AACnD,OAAO,KAAK,WAAW,MAAM,uBAAuB,CAAC;AACrD,OAAO,KAAK,WAAW,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * as Triple from './core/triple.js';
2
+ //# sourceMappingURL=triple.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"triple.d.ts","sourceRoot":"","sources":["../../src/triple.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * as Triple from './core/triple.js';
2
+ //# sourceMappingURL=triple.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"triple.js","sourceRoot":"","sources":["../../src/triple.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,86 @@
1
+ export type OmitStrict<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
2
+ export type ValueType = 'TEXT' | 'NUMBER' | 'CHECKBOX' | 'URL' | 'TIME' | 'POINT';
3
+ export type Value = {
4
+ type: ValueType;
5
+ value: string;
6
+ };
7
+ type Triple = {
8
+ entity: string;
9
+ attribute: string;
10
+ value: Value;
11
+ };
12
+ type Entity = {
13
+ id: string;
14
+ types: string[];
15
+ };
16
+ export type SetBatchTripleOp = {
17
+ type: 'SET_BATCH_TRIPLE';
18
+ entity: Entity;
19
+ triples: Triple[];
20
+ };
21
+ export type DeleteEntityOp = {
22
+ type: 'DELETE_ENTITY';
23
+ entity: OmitStrict<Entity, 'types'>;
24
+ };
25
+ export type SetTripleOp = {
26
+ type: 'SET_TRIPLE';
27
+ triple: Triple;
28
+ };
29
+ export type DeleteTripleOp = {
30
+ type: 'DELETE_TRIPLE';
31
+ triple: OmitStrict<Triple, 'value'>;
32
+ };
33
+ type Relation = {
34
+ id: string;
35
+ type: string;
36
+ fromEntity: string;
37
+ toEntity: string;
38
+ index: string;
39
+ };
40
+ export type CreateRelationOp = {
41
+ type: 'CREATE_RELATION';
42
+ relation: Relation;
43
+ };
44
+ export type DeleteRelationOp = {
45
+ type: 'DELETE_RELATION';
46
+ relation: Pick<Relation, 'id'>;
47
+ };
48
+ export type Op = SetTripleOp | DeleteTripleOp | SetBatchTripleOp | DeleteEntityOp | CreateRelationOp | DeleteRelationOp;
49
+ export type EditProposalMetadata = {
50
+ type: 'ADD_EDIT';
51
+ version: '0.0.1';
52
+ name?: string;
53
+ ops: Op[];
54
+ id: string;
55
+ authors: string[];
56
+ };
57
+ export type MembershipProposalMetadata = {
58
+ type: 'ADD_MEMBER' | 'REMOVE_MEMBER' | 'ADD_EDITOR' | 'REMOVE_EDITOR';
59
+ version: '1.0.0';
60
+ user: `0x${string}`;
61
+ id: string;
62
+ name?: string;
63
+ };
64
+ export type SubspaceProposalMetadata = {
65
+ type: 'ADD_SUBSPACE' | 'REMOVE_SUBSPACE';
66
+ version: '1.0.0';
67
+ subspace: `0x${string}`;
68
+ id: string;
69
+ name?: string;
70
+ };
71
+ export type ProposalMetadata = EditProposalMetadata | MembershipProposalMetadata | SubspaceProposalMetadata;
72
+ export type ProposalType = Uppercase<ProposalMetadata['type']>;
73
+ export declare enum VoteOption {
74
+ None = 0,
75
+ Abstain = 1,
76
+ Yes = 2,
77
+ No = 3
78
+ }
79
+ export declare enum VotingMode {
80
+ Standard = 0,
81
+ EarlyExecution = 1
82
+ }
83
+ export type ProposalStatus = 'PROPOSED' | 'ACCEPTED' | 'REJECTED' | 'CANCELED' | 'EXECUTED';
84
+ export type GraphUri = `graph://${string}`;
85
+ export {};
86
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,13 @@
1
+ export var VoteOption;
2
+ (function (VoteOption) {
3
+ VoteOption[VoteOption["None"] = 0] = "None";
4
+ VoteOption[VoteOption["Abstain"] = 1] = "Abstain";
5
+ VoteOption[VoteOption["Yes"] = 2] = "Yes";
6
+ VoteOption[VoteOption["No"] = 3] = "No";
7
+ })(VoteOption || (VoteOption = {}));
8
+ export var VotingMode;
9
+ (function (VotingMode) {
10
+ VotingMode[VotingMode["Standard"] = 0] = "Standard";
11
+ VotingMode[VotingMode["EarlyExecution"] = 1] = "EarlyExecution";
12
+ })(VotingMode || (VotingMode = {}));
13
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAgGA,MAAM,CAAN,IAAY,UAKX;AALD,WAAY,UAAU;IACpB,2CAAQ,CAAA;IACR,iDAAW,CAAA;IACX,yCAAO,CAAA;IACP,uCAAM,CAAA;AACR,CAAC,EALW,UAAU,KAAV,UAAU,QAKrB;AAED,MAAM,CAAN,IAAY,UAGX;AAHD,WAAY,UAAU;IACpB,mDAAY,CAAA;IACZ,+DAAkB,CAAA;AACpB,CAAC,EAHW,UAAU,KAAV,UAAU,QAGrB"}
@@ -0,0 +1 @@
1
+ {"program":{"fileNames":["../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../action-schema/dist/src/action.d.ts","../../../node_modules/.pnpm/uri-js@4.4.1/node_modules/uri-js/dist/es5/uri.all.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/compile/codegen/code.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/compile/codegen/scope.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/compile/codegen/index.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/compile/rules.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/compile/util.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/compile/validate/subschema.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/compile/errors.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/compile/validate/index.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/compile/validate/datatype.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/vocabularies/applicator/additionalitems.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/vocabularies/applicator/propertynames.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/vocabularies/applicator/additionalproperties.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/vocabularies/applicator/not.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/vocabularies/applicator/anyof.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/vocabularies/applicator/oneof.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/vocabularies/applicator/if.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/vocabularies/applicator/index.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/vocabularies/validation/limitnumber.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/vocabularies/validation/multipleof.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/vocabularies/validation/required.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/vocabularies/validation/uniqueitems.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/vocabularies/validation/const.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/vocabularies/validation/enum.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/vocabularies/validation/index.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/vocabularies/format/format.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedproperties.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/vocabularies/unevaluated/unevaluateditems.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/vocabularies/validation/dependentrequired.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/vocabularies/errors.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/types/json-schema.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/types/jtd-schema.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/runtime/validation_error.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/compile/ref_error.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/core.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/compile/resolve.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/compile/index.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/types/index.d.ts","../../../node_modules/.pnpm/ajv@8.11.0/node_modules/ajv/dist/ajv.d.ts","../../action-schema/dist/src/index.d.ts","../index.ts","../../../node_modules/.pnpm/@types+prettier@2.6.4/node_modules/@types/prettier/index.d.ts"],"fileInfos":[{"version":"f33e5332b24c3773e930e212cbb8b6867c8ba3ec4492064ea78e55a524d57450","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"26f2f787e82c4222710f3b676b4d83eb5ad0a72fa7b746f03449e7a026ce5073","impliedFormat":1},{"version":"9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","impliedFormat":1},{"version":"138fb588d26538783b78d1e3b2c2cc12d55840b97bf5e08bca7f7a174fbe2f17","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true,"impliedFormat":1},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true,"impliedFormat":1},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true,"impliedFormat":1},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true,"impliedFormat":1},{"version":"e0275cd0e42990dc3a16f0b7c8bca3efe87f1c8ad404f80c6db1c7c0b828c59f","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"49ed889be54031e1044af0ad2c603d627b8bda8b50c1a68435fe85583901d072","affectsGlobalScope":true,"impliedFormat":1},{"version":"e93d098658ce4f0c8a0779e6cab91d0259efb88a318137f686ad76f8410ca270","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true,"impliedFormat":1},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true,"impliedFormat":1},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true,"impliedFormat":1},{"version":"acae90d417bee324b1372813b5a00829d31c7eb670d299cd7f8f9a648ac05688","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"51e547984877a62227042850456de71a5c45e7fe86b7c975c6e68896c86fa23b","affectsGlobalScope":true,"impliedFormat":1},{"version":"62a4966981264d1f04c44eb0f4b5bdc3d81c1a54725608861e44755aa24ad6a5","affectsGlobalScope":true,"impliedFormat":1},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true,"impliedFormat":1},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true,"impliedFormat":1},{"version":"86a34c7a13de9cabc43161348f663624b56871ed80986e41d214932ddd8d6719","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true,"impliedFormat":1},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"7c6d18e3162cfe430baf1579ec78bd00bccd9366b5c3ba4605fe4b57134f4873","impliedFormat":1},{"version":"9f3c5498245c38c9016a369795ec5ef1768d09db63643c8dba9656e5ab294825","impliedFormat":1},{"version":"44a8d350600656882fd7462774e32e8d13788313ba2e36d2e8d5437ac91b98df","impliedFormat":1},{"version":"60bb0e47502bf8716d1230288b4e6387c1d34cded12752ab5338108e2e662e67","impliedFormat":1},{"version":"b8870b5155d11a273c75718a4f19026da49f91c548703858cd3400d06c3bd3b8","impliedFormat":1},{"version":"b3ae4ded82f27cabba780b9af9647f6e08c9a4cabe8fbb7a0cca69c7add9ef4b","impliedFormat":1},{"version":"8d26ae32e5c9c080e44aee4a67e5ef02b5fda0604e6fecbb7b753c537e5282d9","impliedFormat":1},{"version":"05c4e792dae38912ba333725cdf8c42d242337d006c0d887f4ce5a7787871a95","impliedFormat":1},{"version":"cd44995ee13d5d23df17a10213fed7b483fabfd5ea08f267ab52c07ce0b6b4da","impliedFormat":1},{"version":"58ce1486f851942bd2d3056b399079bc9cb978ec933fe9833ea417e33eab676e","impliedFormat":1},{"version":"1a23b521db8d7ec9e2b96c6fbd4c7e96d12f408b1e03661b3b9f7da7291103e6","impliedFormat":1},{"version":"d3d0d11d30c9878ada3356b9c36a2754b8c7b6204a41c86bfb1488c08ce263b0","impliedFormat":1},{"version":"a6493f1f479637ed89a3ebec03f6dc117e3b1851d7e938ac4c8501396b8639a8","impliedFormat":1},{"version":"ae0951e44973e928fe2e999b11960493835d094b16adac0b085a79cff181bcb9","impliedFormat":1},{"version":"9d00e3a59eff68fa8c40e89953083eeaad1c5b2580ed7da2304424b249ecb237","impliedFormat":1},{"version":"1609ad4d488c356ee91eba7d7aa87cc6fb59bc8ac05c1a8f08665285ba3b71ad","impliedFormat":1},{"version":"8add088f72326098d68d622ddb024c00ae56a912383efe96b03f0481db88f7c9","impliedFormat":1},{"version":"dd17fe6332567b8f13e33dd3ff8926553cdcea2ad32d4350ce0063a2addaa764","impliedFormat":1},{"version":"4091d56a4622480549350b8811ec64c7826cd41a70ce5d9c1cc20384bb144049","impliedFormat":1},{"version":"353c0125b9e50c2a71e18394d46be5ccb37161cc0f0e7c69216aa6932c8cdafb","impliedFormat":1},{"version":"9c5d5f167e86b6ddf7142559a17d13fd39c34e868ae947c40381db866eed6609","impliedFormat":1},{"version":"4430dea494b0ee77bf823d9a7c4850a539e1060d5d865316bb23fb393e4f01d7","impliedFormat":1},{"version":"aae698ceead4edad0695b9ea87e43f274e698bdb302c8cb5fd2cab4dc496ccf0","impliedFormat":1},{"version":"51631e9a0c041e12479ab01f5801d8a237327d19e9ee37d5f1f66be912631425","impliedFormat":1},{"version":"c9d5d8adb1455f49182751ce885745dcc5f9697e9c260388bc3ae9d1860d5d10","impliedFormat":1},{"version":"f64289e3fa8d5719eaf5ba1bb02dd32dbbf7c603dda75c16770a6bc6e9c6b6d9","impliedFormat":1},{"version":"b1aa0e2e3511a8d10990f35866405c64c9e576258ef99eeb9ebafed980fd7506","impliedFormat":1},{"version":"2d255a5287f2fb5295688cb25bd18e1cd59866179f795f3f1fd6b71b7f0edf8f","impliedFormat":1},{"version":"43c1dbb78d5277a5fdd8fddce8b257f84ffa2b4253f58b95c04a310710d19e97","impliedFormat":1},{"version":"6c669d7e080344c1574aa276a89e57c3b9f0e97fab96a09427e7dfb19ca261bf","impliedFormat":1},{"version":"b71ac126853867d8e64c910f47d46d05c5ea797987d2604f63d401507dc43b6d","impliedFormat":1},{"version":"9a37238558d28b7ee06d08599e92eab30b90704541cc85e6448009d6d55fffa9","impliedFormat":1},{"version":"120b14d66a061910309ff97e7b06b5c6c09444218178b80b687a92af4d22d5dc","impliedFormat":1},{"version":"3de958065e3a44cbe0bfa667813bc59c63e63c9ce522af8dc1b64714910fa9ba","impliedFormat":1},{"version":"66e655f7c43558bae6703242cbd6c0551a94d0a97204bd4c4bbf7e77f24d1f85","impliedFormat":1},{"version":"72f7b32e023814078046c036ed4b7ad92414be0aebb63e805c682e14103ae38a","impliedFormat":1},{"version":"a89d8e67966d085ff971c9900cfa1abdd9732bab66d9c1914ecc15befdf8623d","impliedFormat":1},{"version":"7dfd0308261bb91b058eb91802690fe3f09192b263e070a19df4d629df29e265","impliedFormat":1},{"version":"608eb9d411ac76e93a10e05f8aae92b3a5cefc87594219b737df7c8737ba2bd7","impliedFormat":1},{"version":"cde493e09daad4bb29922fe633f760be9f0e8e2f39cdca999cce3b8690b5e13a","impliedFormat":1},{"version":"3d7f9eb12aface876f7b535cc89dcd416daf77f0b3573333f16ec0a70bcf902a","impliedFormat":1},{"version":"93ba4ac36f570c70a12d588e21c10dda9f351fad3e77d416952acddb27bff01d","impliedFormat":1},{"version":"8750f9dc1e277ffff7446c95571bae61aca0984e8f99e40fc1e8cb7161ae0642","impliedFormat":1},{"version":"66408d81ba8962282b1a55da34c6bd767105141f54d0ba14dca330efe0c8f552","impliedFormat":1},{"version":"7481b9d93ca44eb1f689e0b939545ff00dead7bdb9daba401dfb74292d83f831","impliedFormat":1},{"version":"821e64ddbdfa10fac5f0aed1c1d4e1f275840400caa96357ddfd15d02e5afba1","impliedFormat":1},{"version":"367fbca8ca6407767fe861dd7a093e20e4f14a66de1fcf4013eae2a39f90bc23","impliedFormat":1},{"version":"014a5c44195e3e09073cd1fc41d5575ac2934a6a546c577668dcf1c06af4fe63","signature":"a7752f2cdc55ee868470cd3cbfb58d932430027bcdd3708f0a2e22dc12255028","impliedFormat":99},{"version":"89877326fed87fa9601cf958e3af77d5901e24c1ba9a4099f69325f0c0e39b0a","impliedFormat":1}],"root":[104],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"module":199,"noUncheckedIndexedAccess":true,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9},"fileIdsList":[[61,62,66,93,94,98,100,101],[59,60],[59],[61,101],[61,62,98,99,101],[101],[58,101,102],[61,62,100,101],[61,62,64,65,100,101],[61,62,63,100,101],[61,62,66,93,94,95,96,97,100,101],[58,61,62,66,98,100],[66,101],[68,69,70,71,72,73,74,75,76,77,101],[91,101],[67,78,86,87,88,89,90,92],[71,101],[79,80,81,82,83,84,85,101],[57,102],[103]],"referencedMap":[[102,1],[61,2],[60,3],[65,4],[100,5],[97,6],[99,7],[62,6],[63,8],[67,8],[66,9],[64,10],[98,11],[96,6],[101,12],[68,13],[73,6],[75,6],[70,6],[71,13],[77,6],[78,14],[69,6],[74,6],[76,6],[72,6],[92,15],[91,6],[93,16],[87,6],[89,6],[88,6],[84,6],[90,17],[85,6],[86,18],[79,6],[80,6],[81,6],[82,6],[83,6],[103,19],[104,20]],"exportedModulesMap":[[102,1],[61,2],[60,3],[65,4],[100,5],[97,6],[99,7],[62,6],[63,8],[67,8],[66,9],[64,10],[98,11],[96,6],[101,12],[68,13],[73,6],[75,6],[70,6],[71,13],[77,6],[78,14],[69,6],[74,6],[76,6],[72,6],[92,15],[91,6],[93,16],[87,6],[89,6],[88,6],[84,6],[90,17],[85,6],[86,18],[79,6],[80,6],[81,6],[82,6],[83,6],[103,19],[104,20]],"semanticDiagnosticsPerFile":[105,102,59,61,60,65,100,97,99,62,63,67,66,64,98,96,101,94,95,68,73,75,70,71,77,78,69,74,76,72,92,91,93,87,89,88,84,90,85,86,79,80,81,82,83,55,56,11,10,2,12,13,14,15,16,17,18,19,3,4,20,24,21,22,23,25,26,27,5,28,29,30,31,6,35,32,33,34,36,7,37,42,43,38,39,40,41,8,47,44,45,46,48,9,49,50,51,54,52,53,1,58,57,103,104],"latestChangedDtsFile":"./index.d.ts"},"version":"5.3.3"}
package/package.json ADDED
@@ -0,0 +1,47 @@
1
+ {
2
+ "name": "@graphprotocol/grc-20",
3
+ "version": "0.0.4",
4
+ "license": "MIT",
5
+ "module": "./dist/index.js",
6
+ "types": "./dist/index.d.ts",
7
+ "main": "./dist/index.js",
8
+ "ascMain": "./dist/index.js",
9
+ "type": "module",
10
+ "files": ["dist"],
11
+ "exports": {
12
+ "./package.json": "./package.json",
13
+ ".": "./dist/index.js",
14
+ "./constants": "./dist/constants.js",
15
+ "./proto": "./dist/proto.js",
16
+ "./contracts": "./dist/contracts.js",
17
+ "./abis": "./dist/abis.js"
18
+ },
19
+ "scripts": {
20
+ "build": "tsc",
21
+ "test": "vitest",
22
+ "generate:protobuf": "npx buf generate",
23
+ "lint": "biome check --write --unsafe",
24
+ "format": "biome check --write --unsafe"
25
+ },
26
+ "dependencies": {
27
+ "@biomejs/biome": "^1.9.4",
28
+ "@bufbuild/protobuf": "^1.9.0",
29
+ "@ethersproject/abi": "^5.6.4",
30
+ "@ethersproject/providers": "^5.6.8",
31
+ "@types/uuid": "^9.0.8",
32
+ "ethers": "^5.7.2",
33
+ "position-strings": "^2.0.1",
34
+ "uuid": "^9.0.0",
35
+ "viem": "^1.16.0",
36
+ "vite": "^5.2.11",
37
+ "vitest": "^1.6.0"
38
+ },
39
+ "devDependencies": {
40
+ "@bufbuild/buf": "^1.31.0",
41
+ "@bufbuild/protoc-gen-es": "^1.9.0",
42
+ "@trivago/prettier-plugin-sort-imports": "^4.2.0",
43
+ "prettier": "^3.2.5",
44
+ "typescript": "^5.4.5"
45
+ },
46
+ "packageManager": "pnpm@9.15.4"
47
+ }