@ottochain/sdk 2.2.5 → 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.
- package/dist/cjs/apps/contracts/state-machines/contract-agreement.js +54 -6
- package/dist/cjs/apps/contracts/state-machines/contract-escrow.js +72 -8
- package/dist/cjs/apps/contracts/state-machines/contract-universal.js +36 -4
- package/dist/cjs/apps/governance/state-machines/dao-multisig.js +27 -3
- package/dist/cjs/apps/governance/state-machines/dao-reputation.js +27 -3
- package/dist/cjs/apps/governance/state-machines/dao-single.js +27 -3
- package/dist/cjs/apps/governance/state-machines/dao-token.js +36 -4
- package/dist/cjs/apps/governance/state-machines/governance-simple.js +36 -4
- package/dist/cjs/apps/governance/state-machines/governance-universal.js +27 -3
- package/dist/cjs/apps/identity/state-machines/identity-agent.js +54 -6
- package/dist/cjs/apps/identity/state-machines/identity-oracle.js +45 -5
- package/dist/cjs/apps/identity/state-machines/identity-universal.js +27 -3
- package/dist/cjs/apps/markets/state-machines/market-auction.js +30 -6
- package/dist/cjs/apps/markets/state-machines/market-crowdfund.js +25 -5
- package/dist/cjs/apps/markets/state-machines/market-group-buy.js +29 -5
- package/dist/cjs/apps/markets/state-machines/market-prediction.js +40 -8
- package/dist/cjs/apps/markets/state-machines/market-universal.js +45 -5
- package/dist/cjs/generated/ottochain/v1/common.js +1722 -1
- package/dist/cjs/generated/ottochain/v1/fiber.js +352 -2
- package/dist/cjs/generated/ottochain/v1/messages.js +775 -3
- package/dist/cjs/generated/ottochain/v1/records.js +350 -3
- package/dist/cjs/index.js +5 -1
- package/dist/cjs/ottochain/genesis-manifest.js +193 -0
- package/dist/cjs/ottochain/index.js +5 -1
- package/dist/cjs/ottochain/types.js +4 -0
- package/dist/esm/apps/contracts/state-machines/contract-agreement.js +54 -6
- package/dist/esm/apps/contracts/state-machines/contract-escrow.js +72 -8
- package/dist/esm/apps/contracts/state-machines/contract-universal.js +36 -4
- package/dist/esm/apps/governance/state-machines/dao-multisig.js +27 -3
- package/dist/esm/apps/governance/state-machines/dao-reputation.js +27 -3
- package/dist/esm/apps/governance/state-machines/dao-single.js +27 -3
- package/dist/esm/apps/governance/state-machines/dao-token.js +36 -4
- package/dist/esm/apps/governance/state-machines/governance-simple.js +36 -4
- package/dist/esm/apps/governance/state-machines/governance-universal.js +27 -3
- package/dist/esm/apps/identity/state-machines/identity-agent.js +54 -6
- package/dist/esm/apps/identity/state-machines/identity-oracle.js +45 -5
- package/dist/esm/apps/identity/state-machines/identity-universal.js +27 -3
- package/dist/esm/apps/markets/state-machines/market-auction.js +30 -6
- package/dist/esm/apps/markets/state-machines/market-crowdfund.js +25 -5
- package/dist/esm/apps/markets/state-machines/market-group-buy.js +29 -5
- package/dist/esm/apps/markets/state-machines/market-prediction.js +40 -8
- package/dist/esm/apps/markets/state-machines/market-universal.js +45 -5
- package/dist/esm/generated/ottochain/v1/common.js +1718 -0
- package/dist/esm/generated/ottochain/v1/fiber.js +351 -1
- package/dist/esm/generated/ottochain/v1/messages.js +774 -2
- package/dist/esm/generated/ottochain/v1/records.js +349 -2
- package/dist/esm/index.js +2 -0
- package/dist/esm/ottochain/genesis-manifest.js +189 -0
- package/dist/esm/ottochain/index.js +2 -0
- package/dist/esm/ottochain/types.js +4 -0
- package/dist/types/apps/contracts/index.d.ts +90 -18
- package/dist/types/apps/contracts/state-machines/contract-agreement.d.ts +30 -6
- package/dist/types/apps/contracts/state-machines/contract-escrow.d.ts +40 -8
- package/dist/types/apps/contracts/state-machines/contract-universal.d.ts +20 -4
- package/dist/types/apps/governance/index.d.ts +114 -33
- package/dist/types/apps/governance/state-machines/dao-multisig.d.ts +15 -3
- package/dist/types/apps/governance/state-machines/dao-reputation.d.ts +15 -3
- package/dist/types/apps/governance/state-machines/dao-single.d.ts +15 -3
- package/dist/types/apps/governance/state-machines/dao-token.d.ts +20 -4
- package/dist/types/apps/governance/state-machines/governance-simple.d.ts +20 -4
- package/dist/types/apps/governance/state-machines/governance-universal.d.ts +15 -3
- package/dist/types/apps/identity/index.d.ts +71 -6
- package/dist/types/apps/identity/state-machines/identity-agent.d.ts +30 -0
- package/dist/types/apps/identity/state-machines/identity-oracle.d.ts +25 -0
- package/dist/types/apps/identity/state-machines/identity-universal.d.ts +15 -0
- package/dist/types/apps/markets/index.d.ts +80 -5
- package/dist/types/apps/markets/state-machines/market-auction.d.ts +12 -0
- package/dist/types/apps/markets/state-machines/market-crowdfund.d.ts +10 -0
- package/dist/types/apps/markets/state-machines/market-group-buy.d.ts +14 -0
- package/dist/types/apps/markets/state-machines/market-prediction.d.ts +16 -0
- package/dist/types/apps/markets/state-machines/market-universal.d.ts +25 -5
- package/dist/types/generated/ottochain/v1/common.d.ts +228 -0
- package/dist/types/generated/ottochain/v1/fiber.d.ts +32 -1
- package/dist/types/generated/ottochain/v1/messages.d.ts +84 -0
- package/dist/types/generated/ottochain/v1/records.d.ts +34 -0
- package/dist/types/index.d.ts +3 -1
- package/dist/types/ottochain/genesis-manifest.d.ts +130 -0
- package/dist/types/ottochain/index.d.ts +3 -1
- package/dist/types/ottochain/types.d.ts +288 -2
- package/dist/types/schema/fiber-app.d.ts +40 -1
- package/dist/types/validation.d.ts +17 -17
- package/package.json +30 -27
|
@@ -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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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";
|
|
@@ -170,26 +170,56 @@ export declare const identityAgentDef: {
|
|
|
170
170
|
REGISTERED: {
|
|
171
171
|
id: string;
|
|
172
172
|
isFinal: false;
|
|
173
|
+
metadata: {
|
|
174
|
+
label: string;
|
|
175
|
+
description: string;
|
|
176
|
+
category: "initial";
|
|
177
|
+
};
|
|
173
178
|
};
|
|
174
179
|
ACTIVE: {
|
|
175
180
|
id: string;
|
|
176
181
|
isFinal: false;
|
|
182
|
+
metadata: {
|
|
183
|
+
label: string;
|
|
184
|
+
description: string;
|
|
185
|
+
category: "active";
|
|
186
|
+
};
|
|
177
187
|
};
|
|
178
188
|
CHALLENGED: {
|
|
179
189
|
id: string;
|
|
180
190
|
isFinal: false;
|
|
191
|
+
metadata: {
|
|
192
|
+
label: string;
|
|
193
|
+
description: string;
|
|
194
|
+
category: "pending";
|
|
195
|
+
};
|
|
181
196
|
};
|
|
182
197
|
SUSPENDED: {
|
|
183
198
|
id: string;
|
|
184
199
|
isFinal: false;
|
|
200
|
+
metadata: {
|
|
201
|
+
label: string;
|
|
202
|
+
description: string;
|
|
203
|
+
category: "pending";
|
|
204
|
+
};
|
|
185
205
|
};
|
|
186
206
|
PROBATION: {
|
|
187
207
|
id: string;
|
|
188
208
|
isFinal: false;
|
|
209
|
+
metadata: {
|
|
210
|
+
label: string;
|
|
211
|
+
description: string;
|
|
212
|
+
category: "active";
|
|
213
|
+
};
|
|
189
214
|
};
|
|
190
215
|
WITHDRAWN: {
|
|
191
216
|
id: string;
|
|
192
217
|
isFinal: true;
|
|
218
|
+
metadata: {
|
|
219
|
+
label: string;
|
|
220
|
+
description: string;
|
|
221
|
+
category: "terminal";
|
|
222
|
+
};
|
|
193
223
|
};
|
|
194
224
|
};
|
|
195
225
|
initialState: "REGISTERED";
|
|
@@ -201,22 +201,47 @@ export declare const identityOracleDef: {
|
|
|
201
201
|
UNREGISTERED: {
|
|
202
202
|
id: string;
|
|
203
203
|
isFinal: false;
|
|
204
|
+
metadata: {
|
|
205
|
+
label: string;
|
|
206
|
+
description: string;
|
|
207
|
+
category: "initial";
|
|
208
|
+
};
|
|
204
209
|
};
|
|
205
210
|
REGISTERED: {
|
|
206
211
|
id: string;
|
|
207
212
|
isFinal: false;
|
|
213
|
+
metadata: {
|
|
214
|
+
label: string;
|
|
215
|
+
description: string;
|
|
216
|
+
category: "pending";
|
|
217
|
+
};
|
|
208
218
|
};
|
|
209
219
|
ACTIVE: {
|
|
210
220
|
id: string;
|
|
211
221
|
isFinal: false;
|
|
222
|
+
metadata: {
|
|
223
|
+
label: string;
|
|
224
|
+
description: string;
|
|
225
|
+
category: "active";
|
|
226
|
+
};
|
|
212
227
|
};
|
|
213
228
|
SLASHED: {
|
|
214
229
|
id: string;
|
|
215
230
|
isFinal: false;
|
|
231
|
+
metadata: {
|
|
232
|
+
label: string;
|
|
233
|
+
description: string;
|
|
234
|
+
category: "pending";
|
|
235
|
+
};
|
|
216
236
|
};
|
|
217
237
|
WITHDRAWN: {
|
|
218
238
|
id: string;
|
|
219
239
|
isFinal: true;
|
|
240
|
+
metadata: {
|
|
241
|
+
label: string;
|
|
242
|
+
description: string;
|
|
243
|
+
category: "terminal";
|
|
244
|
+
};
|
|
220
245
|
};
|
|
221
246
|
};
|
|
222
247
|
initialState: "UNREGISTERED";
|
|
@@ -72,14 +72,29 @@ export declare const identityUniversalDef: {
|
|
|
72
72
|
CREATED: {
|
|
73
73
|
id: string;
|
|
74
74
|
isFinal: false;
|
|
75
|
+
metadata: {
|
|
76
|
+
label: string;
|
|
77
|
+
description: string;
|
|
78
|
+
category: "initial";
|
|
79
|
+
};
|
|
75
80
|
};
|
|
76
81
|
ACTIVE: {
|
|
77
82
|
id: string;
|
|
78
83
|
isFinal: false;
|
|
84
|
+
metadata: {
|
|
85
|
+
label: string;
|
|
86
|
+
description: string;
|
|
87
|
+
category: "active";
|
|
88
|
+
};
|
|
79
89
|
};
|
|
80
90
|
INACTIVE: {
|
|
81
91
|
id: string;
|
|
82
92
|
isFinal: true;
|
|
93
|
+
metadata: {
|
|
94
|
+
label: string;
|
|
95
|
+
description: string;
|
|
96
|
+
category: "terminal";
|
|
97
|
+
};
|
|
83
98
|
};
|
|
84
99
|
};
|
|
85
100
|
initialState: "CREATED";
|