@ottochain/sdk 2.2.4 → 2.3.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 (85) hide show
  1. package/dist/cjs/apps/contracts/state-machines/contract-agreement.js +54 -6
  2. package/dist/cjs/apps/contracts/state-machines/contract-escrow.js +72 -8
  3. package/dist/cjs/apps/contracts/state-machines/contract-universal.js +36 -4
  4. package/dist/cjs/apps/governance/state-machines/dao-multisig.js +27 -3
  5. package/dist/cjs/apps/governance/state-machines/dao-reputation.js +27 -3
  6. package/dist/cjs/apps/governance/state-machines/dao-single.js +27 -3
  7. package/dist/cjs/apps/governance/state-machines/dao-token.js +36 -4
  8. package/dist/cjs/apps/governance/state-machines/governance-simple.js +36 -4
  9. package/dist/cjs/apps/governance/state-machines/governance-universal.js +27 -3
  10. package/dist/cjs/apps/identity/state-machines/identity-agent.js +54 -6
  11. package/dist/cjs/apps/identity/state-machines/identity-oracle.js +45 -5
  12. package/dist/cjs/apps/identity/state-machines/identity-universal.js +27 -3
  13. package/dist/cjs/apps/markets/state-machines/market-auction.js +30 -6
  14. package/dist/cjs/apps/markets/state-machines/market-crowdfund.js +25 -5
  15. package/dist/cjs/apps/markets/state-machines/market-group-buy.js +29 -5
  16. package/dist/cjs/apps/markets/state-machines/market-prediction.js +40 -8
  17. package/dist/cjs/apps/markets/state-machines/market-universal.js +45 -5
  18. package/dist/cjs/generated/ottochain/v1/common.js +1722 -1
  19. package/dist/cjs/generated/ottochain/v1/fiber.js +352 -2
  20. package/dist/cjs/generated/ottochain/v1/messages.js +775 -3
  21. package/dist/cjs/generated/ottochain/v1/records.js +350 -3
  22. package/dist/cjs/index.js +5 -1
  23. package/dist/cjs/ottochain/genesis-manifest.js +193 -0
  24. package/dist/cjs/ottochain/index.js +5 -1
  25. package/dist/cjs/ottochain/normalize.js +26 -48
  26. package/dist/cjs/ottochain/types.js +4 -0
  27. package/dist/esm/apps/contracts/state-machines/contract-agreement.js +54 -6
  28. package/dist/esm/apps/contracts/state-machines/contract-escrow.js +72 -8
  29. package/dist/esm/apps/contracts/state-machines/contract-universal.js +36 -4
  30. package/dist/esm/apps/governance/state-machines/dao-multisig.js +27 -3
  31. package/dist/esm/apps/governance/state-machines/dao-reputation.js +27 -3
  32. package/dist/esm/apps/governance/state-machines/dao-single.js +27 -3
  33. package/dist/esm/apps/governance/state-machines/dao-token.js +36 -4
  34. package/dist/esm/apps/governance/state-machines/governance-simple.js +36 -4
  35. package/dist/esm/apps/governance/state-machines/governance-universal.js +27 -3
  36. package/dist/esm/apps/identity/state-machines/identity-agent.js +54 -6
  37. package/dist/esm/apps/identity/state-machines/identity-oracle.js +45 -5
  38. package/dist/esm/apps/identity/state-machines/identity-universal.js +27 -3
  39. package/dist/esm/apps/markets/state-machines/market-auction.js +30 -6
  40. package/dist/esm/apps/markets/state-machines/market-crowdfund.js +25 -5
  41. package/dist/esm/apps/markets/state-machines/market-group-buy.js +29 -5
  42. package/dist/esm/apps/markets/state-machines/market-prediction.js +40 -8
  43. package/dist/esm/apps/markets/state-machines/market-universal.js +45 -5
  44. package/dist/esm/generated/ottochain/v1/common.js +1718 -0
  45. package/dist/esm/generated/ottochain/v1/fiber.js +351 -1
  46. package/dist/esm/generated/ottochain/v1/messages.js +774 -2
  47. package/dist/esm/generated/ottochain/v1/records.js +349 -2
  48. package/dist/esm/index.js +2 -0
  49. package/dist/esm/ottochain/genesis-manifest.js +189 -0
  50. package/dist/esm/ottochain/index.js +2 -0
  51. package/dist/esm/ottochain/normalize.js +26 -48
  52. package/dist/esm/ottochain/types.js +4 -0
  53. package/dist/types/apps/contracts/index.d.ts +90 -18
  54. package/dist/types/apps/contracts/state-machines/contract-agreement.d.ts +30 -6
  55. package/dist/types/apps/contracts/state-machines/contract-escrow.d.ts +40 -8
  56. package/dist/types/apps/contracts/state-machines/contract-universal.d.ts +20 -4
  57. package/dist/types/apps/governance/index.d.ts +114 -33
  58. package/dist/types/apps/governance/state-machines/dao-multisig.d.ts +15 -3
  59. package/dist/types/apps/governance/state-machines/dao-reputation.d.ts +15 -3
  60. package/dist/types/apps/governance/state-machines/dao-single.d.ts +15 -3
  61. package/dist/types/apps/governance/state-machines/dao-token.d.ts +20 -4
  62. package/dist/types/apps/governance/state-machines/governance-simple.d.ts +20 -4
  63. package/dist/types/apps/governance/state-machines/governance-universal.d.ts +15 -3
  64. package/dist/types/apps/identity/index.d.ts +71 -6
  65. package/dist/types/apps/identity/state-machines/identity-agent.d.ts +30 -0
  66. package/dist/types/apps/identity/state-machines/identity-oracle.d.ts +25 -0
  67. package/dist/types/apps/identity/state-machines/identity-universal.d.ts +15 -0
  68. package/dist/types/apps/markets/index.d.ts +80 -5
  69. package/dist/types/apps/markets/state-machines/market-auction.d.ts +12 -0
  70. package/dist/types/apps/markets/state-machines/market-crowdfund.d.ts +10 -0
  71. package/dist/types/apps/markets/state-machines/market-group-buy.d.ts +14 -0
  72. package/dist/types/apps/markets/state-machines/market-prediction.d.ts +16 -0
  73. package/dist/types/apps/markets/state-machines/market-universal.d.ts +25 -5
  74. package/dist/types/generated/ottochain/v1/common.d.ts +228 -0
  75. package/dist/types/generated/ottochain/v1/fiber.d.ts +32 -1
  76. package/dist/types/generated/ottochain/v1/messages.d.ts +84 -0
  77. package/dist/types/generated/ottochain/v1/records.d.ts +34 -0
  78. package/dist/types/index.d.ts +3 -1
  79. package/dist/types/ottochain/genesis-manifest.d.ts +130 -0
  80. package/dist/types/ottochain/index.d.ts +3 -1
  81. package/dist/types/ottochain/normalize.d.ts +17 -25
  82. package/dist/types/ottochain/types.d.ts +288 -2
  83. package/dist/types/schema/fiber-app.d.ts +40 -1
  84. package/dist/types/validation.d.ts +17 -17
  85. package/package.json +30 -27
@@ -98,17 +98,29 @@ export declare const GOVERNANCE_DEFINITIONS: {
98
98
  readonly ACTIVE: {
99
99
  readonly id: "ACTIVE";
100
100
  readonly isFinal: false;
101
- readonly metadata: null;
101
+ readonly metadata: {
102
+ readonly label: "Active";
103
+ readonly description: "Governance is idle and ready to accept a proposal";
104
+ readonly category: "initial";
105
+ };
102
106
  };
103
107
  readonly VOTING: {
104
108
  readonly id: "VOTING";
105
109
  readonly isFinal: false;
106
- readonly metadata: null;
110
+ readonly metadata: {
111
+ readonly label: "Voting";
112
+ readonly description: "A proposal is open for voting";
113
+ readonly category: "pending";
114
+ };
107
115
  };
108
116
  readonly DISSOLVED: {
109
117
  readonly id: "DISSOLVED";
110
118
  readonly isFinal: true;
111
- readonly metadata: null;
119
+ readonly metadata: {
120
+ readonly label: "Dissolved";
121
+ readonly description: "Governance entity dissolved (terminal)";
122
+ readonly category: "terminal";
123
+ };
112
124
  };
113
125
  };
114
126
  readonly initialState: "ACTIVE";
@@ -179,6 +191,9 @@ export declare const GOVERNANCE_DEFINITIONS: {
179
191
  readonly var: "event.result";
180
192
  };
181
193
  readonly proposal: null;
194
+ /**
195
+ * Get remaining signatures needed
196
+ */
182
197
  readonly votes: null;
183
198
  }];
184
199
  };
@@ -403,22 +418,38 @@ export declare const GOVERNANCE_DEFINITIONS: {
403
418
  readonly ACTIVE: {
404
419
  readonly id: "ACTIVE";
405
420
  readonly isFinal: false;
406
- readonly metadata: null;
421
+ readonly metadata: {
422
+ readonly label: "Active";
423
+ readonly description: "Governance is idle and ready to accept a proposal";
424
+ readonly category: "initial";
425
+ };
407
426
  };
408
427
  readonly VOTING: {
409
428
  readonly id: "VOTING";
410
429
  readonly isFinal: false;
411
- readonly metadata: null;
430
+ readonly metadata: {
431
+ readonly label: "Voting";
432
+ readonly description: "A proposal is open for voting";
433
+ readonly category: "pending";
434
+ };
412
435
  };
413
436
  readonly DISPUTE: {
414
437
  readonly id: "DISPUTE";
415
438
  readonly isFinal: false;
416
- readonly metadata: null;
439
+ readonly metadata: {
440
+ readonly label: "Dispute";
441
+ readonly description: "A proposal outcome is being disputed";
442
+ readonly category: "pending";
443
+ };
417
444
  };
418
445
  readonly DISSOLVED: {
419
446
  readonly id: "DISSOLVED";
420
447
  readonly isFinal: true;
421
- readonly metadata: null;
448
+ readonly metadata: {
449
+ readonly label: "Dissolved";
450
+ readonly description: "Governance entity dissolved (terminal)";
451
+ readonly category: "terminal";
452
+ };
422
453
  };
423
454
  };
424
455
  readonly initialState: "ACTIVE";
@@ -966,17 +997,29 @@ export declare const GOVERNANCE_DEFINITIONS: {
966
997
  readonly ACTIVE: {
967
998
  readonly id: "ACTIVE";
968
999
  readonly isFinal: false;
969
- readonly metadata: null;
1000
+ readonly metadata: {
1001
+ readonly label: "Active";
1002
+ readonly description: "Single owner controls the DAO and may act or transfer ownership";
1003
+ readonly category: "initial";
1004
+ };
970
1005
  };
971
1006
  readonly TRANSFERRING: {
972
1007
  readonly id: "TRANSFERRING";
973
1008
  readonly isFinal: false;
974
- readonly metadata: null;
1009
+ readonly metadata: {
1010
+ readonly label: "Transferring";
1011
+ readonly description: "Ownership transfer proposed; awaiting acceptance";
1012
+ readonly category: "pending";
1013
+ };
975
1014
  };
976
1015
  readonly DISSOLVED: {
977
1016
  readonly id: "DISSOLVED";
978
1017
  readonly isFinal: true;
979
- readonly metadata: null;
1018
+ readonly metadata: {
1019
+ readonly label: "Dissolved";
1020
+ readonly description: "DAO dissolved by its owner (terminal)";
1021
+ readonly category: "terminal";
1022
+ };
980
1023
  };
981
1024
  };
982
1025
  readonly initialState: "ACTIVE";
@@ -1069,6 +1112,9 @@ export declare const GOVERNANCE_DEFINITIONS: {
1069
1112
  readonly var: "state.ownershipHistory";
1070
1113
  }, readonly [{
1071
1114
  readonly from: {
1115
+ /**
1116
+ * Check if agent meets threshold for action
1117
+ */
1072
1118
  readonly var: "state.owner";
1073
1119
  };
1074
1120
  readonly to: {
@@ -1305,17 +1351,29 @@ export declare const GOVERNANCE_DEFINITIONS: {
1305
1351
  readonly ACTIVE: {
1306
1352
  readonly id: "ACTIVE";
1307
1353
  readonly isFinal: false;
1308
- readonly metadata: null;
1354
+ readonly metadata: {
1355
+ readonly label: "Active";
1356
+ readonly description: "Multisig is idle and ready to propose an action";
1357
+ readonly category: "initial";
1358
+ };
1309
1359
  };
1310
1360
  readonly PENDING: {
1311
1361
  readonly id: "PENDING";
1312
1362
  readonly isFinal: false;
1313
- readonly metadata: null;
1363
+ readonly metadata: {
1364
+ readonly label: "Pending";
1365
+ readonly description: "An action is awaiting the required signature threshold";
1366
+ readonly category: "pending";
1367
+ };
1314
1368
  };
1315
1369
  readonly DISSOLVED: {
1316
1370
  readonly id: "DISSOLVED";
1317
1371
  readonly isFinal: true;
1318
- readonly metadata: null;
1372
+ readonly metadata: {
1373
+ readonly label: "Dissolved";
1374
+ readonly description: "Multisig DAO dissolved (terminal)";
1375
+ readonly category: "terminal";
1376
+ };
1319
1377
  };
1320
1378
  };
1321
1379
  readonly initialState: "ACTIVE";
@@ -1390,9 +1448,7 @@ export declare const GOVERNANCE_DEFINITIONS: {
1390
1448
  }, {
1391
1449
  readonly "<": readonly [{
1392
1450
  readonly size: {
1393
- readonly var: "state.signatures"; /**
1394
- * Check if agent is a member
1395
- */
1451
+ readonly var: "state.signatures";
1396
1452
  };
1397
1453
  }, {
1398
1454
  readonly var: "state.threshold";
@@ -1401,9 +1457,7 @@ export declare const GOVERNANCE_DEFINITIONS: {
1401
1457
  };
1402
1458
  readonly effect: {
1403
1459
  readonly merge: readonly [{
1404
- readonly var: "state"; /**
1405
- * Check if threshold proposal has quorum
1406
- */
1460
+ readonly var: "state";
1407
1461
  }, {
1408
1462
  readonly signatures: {
1409
1463
  readonly setKey: readonly [{
@@ -1946,22 +2000,38 @@ export declare const GOVERNANCE_DEFINITIONS: {
1946
2000
  readonly ACTIVE: {
1947
2001
  readonly id: "ACTIVE";
1948
2002
  readonly isFinal: false;
1949
- readonly metadata: null;
2003
+ readonly metadata: {
2004
+ readonly label: "Active";
2005
+ readonly description: "DAO is idle and ready to accept a proposal";
2006
+ readonly category: "initial";
2007
+ };
1950
2008
  };
1951
2009
  readonly VOTING: {
1952
2010
  readonly id: "VOTING";
1953
2011
  readonly isFinal: false;
1954
- readonly metadata: null;
2012
+ readonly metadata: {
2013
+ readonly label: "Voting";
2014
+ readonly description: "Token holders are voting on the active proposal";
2015
+ readonly category: "pending";
2016
+ };
1955
2017
  };
1956
2018
  readonly QUEUED: {
1957
2019
  readonly id: "QUEUED";
1958
2020
  readonly isFinal: false;
1959
- readonly metadata: null;
2021
+ readonly metadata: {
2022
+ readonly label: "Queued";
2023
+ readonly description: "Passed proposal queued in timelock before execution";
2024
+ readonly category: "pending";
2025
+ };
1960
2026
  };
1961
2027
  readonly DISSOLVED: {
1962
2028
  readonly id: "DISSOLVED";
1963
2029
  readonly isFinal: true;
1964
- readonly metadata: null;
2030
+ readonly metadata: {
2031
+ readonly label: "Dissolved";
2032
+ readonly description: "Token DAO dissolved (terminal)";
2033
+ readonly category: "terminal";
2034
+ };
1965
2035
  };
1966
2036
  };
1967
2037
  readonly initialState: "ACTIVE";
@@ -1997,9 +2067,6 @@ export declare const GOVERNANCE_DEFINITIONS: {
1997
2067
  readonly actionType: {
1998
2068
  readonly var: "event.actionType";
1999
2069
  };
2000
- /**
2001
- * Check if agent can propose
2002
- */
2003
2070
  readonly payload: {
2004
2071
  readonly var: "event.payload";
2005
2072
  };
@@ -2008,11 +2075,10 @@ export declare const GOVERNANCE_DEFINITIONS: {
2008
2075
  };
2009
2076
  readonly proposedAt: {
2010
2077
  readonly var: "$timestamp";
2011
- };
2078
+ }; /**
2079
+ * Check if threshold proposal has quorum
2080
+ */
2012
2081
  readonly votingEndsAt: {
2013
- /**
2014
- * Check if agent meets threshold for action
2015
- */
2016
2082
  readonly "+": readonly [{
2017
2083
  readonly var: "$timestamp";
2018
2084
  }, {
@@ -2563,22 +2629,37 @@ export declare const GOVERNANCE_DEFINITIONS: {
2563
2629
  readonly ACTIVE: {
2564
2630
  readonly id: "ACTIVE";
2565
2631
  readonly isFinal: false;
2566
- readonly metadata: null;
2632
+ readonly metadata: {
2633
+ readonly label: "Active";
2634
+ readonly description: "DAO is idle and ready to accept a proposal";
2635
+ readonly category: "initial";
2636
+ };
2567
2637
  };
2568
2638
  readonly VOTING: {
2569
2639
  readonly id: "VOTING";
2570
2640
  readonly isFinal: false;
2571
- readonly metadata: null;
2641
+ readonly metadata: {
2642
+ readonly label: "Voting";
2643
+ readonly description: "Members vote with reputation-weighted power";
2644
+ readonly category: "pending";
2645
+ };
2572
2646
  };
2573
2647
  readonly DISSOLVED: {
2574
2648
  readonly id: "DISSOLVED";
2575
2649
  readonly isFinal: true;
2576
- readonly metadata: null;
2650
+ readonly metadata: {
2651
+ readonly label: "Dissolved";
2652
+ readonly description: "Reputation DAO dissolved (terminal)";
2653
+ readonly category: "terminal";
2654
+ };
2577
2655
  };
2578
2656
  };
2579
2657
  readonly initialState: "ACTIVE";
2580
2658
  readonly transitions: readonly [{
2581
2659
  readonly from: "ACTIVE";
2660
+ /**
2661
+ * Check if agent can propose
2662
+ */
2582
2663
  readonly to: "VOTING";
2583
2664
  readonly eventName: "propose";
2584
2665
  readonly guard: {
@@ -176,17 +176,29 @@ export declare const daoMultisigDef: {
176
176
  readonly ACTIVE: {
177
177
  readonly id: "ACTIVE";
178
178
  readonly isFinal: false;
179
- readonly metadata: null;
179
+ readonly metadata: {
180
+ readonly label: "Active";
181
+ readonly description: "Multisig is idle and ready to propose an action";
182
+ readonly category: "initial";
183
+ };
180
184
  };
181
185
  readonly PENDING: {
182
186
  readonly id: "PENDING";
183
187
  readonly isFinal: false;
184
- readonly metadata: null;
188
+ readonly metadata: {
189
+ readonly label: "Pending";
190
+ readonly description: "An action is awaiting the required signature threshold";
191
+ readonly category: "pending";
192
+ };
185
193
  };
186
194
  readonly DISSOLVED: {
187
195
  readonly id: "DISSOLVED";
188
196
  readonly isFinal: true;
189
- readonly metadata: null;
197
+ readonly metadata: {
198
+ readonly label: "Dissolved";
199
+ readonly description: "Multisig DAO dissolved (terminal)";
200
+ readonly category: "terminal";
201
+ };
190
202
  };
191
203
  };
192
204
  readonly initialState: "ACTIVE";
@@ -179,17 +179,29 @@ export declare const daoReputationDef: {
179
179
  readonly ACTIVE: {
180
180
  readonly id: "ACTIVE";
181
181
  readonly isFinal: false;
182
- readonly metadata: null;
182
+ readonly metadata: {
183
+ readonly label: "Active";
184
+ readonly description: "DAO is idle and ready to accept a proposal";
185
+ readonly category: "initial";
186
+ };
183
187
  };
184
188
  readonly VOTING: {
185
189
  readonly id: "VOTING";
186
190
  readonly isFinal: false;
187
- readonly metadata: null;
191
+ readonly metadata: {
192
+ readonly label: "Voting";
193
+ readonly description: "Members vote with reputation-weighted power";
194
+ readonly category: "pending";
195
+ };
188
196
  };
189
197
  readonly DISSOLVED: {
190
198
  readonly id: "DISSOLVED";
191
199
  readonly isFinal: true;
192
- readonly metadata: null;
200
+ readonly metadata: {
201
+ readonly label: "Dissolved";
202
+ readonly description: "Reputation DAO dissolved (terminal)";
203
+ readonly category: "terminal";
204
+ };
193
205
  };
194
206
  };
195
207
  readonly initialState: "ACTIVE";
@@ -110,17 +110,29 @@ export declare const daoSingleDef: {
110
110
  readonly ACTIVE: {
111
111
  readonly id: "ACTIVE";
112
112
  readonly isFinal: false;
113
- readonly metadata: null;
113
+ readonly metadata: {
114
+ readonly label: "Active";
115
+ readonly description: "Single owner controls the DAO and may act or transfer ownership";
116
+ readonly category: "initial";
117
+ };
114
118
  };
115
119
  readonly TRANSFERRING: {
116
120
  readonly id: "TRANSFERRING";
117
121
  readonly isFinal: false;
118
- readonly metadata: null;
122
+ readonly metadata: {
123
+ readonly label: "Transferring";
124
+ readonly description: "Ownership transfer proposed; awaiting acceptance";
125
+ readonly category: "pending";
126
+ };
119
127
  };
120
128
  readonly DISSOLVED: {
121
129
  readonly id: "DISSOLVED";
122
130
  readonly isFinal: true;
123
- readonly metadata: null;
131
+ readonly metadata: {
132
+ readonly label: "Dissolved";
133
+ readonly description: "DAO dissolved by its owner (terminal)";
134
+ readonly category: "terminal";
135
+ };
124
136
  };
125
137
  };
126
138
  readonly initialState: "ACTIVE";
@@ -169,22 +169,38 @@ export declare const daoTokenDef: {
169
169
  readonly ACTIVE: {
170
170
  readonly id: "ACTIVE";
171
171
  readonly isFinal: false;
172
- readonly metadata: null;
172
+ readonly metadata: {
173
+ readonly label: "Active";
174
+ readonly description: "DAO is idle and ready to accept a proposal";
175
+ readonly category: "initial";
176
+ };
173
177
  };
174
178
  readonly VOTING: {
175
179
  readonly id: "VOTING";
176
180
  readonly isFinal: false;
177
- readonly metadata: null;
181
+ readonly metadata: {
182
+ readonly label: "Voting";
183
+ readonly description: "Token holders are voting on the active proposal";
184
+ readonly category: "pending";
185
+ };
178
186
  };
179
187
  readonly QUEUED: {
180
188
  readonly id: "QUEUED";
181
189
  readonly isFinal: false;
182
- readonly metadata: null;
190
+ readonly metadata: {
191
+ readonly label: "Queued";
192
+ readonly description: "Passed proposal queued in timelock before execution";
193
+ readonly category: "pending";
194
+ };
183
195
  };
184
196
  readonly DISSOLVED: {
185
197
  readonly id: "DISSOLVED";
186
198
  readonly isFinal: true;
187
- readonly metadata: null;
199
+ readonly metadata: {
200
+ readonly label: "Dissolved";
201
+ readonly description: "Token DAO dissolved (terminal)";
202
+ readonly category: "terminal";
203
+ };
188
204
  };
189
205
  };
190
206
  readonly initialState: "ACTIVE";
@@ -196,22 +196,38 @@ export declare const govSimpleDef: {
196
196
  readonly ACTIVE: {
197
197
  readonly id: "ACTIVE";
198
198
  readonly isFinal: false;
199
- readonly metadata: null;
199
+ readonly metadata: {
200
+ readonly label: "Active";
201
+ readonly description: "Governance is idle and ready to accept a proposal";
202
+ readonly category: "initial";
203
+ };
200
204
  };
201
205
  readonly VOTING: {
202
206
  readonly id: "VOTING";
203
207
  readonly isFinal: false;
204
- readonly metadata: null;
208
+ readonly metadata: {
209
+ readonly label: "Voting";
210
+ readonly description: "A proposal is open for voting";
211
+ readonly category: "pending";
212
+ };
205
213
  };
206
214
  readonly DISPUTE: {
207
215
  readonly id: "DISPUTE";
208
216
  readonly isFinal: false;
209
- readonly metadata: null;
217
+ readonly metadata: {
218
+ readonly label: "Dispute";
219
+ readonly description: "A proposal outcome is being disputed";
220
+ readonly category: "pending";
221
+ };
210
222
  };
211
223
  readonly DISSOLVED: {
212
224
  readonly id: "DISSOLVED";
213
225
  readonly isFinal: true;
214
- readonly metadata: null;
226
+ readonly metadata: {
227
+ readonly label: "Dissolved";
228
+ readonly description: "Governance entity dissolved (terminal)";
229
+ readonly category: "terminal";
230
+ };
215
231
  };
216
232
  };
217
233
  readonly initialState: "ACTIVE";
@@ -74,17 +74,29 @@ export declare const govUniversalDef: {
74
74
  readonly ACTIVE: {
75
75
  readonly id: "ACTIVE";
76
76
  readonly isFinal: false;
77
- readonly metadata: null;
77
+ readonly metadata: {
78
+ readonly label: "Active";
79
+ readonly description: "Governance is idle and ready to accept a proposal";
80
+ readonly category: "initial";
81
+ };
78
82
  };
79
83
  readonly VOTING: {
80
84
  readonly id: "VOTING";
81
85
  readonly isFinal: false;
82
- readonly metadata: null;
86
+ readonly metadata: {
87
+ readonly label: "Voting";
88
+ readonly description: "A proposal is open for voting";
89
+ readonly category: "pending";
90
+ };
83
91
  };
84
92
  readonly DISSOLVED: {
85
93
  readonly id: "DISSOLVED";
86
94
  readonly isFinal: true;
87
- readonly metadata: null;
95
+ readonly metadata: {
96
+ readonly label: "Dissolved";
97
+ readonly description: "Governance entity dissolved (terminal)";
98
+ readonly category: "terminal";
99
+ };
88
100
  };
89
101
  };
90
102
  readonly initialState: "ACTIVE";
@@ -108,22 +108,32 @@ export declare const IDENTITY_DEFINITIONS: {
108
108
  CREATED: {
109
109
  id: string;
110
110
  isFinal: false;
111
+ metadata: {
112
+ label: string;
113
+ description: string;
114
+ category: "initial";
115
+ };
111
116
  };
112
117
  ACTIVE: {
113
118
  id: string;
114
119
  isFinal: false;
120
+ metadata: {
121
+ label: string;
122
+ description: string;
123
+ category: "active";
124
+ };
115
125
  };
116
- /**
117
- * Default reputation configuration for agent identity
118
- */
119
126
  INACTIVE: {
120
127
  id: string;
121
128
  isFinal: true;
129
+ metadata: {
130
+ label: string;
131
+ description: string;
132
+ category: "terminal";
133
+ };
122
134
  };
123
135
  };
124
- initialState: "CREATED"; /**
125
- * Default reputation configuration for agent identity
126
- */
136
+ initialState: "CREATED";
127
137
  transitions: ({
128
138
  from: "CREATED";
129
139
  to: "ACTIVE";
@@ -357,26 +367,56 @@ export declare const IDENTITY_DEFINITIONS: {
357
367
  REGISTERED: {
358
368
  id: string;
359
369
  isFinal: false;
370
+ metadata: {
371
+ label: string;
372
+ description: string;
373
+ category: "initial";
374
+ };
360
375
  };
361
376
  ACTIVE: {
362
377
  id: string;
363
378
  isFinal: false;
379
+ metadata: {
380
+ label: string;
381
+ description: string;
382
+ category: "active";
383
+ };
364
384
  };
365
385
  CHALLENGED: {
366
386
  id: string;
367
387
  isFinal: false;
388
+ metadata: {
389
+ label: string;
390
+ description: string;
391
+ category: "pending";
392
+ };
368
393
  };
369
394
  SUSPENDED: {
370
395
  id: string;
371
396
  isFinal: false;
397
+ metadata: {
398
+ label: string;
399
+ description: string;
400
+ category: "pending";
401
+ };
372
402
  };
373
403
  PROBATION: {
374
404
  id: string;
375
405
  isFinal: false;
406
+ metadata: {
407
+ label: string;
408
+ description: string;
409
+ category: "active";
410
+ };
376
411
  };
377
412
  WITHDRAWN: {
378
413
  id: string;
379
414
  isFinal: true;
415
+ metadata: {
416
+ label: string;
417
+ description: string;
418
+ category: "terminal";
419
+ };
380
420
  };
381
421
  };
382
422
  initialState: "REGISTERED";
@@ -785,22 +825,47 @@ export declare const IDENTITY_DEFINITIONS: {
785
825
  UNREGISTERED: {
786
826
  id: string;
787
827
  isFinal: false;
828
+ metadata: {
829
+ label: string;
830
+ description: string;
831
+ category: "initial";
832
+ };
788
833
  };
789
834
  REGISTERED: {
790
835
  id: string;
791
836
  isFinal: false;
837
+ metadata: {
838
+ label: string;
839
+ description: string;
840
+ category: "pending";
841
+ };
792
842
  };
793
843
  ACTIVE: {
794
844
  id: string;
795
845
  isFinal: false;
846
+ metadata: {
847
+ label: string;
848
+ description: string;
849
+ category: "active";
850
+ };
796
851
  };
797
852
  SLASHED: {
798
853
  id: string;
799
854
  isFinal: false;
855
+ metadata: {
856
+ label: string;
857
+ description: string;
858
+ category: "pending";
859
+ };
800
860
  };
801
861
  WITHDRAWN: {
802
862
  id: string;
803
863
  isFinal: true;
864
+ metadata: {
865
+ label: string;
866
+ description: string;
867
+ category: "terminal";
868
+ };
804
869
  };
805
870
  };
806
871
  initialState: "UNREGISTERED";