@bitgo/sdk-coin-xlm 3.7.0 → 3.7.2

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.
@@ -0,0 +1,857 @@
1
+ export declare const tokenEnablements: {
2
+ txParams: {
3
+ trustlines: {
4
+ token: string;
5
+ action: string;
6
+ }[];
7
+ type: string;
8
+ recipients: {
9
+ tokenName: string;
10
+ address: string;
11
+ amount: string;
12
+ }[];
13
+ wallet: {
14
+ id: string;
15
+ users: {
16
+ user: string;
17
+ permissions: string[];
18
+ }[];
19
+ coin: string;
20
+ label: string;
21
+ m: number;
22
+ n: number;
23
+ keys: string[];
24
+ keySignatures: {};
25
+ enterprise: string;
26
+ organization: string;
27
+ bitgoOrg: string;
28
+ tags: string[];
29
+ disableTransactionNotifications: boolean;
30
+ freeze: {};
31
+ deleted: boolean;
32
+ approvalsRequired: number;
33
+ isCold: boolean;
34
+ coinSpecific: {
35
+ rootAddress: string;
36
+ pendingChainInitialization: boolean;
37
+ creationFailure: never[];
38
+ lastMemoId: string;
39
+ trustedTokens: never[];
40
+ };
41
+ admin: {
42
+ policy: {
43
+ date: string;
44
+ id: string;
45
+ label: string;
46
+ rules: never[];
47
+ version: number;
48
+ latest: boolean;
49
+ };
50
+ };
51
+ clientFlags: never[];
52
+ walletFlags: never[];
53
+ allowBackupKeySigning: boolean;
54
+ recoverable: boolean;
55
+ startDate: string;
56
+ type: string;
57
+ buildDefaults: {};
58
+ customChangeKeySignatures: {};
59
+ hasLargeNumberOfAddresses: boolean;
60
+ multisigType: string;
61
+ hasReceiveTransferPolicy: boolean;
62
+ creator: string;
63
+ walletFullyCreated: boolean;
64
+ config: {};
65
+ balanceString: string;
66
+ confirmedBalanceString: string;
67
+ spendableBalanceString: string;
68
+ reservedBalanceString: string;
69
+ receiveAddress: {
70
+ id: string;
71
+ address: string;
72
+ chain: number;
73
+ index: number;
74
+ coin: string;
75
+ wallet: string;
76
+ coinSpecific: {
77
+ rootAddress: string;
78
+ memoId: string;
79
+ };
80
+ };
81
+ pendingApprovals: never[];
82
+ };
83
+ enableTokens: {
84
+ name: string;
85
+ }[];
86
+ walletId: string;
87
+ coin: string;
88
+ walletPassphrase: string;
89
+ prebuildTx: {
90
+ txHex: string;
91
+ txBase64: string;
92
+ txInfo: {
93
+ _networkPassphrase: string;
94
+ _tx: {
95
+ _attributes: {
96
+ fee: number;
97
+ seqNum: {
98
+ low: number;
99
+ high: number;
100
+ unsigned: boolean;
101
+ };
102
+ memo: {
103
+ _switch: {
104
+ name: string;
105
+ value: number;
106
+ };
107
+ _arm: {};
108
+ _armType: {};
109
+ };
110
+ timeBounds: {
111
+ _attributes: {
112
+ minTime: {
113
+ low: number;
114
+ high: number;
115
+ unsigned: boolean;
116
+ };
117
+ maxTime: {
118
+ low: number;
119
+ high: number;
120
+ unsigned: boolean;
121
+ };
122
+ };
123
+ };
124
+ sourceAccount: {
125
+ _switch: {
126
+ name: string;
127
+ value: number;
128
+ };
129
+ _arm: string;
130
+ _armType: {
131
+ _length: number;
132
+ _padding: number;
133
+ };
134
+ _value: {
135
+ type: string;
136
+ data: number[];
137
+ };
138
+ };
139
+ ext: {
140
+ _switch: number;
141
+ _arm: {};
142
+ _armType: {};
143
+ };
144
+ operations: {
145
+ _attributes: {
146
+ body: {
147
+ _switch: {
148
+ name: string;
149
+ value: number;
150
+ };
151
+ _arm: string;
152
+ _value: {
153
+ _attributes: {
154
+ line: {
155
+ _switch: {
156
+ name: string;
157
+ value: number;
158
+ };
159
+ _arm: string;
160
+ _value: {
161
+ _attributes: {
162
+ assetCode: string;
163
+ issuer: {
164
+ _switch: {
165
+ name: string;
166
+ value: number;
167
+ };
168
+ _arm: string;
169
+ _armType: {
170
+ _length: number;
171
+ _padding: number;
172
+ };
173
+ _value: {
174
+ type: string;
175
+ data: number[];
176
+ };
177
+ };
178
+ };
179
+ };
180
+ };
181
+ limit: {
182
+ low: number;
183
+ high: number;
184
+ unsigned: boolean;
185
+ };
186
+ };
187
+ };
188
+ };
189
+ };
190
+ }[];
191
+ };
192
+ };
193
+ _signatures: never[];
194
+ _fee: string;
195
+ _envelopeType: {
196
+ name: string;
197
+ value: number;
198
+ };
199
+ _sequence: string;
200
+ _source: string;
201
+ _timeBounds: {
202
+ minTime: string;
203
+ maxTime: string;
204
+ };
205
+ _operations: {
206
+ type: string;
207
+ line: {
208
+ code: string;
209
+ issuer: string;
210
+ };
211
+ limit: string;
212
+ }[];
213
+ fee: string;
214
+ operations: {
215
+ type: string;
216
+ line: {
217
+ code: string;
218
+ issuer: string;
219
+ };
220
+ limit: string;
221
+ }[];
222
+ };
223
+ feeInfo: {
224
+ date: string;
225
+ height: number;
226
+ baseReserve: string;
227
+ baseFee: string;
228
+ fee: number;
229
+ feeString: string;
230
+ };
231
+ coin: string;
232
+ walletId: string;
233
+ buildParams: {
234
+ trustlines: {
235
+ token: string;
236
+ action: string;
237
+ }[];
238
+ type: string;
239
+ recipients: {
240
+ tokenName: string;
241
+ address: string;
242
+ amount: string;
243
+ }[];
244
+ wallet: {
245
+ id: string;
246
+ users: {
247
+ user: string;
248
+ permissions: string[];
249
+ }[];
250
+ coin: string;
251
+ label: string;
252
+ m: number;
253
+ n: number;
254
+ keys: string[];
255
+ keySignatures: {};
256
+ enterprise: string;
257
+ organization: string;
258
+ bitgoOrg: string;
259
+ tags: string[];
260
+ disableTransactionNotifications: boolean;
261
+ freeze: {};
262
+ deleted: boolean;
263
+ approvalsRequired: number;
264
+ isCold: boolean;
265
+ coinSpecific: {
266
+ rootAddress: string;
267
+ pendingChainInitialization: boolean;
268
+ creationFailure: never[];
269
+ lastMemoId: string;
270
+ trustedTokens: never[];
271
+ };
272
+ admin: {
273
+ policy: {
274
+ date: string;
275
+ id: string;
276
+ label: string;
277
+ rules: never[];
278
+ version: number;
279
+ latest: boolean;
280
+ };
281
+ };
282
+ clientFlags: never[];
283
+ walletFlags: never[];
284
+ allowBackupKeySigning: boolean;
285
+ recoverable: boolean;
286
+ startDate: string;
287
+ type: string;
288
+ buildDefaults: {};
289
+ customChangeKeySignatures: {};
290
+ hasLargeNumberOfAddresses: boolean;
291
+ multisigType: string;
292
+ hasReceiveTransferPolicy: boolean;
293
+ creator: string;
294
+ walletFullyCreated: boolean;
295
+ config: {};
296
+ balanceString: string;
297
+ confirmedBalanceString: string;
298
+ spendableBalanceString: string;
299
+ reservedBalanceString: string;
300
+ receiveAddress: {
301
+ id: string;
302
+ address: string;
303
+ chain: number;
304
+ index: number;
305
+ coin: string;
306
+ wallet: string;
307
+ coinSpecific: {
308
+ rootAddress: string;
309
+ memoId: string;
310
+ };
311
+ };
312
+ pendingApprovals: never[];
313
+ };
314
+ };
315
+ };
316
+ };
317
+ txPrebuild: {
318
+ txHex: string;
319
+ txBase64: string;
320
+ txInfo: {
321
+ _networkPassphrase: string;
322
+ _tx: {
323
+ _attributes: {
324
+ fee: number;
325
+ seqNum: {
326
+ low: number;
327
+ high: number;
328
+ unsigned: boolean;
329
+ };
330
+ memo: {
331
+ _switch: {
332
+ name: string;
333
+ value: number;
334
+ };
335
+ _arm: {};
336
+ _armType: {};
337
+ };
338
+ timeBounds: {
339
+ _attributes: {
340
+ minTime: {
341
+ low: number;
342
+ high: number;
343
+ unsigned: boolean;
344
+ };
345
+ maxTime: {
346
+ low: number;
347
+ high: number;
348
+ unsigned: boolean;
349
+ };
350
+ };
351
+ };
352
+ sourceAccount: {
353
+ _switch: {
354
+ name: string;
355
+ value: number;
356
+ };
357
+ _arm: string;
358
+ _armType: {
359
+ _length: number;
360
+ _padding: number;
361
+ };
362
+ _value: {
363
+ type: string;
364
+ data: number[];
365
+ };
366
+ };
367
+ ext: {
368
+ _switch: number;
369
+ _arm: {};
370
+ _armType: {};
371
+ };
372
+ operations: {
373
+ _attributes: {
374
+ body: {
375
+ _switch: {
376
+ name: string;
377
+ value: number;
378
+ };
379
+ _arm: string;
380
+ _value: {
381
+ _attributes: {
382
+ line: {
383
+ _switch: {
384
+ name: string;
385
+ value: number;
386
+ };
387
+ _arm: string;
388
+ _value: {
389
+ _attributes: {
390
+ assetCode: string;
391
+ issuer: {
392
+ _switch: {
393
+ name: string;
394
+ value: number;
395
+ };
396
+ _arm: string;
397
+ _armType: {
398
+ _length: number;
399
+ _padding: number;
400
+ };
401
+ _value: {
402
+ type: string;
403
+ data: number[];
404
+ };
405
+ };
406
+ };
407
+ };
408
+ };
409
+ limit: {
410
+ low: number;
411
+ high: number;
412
+ unsigned: boolean;
413
+ };
414
+ };
415
+ };
416
+ };
417
+ };
418
+ }[];
419
+ };
420
+ };
421
+ _signatures: never[];
422
+ _fee: string;
423
+ _envelopeType: {
424
+ name: string;
425
+ value: number;
426
+ };
427
+ _sequence: string;
428
+ _source: string;
429
+ _timeBounds: {
430
+ minTime: string;
431
+ maxTime: string;
432
+ };
433
+ _operations: {
434
+ type: string;
435
+ line: {
436
+ code: string;
437
+ issuer: string;
438
+ };
439
+ limit: string;
440
+ }[];
441
+ fee: string;
442
+ operations: {
443
+ type: string;
444
+ line: {
445
+ code: string;
446
+ issuer: string;
447
+ };
448
+ limit: string;
449
+ }[];
450
+ };
451
+ feeInfo: {
452
+ date: string;
453
+ height: number;
454
+ baseReserve: string;
455
+ baseFee: string;
456
+ fee: number;
457
+ feeString: string;
458
+ };
459
+ coin: string;
460
+ walletId: string;
461
+ buildParams: {
462
+ trustlines: {
463
+ token: string;
464
+ action: string;
465
+ }[];
466
+ type: string;
467
+ recipients: {
468
+ tokenName: string;
469
+ address: string;
470
+ amount: string;
471
+ }[];
472
+ wallet: {
473
+ id: string;
474
+ users: {
475
+ user: string;
476
+ permissions: string[];
477
+ }[];
478
+ coin: string;
479
+ label: string;
480
+ m: number;
481
+ n: number;
482
+ keys: string[];
483
+ keySignatures: {};
484
+ enterprise: string;
485
+ organization: string;
486
+ bitgoOrg: string;
487
+ tags: string[];
488
+ disableTransactionNotifications: boolean;
489
+ freeze: {};
490
+ deleted: boolean;
491
+ approvalsRequired: number;
492
+ isCold: boolean;
493
+ coinSpecific: {
494
+ rootAddress: string;
495
+ pendingChainInitialization: boolean;
496
+ creationFailure: never[];
497
+ lastMemoId: string;
498
+ trustedTokens: never[];
499
+ };
500
+ admin: {
501
+ policy: {
502
+ date: string;
503
+ id: string;
504
+ label: string;
505
+ rules: never[];
506
+ version: number;
507
+ latest: boolean;
508
+ };
509
+ };
510
+ clientFlags: never[];
511
+ walletFlags: never[];
512
+ allowBackupKeySigning: boolean;
513
+ recoverable: boolean;
514
+ startDate: string;
515
+ type: string;
516
+ buildDefaults: {};
517
+ customChangeKeySignatures: {};
518
+ hasLargeNumberOfAddresses: boolean;
519
+ multisigType: string;
520
+ hasReceiveTransferPolicy: boolean;
521
+ creator: string;
522
+ walletFullyCreated: boolean;
523
+ config: {};
524
+ balanceString: string;
525
+ confirmedBalanceString: string;
526
+ spendableBalanceString: string;
527
+ reservedBalanceString: string;
528
+ receiveAddress: {
529
+ id: string;
530
+ address: string;
531
+ chain: number;
532
+ index: number;
533
+ coin: string;
534
+ wallet: string;
535
+ coinSpecific: {
536
+ rootAddress: string;
537
+ memoId: string;
538
+ };
539
+ };
540
+ pendingApprovals: never[];
541
+ };
542
+ };
543
+ };
544
+ walletData: {
545
+ id: string;
546
+ users: {
547
+ user: string;
548
+ permissions: string[];
549
+ }[];
550
+ coin: string;
551
+ label: string;
552
+ m: number;
553
+ n: number;
554
+ keys: string[];
555
+ keySignatures: {};
556
+ enterprise: string;
557
+ organization: string;
558
+ bitgoOrg: string;
559
+ tags: string[];
560
+ disableTransactionNotifications: boolean;
561
+ freeze: {};
562
+ deleted: boolean;
563
+ approvalsRequired: number;
564
+ isCold: boolean;
565
+ coinSpecific: {
566
+ rootAddress: string;
567
+ pendingChainInitialization: boolean;
568
+ creationFailure: never[];
569
+ lastMemoId: string;
570
+ trustedTokens: never[];
571
+ };
572
+ admin: {
573
+ policy: {
574
+ date: string;
575
+ id: string;
576
+ label: string;
577
+ rules: never[];
578
+ version: number;
579
+ latest: boolean;
580
+ };
581
+ };
582
+ clientFlags: never[];
583
+ walletFlags: never[];
584
+ allowBackupKeySigning: boolean;
585
+ recoverable: boolean;
586
+ startDate: string;
587
+ type: string;
588
+ buildDefaults: {};
589
+ customChangeKeySignatures: {};
590
+ hasLargeNumberOfAddresses: boolean;
591
+ multisigType: string;
592
+ hasReceiveTransferPolicy: boolean;
593
+ creator: string;
594
+ walletFullyCreated: boolean;
595
+ config: {};
596
+ balanceString: string;
597
+ confirmedBalanceString: string;
598
+ spendableBalanceString: string;
599
+ reservedBalanceString: string;
600
+ receiveAddress: {
601
+ id: string;
602
+ address: string;
603
+ chain: number;
604
+ index: number;
605
+ coin: string;
606
+ wallet: string;
607
+ coinSpecific: {
608
+ rootAddress: string;
609
+ memoId: string;
610
+ };
611
+ };
612
+ pendingApprovals: never[];
613
+ };
614
+ sendTokenEnablementPayload: {
615
+ enableTokens: {
616
+ name: string;
617
+ }[];
618
+ walletId: string;
619
+ coin: string;
620
+ type: string;
621
+ trustlines: {
622
+ token: string;
623
+ action: string;
624
+ }[];
625
+ walletPassphrase: string;
626
+ prebuildTx: {
627
+ txHex: string;
628
+ txBase64: string;
629
+ txInfo: {
630
+ _networkPassphrase: string;
631
+ _tx: {
632
+ _attributes: {
633
+ fee: number;
634
+ seqNum: {
635
+ low: number;
636
+ high: number;
637
+ unsigned: boolean;
638
+ };
639
+ memo: {
640
+ _switch: {
641
+ name: string;
642
+ value: number;
643
+ };
644
+ _arm: {};
645
+ _armType: {};
646
+ };
647
+ timeBounds: {
648
+ _attributes: {
649
+ minTime: {
650
+ low: number;
651
+ high: number;
652
+ unsigned: boolean;
653
+ };
654
+ maxTime: {
655
+ low: number;
656
+ high: number;
657
+ unsigned: boolean;
658
+ };
659
+ };
660
+ };
661
+ sourceAccount: {
662
+ _switch: {
663
+ name: string;
664
+ value: number;
665
+ };
666
+ _arm: string;
667
+ _armType: {
668
+ _length: number;
669
+ _padding: number;
670
+ };
671
+ _value: {
672
+ type: string;
673
+ data: number[];
674
+ };
675
+ };
676
+ ext: {
677
+ _switch: number;
678
+ _arm: {};
679
+ _armType: {};
680
+ };
681
+ operations: {
682
+ _attributes: {
683
+ body: {
684
+ _switch: {
685
+ name: string;
686
+ value: number;
687
+ };
688
+ _arm: string;
689
+ _value: {
690
+ _attributes: {
691
+ line: {
692
+ _switch: {
693
+ name: string;
694
+ value: number;
695
+ };
696
+ _arm: string;
697
+ _value: {
698
+ _attributes: {
699
+ assetCode: string;
700
+ issuer: {
701
+ _switch: {
702
+ name: string;
703
+ value: number;
704
+ };
705
+ _arm: string;
706
+ _armType: {
707
+ _length: number;
708
+ _padding: number;
709
+ };
710
+ _value: {
711
+ type: string;
712
+ data: number[];
713
+ };
714
+ };
715
+ };
716
+ };
717
+ };
718
+ limit: {
719
+ low: number;
720
+ high: number;
721
+ unsigned: boolean;
722
+ };
723
+ };
724
+ };
725
+ };
726
+ };
727
+ }[];
728
+ };
729
+ };
730
+ _signatures: never[];
731
+ _fee: string;
732
+ _envelopeType: {
733
+ name: string;
734
+ value: number;
735
+ };
736
+ _sequence: string;
737
+ _source: string;
738
+ _timeBounds: {
739
+ minTime: string;
740
+ maxTime: string;
741
+ };
742
+ _operations: {
743
+ type: string;
744
+ line: {
745
+ code: string;
746
+ issuer: string;
747
+ };
748
+ limit: string;
749
+ }[];
750
+ fee: string;
751
+ operations: {
752
+ type: string;
753
+ line: {
754
+ code: string;
755
+ issuer: string;
756
+ };
757
+ limit: string;
758
+ }[];
759
+ };
760
+ feeInfo: {
761
+ date: string;
762
+ height: number;
763
+ baseReserve: string;
764
+ baseFee: string;
765
+ fee: number;
766
+ feeString: string;
767
+ };
768
+ coin: string;
769
+ walletId: string;
770
+ buildParams: {
771
+ trustlines: {
772
+ token: string;
773
+ action: string;
774
+ }[];
775
+ type: string;
776
+ recipients: {
777
+ tokenName: string;
778
+ address: string;
779
+ amount: string;
780
+ }[];
781
+ wallet: {
782
+ id: string;
783
+ users: {
784
+ user: string;
785
+ permissions: string[];
786
+ }[];
787
+ coin: string;
788
+ label: string;
789
+ m: number;
790
+ n: number;
791
+ keys: string[];
792
+ keySignatures: {};
793
+ enterprise: string;
794
+ organization: string;
795
+ bitgoOrg: string;
796
+ tags: string[];
797
+ disableTransactionNotifications: boolean;
798
+ freeze: {};
799
+ deleted: boolean;
800
+ approvalsRequired: number;
801
+ isCold: boolean;
802
+ coinSpecific: {
803
+ rootAddress: string;
804
+ pendingChainInitialization: boolean;
805
+ creationFailure: never[];
806
+ lastMemoId: string;
807
+ trustedTokens: never[];
808
+ };
809
+ admin: {
810
+ policy: {
811
+ date: string;
812
+ id: string;
813
+ label: string;
814
+ rules: never[];
815
+ version: number;
816
+ latest: boolean;
817
+ };
818
+ };
819
+ clientFlags: never[];
820
+ walletFlags: never[];
821
+ allowBackupKeySigning: boolean;
822
+ recoverable: boolean;
823
+ startDate: string;
824
+ type: string;
825
+ buildDefaults: {};
826
+ customChangeKeySignatures: {};
827
+ hasLargeNumberOfAddresses: boolean;
828
+ multisigType: string;
829
+ hasReceiveTransferPolicy: boolean;
830
+ creator: string;
831
+ walletFullyCreated: boolean;
832
+ config: {};
833
+ balanceString: string;
834
+ confirmedBalanceString: string;
835
+ spendableBalanceString: string;
836
+ reservedBalanceString: string;
837
+ receiveAddress: {
838
+ id: string;
839
+ address: string;
840
+ chain: number;
841
+ index: number;
842
+ coin: string;
843
+ wallet: string;
844
+ coinSpecific: {
845
+ rootAddress: string;
846
+ memoId: string;
847
+ };
848
+ };
849
+ pendingApprovals: never[];
850
+ };
851
+ };
852
+ };
853
+ };
854
+ wrongTxTypeTxPrebuildBase64: string;
855
+ wrongTokenTxPrebuildBase64: string;
856
+ };
857
+ //# sourceMappingURL=blindSigning.d.ts.map