@ottochain/sdk 2.0.0 → 2.1.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 (142) hide show
  1. package/dist/cjs/apps/contracts/index.js +1 -1
  2. package/dist/cjs/apps/contracts/state-machines/contract-agreement.js +272 -0
  3. package/dist/cjs/apps/contracts/state-machines/contract-escrow.js +284 -0
  4. package/dist/cjs/apps/contracts/state-machines/contract-universal.js +93 -0
  5. package/dist/cjs/apps/contracts/state-machines/index.js +177 -1
  6. package/dist/cjs/apps/corporate/state-machines/corp-board.js +1022 -0
  7. package/dist/cjs/apps/corporate/state-machines/corp-entity.js +671 -0
  8. package/dist/cjs/apps/corporate/state-machines/corp-securities.js +998 -0
  9. package/dist/cjs/apps/corporate/state-machines/corp-shareholders.js +1102 -0
  10. package/dist/cjs/apps/corporate/state-machines/index.js +20 -4440
  11. package/dist/cjs/apps/governance/index.js +7 -7
  12. package/dist/cjs/apps/governance/state-machines/dao-multisig.js +467 -0
  13. package/dist/cjs/apps/governance/state-machines/dao-reputation.js +458 -0
  14. package/dist/cjs/apps/governance/state-machines/dao-single.js +199 -0
  15. package/dist/cjs/apps/governance/state-machines/dao-token.js +503 -0
  16. package/dist/cjs/apps/governance/state-machines/governance-simple.js +482 -0
  17. package/dist/cjs/apps/governance/state-machines/governance-universal.js +138 -0
  18. package/dist/cjs/apps/governance/state-machines/index.js +16 -2934
  19. package/dist/cjs/apps/identity/constants.js +28 -14
  20. package/dist/cjs/apps/identity/index.js +27 -12
  21. package/dist/cjs/apps/identity/state-machines/identity-agent.js +256 -0
  22. package/dist/cjs/apps/identity/state-machines/identity-oracle.js +321 -0
  23. package/dist/cjs/apps/identity/state-machines/identity-universal.js +106 -0
  24. package/dist/cjs/apps/identity/state-machines/index.js +15 -784
  25. package/dist/cjs/apps/markets/index.js +1 -1
  26. package/dist/cjs/apps/markets/state-machines/index.js +14 -2298
  27. package/dist/cjs/apps/markets/state-machines/market-auction.js +283 -0
  28. package/dist/cjs/apps/markets/state-machines/market-crowdfund.js +312 -0
  29. package/dist/cjs/apps/markets/state-machines/market-group-buy.js +407 -0
  30. package/dist/cjs/apps/markets/state-machines/market-prediction.js +485 -0
  31. package/dist/cjs/apps/markets/state-machines/market-universal.js +129 -0
  32. package/dist/cjs/apps/oracles/index.js +36 -0
  33. package/dist/cjs/generated/google/protobuf/struct.js +1 -1
  34. package/dist/cjs/generated/google/protobuf/timestamp.js +1 -1
  35. package/dist/cjs/generated/index.js +26 -22
  36. package/dist/cjs/generated/ottochain/apps/contracts/v1/contract.js +1 -1
  37. package/dist/cjs/generated/ottochain/apps/corporate/v1/corporate.js +1 -1
  38. package/dist/cjs/generated/ottochain/apps/governance/v1/governance.js +1 -1
  39. package/dist/cjs/generated/ottochain/apps/identity/v1/attestation.js +12 -12
  40. package/dist/cjs/generated/ottochain/apps/identity/v1/identity.js +1688 -0
  41. package/dist/cjs/generated/ottochain/apps/markets/v1/market.js +1 -1
  42. package/dist/cjs/generated/ottochain/v1/common.js +1 -1
  43. package/dist/cjs/generated/ottochain/v1/fiber.js +1 -1
  44. package/dist/cjs/generated/ottochain/v1/messages.js +1 -1
  45. package/dist/cjs/generated/ottochain/v1/records.js +1 -1
  46. package/dist/cjs/schema/fiber-app.js +55 -0
  47. package/dist/cjs/schema/index.js +20 -0
  48. package/dist/esm/apps/contracts/index.js +3 -3
  49. package/dist/esm/apps/contracts/state-machines/contract-agreement.js +269 -0
  50. package/dist/esm/apps/contracts/state-machines/contract-escrow.js +281 -0
  51. package/dist/esm/apps/contracts/state-machines/contract-universal.js +90 -0
  52. package/dist/esm/apps/contracts/state-machines/index.js +177 -1
  53. package/dist/esm/apps/corporate/index.js +3 -3
  54. package/dist/esm/apps/corporate/state-machines/corp-board.js +1019 -0
  55. package/dist/esm/apps/corporate/state-machines/corp-entity.js +668 -0
  56. package/dist/esm/apps/corporate/state-machines/corp-securities.js +995 -0
  57. package/dist/esm/apps/corporate/state-machines/corp-shareholders.js +1099 -0
  58. package/dist/esm/apps/corporate/state-machines/index.js +15 -4439
  59. package/dist/esm/apps/governance/index.js +9 -9
  60. package/dist/esm/apps/governance/state-machines/dao-multisig.js +464 -0
  61. package/dist/esm/apps/governance/state-machines/dao-reputation.js +455 -0
  62. package/dist/esm/apps/governance/state-machines/dao-single.js +196 -0
  63. package/dist/esm/apps/governance/state-machines/dao-token.js +500 -0
  64. package/dist/esm/apps/governance/state-machines/governance-simple.js +479 -0
  65. package/dist/esm/apps/governance/state-machines/governance-universal.js +135 -0
  66. package/dist/esm/apps/governance/state-machines/index.js +9 -2933
  67. package/dist/esm/apps/identity/constants.js +28 -14
  68. package/dist/esm/apps/identity/index.js +7 -5
  69. package/dist/esm/apps/identity/state-machines/identity-agent.js +253 -0
  70. package/dist/esm/apps/identity/state-machines/identity-oracle.js +318 -0
  71. package/dist/esm/apps/identity/state-machines/identity-universal.js +103 -0
  72. package/dist/esm/apps/identity/state-machines/index.js +11 -783
  73. package/dist/esm/apps/index.js +5 -5
  74. package/dist/esm/apps/markets/index.js +3 -3
  75. package/dist/esm/apps/markets/state-machines/index.js +8 -2297
  76. package/dist/esm/apps/markets/state-machines/market-auction.js +280 -0
  77. package/dist/esm/apps/markets/state-machines/market-crowdfund.js +309 -0
  78. package/dist/esm/apps/markets/state-machines/market-group-buy.js +404 -0
  79. package/dist/esm/apps/markets/state-machines/market-prediction.js +482 -0
  80. package/dist/esm/apps/markets/state-machines/market-universal.js +126 -0
  81. package/dist/esm/apps/oracles/index.js +21 -0
  82. package/dist/esm/generated/google/protobuf/struct.js +1 -1
  83. package/dist/esm/generated/google/protobuf/timestamp.js +1 -1
  84. package/dist/esm/generated/index.js +8 -4
  85. package/dist/esm/generated/ottochain/apps/contracts/v1/contract.js +1 -1
  86. package/dist/esm/generated/ottochain/apps/corporate/v1/corporate.js +1 -1
  87. package/dist/esm/generated/ottochain/apps/governance/v1/governance.js +1 -1
  88. package/dist/esm/generated/ottochain/apps/identity/v1/attestation.js +2 -2
  89. package/dist/esm/generated/ottochain/apps/identity/v1/identity.js +1676 -0
  90. package/dist/esm/generated/ottochain/apps/markets/v1/market.js +1 -1
  91. package/dist/esm/generated/ottochain/v1/common.js +1 -1
  92. package/dist/esm/generated/ottochain/v1/fiber.js +1 -1
  93. package/dist/esm/generated/ottochain/v1/messages.js +1 -1
  94. package/dist/esm/generated/ottochain/v1/records.js +1 -1
  95. package/dist/esm/schema/fiber-app.js +47 -0
  96. package/dist/esm/schema/index.js +4 -0
  97. package/dist/types/apps/contracts/index.d.ts +151 -2
  98. package/dist/types/apps/contracts/state-machines/contract-agreement.d.ts +462 -0
  99. package/dist/types/apps/contracts/state-machines/contract-escrow.d.ts +511 -0
  100. package/dist/types/apps/contracts/state-machines/contract-universal.d.ts +147 -0
  101. package/dist/types/apps/contracts/state-machines/index.d.ts +149 -0
  102. package/dist/types/apps/corporate/index.d.ts +5263 -3825
  103. package/dist/types/apps/corporate/state-machines/corp-board.d.ts +1479 -0
  104. package/dist/types/apps/corporate/state-machines/corp-entity.d.ts +970 -0
  105. package/dist/types/apps/corporate/state-machines/corp-securities.d.ts +1381 -0
  106. package/dist/types/apps/corporate/state-machines/corp-shareholders.d.ts +1631 -0
  107. package/dist/types/apps/corporate/state-machines/index.d.ts +5245 -3802
  108. package/dist/types/apps/governance/index.d.ts +875 -37
  109. package/dist/types/apps/governance/state-machines/dao-multisig.d.ts +644 -0
  110. package/dist/types/apps/governance/state-machines/dao-reputation.d.ts +610 -0
  111. package/dist/types/apps/governance/state-machines/dao-single.d.ts +276 -0
  112. package/dist/types/apps/governance/state-machines/dao-token.d.ts +601 -0
  113. package/dist/types/apps/governance/state-machines/governance-simple.d.ts +652 -0
  114. package/dist/types/apps/governance/state-machines/governance-universal.d.ts +181 -0
  115. package/dist/types/apps/governance/state-machines/index.d.ts +9 -2136
  116. package/dist/types/apps/identity/constants.d.ts +8 -6
  117. package/dist/types/apps/identity/index.d.ts +1078 -577
  118. package/dist/types/apps/identity/state-machines/identity-agent.d.ts +401 -0
  119. package/dist/types/apps/identity/state-machines/identity-oracle.d.ts +550 -0
  120. package/dist/types/apps/identity/state-machines/identity-universal.d.ts +151 -0
  121. package/dist/types/apps/identity/state-machines/index.d.ts +1069 -567
  122. package/dist/types/apps/index.d.ts +5 -5
  123. package/dist/types/apps/markets/index.d.ts +535 -7
  124. package/dist/types/apps/markets/state-machines/index.d.ts +8 -1678
  125. package/dist/types/apps/markets/state-machines/market-auction.d.ts +392 -0
  126. package/dist/types/apps/markets/state-machines/market-crowdfund.d.ts +443 -0
  127. package/dist/types/apps/markets/state-machines/market-group-buy.d.ts +539 -0
  128. package/dist/types/apps/markets/state-machines/market-prediction.d.ts +651 -0
  129. package/dist/types/apps/markets/state-machines/market-universal.d.ts +191 -0
  130. package/dist/types/apps/oracles/index.d.ts +18 -0
  131. package/dist/types/generated/index.d.ts +3 -2
  132. package/dist/types/generated/ottochain/apps/identity/v1/attestation.d.ts +1 -1
  133. package/dist/types/generated/ottochain/apps/identity/v1/identity.d.ts +187 -0
  134. package/dist/types/schema/fiber-app.d.ts +139 -0
  135. package/dist/types/schema/index.d.ts +4 -0
  136. package/package.json +1 -1
  137. package/dist/cjs/generated/ottochain/apps/identity/v1/agent.js +0 -619
  138. package/dist/cjs/generated/ottochain/apps/oracles/v1/oracle.js +0 -1223
  139. package/dist/esm/generated/ottochain/apps/identity/v1/agent.js +0 -610
  140. package/dist/esm/generated/ottochain/apps/oracles/v1/oracle.js +0 -1217
  141. package/dist/types/generated/ottochain/apps/identity/v1/agent.d.ts +0 -94
  142. package/dist/types/generated/ottochain/apps/oracles/v1/oracle.d.ts +0 -150
@@ -0,0 +1,443 @@
1
+ /**
2
+ * All-or-nothing crowdfunding with threshold, deadline, and stretch goals.
3
+ */
4
+ export declare const marketCrowdfundDef: {
5
+ readonly metadata: {
6
+ readonly name: "MarketCrowdfund";
7
+ readonly app: "markets";
8
+ readonly type: "crowdfund";
9
+ readonly version: "1.0.0";
10
+ readonly description: "All-or-nothing crowdfunding with threshold, deadline, and stretch goals";
11
+ readonly crossReferences: {
12
+ readonly creatorIdentityId: "Links to creator's IdentityAgent";
13
+ readonly treasuryId: "Links to Treasury for fund custody";
14
+ };
15
+ };
16
+ readonly createSchema: {
17
+ readonly required: readonly ["creator", "threshold", "deadline"];
18
+ readonly properties: {
19
+ readonly creator: {
20
+ readonly type: "address";
21
+ readonly description: "DAG address of campaign creator";
22
+ readonly immutable: true;
23
+ };
24
+ readonly threshold: {
25
+ readonly type: "number";
26
+ readonly minimum: 0;
27
+ readonly description: "Funding goal amount";
28
+ readonly immutable: true;
29
+ };
30
+ readonly deadline: {
31
+ readonly type: "timestamp";
32
+ readonly description: "Campaign deadline";
33
+ readonly immutable: true;
34
+ };
35
+ readonly minPledge: {
36
+ readonly type: "number";
37
+ readonly minimum: 0;
38
+ readonly description: "Minimum pledge amount";
39
+ };
40
+ readonly stretchGoals: {
41
+ readonly type: "array";
42
+ readonly description: "Stretch goal targets";
43
+ };
44
+ };
45
+ };
46
+ readonly stateSchema: {
47
+ readonly properties: {
48
+ readonly status: {
49
+ readonly type: "string";
50
+ readonly computed: true;
51
+ };
52
+ readonly creator: {
53
+ readonly type: "address";
54
+ readonly immutable: true;
55
+ };
56
+ readonly threshold: {
57
+ readonly type: "number";
58
+ readonly immutable: true;
59
+ };
60
+ readonly deadline: {
61
+ readonly type: "timestamp";
62
+ readonly immutable: true;
63
+ };
64
+ readonly minPledge: {
65
+ readonly type: "number";
66
+ };
67
+ readonly stretchGoals: {
68
+ readonly type: "array";
69
+ };
70
+ readonly pledges: {
71
+ readonly type: "array";
72
+ readonly computed: true;
73
+ };
74
+ readonly totalPledged: {
75
+ readonly type: "number";
76
+ readonly computed: true;
77
+ };
78
+ readonly backerCount: {
79
+ readonly type: "number";
80
+ readonly computed: true;
81
+ };
82
+ readonly refundsClaimed: {
83
+ readonly type: "array";
84
+ readonly computed: true;
85
+ };
86
+ };
87
+ };
88
+ readonly eventSchemas: {
89
+ readonly launch: {
90
+ readonly description: "Launch the campaign";
91
+ };
92
+ readonly cancel: {
93
+ readonly description: "Cancel the campaign";
94
+ };
95
+ readonly pledge: {
96
+ readonly description: "Make a pledge";
97
+ readonly required: readonly ["amount"];
98
+ readonly properties: {
99
+ readonly amount: {
100
+ readonly type: "number";
101
+ readonly minimum: 0;
102
+ };
103
+ readonly rewardTier: {
104
+ readonly type: "string";
105
+ };
106
+ };
107
+ };
108
+ readonly increase_pledge: {
109
+ readonly description: "Increase an existing pledge";
110
+ readonly required: readonly ["additionalAmount"];
111
+ readonly properties: {
112
+ readonly additionalAmount: {
113
+ readonly type: "number";
114
+ readonly minimum: 0;
115
+ };
116
+ };
117
+ };
118
+ readonly finalize: {
119
+ readonly description: "Finalize the campaign after deadline";
120
+ };
121
+ readonly claim_refund: {
122
+ readonly description: "Claim refund in failed campaign";
123
+ };
124
+ };
125
+ readonly states: {
126
+ readonly PROPOSED: {
127
+ readonly id: "PROPOSED";
128
+ readonly isFinal: false;
129
+ readonly metadata: {
130
+ readonly description: "Campaign created but not yet open";
131
+ };
132
+ };
133
+ readonly OPEN: {
134
+ readonly id: "OPEN";
135
+ readonly isFinal: false;
136
+ readonly metadata: {
137
+ readonly description: "Accepting pledges";
138
+ };
139
+ };
140
+ readonly FUNDED: {
141
+ readonly id: "FUNDED";
142
+ readonly isFinal: true;
143
+ readonly metadata: {
144
+ readonly description: "Threshold met, funds released to creator";
145
+ };
146
+ };
147
+ readonly REFUNDED: {
148
+ readonly id: "REFUNDED";
149
+ readonly isFinal: true;
150
+ readonly metadata: {
151
+ readonly description: "Threshold not met, all pledges refunded";
152
+ };
153
+ };
154
+ readonly CANCELLED: {
155
+ readonly id: "CANCELLED";
156
+ readonly isFinal: true;
157
+ readonly metadata: {
158
+ readonly description: "Campaign cancelled by creator";
159
+ };
160
+ };
161
+ };
162
+ readonly initialState: "PROPOSED";
163
+ readonly transitions: readonly [{
164
+ readonly from: "PROPOSED";
165
+ readonly to: "OPEN";
166
+ readonly eventName: "launch";
167
+ readonly guard: {
168
+ readonly "===": readonly [{
169
+ readonly var: "event.agent";
170
+ }, {
171
+ readonly var: "state.creator";
172
+ }];
173
+ };
174
+ readonly effect: {
175
+ readonly merge: readonly [{
176
+ readonly var: "state";
177
+ }, {
178
+ readonly status: "OPEN";
179
+ readonly launchedAt: {
180
+ readonly var: "$timestamp";
181
+ };
182
+ readonly pledges: readonly [];
183
+ readonly totalPledged: 0;
184
+ readonly backerCount: 0;
185
+ }];
186
+ };
187
+ readonly dependencies: readonly [];
188
+ }, {
189
+ readonly from: "PROPOSED";
190
+ readonly to: "CANCELLED";
191
+ readonly eventName: "cancel";
192
+ readonly guard: {
193
+ readonly "===": readonly [{
194
+ readonly var: "event.agent";
195
+ }, {
196
+ readonly var: "state.creator";
197
+ }];
198
+ };
199
+ readonly effect: {
200
+ readonly merge: readonly [{
201
+ readonly var: "state";
202
+ }, {
203
+ readonly status: "CANCELLED";
204
+ readonly cancelledAt: {
205
+ readonly var: "$timestamp";
206
+ };
207
+ }];
208
+ };
209
+ readonly dependencies: readonly [];
210
+ }, {
211
+ readonly from: "OPEN";
212
+ readonly to: "OPEN";
213
+ readonly eventName: "pledge";
214
+ readonly guard: {
215
+ readonly and: readonly [{
216
+ readonly ">": readonly [{
217
+ readonly var: "event.amount";
218
+ }, 0];
219
+ }, {
220
+ readonly "!==": readonly [{
221
+ readonly var: "event.agent";
222
+ }, {
223
+ readonly var: "state.creator";
224
+ }];
225
+ }, {
226
+ readonly or: readonly [{
227
+ readonly "!": readonly [{
228
+ readonly var: "state.minPledge";
229
+ }];
230
+ }, {
231
+ readonly ">=": readonly [{
232
+ readonly var: "event.amount";
233
+ }, {
234
+ readonly var: "state.minPledge";
235
+ }];
236
+ }];
237
+ }, {
238
+ readonly "<=": readonly [{
239
+ readonly var: "$timestamp";
240
+ }, {
241
+ readonly var: "state.deadline";
242
+ }];
243
+ }];
244
+ };
245
+ readonly effect: {
246
+ readonly merge: readonly [{
247
+ readonly var: "state";
248
+ }, {
249
+ readonly pledges: {
250
+ readonly cat: readonly [{
251
+ readonly var: "state.pledges";
252
+ }, readonly [{
253
+ readonly backer: {
254
+ readonly var: "event.agent";
255
+ };
256
+ readonly amount: {
257
+ readonly var: "event.amount";
258
+ };
259
+ readonly rewardTier: {
260
+ readonly var: "event.rewardTier";
261
+ };
262
+ readonly pledgedAt: {
263
+ readonly var: "$timestamp";
264
+ };
265
+ }]];
266
+ };
267
+ readonly totalPledged: {
268
+ readonly "+": readonly [{
269
+ readonly var: "state.totalPledged";
270
+ }, {
271
+ readonly var: "event.amount";
272
+ }];
273
+ };
274
+ readonly backerCount: {
275
+ readonly "+": readonly [{
276
+ readonly var: "state.backerCount";
277
+ }, 1];
278
+ };
279
+ }];
280
+ };
281
+ readonly dependencies: readonly [];
282
+ }, {
283
+ readonly from: "OPEN";
284
+ readonly to: "OPEN";
285
+ readonly eventName: "increase_pledge";
286
+ readonly guard: {
287
+ readonly and: readonly [{
288
+ readonly ">": readonly [{
289
+ readonly var: "event.additionalAmount";
290
+ }, 0];
291
+ }, {
292
+ readonly "<=": readonly [{
293
+ readonly var: "$timestamp";
294
+ }, {
295
+ readonly var: "state.deadline";
296
+ }];
297
+ }, {
298
+ readonly ">": readonly [{
299
+ readonly size: {
300
+ readonly filter: readonly [{
301
+ readonly var: "state.pledges";
302
+ }, {
303
+ readonly "===": readonly [{
304
+ readonly var: "backer";
305
+ }, {
306
+ readonly var: "event.agent";
307
+ }];
308
+ }];
309
+ };
310
+ }, 0];
311
+ }];
312
+ };
313
+ readonly effect: {
314
+ readonly merge: readonly [{
315
+ readonly var: "state";
316
+ }, {
317
+ readonly totalPledged: {
318
+ readonly "+": readonly [{
319
+ readonly var: "state.totalPledged";
320
+ }, {
321
+ readonly var: "event.additionalAmount";
322
+ }];
323
+ };
324
+ }];
325
+ };
326
+ readonly dependencies: readonly [];
327
+ }, {
328
+ readonly from: "OPEN";
329
+ readonly to: "FUNDED";
330
+ readonly eventName: "finalize";
331
+ readonly guard: {
332
+ readonly and: readonly [{
333
+ readonly ">=": readonly [{
334
+ readonly var: "state.totalPledged";
335
+ }, {
336
+ readonly var: "state.threshold";
337
+ }];
338
+ }, {
339
+ readonly ">=": readonly [{
340
+ readonly var: "$timestamp";
341
+ }, {
342
+ readonly var: "state.deadline";
343
+ }];
344
+ }];
345
+ };
346
+ readonly effect: {
347
+ readonly merge: readonly [{
348
+ readonly var: "state";
349
+ }, {
350
+ readonly status: "FUNDED";
351
+ readonly fundedAt: {
352
+ readonly var: "$timestamp";
353
+ };
354
+ readonly stretchGoalsReached: {
355
+ readonly filter: readonly [{
356
+ readonly var: "state.stretchGoals";
357
+ }, {
358
+ readonly "<=": readonly [{
359
+ readonly var: "target";
360
+ }, {
361
+ readonly var: "state.totalPledged";
362
+ }];
363
+ }];
364
+ };
365
+ }];
366
+ };
367
+ readonly dependencies: readonly [];
368
+ }, {
369
+ readonly from: "OPEN";
370
+ readonly to: "REFUNDED";
371
+ readonly eventName: "finalize";
372
+ readonly guard: {
373
+ readonly and: readonly [{
374
+ readonly "<": readonly [{
375
+ readonly var: "state.totalPledged";
376
+ }, {
377
+ readonly var: "state.threshold";
378
+ }];
379
+ }, {
380
+ readonly ">=": readonly [{
381
+ readonly var: "$timestamp";
382
+ }, {
383
+ readonly var: "state.deadline";
384
+ }];
385
+ }];
386
+ };
387
+ readonly effect: {
388
+ readonly merge: readonly [{
389
+ readonly var: "state";
390
+ }, {
391
+ readonly status: "REFUNDED";
392
+ readonly refundedAt: {
393
+ readonly var: "$timestamp";
394
+ };
395
+ readonly reason: "threshold_not_met";
396
+ }];
397
+ };
398
+ readonly dependencies: readonly [];
399
+ }, {
400
+ readonly from: "REFUNDED";
401
+ readonly to: "REFUNDED";
402
+ readonly eventName: "claim_refund";
403
+ readonly guard: {
404
+ readonly and: readonly [{
405
+ readonly ">": readonly [{
406
+ readonly size: {
407
+ readonly filter: readonly [{
408
+ readonly var: "state.pledges";
409
+ }, {
410
+ readonly "===": readonly [{
411
+ readonly var: "backer";
412
+ }, {
413
+ readonly var: "event.agent";
414
+ }];
415
+ }];
416
+ };
417
+ }, 0];
418
+ }, {
419
+ readonly "!": readonly [{
420
+ readonly in: readonly [{
421
+ readonly var: "event.agent";
422
+ }, {
423
+ readonly var: "state.refundsClaimed";
424
+ }];
425
+ }];
426
+ }];
427
+ };
428
+ readonly effect: {
429
+ readonly merge: readonly [{
430
+ readonly var: "state";
431
+ }, {
432
+ readonly refundsClaimed: {
433
+ readonly cat: readonly [{
434
+ readonly var: "state.refundsClaimed";
435
+ }, readonly [{
436
+ readonly var: "event.agent";
437
+ }]];
438
+ };
439
+ }];
440
+ };
441
+ readonly dependencies: readonly [];
442
+ }];
443
+ };