@stellar-expert/tx-meta-effects-parser 9.1.0 → 9.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/README.MD CHANGED
@@ -102,14 +102,28 @@ parseTxOperationsMeta({
102
102
  <td><sub>Transaction, FeeBumpTransaction</sub></td>
103
103
  <td>
104
104
 
105
- ```js
105
+ ```json
106
+ {
107
+ "type": "feeCharged",
108
+ "source": "GBKP…YDLI",
109
+ "asset": "XLM",
110
+ "bid": "10000",
111
+ "charged": "100",
112
+ "balance": "99999999900"
113
+ }
114
+ ```
115
+
116
+ For fee-bump transactions:
117
+
118
+ ```json
106
119
  {
107
- type: 'feeCharged',
108
- source: 'GBKPYDLI',
109
- asset: 'XLM',
110
- bid: '10000',
111
- charged: '100',
112
- balance: '99999999900'
120
+ "type": "feeCharged",
121
+ "source": "GANQKDUJ",
122
+ "asset": "XLM",
123
+ "bid": "100000000",
124
+ "charged": "43598",
125
+ "balance": "99999956402",
126
+ "bump": true
113
127
  }
114
128
  ```
115
129
  </td>
@@ -122,11 +136,22 @@ parseTxOperationsMeta({
122
136
  <td><sub>CreateAccountOp</sub></td>
123
137
  <td>
124
138
 
125
- ```js
139
+ ```json
126
140
  {
127
- type: 'accountCreated',
128
- source: 'GBKP…YDLI',
129
- account: 'GBWC…DXHN'
141
+ "type": "accountCreated",
142
+ "source": "GBKP…YDLI",
143
+ "account": "GBWC…DXHN"
144
+ }
145
+ ```
146
+
147
+ For sponsored accounts:
148
+
149
+ ```json
150
+ {
151
+ "type": "accountCreated",
152
+ "source": "GBKP…YDLI",
153
+ "account": "GDNP…CMXH",
154
+ "sponsor": "GBKP…YDLI"
130
155
  }
131
156
  ```
132
157
  </td>
@@ -139,10 +164,20 @@ parseTxOperationsMeta({
139
164
  <td><sub>AccountMergeOp</sub></td>
140
165
  <td>
141
166
 
142
- ```js
167
+ ```json
168
+ {
169
+ "type": "accountRemoved",
170
+ "source": "GBKP…YDLI"
171
+ }
172
+ ```
173
+
174
+ For sponsored accounts:
175
+
176
+ ```json
143
177
  {
144
- type: 'accountRemoved',
145
- source: 'GBKPYDLI'
178
+ "type": "accountRemoved",
179
+ "source": "GDNPCMXH",
180
+ "sponsor": "GBDO…XPCB"
146
181
  }
147
182
  ```
148
183
  </td>
@@ -156,13 +191,13 @@ parseTxOperationsMeta({
156
191
  PathPaymentStrictSendOp, CreateClaimableBalanceOp, ClawbackOp, InvokeHostFunctionOp</sub></td>
157
192
  <td>
158
193
 
159
- ```js
194
+ ```json
160
195
  {
161
- type: 'accountDebited',
162
- source: 'GBKP…YDLI',
163
- asset: 'XLM',
164
- amount: '1000000000',
165
- balance: '199999999900'
196
+ "type": "accountDebited",
197
+ "source": "GBKP…YDLI",
198
+ "asset": "XLM",
199
+ "amount": "1000000000",
200
+ "balance": "199999999900"
166
201
  }
167
202
  ```
168
203
  </td>
@@ -177,13 +212,13 @@ PathPaymentStrictSendOp, ClaimClaimableBalanceOp, ClawbackOp,
177
212
  ClawbackClaimableBalance, InflationOp, InvokeHostFunctionOp</sub></td>
178
213
  <td>
179
214
 
180
- ```js
215
+ ```json
181
216
  {
182
- type: 'accountCredited',
183
- source: 'GBWC…DXHN',
184
- asset: 'XLM',
185
- amount: '1000000000',
186
- balance: '299999999900'
217
+ "type": "accountCredited",
218
+ "source": "GBWC…DXHN",
219
+ "asset": "XLM",
220
+ "amount": "1000000000",
221
+ "balance": "299999999900"
187
222
  }
188
223
  ```
189
224
  </td>
@@ -196,11 +231,11 @@ ClawbackClaimableBalance, InflationOp, InvokeHostFunctionOp</sub></td>
196
231
  <td><sub>SetOptionsOp</sub></td>
197
232
  <td>
198
233
 
199
- ```js
234
+ ```json
200
235
  {
201
- type: 'accountHomeDomainUpdated',
202
- source: 'GBWC…DXHN',
203
- domain: 'example.com'
236
+ "type": "accountHomeDomainUpdated",
237
+ "source": "GBWC…DXHN",
238
+ "domain": "example.com"
204
239
  }
205
240
  ```
206
241
  </td>
@@ -213,11 +248,11 @@ ClawbackClaimableBalance, InflationOp, InvokeHostFunctionOp</sub></td>
213
248
  <td><sub>SetOptionsOp</sub></td>
214
249
  <td>
215
250
 
216
- ```js
251
+ ```json
217
252
  {
218
- type: 'accountThresholdsUpdated',
219
- source: 'GBWC…DXHN',
220
- thresholds: [1, 1 ,3]
253
+ "type": "accountThresholdsUpdated",
254
+ "source": "GBWC…DXHN",
255
+ "thresholds": [1, 1 ,3]
221
256
  }
222
257
  ```
223
258
  </td>
@@ -230,12 +265,12 @@ ClawbackClaimableBalance, InflationOp, InvokeHostFunctionOp</sub></td>
230
265
  <td><sub>SetOptionsOp</sub></td>
231
266
  <td>
232
267
 
233
- ```js
268
+ ```json
234
269
  {
235
- type: 'accountFlagsUpdated',
236
- source: 'GBWC…DXHN',
237
- flags: 2,
238
- prevFlags: 0
270
+ "type": "accountFlagsUpdated",
271
+ "source": "GBWC…DXHN",
272
+ "flags": 2,
273
+ "prevFlags": 0
239
274
  }
240
275
  ```
241
276
  </td>
@@ -248,11 +283,11 @@ ClawbackClaimableBalance, InflationOp, InvokeHostFunctionOp</sub></td>
248
283
  <td><sub>SetOptionsOp</sub></td>
249
284
  <td>
250
285
 
251
- ```js
286
+ ```json
252
287
  {
253
- type: 'accountInflationDestinationUpdated',
254
- source: 'GBWC…DXHN',
255
- inflationDestination: 'GBKP…YDLI'
288
+ "type": "accountInflationDestinationUpdated",
289
+ "source": "GBWC…DXHN",
290
+ "inflationDestination": "GBKP…YDLI"
256
291
  }
257
292
  ```
258
293
  </td>
@@ -265,15 +300,15 @@ ClawbackClaimableBalance, InflationOp, InvokeHostFunctionOp</sub></td>
265
300
  <td><sub>SetOptionsOp</sub></td>
266
301
  <td>
267
302
 
268
- ```js
303
+ ```json
269
304
  {
270
- type: 'accountSignerCreated',
271
- source: 'GBWC…DXHN',
272
- signer: 'GBKP…YDLI',
273
- weight: 1,
274
- signers: [
275
- {key: 'GBWC…DXHN', weight: 1},
276
- {key: 'GBKP…YDLI', weight: 1}
305
+ "type": "accountSignerCreated",
306
+ "source": "GBWC…DXHN",
307
+ "signer": "GBKP…YDLI",
308
+ "weight": 1,
309
+ "signers": [
310
+ {"key": "GBWC…DXHN", "weight": 1},
311
+ {"key": "GBKP…YDLI", "weight": 1}
277
312
  ]
278
313
  }
279
314
  ```
@@ -288,15 +323,15 @@ ClawbackClaimableBalance, InflationOp, InvokeHostFunctionOp</sub></td>
288
323
  <td><sub>SetOptionsOp</sub></td>
289
324
  <td>
290
325
 
291
- ```js
326
+ ```json
292
327
  {
293
- type: 'accountSignerUpdated',
294
- source: 'GBWC…DXHN',
295
- signer: 'GBKP…YDLI',
296
- weight: 2,
297
- signers: [
298
- {key: 'GBWC…DXHN', weight: 2},
299
- {key: 'GBKP…YDLI', weight: 1}
328
+ "type": "accountSignerUpdated",
329
+ "source": "GBWC…DXHN",
330
+ "signer": "GBKP…YDLI",
331
+ "weight": 2,
332
+ "signers": [
333
+ {"key": "GBWC…DXHN", "weight": 2},
334
+ {"key": "GBKP…YDLI", "weight": 1}
300
335
  ]
301
336
  }
302
337
  ```
@@ -311,14 +346,14 @@ ClawbackClaimableBalance, InflationOp, InvokeHostFunctionOp</sub></td>
311
346
  <td><sub>SetOptionsOp</sub></td>
312
347
  <td>
313
348
 
314
- ```js
349
+ ```json
315
350
  {
316
- type: 'accountSignerRemoved',
317
- source: 'GBWC…DXHN',
318
- weight: 0,
319
- signer: 'GBKP…YDLI',
320
- signers: [
321
- {key: 'GBWC…DXHN', weight: 1}
351
+ "type": "accountSignerRemoved",
352
+ "source": "GBWC…DXHN",
353
+ "weight": 0,
354
+ "signer": "GBKP…YDLI",
355
+ "signers": [
356
+ {"key": "GBWC…DXHN", "weight": 1}
322
357
  ]
323
358
  }
324
359
  ```
@@ -333,14 +368,41 @@ ClawbackClaimableBalance, InflationOp, InvokeHostFunctionOp</sub></td>
333
368
  <td><sub>ChangeTrustOp</sub></td>
334
369
  <td>
335
370
 
336
- ```js
371
+ ```json
372
+ {
373
+ "type": "trustlineCreated",
374
+ "source": "GBWC…DXHN",
375
+ "asset": "USD-GBKP…YDLI-1",
376
+ "kind": "asset",
377
+ "limit": "1000000000",
378
+ "flags": 1
379
+ }
380
+ ```
381
+
382
+ For a liquidity pool trustlines:
383
+
384
+ ```json
337
385
  {
338
- type: 'trustlineCreated',
339
- source: 'GBWCDXHN',
340
- asset: 'USD-GBKPYDLI-1',
341
- kind: 'asset',
342
- limit: '1000000000',
343
- flags: 1
386
+ "type": "trustlineCreated",
387
+ "source": "GBKPYDLI",
388
+ "asset": "LA7FHJLT",
389
+ "kind": "poolShares",
390
+ "limit": "100000000000000",
391
+ "flags": 0
392
+ }
393
+ ```
394
+
395
+ For sponsored trustlines:
396
+
397
+ ```json
398
+ {
399
+ "type": "trustlineCreated",
400
+ "source": "GDNP…CMXH",
401
+ "asset": "USD-GBKP…YDLI-1",
402
+ "kind": "asset",
403
+ "limit": "100000000000000",
404
+ "flags": 5,
405
+ "sponsor": "GBKP…YDLI"
344
406
  }
345
407
  ```
346
408
 
@@ -354,15 +416,15 @@ ClawbackClaimableBalance, InflationOp, InvokeHostFunctionOp</sub></td>
354
416
  <td><sub>ChangeTrustOp, AllowTrustOp, SetTrustLineFlagsOp</sub></td>
355
417
  <td>
356
418
 
357
- ```js
419
+ ```json
358
420
  {
359
- type: 'trustlineUpdated',
360
- source: 'GBWC…DXHN',
361
- asset: 'USD-GBKP…YDLI-1',
362
- kind: 'asset',
363
- limit: '2000000000',
364
- flags: 5,
365
- prevFlags: 5
421
+ "type": "trustlineUpdated",
422
+ "source": "GBWC…DXHN",
423
+ "asset": "USD-GBKP…YDLI-1",
424
+ "kind": "asset",
425
+ "limit": "2000000000",
426
+ "flags": 5,
427
+ "prevFlags": 5
366
428
  }
367
429
  ```
368
430
 
@@ -376,13 +438,26 @@ ClawbackClaimableBalance, InflationOp, InvokeHostFunctionOp</sub></td>
376
438
  <td><sub>ChangeTrustOp</sub></td>
377
439
  <td>
378
440
 
379
- ```js
441
+ ```json
380
442
  {
381
- type: 'trustlineRemoved',
382
- source: 'GBWC…DXHN',
383
- asset: 'USD-GBKP…YDLI-1',
384
- kind: 'asset',
385
- flags: 4,
443
+ "type": "trustlineRemoved",
444
+ "source": "GBWC…DXHN",
445
+ "asset": "USD-GBKP…YDLI-1",
446
+ "kind": "asset",
447
+ "flags": 4
448
+ }
449
+ ```
450
+
451
+ For sponsored trustlines:
452
+
453
+ ```json
454
+ {
455
+ "type": "trustlineRemoved",
456
+ "source": "GDNP…CMXH",
457
+ "asset": "USD-GBKP…YDLI-1",
458
+ "kind": "asset",
459
+ "flags": 5,
460
+ "sponsor": "GBDO…XPCB"
386
461
  }
387
462
  ```
388
463
 
@@ -396,14 +471,14 @@ ClawbackClaimableBalance, InflationOp, InvokeHostFunctionOp</sub></td>
396
471
  <td><sub>AllowTrustOp, SetTrustLineFlagsOp</sub></td>
397
472
  <td>
398
473
 
399
- ```js
474
+ ```json
400
475
  {
401
- type: 'trustlineAuthorizationUpdated',
402
- source: 'GBWC…DXHN',
403
- trustor: 'GBKP…YDLI',
404
- asset: 'USD-GBWC…DXHN-1',
405
- flags: 5,
406
- prevFlags: 2
476
+ "type": "trustlineAuthorizationUpdated",
477
+ "source": "GBWC…DXHN",
478
+ "trustor": "GBKP…YDLI",
479
+ "asset": "USD-GBWC…DXHN-1",
480
+ "flags": 5,
481
+ "prevFlags": 2
407
482
  }
408
483
  ```
409
484
 
@@ -418,12 +493,12 @@ ClawbackClaimableBalance, InflationOp, InvokeHostFunctionOp</sub></td>
418
493
  ManageBuyOfferOp, ManageSellOfferOp, CreatePassiveOfferOp, DepositLiquidityOp, InvokeHostFunctionOp</sub></td>
419
494
  <td>
420
495
 
421
- ```js
496
+ ```json
422
497
  {
423
- type: 'assetMinted',
424
- source: 'GBWC…DXHN',
425
- asset: 'USD-GBWC…DXHN-1',
426
- amount: '1000000000'
498
+ "type": "assetMinted",
499
+ "source": "GBWC…DXHN",
500
+ "asset": "USD-GBWC…DXHN-1",
501
+ "amount": "1000000000"
427
502
  }
428
503
  ```
429
504
 
@@ -438,12 +513,12 @@ ManageBuyOfferOp, ManageSellOfferOp, CreatePassiveOfferOp, DepositLiquidityOp, I
438
513
  CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp, InvokeHostFunctionOp</sub></td>
439
514
  <td>
440
515
 
441
- ```js
516
+ ```json
442
517
  {
443
- type: 'assetBurned',
444
- source: 'GBWC…DXHN',
445
- asset: 'USD-GBWC…DXHN-1',
446
- amount: '2000000000'
518
+ "type": "assetBurned",
519
+ "source": "GBWC…DXHN",
520
+ "asset": "USD-GBWC…DXHN-1",
521
+ "amount": "2000000000"
447
522
  }
448
523
  ```
449
524
 
@@ -457,19 +532,38 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
457
532
  <td><sub>CreatePassiveOfferOp, ManageBuyOfferOp, ManageSellOfferOp</sub></td>
458
533
  <td>
459
534
 
460
- ```js
535
+ ```json
536
+ {
537
+ "type": "offerCreated",
538
+ "source": "GBWC…DXHN",
539
+ "offer": "90427",
540
+ "owner": "GBWC…DXHN",
541
+ "amount": "1000000000",
542
+ "asset": [
543
+ "USD-GBKP…YDLI-1",
544
+ "XLM"
545
+ ],
546
+ "price": 0.09215,
547
+ "flags": 0
548
+ }
549
+ ```
550
+
551
+ For sponsored offers:
552
+
553
+ ```json
461
554
  {
462
- type: 'offerCreated',
463
- source: 'GBWCDXHN',
464
- offer: '90427',
465
- owner: 'GBWCDXHN',
466
- amount: '1000000000',
467
- asset: [
468
- 'USD-GBKPYDLI-1',
469
- 'XLM'
555
+ "type": "offerCreated",
556
+ "source": "GDNPCMXH",
557
+ "offer": "195459",
558
+ "owner": "GDNPCMXH",
559
+ "amount": "1000000000",
560
+ "asset": [
561
+ "USD-GDNPCMXH-1",
562
+ "XLM"
470
563
  ],
471
- price: 0.09215,
472
- flags: 0
564
+ "price": 1,
565
+ "flags": 0,
566
+ "sponsor": "GBKP…YDLI"
473
567
  }
474
568
  ```
475
569
 
@@ -483,19 +577,19 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
483
577
  <td><sub>CreatePassiveOfferOp, ManageBuyOfferOp, ManageSellOfferOp, PathPaymentOp</sub></td>
484
578
  <td>
485
579
 
486
- ```js
580
+ ```json
487
581
  {
488
- type: 'offerUpdated',
489
- source: 'GBWC…DXHN',
490
- offer: '90427',
491
- owner: 'GBWC…DXHN',
492
- amount: '900000000',
493
- asset: [
494
- 'USD-GBKP…YDLI-1',
495
- 'XLM'
582
+ "type": "offerUpdated",
583
+ "source": "GBWC…DXHN",
584
+ "offer": "90427",
585
+ "owner": "GBWC…DXHN",
586
+ "amount": "900000000",
587
+ "asset": [
588
+ "USD-GBKP…YDLI-1",
589
+ "XLM"
496
590
  ],
497
- price: 0.09215,
498
- flags: 0
591
+ "price": 0.09215,
592
+ "flags": 0
499
593
  }
500
594
  ```
501
595
 
@@ -509,17 +603,34 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
509
603
  <td><sub>CreatePassiveOfferOp, ManageBuyOfferOp, ManageSellOfferOp, PathPaymentOp, AllowTrustOp, SetTrustLineFlagsOp</sub></td>
510
604
  <td>
511
605
 
512
- ```js
606
+ ```json
607
+ {
608
+ "type": "offerRemoved",
609
+ "source": "GBWC…DXHN",
610
+ "offer": "90427",
611
+ "owner": "GBWC…DXHN",
612
+ "asset": [
613
+ "USD-GBKP…YDLI-1",
614
+ "XLM"
615
+ ],
616
+ "flags": 0
617
+ }
618
+ ```
619
+
620
+ For sponsored offers:
621
+
622
+ ```json
513
623
  {
514
- type: 'offerRemoved',
515
- source: 'GBWCDXHN',
516
- offer: '90427',
517
- owner: 'GBWCDXHN',
518
- asset: [
519
- 'USD-GBKPYDLI-1',
520
- 'XLM'
624
+ "type": "offerRemoved",
625
+ "source": "GDNPCMXH",
626
+ "offer": "195459",
627
+ "owner": "GDNPCMXH",
628
+ "asset": [
629
+ "USD-GDNPCMXH-1",
630
+ "XLM"
521
631
  ],
522
- flags: 0
632
+ "flags": 0,
633
+ "sponsor": "GBDO…XPCB"
523
634
  }
524
635
  ```
525
636
 
@@ -533,23 +644,23 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
533
644
  <td><sub>ChangeTrustOp</sub></td>
534
645
  <td>
535
646
 
536
- ```js
647
+ ```json
537
648
  {
538
- type: 'liquidityPoolCreated',
539
- source: 'GBWC…DXHN',
540
- pool: 'LA7F…HJLT',
541
- reserves: [
649
+ "type": "liquidityPoolCreated",
650
+ "source": "GBWC…DXHN",
651
+ "pool": "LA7F…HJLT",
652
+ "reserves": [
542
653
  {
543
- asset: 'XLM',
544
- amount: '0'
654
+ "asset": "XLM",
655
+ "amount": "0"
545
656
  },
546
657
  {
547
- asset: 'USD-GBKP…YDLI-1',
548
- amount: '0'
658
+ "asset": "USD-GBKP…YDLI-1",
659
+ "amount": "0"
549
660
  }
550
661
  ],
551
- shares: '0',
552
- accounts: 1
662
+ "shares": "0",
663
+ "accounts": 1
553
664
  }
554
665
  ```
555
666
 
@@ -563,23 +674,23 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
563
674
  <td><sub>DepositLiquidityOp, WithdrawLiquidityOp, AllowTrustOp, SetTrustLineFlagsOp</sub></td>
564
675
  <td>
565
676
 
566
- ```js
677
+ ```json
567
678
  {
568
- type: 'liquidityPoolUpdated',
569
- source: 'GBWC…DXHN',
570
- pool: 'LA7F…HJLT',
571
- reserves: [
679
+ "type": "liquidityPoolUpdated",
680
+ "source": "GBWC…DXHN",
681
+ "pool": "LA7F…HJLT",
682
+ "reserves": [
572
683
  {
573
- asset: 'XLM',
574
- amount: '10000000000'
684
+ "asset": "XLM",
685
+ "amount": "10000000000"
575
686
  },
576
687
  {
577
- asset: 'USD-GBKP…YDLI-1',
578
- amount: '10000000000'
688
+ "asset": "USD-GBKP…YDLI-1",
689
+ "amount": "10000000000"
579
690
  }
580
691
  ],
581
- shares: '10000000000',
582
- accounts: 2
692
+ "shares": "10000000000",
693
+ "accounts": 2
583
694
  }
584
695
  ```
585
696
 
@@ -593,23 +704,23 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
593
704
  <td><sub>DepositLiquidityOp</sub></td>
594
705
  <td>
595
706
 
596
- ```js
707
+ ```json
597
708
  {
598
- type: 'liquidityPoolDeposited',
599
- source: 'GBWC…DXHN',
600
- pool: 'LA7F…HJLT',
601
- assets: [
709
+ "type": "liquidityPoolDeposited",
710
+ "source": "GBWC…DXHN",
711
+ "pool": "LA7F…HJLT",
712
+ "assets": [
602
713
  {
603
- asset: 'XLM',
604
- amount: '10000000000'
714
+ "asset": "XLM",
715
+ "amount": "10000000000"
605
716
  },
606
717
  {
607
- asset: 'USD-GBKP…YDLI-1',
608
- amount: '10000000000'
718
+ "asset": "USD-GBKP…YDLI-1",
719
+ "amount": "10000000000"
609
720
  }
610
721
  ],
611
- shares: '10000000000',
612
- accounts: 2
722
+ "shares": "10000000000",
723
+ "accounts": 2
613
724
  }
614
725
  ```
615
726
 
@@ -623,23 +734,23 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
623
734
  <td><sub>WithdrawLiquidityOp</sub></td>
624
735
  <td>
625
736
 
626
- ```js
737
+ ```json
627
738
  {
628
- type: 'liquidityPoolWithdrew',
629
- source: 'GBWC…DXHN',
630
- pool: 'LA7F…HJLT',
631
- assets: [
739
+ "type": "liquidityPoolWithdrew",
740
+ "source": "GBWC…DXHN",
741
+ "pool": "LA7F…HJLT",
742
+ "assets": [
632
743
  {
633
- asset: 'XLM',
634
- amount: '5000000000'
744
+ "asset": "XLM",
745
+ "amount": "5000000000"
635
746
  },
636
747
  {
637
- asset: 'USD-GBKP…YDLI-1',
638
- amount: '5000000000'
748
+ "asset": "USD-GBKP…YDLI-1",
749
+ "amount": "5000000000"
639
750
  }
640
751
  ],
641
- shares: '5000000000',
642
- accounts: 1
752
+ "shares": "5000000000",
753
+ "accounts": 1
643
754
  }
644
755
  ```
645
756
 
@@ -653,11 +764,11 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
653
764
  <td><sub>ChangeTrustOp, AllowTrustOp, SetTrustLineFlagsOp</sub></td>
654
765
  <td>
655
766
 
656
- ```js
767
+ ```json
657
768
  {
658
- type: 'liquidityPoolRemoved',
659
- source: 'GBWC…DXHN',
660
- pool: 'LA7F…HJLT'
769
+ "type": "liquidityPoolRemoved",
770
+ "source": "GBWC…DXHN",
771
+ "pool": "LA7F…HJLT"
661
772
  }
662
773
  ```
663
774
 
@@ -670,21 +781,40 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
670
781
  </td>
671
782
  <td><sub>CreatePassiveOfferOp, ManageBuyOfferOp, ManageSellOfferOp, PathPaymentOp</sub></td>
672
783
  <td>
784
+ For trades against classic DEX:
673
785
 
674
- ```js
786
+ ```json
675
787
  {
676
- type: 'trade',
677
- source: 'GBWC…DXHN',
678
- offer: '14834',
679
- amount: [
680
- '100000000',
681
- '200000000'
788
+ "type": "trade",
789
+ "source": "GBWC…DXHN",
790
+ "offer": "14834",
791
+ "amount": [
792
+ "100000000",
793
+ "200000000"
682
794
  ],
683
- asset: [
684
- 'USD-GBKP…YDLI-1',
685
- 'XLM'
795
+ "asset": [
796
+ "USD-GBKP…YDLI-1",
797
+ "XLM"
686
798
  ],
687
- seller: 'GBKP…YDLI'
799
+ "seller": "GBKP…YDLI"
800
+ }
801
+ ```
802
+
803
+ For trades against classic liquidity pools:
804
+
805
+ ```json
806
+ {
807
+ "type": "trade",
808
+ "source": "GBWC…DXHN",
809
+ "amount": [
810
+ "90661089",
811
+ "100000000"
812
+ ],
813
+ "asset": [
814
+ "EUR-GBKP…YDLI-1",
815
+ "USD-GBKP…YDLI-1"
816
+ ],
817
+ "pool": "LA7F…HJLT"
688
818
  }
689
819
  ```
690
820
 
@@ -698,12 +828,24 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
698
828
  <td><sub>ManageDataOp</sub></td>
699
829
  <td>
700
830
 
701
- ```js
831
+ ```json
702
832
  {
703
- type: 'dataEntryCreated',
704
- source: 'GBWC…DXHN',
705
- name: 'test',
706
- value: 'dGVzdA=='
833
+ "type": "dataEntryCreated",
834
+ "source": "GBWC…DXHN",
835
+ "name": "test",
836
+ "value": "dGVzdA=="
837
+ }
838
+ ```
839
+
840
+ For sponsored data entries:
841
+
842
+ ```json
843
+ {
844
+ "type": "dataEntryCreated",
845
+ "source": "GDNP…CMXH",
846
+ "name": "test",
847
+ "value": "dGVzdA==",
848
+ "sponsor": "GBKP…YDLI"
707
849
  }
708
850
  ```
709
851
 
@@ -717,12 +859,12 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
717
859
  <td><sub>ManageDataOp</sub></td>
718
860
  <td>
719
861
 
720
- ```js
862
+ ```json
721
863
  {
722
- type: 'dataEntryUpdated',
723
- source: 'GBWC…DXHN',
724
- name: 'test',
725
- value: 'dGVzVA=='
864
+ "type": "dataEntryUpdated",
865
+ "source": "GBWC…DXHN",
866
+ "name": "test",
867
+ "value": "dGVzVA=="
726
868
  }
727
869
  ```
728
870
 
@@ -736,11 +878,11 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
736
878
  <td><sub>ManageDataOp</sub></td>
737
879
  <td>
738
880
 
739
- ```js
881
+ ```json
740
882
  {
741
- type: 'dataEntryRemoved',
742
- source: 'GBWC…DXHN',
743
- name: 'test'
883
+ "type": "dataEntryRemoved",
884
+ "source": "GBWC…DXHN",
885
+ "name": "test"
744
886
  }
745
887
  ```
746
888
 
@@ -754,11 +896,11 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
754
896
  <td><sub>BumpSequenceOp</sub></td>
755
897
  <td>
756
898
 
757
- ```js
899
+ ```json
758
900
  {
759
- type: 'sequenceBumped',
760
- source: 'GBWC…DXHN',
761
- sequence: '9223372036854775707'
901
+ "type": "sequenceBumped",
902
+ "source": "GBWC…DXHN",
903
+ "sequence": "9223372036854775707"
762
904
  }
763
905
  ```
764
906
 
@@ -772,10 +914,10 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
772
914
  <td><sub>InflationOp</sub></td>
773
915
  <td>
774
916
 
775
- ```js
917
+ ```json
776
918
  {
777
- type: 'inflation',
778
- source: 'GBWC…DXHN'
919
+ "type": "inflation",
920
+ "source": "GBWC…DXHN"
779
921
  }
780
922
  ```
781
923
 
@@ -789,19 +931,19 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
789
931
  <td><sub>CreateClaimableBalanceOp, AllowTrustOp, SetTrustLineFlagsOp</sub></td>
790
932
  <td>
791
933
 
792
- ```js
934
+ ```json
793
935
  {
794
- type: 'claimableBalanceCreated',
795
- source: 'GBWC…DXHN',
796
- sponsor: 'GBWC…DXHN',
797
- balance: 'BDKD…F75Y',
798
- asset: 'XLM',
799
- amount: '1000000000',
800
- claimants: [
936
+ "type": "claimableBalanceCreated",
937
+ "source": "GBWC…DXHN",
938
+ "sponsor": "GBWC…DXHN",
939
+ "balance": "BDKD…F75Y",
940
+ "asset": "XLM",
941
+ "amount": "1000000000",
942
+ "claimants": [
801
943
  {
802
- destination: 'GBKP…YDLI',
803
- predicate: {
804
- absBefore: '1671220240580'
944
+ "destination": "GBKP…YDLI",
945
+ "predicate": {
946
+ "absBefore": "1671220240580"
805
947
  }
806
948
  }
807
949
  ]
@@ -818,19 +960,19 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
818
960
  <td><sub>ClaimClaimableBalanceOp, ClawbackClaimableBalanceOp</sub></td>
819
961
  <td>
820
962
 
821
- ```js
963
+ ```json
822
964
  {
823
- type: 'claimableBalanceRemoved',
824
- source: 'GBKP…YDLI',
825
- sponsor: 'GBWC…DXHN',
826
- balance: 'BDKD…F75Y',
827
- asset: 'XLM',
828
- amount: '1000000000',
829
- claimants: [
965
+ "type": "claimableBalanceRemoved",
966
+ "source": "GBKP…YDLI",
967
+ "sponsor": "GBWC…DXHN",
968
+ "balance": "BDKD…F75Y",
969
+ "asset": "XLM",
970
+ "amount": "1000000000",
971
+ "claimants": [
830
972
  {
831
- destination: 'GBKP…YDLI',
832
- predicate: {
833
- absBefore: '1671220240580'
973
+ "destination": "GBKP…YDLI",
974
+ "predicate": {
975
+ "absBefore": "1671220240580"
834
976
  }
835
977
  }
836
978
  ]
@@ -847,12 +989,12 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
847
989
  <td><sub>CreateAccountOp</sub></td>
848
990
  <td>
849
991
 
850
- ```js
992
+ ```json
851
993
  {
852
- type: 'accountSponsorshipCreated',
853
- source: 'GBWC…DXHN',
854
- sponsor: 'GBWC…DXHN',
855
- account: 'GBKP…YDLI'
994
+ "type": "accountSponsorshipCreated",
995
+ "source": "GBWC…DXHN",
996
+ "sponsor": "GBWC…DXHN",
997
+ "account": "GBKP…YDLI"
856
998
  }
857
999
  ```
858
1000
 
@@ -866,13 +1008,13 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
866
1008
  <td><sub>RevokeSponsorshipOp</sub></td>
867
1009
  <td>
868
1010
 
869
- ```js
1011
+ ```json
870
1012
  {
871
- type: 'accountSponsorshipUpdated',
872
- source: 'GBWC…DXHN',
873
- sponsor: 'GDNP…CMXH',
874
- prevSponsor: 'GBWC…DXHN',
875
- account: 'GBKP…YDLI'
1013
+ "type": "accountSponsorshipUpdated",
1014
+ "source": "GBWC…DXHN",
1015
+ "sponsor": "GDNP…CMXH",
1016
+ "prevSponsor": "GBWC…DXHN",
1017
+ "account": "GBKP…YDLI"
876
1018
  }
877
1019
  ```
878
1020
 
@@ -886,12 +1028,12 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
886
1028
  <td><sub>RevokeSponsorshipOp</sub></td>
887
1029
  <td>
888
1030
 
889
- ```js
1031
+ ```json
890
1032
  {
891
- type: 'accountSponsorshipRemoved',
892
- source: 'GBWC…DXHN',
893
- prevSponsor: 'GBWC…DXHN',
894
- account: 'GBKP…YDLI'
1033
+ "type": "accountSponsorshipRemoved",
1034
+ "source": "GBWC…DXHN",
1035
+ "prevSponsor": "GBWC…DXHN",
1036
+ "account": "GBKP…YDLI"
895
1037
  }
896
1038
  ```
897
1039
 
@@ -905,13 +1047,13 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
905
1047
  <td><sub>ChangeThrustOp</sub></td>
906
1048
  <td>
907
1049
 
908
- ```js
1050
+ ```json
909
1051
  {
910
- type: 'trustlineSponsorshipCreated',
911
- source: 'GBWC…DXHN',
912
- sponsor: 'GBWC…DXHN',
913
- account: 'GBKP…YDLI',
914
- asset: 'USD-GBKP…YDLI-1'
1052
+ "type": "trustlineSponsorshipCreated",
1053
+ "source": "GBWC…DXHN",
1054
+ "sponsor": "GBWC…DXHN",
1055
+ "account": "GBKP…YDLI",
1056
+ "asset": "USD-GBKP…YDLI-1"
915
1057
  }
916
1058
  ```
917
1059
 
@@ -925,14 +1067,14 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
925
1067
  <td><sub>RevokeSponsorshipOp</sub></td>
926
1068
  <td>
927
1069
 
928
- ```js
1070
+ ```json
929
1071
  {
930
- type: 'trustlineSponsorshipUpdated',
931
- source: 'GBWC…DXHN',
932
- sponsor: 'GDNP…CMXH',
933
- prevSponsor: 'GBWC…DXHN',
934
- account: 'GBKP…YDLI',
935
- asset: 'USD-GBKP…YDLI-1'
1072
+ "type": "trustlineSponsorshipUpdated",
1073
+ "source": "GBWC…DXHN",
1074
+ "sponsor": "GDNP…CMXH",
1075
+ "prevSponsor": "GBWC…DXHN",
1076
+ "account": "GBKP…YDLI",
1077
+ "asset": "USD-GBKP…YDLI-1"
936
1078
  }
937
1079
  ```
938
1080
 
@@ -946,13 +1088,13 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
946
1088
  <td><sub>RevokeSponsorshipOp</sub></td>
947
1089
  <td>
948
1090
 
949
- ```js
1091
+ ```json
950
1092
  {
951
- type: 'trustlineSponsorshipRemoved',
952
- source: 'GBWC…DXHN',
953
- prevSponsor: 'GBWC…DXHN',
954
- account: 'GBKP…YDLI',
955
- asset: 'USD-GBKP…YDLI-1'
1093
+ "type": "trustlineSponsorshipRemoved",
1094
+ "source": "GBWC…DXHN",
1095
+ "prevSponsor": "GBWC…DXHN",
1096
+ "account": "GBKP…YDLI",
1097
+ "asset": "USD-GBKP…YDLI-1"
956
1098
  }
957
1099
  ```
958
1100
 
@@ -966,13 +1108,13 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
966
1108
  <td><sub>CreatePassiveOfferOp, ManageBuyOfferOp, ManageSellOfferOp</sub></td>
967
1109
  <td>
968
1110
 
969
- ```js
1111
+ ```json
970
1112
  {
971
- type: 'offerSponsorshipCreated',
972
- source: 'GBWC…DXHN',
973
- sponsor: 'GBWC…DXHN',
974
- account: 'GBKP…YDLI',
975
- offer: '4523452'
1113
+ "type": "offerSponsorshipCreated",
1114
+ "source": "GBWC…DXHN",
1115
+ "sponsor": "GBWC…DXHN",
1116
+ "account": "GBKP…YDLI",
1117
+ "offer": "4523452"
976
1118
  }
977
1119
  ```
978
1120
 
@@ -986,14 +1128,14 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
986
1128
  <td><sub>RevokeSponsorshipOp</sub></td>
987
1129
  <td>
988
1130
 
989
- ```js
1131
+ ```json
990
1132
  {
991
- type: 'offerSponsorshipUpdated',
992
- source: 'GBWC…DXHN',
993
- sponsor: 'GDNP…CMXH',
994
- prevSponsor: 'GBWC…DXHN',
995
- account: 'GBKP…YDLI',
996
- offer: '4523452'
1133
+ "type": "offerSponsorshipUpdated",
1134
+ "source": "GBWC…DXHN",
1135
+ "sponsor": "GDNP…CMXH",
1136
+ "prevSponsor": "GBWC…DXHN",
1137
+ "account": "GBKP…YDLI",
1138
+ "offer": "4523452"
997
1139
  }
998
1140
  ```
999
1141
 
@@ -1007,13 +1149,13 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
1007
1149
  <td><sub>RevokeSponsorshipOp</sub></td>
1008
1150
  <td>
1009
1151
 
1010
- ```js
1152
+ ```json
1011
1153
  {
1012
- type: 'offerSponsorshipRemoved',
1013
- source: 'GBWC…DXHN',
1014
- prevSponsor: 'GBWC…DXHN',
1015
- account: 'GBKP…YDLI',
1016
- offer: '4523452'
1154
+ "type": "offerSponsorshipRemoved",
1155
+ "source": "GBWC…DXHN",
1156
+ "prevSponsor": "GBWC…DXHN",
1157
+ "account": "GBKP…YDLI",
1158
+ "offer": "4523452"
1017
1159
  }
1018
1160
  ```
1019
1161
 
@@ -1027,13 +1169,13 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
1027
1169
  <td><sub>ManageDataOp</sub></td>
1028
1170
  <td>
1029
1171
 
1030
- ```js
1172
+ ```json
1031
1173
  {
1032
- type: 'dataSponsorshipCreated',
1033
- source: 'GBWC…DXHN',
1034
- sponsor: 'GBWC…DXHN',
1035
- account: 'GBKP…YDLI',
1036
- name: 'name'
1174
+ "type": "dataSponsorshipCreated",
1175
+ "source": "GBWC…DXHN",
1176
+ "sponsor": "GBWC…DXHN",
1177
+ "account": "GBKP…YDLI",
1178
+ "name": "name"
1037
1179
  }
1038
1180
  ```
1039
1181
 
@@ -1047,14 +1189,14 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
1047
1189
  <td><sub>RevokeSponsorshipOp</sub></td>
1048
1190
  <td>
1049
1191
 
1050
- ```js
1192
+ ```json
1051
1193
  {
1052
- type: 'dataSponsorshipUpdated',
1053
- source: 'GBWC…DXHN',
1054
- sponsor: 'GDNP…CMXH',
1055
- prevSponsor: 'GBWC…DXHN',
1056
- account: 'GBKP…YDLI',
1057
- name: 'name'
1194
+ "type": "dataSponsorshipUpdated",
1195
+ "source": "GBWC…DXHN",
1196
+ "sponsor": "GDNP…CMXH",
1197
+ "prevSponsor": "GBWC…DXHN",
1198
+ "account": "GBKP…YDLI",
1199
+ "name": "name"
1058
1200
  }
1059
1201
  ```
1060
1202
 
@@ -1068,13 +1210,13 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
1068
1210
  <td><sub>RevokeSponsorshipOp</sub></td>
1069
1211
  <td>
1070
1212
 
1071
- ```js
1213
+ ```json
1072
1214
  {
1073
- type: 'dataSponsorshipRemoved',
1074
- source: 'GBWC…DXHN',
1075
- prevSponsor: 'GBWC…DXHN',
1076
- account: 'GBKP…YDLI',
1077
- name: 'name'
1215
+ "type": "dataSponsorshipRemoved",
1216
+ "source": "GBWC…DXHN",
1217
+ "prevSponsor": "GBWC…DXHN",
1218
+ "account": "GBKP…YDLI",
1219
+ "name": "name"
1078
1220
  }
1079
1221
  ```
1080
1222
 
@@ -1088,12 +1230,12 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
1088
1230
  <td><sub>CreateClaimableBalanceOp</sub></td>
1089
1231
  <td>
1090
1232
 
1091
- ```js
1233
+ ```json
1092
1234
  {
1093
- type: 'claimableBalanceSponsorshipCreated',
1094
- source: 'GBWC…DXHN',
1095
- sponsor: 'GBWC…DXHN',
1096
- balance: '7aba…6f9d'
1235
+ "type": "claimableBalanceSponsorshipCreated",
1236
+ "source": "GBWC…DXHN",
1237
+ "sponsor": "GBWC…DXHN",
1238
+ "balance": "7aba…6f9d"
1097
1239
  }
1098
1240
  ```
1099
1241
 
@@ -1107,13 +1249,13 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
1107
1249
  <td><sub>RevokeSponsorshipOp</sub></td>
1108
1250
  <td>
1109
1251
 
1110
- ```js
1252
+ ```json
1111
1253
  {
1112
- type: 'claimableBalanceSponsorshipUpdated',
1113
- source: 'GBWC…DXHN',
1114
- sponsor: 'GDNP…CMXH',
1115
- prevSponsor: 'GBWC…DXHN',
1116
- balance: '7aba…6f9d'
1254
+ "type": "claimableBalanceSponsorshipUpdated",
1255
+ "source": "GBWC…DXHN",
1256
+ "sponsor": "GDNP…CMXH",
1257
+ "prevSponsor": "GBWC…DXHN",
1258
+ "balance": "7aba…6f9d"
1117
1259
  }
1118
1260
  ```
1119
1261
 
@@ -1127,12 +1269,12 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
1127
1269
  <td><sub>RevokeSponsorshipOp</sub></td>
1128
1270
  <td>
1129
1271
 
1130
- ```js
1272
+ ```json
1131
1273
  {
1132
- type: 'claimableBalanceSponsorshipRemoved',
1133
- source: 'GBWC…DXHN',
1134
- prevSponsor: 'GBWC…DXHN',
1135
- balance: '7aba…6f9d'
1274
+ "type": "claimableBalanceSponsorshipRemoved",
1275
+ "source": "GBWC…DXHN",
1276
+ "prevSponsor": "GBWC…DXHN",
1277
+ "balance": "7aba…6f9d"
1136
1278
  }
1137
1279
  ```
1138
1280
 
@@ -1146,13 +1288,13 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
1146
1288
  <td><sub>SetOptionsOp</sub></td>
1147
1289
  <td>
1148
1290
 
1149
- ```js
1291
+ ```json
1150
1292
  {
1151
- type: 'signerSponsorshipCreated',
1152
- source: 'GBWC…DXHN',
1153
- sponsor: 'GBWC…DXHN',
1154
- signer: 'GALF…CR2V',
1155
- account: 'GBKP…YDLI'
1293
+ "type": "signerSponsorshipCreated",
1294
+ "source": "GBWC…DXHN",
1295
+ "sponsor": "GBWC…DXHN",
1296
+ "signer": "GALF…CR2V",
1297
+ "account": "GBKP…YDLI"
1156
1298
  }
1157
1299
  ```
1158
1300
 
@@ -1166,14 +1308,14 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
1166
1308
  <td><sub>RevokeSponsorshipOp</sub></td>
1167
1309
  <td>
1168
1310
 
1169
- ```js
1311
+ ```json
1170
1312
  {
1171
- type: 'signerSponsorshipUpdated',
1172
- source: 'GBWC…DXHN',
1173
- sponsor: 'GDNP…CMXH',
1174
- prevSponsor: 'GBWC…DXHN',
1175
- signer: 'GALF…CR2V',
1176
- account: 'GBKP…YDLI'
1313
+ "type": "signerSponsorshipUpdated",
1314
+ "source": "GBWC…DXHN",
1315
+ "sponsor": "GDNP…CMXH",
1316
+ "prevSponsor": "GBWC…DXHN",
1317
+ "signer": "GALF…CR2V",
1318
+ "account": "GBKP…YDLI"
1177
1319
  }
1178
1320
  ```
1179
1321
 
@@ -1187,13 +1329,52 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
1187
1329
  <td><sub>RevokeSponsorshipOp</sub></td>
1188
1330
  <td>
1189
1331
 
1190
- ```js
1332
+ ```json
1333
+ {
1334
+ "type": "signerSponsorshipRemoved",
1335
+ "source": "GBWC…DXHN",
1336
+ "prevSponsor": "GBWC…DXHN",
1337
+ "signer": "GALF…CR2V",
1338
+ "account": "GBKP…YDLI"
1339
+ }
1340
+ ```
1341
+
1342
+ </td>
1343
+ </tr>
1344
+
1345
+ <tr>
1346
+ <td>
1347
+ <sub><code>liquidityPoolSponsorshipCreated</code></sub>
1348
+ </td>
1349
+ <td><sub>ChangeTrustOp</sub></td>
1350
+ <td>
1351
+
1352
+ ```json
1353
+ {
1354
+ "type": "liquidityPoolSponsorshipCreated",
1355
+ "source": "GBWC…DXHN",
1356
+ "sponsor": "GBWC…DXHN",
1357
+ "pool": "LA7F…HJLT"
1358
+ }
1359
+ ```
1360
+
1361
+ </td>
1362
+ </tr>
1363
+
1364
+ <tr>
1365
+ <td>
1366
+ <sub><code>liquidityPoolSponsorshipUpdated</code></sub>
1367
+ </td>
1368
+ <td><sub>RevokeSponsorshipOp</sub></td>
1369
+ <td>
1370
+
1371
+ ```json
1191
1372
  {
1192
- type: 'signerSponsorshipRemoved',
1193
- source: 'GBWC…DXHN',
1194
- prevSponsor: 'GBWCDXHN',
1195
- signer: 'GALFCR2V',
1196
- account: 'GBKPYDLI'
1373
+ "type": "liquidityPoolSponsorshipUpdated",
1374
+ "source": "GBWC…DXHN",
1375
+ "sponsor": "GDNPCMXH",
1376
+ "prevSponsor": "GBWCDXHN",
1377
+ "pool": "LA7FHJLT"
1197
1378
  }
1198
1379
  ```
1199
1380
 
@@ -1207,14 +1388,14 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
1207
1388
  <td><sub>InvokeHostFunctionOp</sub></td>
1208
1389
  <td>
1209
1390
 
1210
- ```js
1391
+ ```json
1211
1392
  {
1212
- type: 'contractCodeUploaded',
1213
- source: 'GBWC…DXHN',
1214
- wasm: 'AGFz…AAAF',
1215
- wasmHash: '5c55…e46d',
1216
- keyHash: 'a833…f27f',
1217
- ttl: 2282323
1393
+ "type": "contractCodeUploaded",
1394
+ "source": "GBWC…DXHN",
1395
+ "wasm": "AGFz…AAAF",
1396
+ "wasmHash": "5c55…e46d",
1397
+ "keyHash": "a833…f27f",
1398
+ "ttl": 2282323
1218
1399
  }
1219
1400
  ```
1220
1401
 
@@ -1228,12 +1409,12 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
1228
1409
  <td><sub>InvokeHostFunctionOp</sub></td>
1229
1410
  <td>
1230
1411
 
1231
- ```js
1412
+ ```json
1232
1413
  {
1233
- type: 'contractCodeRemoved',
1234
- source: 'GBWC…DXHN',
1235
- wasmHash: '5c55…e46d',
1236
- keyHash: 'a833…f27f'
1414
+ "type": "contractCodeRemoved",
1415
+ "source": "GBWC…DXHN",
1416
+ "wasmHash": "5c55…e46d",
1417
+ "keyHash": "a833…f27f"
1237
1418
  }
1238
1419
  ```
1239
1420
 
@@ -1247,15 +1428,15 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
1247
1428
  <td><sub>InvokeHostFunctionOp</sub></td>
1248
1429
  <td>
1249
1430
 
1250
- ```js
1431
+ ```json
1251
1432
  {
1252
- type: 'contractCreated',
1253
- source: 'GBWC…DXHN',
1254
- contract: 'CBIH…AZAD',
1255
- kind: 'fromAsset',
1256
- asset: 'ICGVCWUQXIHO-GBD2…FUAC-2',
1257
- keyHash: '6922ce15707976b856b398fc345c5f926c3d6f8f83d8e0d5a32ebed3af4867a4',
1258
- ttl: 2908049
1433
+ "type": "contractCreated",
1434
+ "source": "GBWC…DXHN",
1435
+ "contract": "CBIH…AZAD",
1436
+ "kind": "fromAsset",
1437
+ "asset": "ICGVCWUQXIHO-GBD2…FUAC-2",
1438
+ "keyHash": "6922ce15707976b856b398fc345c5f926c3d6f8f83d8e0d5a32ebed3af4867a4",
1439
+ "ttl": 2908049
1259
1440
  }
1260
1441
  ```
1261
1442
 
@@ -1269,16 +1450,27 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
1269
1450
  <td><sub>InvokeHostFunctionOp</sub></td>
1270
1451
  <td>
1271
1452
 
1272
- ```js
1453
+ ```json
1454
+ {
1455
+ "type": "contractUpdated",
1456
+ "source": "GBWC…DXHN",
1457
+ "contract": "CBIH…AZAD",
1458
+ "kind": "wasm",
1459
+ "wasmHash": "5c55…e46d",
1460
+ "prevWasmHash": "eb94…19ae",
1461
+ "keyHash": "6922ce15707976b856b398fc345c5f926c3d6f8f83d8e0d5a32ebed3af4867a4",
1462
+ "ttl": 2908049
1463
+ }
1464
+ ```
1465
+
1466
+ An SAC admin change:
1467
+
1468
+ ```json
1273
1469
  {
1274
- type: 'contractUpdated',
1275
- source: 'GBWCDXHN',
1276
- contract: 'CBIHAZAD',
1277
- kind: 'wasm',
1278
- wasmHash: '5c55…e46d',
1279
- prevWasmHash: 'eb94…19ae',
1280
- keyHash: '6922ce15707976b856b398fc345c5f926c3d6f8f83d8e0d5a32ebed3af4867a4',
1281
- ttl: 2908049
1470
+ "type": "contractUpdated",
1471
+ "source": "GA2FI7GG",
1472
+ "contract": "CBXGHPAV",
1473
+ "admin": "GCFH…M7M5"
1282
1474
  }
1283
1475
  ```
1284
1476
 
@@ -1292,18 +1484,19 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
1292
1484
  <td><sub>InvokeHostFunctionOp</sub></td>
1293
1485
  <td>
1294
1486
 
1295
- ```js
1487
+ ```json
1296
1488
  {
1297
- type: 'contractInvoked',
1298
- source: 'GBWC…DXHN',
1299
- contract: 'CBIH…AZAD',
1300
- function: 'mint',
1301
- depth: 1,
1302
- rawArgs: 'AAAA…Ag=='
1303
- args: [
1304
- 'CDFD…ITT3',
1305
- '1000'
1306
- ]
1489
+ "type": "contractInvoked",
1490
+ "source": "GBWC…DXHN",
1491
+ "contract": "CBIH…AZAD",
1492
+ "function": "mint",
1493
+ "depth": 1,
1494
+ "rawArgs": "AAAA…Ag==",
1495
+ "args": [
1496
+ "CDFD…ITT3",
1497
+ "1000"
1498
+ ],
1499
+ "result": "AAAA…AQ=="
1307
1500
  }
1308
1501
  ```
1309
1502
 
@@ -1317,18 +1510,18 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
1317
1510
  <td><sub>InvokeHostFunctionOp</sub></td>
1318
1511
  <td>
1319
1512
 
1320
- ```js
1513
+ ```json
1321
1514
  {
1322
- type: 'contractError',
1323
- source: 'GB6V…UIYN',
1324
- contract: 'CBIH…AZAD',
1325
- code: 'scecExceededLimit',
1326
- details: [
1327
- 'trying to access contract data key outside of the footprint',
1328
- 'CCML…V66N',
1515
+ "type": "contractError",
1516
+ "source": "GB6V…UIYN",
1517
+ "contract": "CBIH…AZAD",
1518
+ "code": "scecExceededLimit",
1519
+ "details": [
1520
+ "trying to access contract data key outside of the footprint",
1521
+ "CCML…V66N",
1329
1522
  [
1330
- 'Secp256r1',
1331
- 'CA3Z…EQTC'
1523
+ "Secp256r1",
1524
+ "CA3Z…EQTC"
1332
1525
  ]
1333
1526
  ]
1334
1527
  }
@@ -1344,16 +1537,16 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
1344
1537
  <td><sub>InvokeHostFunctionOp</sub></td>
1345
1538
  <td>
1346
1539
 
1347
- ```js
1540
+ ```json
1348
1541
  {
1349
- type: 'contractDataCreated',
1350
- source: 'GC3E…XMJY',
1351
- owner: 'CCM3…OFJX',
1352
- key: 'AAAA…0SQ=',
1353
- value: 'AAAA…AA==',
1354
- durability: 'persistent',
1355
- keyHash: '2177…a56a',
1356
- ttl: 2282323
1542
+ "type": "contractDataCreated",
1543
+ "source": "GC3E…XMJY",
1544
+ "owner": "CCM3…OFJX",
1545
+ "key": "AAAA…0SQ=",
1546
+ "value": "AAAA…AA==",
1547
+ "durability": "persistent",
1548
+ "keyHash": "2177…a56a",
1549
+ "ttl": 2282323
1357
1550
  }
1358
1551
  ```
1359
1552
 
@@ -1367,17 +1560,17 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
1367
1560
  <td><sub>InvokeHostFunctionOp</sub></td>
1368
1561
  <td>
1369
1562
 
1370
- ```js
1563
+ ```json
1371
1564
  {
1372
- type: 'contractDataUpdated',
1373
- source: 'GC3E…XMJY',
1374
- owner: 'CCM3…OFJX',
1375
- key: 'AAAAFA==',
1376
- value: 'AAAA…AA==',
1377
- prevValue: 'AAAA…AAA=',
1378
- durability: 'persistent',
1379
- keyHash: '2177…a56a',
1380
- ttl: 2282323
1565
+ "type": "contractDataUpdated",
1566
+ "source": "GC3E…XMJY",
1567
+ "owner": "CCM3…OFJX",
1568
+ "key": "AAAAFA==",
1569
+ "value": "AAAA…AA==",
1570
+ "prevValue": "AAAA…AAA=",
1571
+ "durability": "persistent",
1572
+ "keyHash": "2177…a56a",
1573
+ "ttl": 2282323
1381
1574
  }
1382
1575
  ```
1383
1576
 
@@ -1391,14 +1584,14 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
1391
1584
  <td><sub>InvokeHostFunctionOp</sub></td>
1392
1585
  <td>
1393
1586
 
1394
- ```js
1587
+ ```json
1395
1588
  {
1396
- type: 'contractDataRemoved',
1397
- source: 'GC3E…XMJY',
1398
- owner: 'CCM3…OFJX',
1399
- key: 'AAAAFA==',
1400
- prevValue: 'AAAA…AAA=',
1401
- durability: 'instance'
1589
+ "type": "contractDataRemoved",
1590
+ "source": "GC3E…XMJY",
1591
+ "owner": "CCM3…OFJX",
1592
+ "key": "AAAAFA==",
1593
+ "prevValue": "AAAA…AAA=",
1594
+ "durability": "instance"
1402
1595
  }
1403
1596
  ```
1404
1597
 
@@ -1412,25 +1605,25 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
1412
1605
  <td><sub>InvokeHostFunctionOp</sub></td>
1413
1606
  <td>
1414
1607
 
1415
- ```js
1608
+ ```json
1416
1609
  {
1417
- type: 'contractEvent',
1418
- source: 'GC3E…XMJY',
1419
- contract: 'CCM3…OFJX',
1420
- topics: [
1421
- 'mint',
1422
- 'GC3E…XMJY',
1423
- 'CDFD…ITT3',
1424
- 'AMDL:GC3E…XMJY'
1610
+ "type": "contractEvent",
1611
+ "source": "GC3E…XMJY",
1612
+ "contract": "CCM3…OFJX",
1613
+ "topics": [
1614
+ "mint",
1615
+ "GC3E…XMJY",
1616
+ "CDFD…ITT3",
1617
+ "AMDL:GC3E…XMJY"
1425
1618
  ],
1426
- rawTopics: [
1427
- 'AAAA…aW50',
1428
- 'AAAA…gLs=',
1429
- 'AAAA…JA==',
1430
- 'AAAA…AAAA'
1619
+ "rawTopics": [
1620
+ "AAAA…aW50",
1621
+ "AAAA…gLs=",
1622
+ "AAAA…JA==",
1623
+ "AAAA…AAAA"
1431
1624
  ],
1432
- data: '1000',
1433
- rawData: 'AAAA…A+g='
1625
+ "data": "1000",
1626
+ "rawData": "AAAA…A+g="
1434
1627
  }
1435
1628
  ```
1436
1629
 
@@ -1444,34 +1637,34 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
1444
1637
  <td><sub>InvokeHostFunctionOp</sub></td>
1445
1638
  <td>
1446
1639
 
1447
- ```js
1448
- {
1449
- type: 'contractMetrics',
1450
- source: 'GC3E…XMJY',
1451
- contract: 'CCM3…OFJX',
1452
- cpu_insn: 25470499,
1453
- emit_event: 5,
1454
- emit_event_byte: 1176,
1455
- invoke_time_nsecs: 2013675,
1456
- ledger_read_byte: 36624,
1457
- ledger_write_byte: 1028,
1458
- max_emit_event_byte: 328,
1459
- max_rw_code_byte: 16352,
1460
- max_rw_data_byte: 924,
1461
- max_rw_key_byte: 160,
1462
- mem_byte: 10204502,
1463
- read_code_byte: 33508,
1464
- read_data_byte: 3116,
1465
- read_entry: 16,
1466
- read_key_byte: 1244,
1467
- write_code_byte: 0,
1468
- write_data_byte: 1028,
1469
- write_entry: 5,
1470
- write_key_byte: 0,
1471
- fee: {
1472
- nonrefundable: 284210,
1473
- refundable: 100521,
1474
- rent: 100481
1640
+ ```json
1641
+ {
1642
+ "type": "contractMetrics",
1643
+ "source": "GC3E…XMJY",
1644
+ "contract": "CCM3…OFJX",
1645
+ "cpu_insn": 25470499,
1646
+ "emit_event": 5,
1647
+ "emit_event_byte": 1176,
1648
+ "invoke_time_nsecs": 2013675,
1649
+ "ledger_read_byte": 36624,
1650
+ "ledger_write_byte": 1028,
1651
+ "max_emit_event_byte": 328,
1652
+ "max_rw_code_byte": 16352,
1653
+ "max_rw_data_byte": 924,
1654
+ "max_rw_key_byte": 160,
1655
+ "mem_byte": 10204502,
1656
+ "read_code_byte": 33508,
1657
+ "read_data_byte": 3116,
1658
+ "read_entry": 16,
1659
+ "read_key_byte": 1244,
1660
+ "write_code_byte": 0,
1661
+ "write_data_byte": 1028,
1662
+ "write_entry": 5,
1663
+ "write_key_byte": 0,
1664
+ "fee": {
1665
+ "nonrefundable": 284210,
1666
+ "refundable": 100521,
1667
+ "rent": 100481
1475
1668
  }
1476
1669
  }
1477
1670
  ```
@@ -1486,14 +1679,26 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
1486
1679
  <td><sub>ExtendFootprintTTLOp, RestoreFootprintOp</sub></td>
1487
1680
  <td>
1488
1681
 
1489
- ```js
1682
+ ```json
1683
+ {
1684
+ "type": "setTtl",
1685
+ "source": "GC3E…XMJY",
1686
+ "owner": "CDAE…EH7T",
1687
+ "kind": "contractData",
1688
+ "keyHash": "7594…b429",
1689
+ "ttl": 2873856
1690
+ }
1691
+ ```
1692
+
1693
+ For contract code entries:
1694
+
1695
+ ```json
1490
1696
  {
1491
- type: 'setTtl',
1492
- source: 'GC3EXMJY',
1493
- owner: 'CDAE…EH7T',
1494
- kind: 'contractData',
1495
- keyHash: '7594…b429',
1496
- ttl: 2873856
1697
+ "type": "setTtl",
1698
+ "source": "GAEBW5FS",
1699
+ "kind": "contractCode",
1700
+ "keyHash": "a469…a180",
1701
+ "ttl": 256355
1497
1702
  }
1498
1703
  ```
1499
1704
 
@@ -1507,16 +1712,16 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
1507
1712
  <td><sub>InvokeHostFunctionOp, RestoreFootprintOp</sub></td>
1508
1713
  <td>
1509
1714
 
1510
- ```js
1715
+ ```json
1511
1716
  {
1512
- type: 'contractDataRestored',
1513
- source: 'GALD…S7SA',
1514
- owner: 'CAVL…6HLP',
1515
- key: 'AAAAFA==',
1516
- keyHash: '42f3…1b7c',
1517
- value: 'AAA…AAAE=',
1518
- durability: 'instance',
1519
- ttl: 244540
1717
+ "type": "contractDataRestored",
1718
+ "source": "GALD…S7SA",
1719
+ "owner": "CAVL…6HLP",
1720
+ "key": "AAAAFA==",
1721
+ "keyHash": "42f3…1b7c",
1722
+ "value": "AAA…AAAE=",
1723
+ "durability": "instance",
1724
+ "ttl": 244540
1520
1725
  }
1521
1726
  ```
1522
1727
 
@@ -1530,14 +1735,15 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
1530
1735
  <td><sub>InvokeHostFunctionOp, RestoreFootprintOp</sub></td>
1531
1736
  <td>
1532
1737
 
1533
- ```js
1738
+ ```json
1534
1739
  {
1535
- type: 'contractRestored',
1536
- source: 'GALD…S7SA',
1537
- contract: 'CAVL…6HLP',
1538
- kind: 'wasm',
1539
- wasmHash: 'df88…8608',
1540
- keyHash: '42f3…1b7c'
1740
+ "type": "contractRestored",
1741
+ "source": "GALD…S7SA",
1742
+ "contract": "CAVL…6HLP",
1743
+ "kind": "wasm",
1744
+ "wasmHash": "df88…8608",
1745
+ "keyHash": "42f3…1b7c",
1746
+ "ttl": 244540
1541
1747
  }
1542
1748
  ```
1543
1749
 
@@ -1551,13 +1757,13 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
1551
1757
  <td><sub>InvokeHostFunctionOp, RestoreFootprintOp</sub></td>
1552
1758
  <td>
1553
1759
 
1554
- ```js
1760
+ ```json
1555
1761
  {
1556
- type: 'contractCodeRestored',
1557
- source: 'GALD…S7SA',
1558
- wasmHash: 'df88…8608',
1559
- keyHash: '638b…a5b6',
1560
- ttl: 244540
1762
+ "type": "contractCodeRestored",
1763
+ "source": "GALD…S7SA",
1764
+ "wasmHash": "df88…8608",
1765
+ "keyHash": "638b…a5b6",
1766
+ "ttl": 244540
1561
1767
  }
1562
1768
  ```
1563
1769