-
Notifications
You must be signed in to change notification settings - Fork 7
/
plutus.ts
3787 lines (3753 loc) · 337 KB
/
plutus.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// deno-lint-ignore-file
import {
applyParamsToScript,
Data,
Validator,
} from "https://deno.land/x/[email protected]/mod.ts";
export interface CollateralCollateralSpend {
new (
collateralScriptParams: { poolScriptHash: string; liquidationsPkh: string },
): Validator;
datum: {
poolNftName: string;
loanCs: { policyId: string; assetName: string };
loanAmount: bigint;
poolConfig: {
liquidationThreshold: bigint;
initialCollateralRatio: bigint;
poolFee: bigint;
loanFeeDetails: {
tier_1Fee: bigint;
tier_1Threshold: bigint;
tier_2Fee: bigint;
tier_2Threshold: bigint;
tier_3Fee: bigint;
tier_3Threshold: bigint;
liquidationFee: bigint;
platformFeeCollectorAddress: {
paymentCredential: { VerificationKeyCredential: [string] } | {
ScriptCredential: [string];
};
stakeCredential: {
Inline: [
{ VerificationKeyCredential: [string] } | {
ScriptCredential: [string];
},
];
} | {
Pointer: {
slotNumber: bigint;
transactionIndex: bigint;
certificateIndex: bigint;
};
} | null;
};
};
};
collateralCs: { policyId: string; assetName: string };
collateralAmount: bigint;
interestRate: bigint;
depositTime: bigint;
borrowerTn: string;
oracleCollateralNft: { policyId: string; assetName: string };
oracleLoanNft: { policyId: string; assetName: string };
tag: { transactionId: { hash: string }; outputIndex: bigint } | null;
};
redeemer: {
wrapper: {
action: "CollateralRepay" | "CollateralLiquidate";
interest: bigint;
};
};
}
export const CollateralCollateralSpend = Object.assign(
function (
collateralScriptParams: { poolScriptHash: string; liquidationsPkh: string },
) {
return {
type: "PlutusV2",
script: applyParamsToScript(
"5937aa0100003232323232323232323232323222253330083370e900018038008999911191919192999807991919191919191919191919191919191919191919191919299981598170010991919191919191919191919191919191919191919191919299981f99b87017480084c8c8c8c8c8c8c8c94ccc11ccdc3a4000608c0022646464646464646464646464646464646464646464646464a6660c660cc0042646464646464646464646464646464646464a6660e266e1d20023070001132325333077307a002153330733370e900018390008991919191919299983e9840008010a99983c99b8748008c1e00144c8c8c8c8c8c8c8c94ccc21404c220040084c8c8c8c8c8c8c8c8c8c8c94ccc23004cdc3a400061160203c26464646464646464a666130026136020042a6661280266e1d200030930100713232323232323232323232323232323253330a80130ab01002132323232323253330aa013371205c002264646464646464a66616202a66616202a66616202a66616202a6661620266ebc1ac02454ccc2c404c8c94ccc2cc040045288a9985a00a4811b6f7665725f636f6c6c61746572616c697a6564203f2046616c73650014a0646466e24cdc11bad330b00130b20100148000dd699858009859008012400466e08dd69985800985900801240006eb4cc2c004c2c8040052002307a4820225e8c8c94ccc2d004cdc4000a4000266e952000330b901375066e052000002330b901375066e0520000014bd70099ba548000cc2e404dd40011985c809ba80014bd7019b820020093370400e90406054654d1d1bad330ad0130af01027480085288a9985900a497466696e616e63652e636865636b5f69735f6f766572636f6c6c61746572697a6564286c6f616e5f76616c75652c20636f6c6c61746572616c5f746f6b656e735f76616c75652c20706f6f6c5f636f6e6669672e696e697469616c5f636f6c6c61746572616c5f726174696f29203f2046616c73650014a0294054ccc2c404cdd79985680985780824240046615a02615e020e290010a5115330b20149014c706f6f6c5f616464726573732e7374616b655f63726564656e7469616c203d3d20636f6c6c61746572616c5f616464726573732e7374616b655f63726564656e7469616c203f2046616c73650014a0294054ccc2c4040085288a9985900a4918746f6b656e5f6e616d655f636865636b203f2046616c73650014a0294054ccc2c4040145288a9985900a49117461675f636865636b203f2046616c73650014a0294054ccc2c4040045288a9985900a4926746f6b656e5f6e616d655f6f7265665f636f6e73756d65645f636865636b203f2046616c73650014a02940cc1c8268048cdd79985680985780800a400000666e3c22004c8c8c8c8c8c8c8dca00099b8b003001375c6174020026162020066eb4c2e004004c2e004008c2d804004c2b404004c2d004004c2ac0428804c94ccc2b404cdc3a400000226464660e213202466ebccc2b004c2b804005200000230b40100130ab0104f14a261560209c6666660ec126020080246460ec00260e400402044666444646460f8002660f200264646466e952000330b901375066e00cdc11bad330b00130b20100248000dd69985800985900800a400466e08dd69985800985900800a40006eb4cc2c004c2c8040092002330b901375066e08dd69985800985900801240046eb4cc2c004c2c80400520024bd70191983e800803983d241941e60f200266e0800920d00f3307900332307800133704906507801183a00200100099999983a8490080180999183a8009838818006911999111919183d8009983c00099191983d800983ca41941e66e952000330b601375066e04cdc11bad330ad0130af0100148000dd69985680985780802a400466e08dd69985680985780802a40006eb4cc2b404c2bc040052002330b601375066e08dd69985680985780800a40046eb4cc2b404c2bc0401520024bd70183b8011983c00199183b80099b82483403c008c1cc0c800800454cc2ac05241254578706563746564206f6e20696e636f727265637420626f6f6c65616e2076617269616e740016333076067375c6614a02614e0202090001bae330a50130a70101048008cdd2a40006615a026ea401ccc2b404044cc2b404dd4017198568080f198568080799856809ba802c330ad0137500506615a026ea0004cc2b404dd481519856808069985680805998568082525eb80dd69856808009852009929998538099b8748008c29804004400454cc2a00524012a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e0016330a20130a401330a20130a401085014800120003071006307700f15330a501491334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c6152020026152020046eb8c29c04004c29c04008c29404004c29404008c28c04004c28c04008c28404004c28404008c27c04004c27c04008c27404004c27404008c26c04004c2480401c54cc254052412a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e0016153309501491334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375a6132020026132020046eb4c25c04004c25c04008dd6984a80800984a8080118498080098450080f0a9984680a4812a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e0016305d001309001001308701001308e01001308e01001308d01001308301001308a01001308a0100130800132308901001308001325333083013370e900018410080088008a9984200a4812a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e00163305206a23375e660fe61020200290000069929998410099b87480000044c8c94ccc22004c22c040084c926307c001153308501491334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e206578706563746564001630890100130800100a15333082013370e90010008a999843009840008050a4c2a661060292011d4578706563746564206e6f206669656c647320666f7220436f6e73747200161533083014912b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e7400163080010091533082014901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375a610c02002610c020046eb8c21004004c21004008dd69841008009841008011bad3080010013077005153307a49012a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e0016153307a491334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016307e001307e002307c001307c002307a001307100115330744912a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e00161533074491334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e20657870656374656400163078001306f00115330724912a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e00163076001306d3253330703370e9000183780088008a99838a492a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e0016330333756660d660da660d660da0ca90002402466e9520023307400a4bd70183a0009835800983900098390009838801183780098330009836800983680118358009831181d9981c827119b873330323756660c260c6660c260c60029001240040aa03a90011817803981700418168089819009181580a8a99830249334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016306400130640023062001306200230600013060002375c60bc00260bc0046eb4c170004c170008dd6982d000982d0011bad305800130580023056001305600230540013054002375a60a400260a400460a000260a00046eb8c138004c11400454cc12124012a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e0016304c0013043001304a001304a002375660900026090004608c002607a602c6602804a46464a66608466e1d2002001132323371e0020406eb8c124004c10000852818200009981e181f1981e181f000a400090000a99981f99b87017480044c8c94ccc104ccc104cdd7998029bab3303d303f3303d303f0374800120123374a900119823000a5eb81300103d87a80004a09444cc00cdd61981e981f9981e981f81ba400090001299982119baf3303e3040001480000084cdd79981f18201981f18201981f1820000a400490002400066e95200233047375203c97ae014a02940c118004c0f40d0528180080091129998220010a50132325333042300300214a2266600a00a0020066090006608c00444660060040026002002444a666082004298103d87a800013232323253330413375e00a002266e952000330460024bd7009998038038018029821001982100118228019821801119ba548000cc0fcdd40009981f9ba8480092f5c0446466008002006a66607466e20dd69981b181c000a40009000099ba548000cc0fcdd419b8148000dd69981b181c000a40046607e6ea0cdc0a40006eb4cc0d8c0e000520004bd700a99981d19b8848000dd69981b181c000a4000266e9520003303f33036303800148008cc0fccc0d8c0e000520004bd700a9981da491744656e6f6d696e61746f722063616e6e6f7420626520300016223374a90001981f1ba8337046eb4cc0d4c0dc0092000375a6606a606e00290001981f1ba8337046eb4cc0d4c0dc0092002375a6606a606e002900125eb808cdc19bad33033303500148000dd699819981a800a4004444444a66607666e3cdd71981b981c802240009110010031323232533303e337100106eb4cc0e8c0f000d20061533303e533303e3375e00e6607460780029002099baf3303a303c00148019300106d8799f4040ff0014a02660046eb4cc0e8c0f000d2004375a66074607800690010a99981f299981f19baf0073303a303c001480184cdd79981d181e000a4008980106d8799f4040ff0014a02660046eb4cc0e8c0f000d2002375a66074607800690020a9981fa490f426164206f7261636c6520646174610016153303f491174f7261636c652064617461206973206578706972656420001633039303b0024800088cc010008004c8c8c8c8c8c8c8c8c8c8008c94ccc114cdc3a4000002264646464646464646464a6660a660ac0042649319299982819b87480000044c8c8c8c8c8c8c8c94ccc170c17c0084c8c8c8c92630270043026005302500630240071533059491334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016305d001305d002305b001305b002305900130590023057001304e00a15330514912b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016304e00915330504901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375a60a800260a80046eb4c148004c148008dd6982800098280011bad304e001304e002304c0013043002153304649012b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e74001630430013049001304053330423370e9002182080088008a99821a4812a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e0016304700130470013046001303c0013043001304300130393322323044001303b32533303e3370e9000181e80088008a9981fa492a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e00163300d00823370e6660166eaccc0e8c0f0cc0e8c0f000520024800800c0092002375c6606e607200490001bae330373039002480088c94ccc0d8cdc3a4000002264646464a66607c60820042930a9981da481334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c607e002607e0046eb8c0f4004c0d000854cc0dd2412b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016303400122232323253330393370e90010008a40002646eb4c100004c0dc008c0dc004c94ccc0e0cdc3a4004002298103d87a800013232330080010053756607e002606c004606c002660500060046002002444a666070004298103d87a800013232323253330383371e00a002266e9520003303d375000497ae01333007007003005375c60720066eb4c0e4008c0f000cc0e8008c0040048894ccc0d8008530103d87a8000132325333034300300213374a90001981c80125eb804ccc01401400400cc0e800cc0e00088c94ccc0c0cdc3a400000226464646464646464a666078607e0042649319299981c99b87480000044c8c8c8c8c8c8c8c8c8c8c8c8c8c8c8c94ccc134c1400084c926301c001153304a491334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016304e001304e002375a609800260980046eb4c128004c128008dd6982400098240011bad30460013046002375a608800260880046eb4c108004c108008dd69820000981b8010a9981d2492b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016303700115330394901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016303d001303d002375a607600260760046eb4c0e4004c0e4008dd6981b80098170010a99818a4812b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016302e001232533302f3370e9000000899191919299981b981d0010991924c64a66606a66e1d200000113232533303b303e002132498c94ccc0e0cdc3a400000226464a66607c60820042649318070008a9981da49334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016303f0013036002153330383370e90010008991919191919299982118228010a4c2a6607e9201334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375a608600260860046eb4c104004c104008dd6981f800981b0010a9981ca4812b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016303600115330384901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016303c0013033003153330353370e90010008a99981c98198018a4c2a6606c92011d4578706563746564206e6f206669656c647320666f7220436f6e737472001615330364912b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016303300230070031533034491334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016303800130380023036001302d00215330304912b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016302d001232533302e3370e900000089919299981a181b8010a4c2a66062921334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c606a00260580042a66605c66e1d20020011323253330343037002149854cc0c52401334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c606a00260580042a6605e9212b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016302c0013001001222533303100214bd70099192999817980180109981a0011998028028008018999802802800801981a80198198011299981518191818800898180008a99815a4810c61696b656e3a3a6572726f720016375a60560046eb8c0a400454cc0a1241334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016302c001323253330273370e90010008a5eb7bdb1804c8dd59817000981280118128009980b8018009bae302a001302153330233370e9000181100788078a998122492a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e0016332322330020014881003001001222533302900214bd6f7b630099191919299981499b8f005001100313302e337606ea4004dd30011998038038018029bae302a00337566054004605a006605600400a604e002604e002604c002604a0046eacc08c004c08c004c088008dd6181000098100011bac301e001301e002375860380026026006603400260340046030002601e00e6eb8c058004c0340285261622330030020013001001222533301300214c103d87a800013232323253330133371e00a002266e95200033018374c00497ae01333007007003005375c60280066eacc050008c05c00cc054008c800cc94ccc030cdc3a400000226464a666024602a0042649318030008a99807a481334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e20657870656374656400163013001300a003153300d4912b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016300a002232533300a3370e90000008991919192999809180a80109924c64a66601e66e1d20000011323253330153018002149854cc049241334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c602c002601a0082a660209212b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016300d003153300f4901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375a60260026026004602200260100042a660169212b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016300800100200113332323222232323232323232323232323232323232533301e323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232325333052323371266e08dd6998279828801240006eb4cc13cc1440052002337046eb4cc13cc1440052000375a6609e60a20049001181c00109919191919191919191919191919191919299983199b87480000044c94ccc1914ccc1900385288a99832a48119706c6174666f726d5f6665655f70616964203f2046616c73650014a02a6660c8002294454cc1952401116e66745f636865636b203f2046616c73650014a02940ccccc8c88888c8cdd79ba6001374c660de66ec0dd48019ba80024bd6f7b63019911919299983699b874800800452f5bded8c02646eacc1d0004c1ac008c1ac004cc15c008004cc0140112201000033001001222533306a00214bd6f7b630099191919299983519b8f005001100313306f337606ea4004dd30011998038038018029bae306b003375660d600460dc00660d80046eaccc17cc184cc17cc184159200048020008dd71982f983082a24020900089919191919191919191919192999837a999837a99983780c8a51153307049119706c6174666f726d5f6665655f70616964203f2046616c73650014a02a6660de006294454cc1c1240118636f6c6c61746572616c5f636865636b203f2046616c73650014a0294054ccc1bc0045288a99838249206c69717569646174696f6e5f6f75747075745f636865636b203f2046616c73650014a029414ccc1b8cdc42400000226464646464646464646464646464a6660f8a6660f8004294454cc1f52401167175616e746974795f636865636b203f2046616c73650014a02a6660f8002294454cc1f5240113646174756d5f636865636b203f2046616c73650014a02940cdd780180119b8900d33306300600b0093374a90001983f1ba90183307e33075307706a480412f5c060fc00260eaa6660ee66e1d200430760011001153307849012a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e0016307c001307c002375660f400260f400260e064a6660e660f660f4002260f20022a660e89210c61696b656e3a3a6572726f72001633323001001222533307900214bd7009919299983b980180109983e0011998028028008018999802802800801983e801983d801023919baf3306f307100148000028dd7183b800983b8011bae3075001306c3306a306c05f4802052898280011929998368008a51153306e49011c756e6465725f636f6c6c61746572616c697a6564203f2046616c73650014a064660a400260a6904044bd191982880099b820260073370400890406054654d1d191980380098291bad33068306a05d48028cc01c004c14400ccc138cdc119b81002004482c209dd2080897a3374a90001983719ba548008cc1b8dd482425eb80cc1b80292f5c066666600a07e056660c860cc0b29004182580099832183302ca4024446464609e0026600c0026464660a8002646601400200e60a6906507982900099b82002483403ccc01800cc8c144004cdc1241941e00464609c0026eb4cc18cc194161200a33333300303d02933062306405748008c124048cc188c19015d2014223232304d001330040013232330070013051483283ccdd2a4000660de6ea0cdc099b82375a660cc60d000290001bad33066306801648008cdc11bad33066306801648000dd6998331834000a4004660de6ea0cdc11bad33066306800148008dd699833183400b2400497ae0304f0023300401432304f00133704906807801111919802000801a99983399b88375a660c660ca002900024000266e9520003306c375066e052000375a660c660ca0029001198361ba83370290001bad330633065001480012f5c02a6660ce66e212000375a660c660ca0029000099ba548000cc1b0cc18cc19400520023306c330633065001480012f5c02a660d09211744656e6f6d696e61746f722063616e6e6f7420626520300016223374a9000198359ba8337046eb4cc188c1900092000375a660c460c80029000198359ba8337046eb4cc188c1900092002375a660c460c8002900125eb808888894ccc1a4cdc79bae330653067004480012210010031323232533306c337100106eb4cc1a0c1a800d20061533306c533306c3375e00e660d060d40029002099baf33068306a00148019300106d8799f4040ff0014a02660046eb4cc1a0c1a800d2004375a660d060d400690010a999836299983619baf00733068306a001480184cdd7998341835000a4008980106d8799f4040ff0014a02660046eb4cc1a0c1a800d2002375a660d060d400690020a99836a490f426164206f7261636c6520646174610016153306d491174f7261636c65206461746120697320657870697265642000163306730690024800088cc010008004c8c8c8c8c8c8c8c8c8c8008c94ccc1cccdc3a4000002264646464646464646464a666102026108020042649319299983f19b87480000044c8c8c8c8c8c8c8c94ccc22804c234040084c8c8c8c926307f004307e005307d006307c007153308701491334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016308b01001308b01002308901001308901002308701001308701002308501001307c00a153307f4912b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016307c009153307e4901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375a6104020026104020046eb4c20004004c20004008dd6983f000983f0011bad307c001307c002307a0013071002153307449012b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e74001630710013077001306e53330703370e9002183780088008a99838a4812a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e0016307500130750013074001306a001307100130710013067333051006375c660ca60ce00490001bae33065306700248008c184050dd71833800982f001983280098328011831800982d0009830800982c000982f800982f800982a99182f000982a99299982c19b8748000c15c004400454cc16524012a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e00163304603023375e660a860ac0029000012a99982b299982b19b87003480005288a9982ba48124706c6174666f726d5f6665655f616d6f756e745f696e74203d3d2030203f2046616c73650014a0294454ccc1580045288a9982ba4919706c6174666f726d5f6665655f73656e74203f2046616c73650014a066646002002444a6660b800429404c8c94ccc168c00c00852889998028028008019830001982f00101511999911119191919299982f19baf00300813371200a66608e00200e00c2940dd5983180098318011830800982c00299829182a005a401c6eb8cc148c150cc148c15011d200248000dd719829182a19829182a023a40049001001991981e000981d9bad33051305304648010cc0ec00c008c0d8004c8cc0dc0052080897a3370400400c2a660a6921254578706563746564206f6e20696e636f727265637420626f6f6c65616e2076617269616e74001633332222323303a0013370490405844fdf500a410112f466e08cdc100180219b81001002375a6609a609e08490061bad3304d304f04248010dd69982698278212401c0246eb4c158004c158008c150004c12c0fcc94ccc134cc0c8004c0ccdd69982498258012400426eb4cc124c12c00920001533304d330320013033375a660926096004900309bad33049304b002480104dd699824982580124010646606200266e00dd6998249825804a40086eb4cc124c12c0252002337046eb4cc120c1280f520044820225e8c144004c144004c140004c13c008dd69826800982219821182201ba400c64a66608c66e1d20000011323232323232323253330523055002132498c94ccc13ccdc3a4000002264646464646464646464646464646464a6660c660cc004264646464646493182d005182c805982c006182b806982b007182b0078a99830249334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c60c800260c80046eb8c188004c188008c180004c180008c178004c178008c170004c170008c168004c168008c160004c160008c158004c13402054cc1412412b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016304d007153304f4901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375a60a600260a60046eb4c144004c144008dd698278009827801182680098220010a99823a4812b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e7400163044001304a00130413253330443370e9002182180088008a99822a4812a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e00163303f30413303f304100148009200433302a01b023001375c608e002607c0626eb4c114004c0f14ccc0f8cdc3a4004607a00620062a6607e92012a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e0016375a60860026074a66607866e1d2002303b0031003153303d4912a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e001630410013038003303f0013036003303d001303d002303b00130320033039001303053330323370e9001181880688068a99819a492a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e00163037001303700130360013035001303400130330023758606200260620046eb0c0bc004c0bc008dd618168009812001981580098158011814800981000a9bae30270013027002375c604a00260380322930b119b83375a66034603800290001bad3301a301c00148008894ccc078cdc4000a4000266e95200033023375066e05200000233023375066e0520000014bd70099ba548000cc08cdd4001198119ba80014bd701119b88337046eb4cc064c06c0092000375a660326036002900119b82375a66032603600290001bad33019301b002480088cdd2a4000660406ea0004cc080dd42400497ae0223374a9000198101ba83370066e08dd69980b980c801240006eb4cc05cc0640052002337046eb4cc05cc0640052000375a6602e60320049001198101ba8337046eb4cc05cc0640092002375a6602e6032002900125eb80888c8c088004c064c94ccc070cdc3a4000603600220022a6603a9212a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e00163300a00323370e66600a6eaccc060c068cc060c06800520024800800c0092002222323232533301d3370e90010008a40002646eb4c090004c06c008c06c004c94ccc070cdc3a40040022980103d87a8000132323300800100537566046002603400460340026600c0060046002002444a666038004298103d87a8000132323232533301c3371e00a002266e95200033021375000497ae01333007007003005375c603a0066eb4c074008c08000cc07800888cc00c008004c0040048894ccc0640085300103d87a800013232323253330193371e00a002266e9520003301e374c00497ae01333007007003005375c60340066eacc068008c07400cc06c008c0040048894ccc05c008530103d87a8000132325333015300300213374a90001980d00125eb804ccc01401400400cc06c00cc064008c8014c94ccc040cdc3a40000022646464646464646464646464646464646464646464646464a666058605e00426464646464649319299981719b87480000044c8c94ccc0d0c0dc0084c9263253330313370e9000000899191919299981c981e00109924c64a66606c66e1d200000113232533303c303f002149854cc0e52401334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c607a00260680082a6606e9212b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016303400315330364901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375a607400260740046070002605e0042a660649212b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016302f00115330314901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e20657870656374656400163035001302c0071533302e3370e90010008a99981918160038a4c2a6605e92011d4578706563746564206e6f206669656c647320666f7220436f6e7374720016153302f4912b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016302c00630220073021008302001132533302a3370e900000089919191919191919299981b181c80109924c64a66606666e1d20000011323232323232323232323232323232325333047304a002132498c0e800454cc1112401334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e206578706563746564001630480013048002375a608c002608c0046eb4c110004c110008dd6982100098210011bad30400013040002375a607c002607c0046eb4c0f0004c0f0008dd6981d00098188010a9981a2492b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016303100115330334901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e206578706563746564001630370013037002375a606a002606a0046eb4c0cc004c0cc008dd6981880098140098a99815a4812b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e7400163028012301e0151533029491334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016302d001302d002302b001302b00230290013029002375c604e002604e0046eb4c094004c094008dd6981180098118011bad30210013021002301f001301f002301d001301d002375a60360026036004603200260320046eb8c05c004c03801454cc04524012b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016300e0043200332533300f3370e9000000899191919299980b980d00109924c64a66602866e1d2000001153330183012004149854cc0552411d4578706563746564206e6f206669656c647320666f7220436f6e7374720016153330143370e90010008a99980c18090020a4c2a6602a92011d4578706563746564206e6f206669656c647320666f7220436f6e737472001615330154912b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016301200315330144901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375a60300026030004602c002601a0062a660209212b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016300d002232533300c3370e9000000899191919299980a180b8010a4c2a66022921334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c602a002602a0046eb8c04c004c02800854cc0352412b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016300a001232533300b3370e90000008991919192999809980b0010991924c64a66602266e1d2000001132325333017301a002132498c94ccc050cdc3a400000226464a666034603a0042649318070008a9980ba49334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016301b0013012002153330143370e90010008991919191919299980f18108010a4c2a660369201334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375a603e002603e0046eb4c074004c074008dd6980d80098090010a9980aa4812b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016301200115330144901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e20657870656374656400163018001300f003153330113370e90010008a99980a98078018a4c2a6602492011d4578706563746564206e6f206669656c647320666f7220436f6e737472001615330124912b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016300f00230070031533010491334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e20657870656374656400163014001301400230120013009002153300c4912b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e7400163009001232533300a3370e900000089919299980818098010a4c2a6601a921334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c602200260100042a66601466e1d20020011323253330103013002149854cc0352401334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c602200260100042a660169212b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e7400163008001002300e300600133001001480008888cccc01ccdc38008018069199980280299b8000448008c03c0040080088c018dd5000918021baa0015734ae7155ceaab9e5573eae815d0aba257461",
[collateralScriptParams],
{
"dataType": "list",
"items": [{
"title": "CollateralScriptParams",
"anyOf": [{
"title": "CollateralScriptParams",
"dataType": "constructor",
"index": 0,
"fields": [{ "dataType": "bytes", "title": "poolScriptHash" }, {
"dataType": "bytes",
"title": "liquidationsPkh",
}],
}],
}],
} as any,
),
};
},
{
datum: {
"title": "CollateralDatum",
"anyOf": [{
"title": "CollateralDatum",
"dataType": "constructor",
"index": 0,
"fields": [
{ "dataType": "bytes", "title": "poolNftName" },
{
"title": "loanCs",
"anyOf": [{
"title": "AssetClass",
"dataType": "constructor",
"index": 0,
"fields": [{ "dataType": "bytes", "title": "policyId" }, {
"dataType": "bytes",
"title": "assetName",
}],
}],
},
{ "dataType": "integer", "title": "loanAmount" },
{
"title": "poolConfig",
"anyOf": [{
"title": "Config",
"dataType": "constructor",
"index": 0,
"fields": [
{ "dataType": "integer", "title": "liquidationThreshold" },
{ "dataType": "integer", "title": "initialCollateralRatio" },
{ "dataType": "integer", "title": "poolFee" },
{
"title": "loanFeeDetails",
"anyOf": [{
"title": "PlatformFeeDetails",
"dataType": "constructor",
"index": 0,
"fields": [
{ "dataType": "integer", "title": "tier_1Fee" },
{ "dataType": "integer", "title": "tier_1Threshold" },
{ "dataType": "integer", "title": "tier_2Fee" },
{ "dataType": "integer", "title": "tier_2Threshold" },
{ "dataType": "integer", "title": "tier_3Fee" },
{ "dataType": "integer", "title": "tier_3Threshold" },
{ "dataType": "integer", "title": "liquidationFee" },
{
"title": "platformFeeCollectorAddress",
"description":
"A Cardano `Address` typically holding one or two credential references.\n\n Note that legacy bootstrap addresses (a.k.a. 'Byron addresses') are\n completely excluded from Plutus contexts. Thus, from an on-chain\n perspective only exists addresses of type 00, 01, ..., 07 as detailed\n in [CIP-0019 :: Shelley Addresses](https://github.com/cardano-foundation/CIPs/tree/master/CIP-0019/#shelley-addresses).",
"anyOf": [{
"title": "Address",
"dataType": "constructor",
"index": 0,
"fields": [{
"title": "paymentCredential",
"description":
"A general structure for representing an on-chain `Credential`.\n\n Credentials are always one of two kinds: a direct public/private key\n pair, or a script (native or Plutus).",
"anyOf": [{
"title": "VerificationKeyCredential",
"dataType": "constructor",
"index": 0,
"fields": [{ "dataType": "bytes" }],
}, {
"title": "ScriptCredential",
"dataType": "constructor",
"index": 1,
"fields": [{ "dataType": "bytes" }],
}],
}, {
"title": "stakeCredential",
"anyOf": [{
"title": "Some",
"description": "An optional value.",
"dataType": "constructor",
"index": 0,
"fields": [{
"description":
"Represent a type of object that can be represented either inline (by hash)\n or via a reference (i.e. a pointer to an on-chain location).\n\n This is mainly use for capturing pointers to a stake credential\n registration certificate in the case of so-called pointer addresses.",
"anyOf": [{
"title": "Inline",
"dataType": "constructor",
"index": 0,
"fields": [{
"description":
"A general structure for representing an on-chain `Credential`.\n\n Credentials are always one of two kinds: a direct public/private key\n pair, or a script (native or Plutus).",
"anyOf": [{
"title": "VerificationKeyCredential",
"dataType": "constructor",
"index": 0,
"fields": [{ "dataType": "bytes" }],
}, {
"title": "ScriptCredential",
"dataType": "constructor",
"index": 1,
"fields": [{ "dataType": "bytes" }],
}],
}],
}, {
"title": "Pointer",
"dataType": "constructor",
"index": 1,
"fields": [{
"dataType": "integer",
"title": "slotNumber",
}, {
"dataType": "integer",
"title": "transactionIndex",
}, {
"dataType": "integer",
"title": "certificateIndex",
}],
}],
}],
}, {
"title": "None",
"description": "Nothing.",
"dataType": "constructor",
"index": 1,
"fields": [],
}],
}],
}],
},
],
}],
},
],
}],
},
{
"title": "collateralCs",
"anyOf": [{
"title": "AssetClass",
"dataType": "constructor",
"index": 0,
"fields": [{ "dataType": "bytes", "title": "policyId" }, {
"dataType": "bytes",
"title": "assetName",
}],
}],
},
{ "dataType": "integer", "title": "collateralAmount" },
{ "dataType": "integer", "title": "interestRate" },
{ "dataType": "integer", "title": "depositTime" },
{ "dataType": "bytes", "title": "borrowerTn" },
{
"title": "oracleCollateralNft",
"anyOf": [{
"title": "AssetClass",
"dataType": "constructor",
"index": 0,
"fields": [{ "dataType": "bytes", "title": "policyId" }, {
"dataType": "bytes",
"title": "assetName",
}],
}],
},
{
"title": "oracleLoanNft",
"anyOf": [{
"title": "AssetClass",
"dataType": "constructor",
"index": 0,
"fields": [{ "dataType": "bytes", "title": "policyId" }, {
"dataType": "bytes",
"title": "assetName",
}],
}],
},
{
"title": "tag",
"anyOf": [{
"title": "Some",
"description": "An optional value.",
"dataType": "constructor",
"index": 0,
"fields": [{
"description":
"An `OutputReference` is a unique reference to an output on-chain. The `output_index`\n corresponds to the position in the output list of the transaction (identified by its id)\n that produced that output",
"anyOf": [{
"title": "OutputReference",
"dataType": "constructor",
"index": 0,
"fields": [{
"title": "transactionId",
"description":
"A unique transaction identifier, as the hash of a transaction body. Note that the transaction id\n isn't a direct hash of the `Transaction` as visible on-chain. Rather, they correspond to hash\n digests of transaction body as they are serialized on the network.",
"anyOf": [{
"title": "TransactionId",
"dataType": "constructor",
"index": 0,
"fields": [{ "dataType": "bytes", "title": "hash" }],
}],
}, { "dataType": "integer", "title": "outputIndex" }],
}],
}],
}, {
"title": "None",
"description": "Nothing.",
"dataType": "constructor",
"index": 1,
"fields": [],
}],
},
],
}],
},
},
{
redeemer: {
"title": "Wrapped Redeemer",
"description":
"A redeemer wrapped in an extra constructor to make multi-validator detection possible on-chain.",
"anyOf": [{
"dataType": "constructor",
"index": 1,
"fields": [{
"anyOf": [{
"title": "CollateralRedeemer",
"dataType": "constructor",
"index": 0,
"fields": [{
"title": "action",
"anyOf": [{
"title": "CollateralRepay",
"dataType": "constructor",
"index": 0,
"fields": [],
}, {
"title": "CollateralLiquidate",
"dataType": "constructor",
"index": 1,
"fields": [],
}],
}, { "dataType": "integer", "title": "interest" }],
}],
}],
}],
},
},
) as unknown as CollateralCollateralSpend;
export interface CollateralCollateralPolicy {
new (
collateralScriptParams: { poolScriptHash: string; liquidationsPkh: string },
): Validator;
r: { oref: { transactionId: { hash: string }; outputIndex: bigint } };
}
export const CollateralCollateralPolicy = Object.assign(
function (
collateralScriptParams: { poolScriptHash: string; liquidationsPkh: string },
) {
return {
type: "PlutusV2",
script: applyParamsToScript(
"5937aa0100003232323232323232323232323222253330083370e900018038008999911191919192999807991919191919191919191919191919191919191919191919299981598170010991919191919191919191919191919191919191919191919299981f99b87017480084c8c8c8c8c8c8c8c94ccc11ccdc3a4000608c0022646464646464646464646464646464646464646464646464a6660c660cc0042646464646464646464646464646464646464a6660e266e1d20023070001132325333077307a002153330733370e900018390008991919191919299983e9840008010a99983c99b8748008c1e00144c8c8c8c8c8c8c8c94ccc21404c220040084c8c8c8c8c8c8c8c8c8c8c94ccc23004cdc3a400061160203c26464646464646464a666130026136020042a6661280266e1d200030930100713232323232323232323232323232323253330a80130ab01002132323232323253330aa013371205c002264646464646464a66616202a66616202a66616202a66616202a6661620266ebc1ac02454ccc2c404c8c94ccc2cc040045288a9985a00a4811b6f7665725f636f6c6c61746572616c697a6564203f2046616c73650014a0646466e24cdc11bad330b00130b20100148000dd699858009859008012400466e08dd69985800985900801240006eb4cc2c004c2c8040052002307a4820225e8c8c94ccc2d004cdc4000a4000266e952000330b901375066e052000002330b901375066e0520000014bd70099ba548000cc2e404dd40011985c809ba80014bd7019b820020093370400e90406054654d1d1bad330ad0130af01027480085288a9985900a497466696e616e63652e636865636b5f69735f6f766572636f6c6c61746572697a6564286c6f616e5f76616c75652c20636f6c6c61746572616c5f746f6b656e735f76616c75652c20706f6f6c5f636f6e6669672e696e697469616c5f636f6c6c61746572616c5f726174696f29203f2046616c73650014a0294054ccc2c404cdd79985680985780824240046615a02615e020e290010a5115330b20149014c706f6f6c5f616464726573732e7374616b655f63726564656e7469616c203d3d20636f6c6c61746572616c5f616464726573732e7374616b655f63726564656e7469616c203f2046616c73650014a0294054ccc2c4040085288a9985900a4918746f6b656e5f6e616d655f636865636b203f2046616c73650014a0294054ccc2c4040145288a9985900a49117461675f636865636b203f2046616c73650014a0294054ccc2c4040045288a9985900a4926746f6b656e5f6e616d655f6f7265665f636f6e73756d65645f636865636b203f2046616c73650014a02940cc1c8268048cdd79985680985780800a400000666e3c22004c8c8c8c8c8c8c8dca00099b8b003001375c6174020026162020066eb4c2e004004c2e004008c2d804004c2b404004c2d004004c2ac0428804c94ccc2b404cdc3a400000226464660e213202466ebccc2b004c2b804005200000230b40100130ab0104f14a261560209c6666660ec126020080246460ec00260e400402044666444646460f8002660f200264646466e952000330b901375066e00cdc11bad330b00130b20100248000dd69985800985900800a400466e08dd69985800985900800a40006eb4cc2c004c2c8040092002330b901375066e08dd69985800985900801240046eb4cc2c004c2c80400520024bd70191983e800803983d241941e60f200266e0800920d00f3307900332307800133704906507801183a00200100099999983a8490080180999183a8009838818006911999111919183d8009983c00099191983d800983ca41941e66e952000330b601375066e04cdc11bad330ad0130af0100148000dd69985680985780802a400466e08dd69985680985780802a40006eb4cc2b404c2bc040052002330b601375066e08dd69985680985780800a40046eb4cc2b404c2bc0401520024bd70183b8011983c00199183b80099b82483403c008c1cc0c800800454cc2ac05241254578706563746564206f6e20696e636f727265637420626f6f6c65616e2076617269616e740016333076067375c6614a02614e0202090001bae330a50130a70101048008cdd2a40006615a026ea401ccc2b404044cc2b404dd4017198568080f198568080799856809ba802c330ad0137500506615a026ea0004cc2b404dd481519856808069985680805998568082525eb80dd69856808009852009929998538099b8748008c29804004400454cc2a00524012a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e0016330a20130a401330a20130a401085014800120003071006307700f15330a501491334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c6152020026152020046eb8c29c04004c29c04008c29404004c29404008c28c04004c28c04008c28404004c28404008c27c04004c27c04008c27404004c27404008c26c04004c2480401c54cc254052412a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e0016153309501491334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375a6132020026132020046eb4c25c04004c25c04008dd6984a80800984a8080118498080098450080f0a9984680a4812a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e0016305d001309001001308701001308e01001308e01001308d01001308301001308a01001308a0100130800132308901001308001325333083013370e900018410080088008a9984200a4812a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e00163305206a23375e660fe61020200290000069929998410099b87480000044c8c94ccc22004c22c040084c926307c001153308501491334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e206578706563746564001630890100130800100a15333082013370e90010008a999843009840008050a4c2a661060292011d4578706563746564206e6f206669656c647320666f7220436f6e73747200161533083014912b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e7400163080010091533082014901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375a610c02002610c020046eb8c21004004c21004008dd69841008009841008011bad3080010013077005153307a49012a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e0016153307a491334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016307e001307e002307c001307c002307a001307100115330744912a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e00161533074491334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e20657870656374656400163078001306f00115330724912a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e00163076001306d3253330703370e9000183780088008a99838a492a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e0016330333756660d660da660d660da0ca90002402466e9520023307400a4bd70183a0009835800983900098390009838801183780098330009836800983680118358009831181d9981c827119b873330323756660c260c6660c260c60029001240040aa03a90011817803981700418168089819009181580a8a99830249334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016306400130640023062001306200230600013060002375c60bc00260bc0046eb4c170004c170008dd6982d000982d0011bad305800130580023056001305600230540013054002375a60a400260a400460a000260a00046eb8c138004c11400454cc12124012a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e0016304c0013043001304a001304a002375660900026090004608c002607a602c6602804a46464a66608466e1d2002001132323371e0020406eb8c124004c10000852818200009981e181f1981e181f000a400090000a99981f99b87017480044c8c94ccc104ccc104cdd7998029bab3303d303f3303d303f0374800120123374a900119823000a5eb81300103d87a80004a09444cc00cdd61981e981f9981e981f81ba400090001299982119baf3303e3040001480000084cdd79981f18201981f18201981f1820000a400490002400066e95200233047375203c97ae014a02940c118004c0f40d0528180080091129998220010a50132325333042300300214a2266600a00a0020066090006608c00444660060040026002002444a666082004298103d87a800013232323253330413375e00a002266e952000330460024bd7009998038038018029821001982100118228019821801119ba548000cc0fcdd40009981f9ba8480092f5c0446466008002006a66607466e20dd69981b181c000a40009000099ba548000cc0fcdd419b8148000dd69981b181c000a40046607e6ea0cdc0a40006eb4cc0d8c0e000520004bd700a99981d19b8848000dd69981b181c000a4000266e9520003303f33036303800148008cc0fccc0d8c0e000520004bd700a9981da491744656e6f6d696e61746f722063616e6e6f7420626520300016223374a90001981f1ba8337046eb4cc0d4c0dc0092000375a6606a606e00290001981f1ba8337046eb4cc0d4c0dc0092002375a6606a606e002900125eb808cdc19bad33033303500148000dd699819981a800a4004444444a66607666e3cdd71981b981c802240009110010031323232533303e337100106eb4cc0e8c0f000d20061533303e533303e3375e00e6607460780029002099baf3303a303c00148019300106d8799f4040ff0014a02660046eb4cc0e8c0f000d2004375a66074607800690010a99981f299981f19baf0073303a303c001480184cdd79981d181e000a4008980106d8799f4040ff0014a02660046eb4cc0e8c0f000d2002375a66074607800690020a9981fa490f426164206f7261636c6520646174610016153303f491174f7261636c652064617461206973206578706972656420001633039303b0024800088cc010008004c8c8c8c8c8c8c8c8c8c8008c94ccc114cdc3a4000002264646464646464646464a6660a660ac0042649319299982819b87480000044c8c8c8c8c8c8c8c94ccc170c17c0084c8c8c8c92630270043026005302500630240071533059491334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016305d001305d002305b001305b002305900130590023057001304e00a15330514912b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016304e00915330504901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375a60a800260a80046eb4c148004c148008dd6982800098280011bad304e001304e002304c0013043002153304649012b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e74001630430013049001304053330423370e9002182080088008a99821a4812a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e0016304700130470013046001303c0013043001304300130393322323044001303b32533303e3370e9000181e80088008a9981fa492a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e00163300d00823370e6660166eaccc0e8c0f0cc0e8c0f000520024800800c0092002375c6606e607200490001bae330373039002480088c94ccc0d8cdc3a4000002264646464a66607c60820042930a9981da481334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c607e002607e0046eb8c0f4004c0d000854cc0dd2412b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016303400122232323253330393370e90010008a40002646eb4c100004c0dc008c0dc004c94ccc0e0cdc3a4004002298103d87a800013232330080010053756607e002606c004606c002660500060046002002444a666070004298103d87a800013232323253330383371e00a002266e9520003303d375000497ae01333007007003005375c60720066eb4c0e4008c0f000cc0e8008c0040048894ccc0d8008530103d87a8000132325333034300300213374a90001981c80125eb804ccc01401400400cc0e800cc0e00088c94ccc0c0cdc3a400000226464646464646464a666078607e0042649319299981c99b87480000044c8c8c8c8c8c8c8c8c8c8c8c8c8c8c8c94ccc134c1400084c926301c001153304a491334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016304e001304e002375a609800260980046eb4c128004c128008dd6982400098240011bad30460013046002375a608800260880046eb4c108004c108008dd69820000981b8010a9981d2492b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016303700115330394901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016303d001303d002375a607600260760046eb4c0e4004c0e4008dd6981b80098170010a99818a4812b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016302e001232533302f3370e9000000899191919299981b981d0010991924c64a66606a66e1d200000113232533303b303e002132498c94ccc0e0cdc3a400000226464a66607c60820042649318070008a9981da49334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016303f0013036002153330383370e90010008991919191919299982118228010a4c2a6607e9201334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375a608600260860046eb4c104004c104008dd6981f800981b0010a9981ca4812b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016303600115330384901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016303c0013033003153330353370e90010008a99981c98198018a4c2a6606c92011d4578706563746564206e6f206669656c647320666f7220436f6e737472001615330364912b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016303300230070031533034491334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016303800130380023036001302d00215330304912b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016302d001232533302e3370e900000089919299981a181b8010a4c2a66062921334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c606a00260580042a66605c66e1d20020011323253330343037002149854cc0c52401334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c606a00260580042a6605e9212b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016302c0013001001222533303100214bd70099192999817980180109981a0011998028028008018999802802800801981a80198198011299981518191818800898180008a99815a4810c61696b656e3a3a6572726f720016375a60560046eb8c0a400454cc0a1241334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016302c001323253330273370e90010008a5eb7bdb1804c8dd59817000981280118128009980b8018009bae302a001302153330233370e9000181100788078a998122492a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e0016332322330020014881003001001222533302900214bd6f7b630099191919299981499b8f005001100313302e337606ea4004dd30011998038038018029bae302a00337566054004605a006605600400a604e002604e002604c002604a0046eacc08c004c08c004c088008dd6181000098100011bac301e001301e002375860380026026006603400260340046030002601e00e6eb8c058004c0340285261622330030020013001001222533301300214c103d87a800013232323253330133371e00a002266e95200033018374c00497ae01333007007003005375c60280066eacc050008c05c00cc054008c800cc94ccc030cdc3a400000226464a666024602a0042649318030008a99807a481334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e20657870656374656400163013001300a003153300d4912b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016300a002232533300a3370e90000008991919192999809180a80109924c64a66601e66e1d20000011323253330153018002149854cc049241334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c602c002601a0082a660209212b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016300d003153300f4901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375a60260026026004602200260100042a660169212b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016300800100200113332323222232323232323232323232323232323232533301e323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232325333052323371266e08dd6998279828801240006eb4cc13cc1440052002337046eb4cc13cc1440052000375a6609e60a20049001181c00109919191919191919191919191919191919299983199b87480000044c94ccc1914ccc1900385288a99832a48119706c6174666f726d5f6665655f70616964203f2046616c73650014a02a6660c8002294454cc1952401116e66745f636865636b203f2046616c73650014a02940ccccc8c88888c8cdd79ba6001374c660de66ec0dd48019ba80024bd6f7b63019911919299983699b874800800452f5bded8c02646eacc1d0004c1ac008c1ac004cc15c008004cc0140112201000033001001222533306a00214bd6f7b630099191919299983519b8f005001100313306f337606ea4004dd30011998038038018029bae306b003375660d600460dc00660d80046eaccc17cc184cc17cc184159200048020008dd71982f983082a24020900089919191919191919191919192999837a999837a99983780c8a51153307049119706c6174666f726d5f6665655f70616964203f2046616c73650014a02a6660de006294454cc1c1240118636f6c6c61746572616c5f636865636b203f2046616c73650014a0294054ccc1bc0045288a99838249206c69717569646174696f6e5f6f75747075745f636865636b203f2046616c73650014a029414ccc1b8cdc42400000226464646464646464646464646464a6660f8a6660f8004294454cc1f52401167175616e746974795f636865636b203f2046616c73650014a02a6660f8002294454cc1f5240113646174756d5f636865636b203f2046616c73650014a02940cdd780180119b8900d33306300600b0093374a90001983f1ba90183307e33075307706a480412f5c060fc00260eaa6660ee66e1d200430760011001153307849012a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e0016307c001307c002375660f400260f400260e064a6660e660f660f4002260f20022a660e89210c61696b656e3a3a6572726f72001633323001001222533307900214bd7009919299983b980180109983e0011998028028008018999802802800801983e801983d801023919baf3306f307100148000028dd7183b800983b8011bae3075001306c3306a306c05f4802052898280011929998368008a51153306e49011c756e6465725f636f6c6c61746572616c697a6564203f2046616c73650014a064660a400260a6904044bd191982880099b820260073370400890406054654d1d191980380098291bad33068306a05d48028cc01c004c14400ccc138cdc119b81002004482c209dd2080897a3374a90001983719ba548008cc1b8dd482425eb80cc1b80292f5c066666600a07e056660c860cc0b29004182580099832183302ca4024446464609e0026600c0026464660a8002646601400200e60a6906507982900099b82002483403ccc01800cc8c144004cdc1241941e00464609c0026eb4cc18cc194161200a33333300303d02933062306405748008c124048cc188c19015d2014223232304d001330040013232330070013051483283ccdd2a4000660de6ea0cdc099b82375a660cc60d000290001bad33066306801648008cdc11bad33066306801648000dd6998331834000a4004660de6ea0cdc11bad33066306800148008dd699833183400b2400497ae0304f0023300401432304f00133704906807801111919802000801a99983399b88375a660c660ca002900024000266e9520003306c375066e052000375a660c660ca0029001198361ba83370290001bad330633065001480012f5c02a6660ce66e212000375a660c660ca0029000099ba548000cc1b0cc18cc19400520023306c330633065001480012f5c02a660d09211744656e6f6d696e61746f722063616e6e6f7420626520300016223374a9000198359ba8337046eb4cc188c1900092000375a660c460c80029000198359ba8337046eb4cc188c1900092002375a660c460c8002900125eb808888894ccc1a4cdc79bae330653067004480012210010031323232533306c337100106eb4cc1a0c1a800d20061533306c533306c3375e00e660d060d40029002099baf33068306a00148019300106d8799f4040ff0014a02660046eb4cc1a0c1a800d2004375a660d060d400690010a999836299983619baf00733068306a001480184cdd7998341835000a4008980106d8799f4040ff0014a02660046eb4cc1a0c1a800d2002375a660d060d400690020a99836a490f426164206f7261636c6520646174610016153306d491174f7261636c65206461746120697320657870697265642000163306730690024800088cc010008004c8c8c8c8c8c8c8c8c8c8008c94ccc1cccdc3a4000002264646464646464646464a666102026108020042649319299983f19b87480000044c8c8c8c8c8c8c8c94ccc22804c234040084c8c8c8c926307f004307e005307d006307c007153308701491334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016308b01001308b01002308901001308901002308701001308701002308501001307c00a153307f4912b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016307c009153307e4901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375a6104020026104020046eb4c20004004c20004008dd6983f000983f0011bad307c001307c002307a0013071002153307449012b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e74001630710013077001306e53330703370e9002183780088008a99838a4812a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e0016307500130750013074001306a001307100130710013067333051006375c660ca60ce00490001bae33065306700248008c184050dd71833800982f001983280098328011831800982d0009830800982c000982f800982f800982a99182f000982a99299982c19b8748000c15c004400454cc16524012a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e00163304603023375e660a860ac0029000012a99982b299982b19b87003480005288a9982ba48124706c6174666f726d5f6665655f616d6f756e745f696e74203d3d2030203f2046616c73650014a0294454ccc1580045288a9982ba4919706c6174666f726d5f6665655f73656e74203f2046616c73650014a066646002002444a6660b800429404c8c94ccc168c00c00852889998028028008019830001982f00101511999911119191919299982f19baf00300813371200a66608e00200e00c2940dd5983180098318011830800982c00299829182a005a401c6eb8cc148c150cc148c15011d200248000dd719829182a19829182a023a40049001001991981e000981d9bad33051305304648010cc0ec00c008c0d8004c8cc0dc0052080897a3370400400c2a660a6921254578706563746564206f6e20696e636f727265637420626f6f6c65616e2076617269616e74001633332222323303a0013370490405844fdf500a410112f466e08cdc100180219b81001002375a6609a609e08490061bad3304d304f04248010dd69982698278212401c0246eb4c158004c158008c150004c12c0fcc94ccc134cc0c8004c0ccdd69982498258012400426eb4cc124c12c00920001533304d330320013033375a660926096004900309bad33049304b002480104dd699824982580124010646606200266e00dd6998249825804a40086eb4cc124c12c0252002337046eb4cc120c1280f520044820225e8c144004c144004c140004c13c008dd69826800982219821182201ba400c64a66608c66e1d20000011323232323232323253330523055002132498c94ccc13ccdc3a4000002264646464646464646464646464646464a6660c660cc004264646464646493182d005182c805982c006182b806982b007182b0078a99830249334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c60c800260c80046eb8c188004c188008c180004c180008c178004c178008c170004c170008c168004c168008c160004c160008c158004c13402054cc1412412b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016304d007153304f4901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375a60a600260a60046eb4c144004c144008dd698278009827801182680098220010a99823a4812b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e7400163044001304a00130413253330443370e9002182180088008a99822a4812a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e00163303f30413303f304100148009200433302a01b023001375c608e002607c0626eb4c114004c0f14ccc0f8cdc3a4004607a00620062a6607e92012a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e0016375a60860026074a66607866e1d2002303b0031003153303d4912a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e001630410013038003303f0013036003303d001303d002303b00130320033039001303053330323370e9001181880688068a99819a492a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e00163037001303700130360013035001303400130330023758606200260620046eb0c0bc004c0bc008dd618168009812001981580098158011814800981000a9bae30270013027002375c604a00260380322930b119b83375a66034603800290001bad3301a301c00148008894ccc078cdc4000a4000266e95200033023375066e05200000233023375066e0520000014bd70099ba548000cc08cdd4001198119ba80014bd701119b88337046eb4cc064c06c0092000375a660326036002900119b82375a66032603600290001bad33019301b002480088cdd2a4000660406ea0004cc080dd42400497ae0223374a9000198101ba83370066e08dd69980b980c801240006eb4cc05cc0640052002337046eb4cc05cc0640052000375a6602e60320049001198101ba8337046eb4cc05cc0640092002375a6602e6032002900125eb80888c8c088004c064c94ccc070cdc3a4000603600220022a6603a9212a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e00163300a00323370e66600a6eaccc060c068cc060c06800520024800800c0092002222323232533301d3370e90010008a40002646eb4c090004c06c008c06c004c94ccc070cdc3a40040022980103d87a8000132323300800100537566046002603400460340026600c0060046002002444a666038004298103d87a8000132323232533301c3371e00a002266e95200033021375000497ae01333007007003005375c603a0066eb4c074008c08000cc07800888cc00c008004c0040048894ccc0640085300103d87a800013232323253330193371e00a002266e9520003301e374c00497ae01333007007003005375c60340066eacc068008c07400cc06c008c0040048894ccc05c008530103d87a8000132325333015300300213374a90001980d00125eb804ccc01401400400cc06c00cc064008c8014c94ccc040cdc3a40000022646464646464646464646464646464646464646464646464a666058605e00426464646464649319299981719b87480000044c8c94ccc0d0c0dc0084c9263253330313370e9000000899191919299981c981e00109924c64a66606c66e1d200000113232533303c303f002149854cc0e52401334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c607a00260680082a6606e9212b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016303400315330364901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375a607400260740046070002605e0042a660649212b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016302f00115330314901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e20657870656374656400163035001302c0071533302e3370e90010008a99981918160038a4c2a6605e92011d4578706563746564206e6f206669656c647320666f7220436f6e7374720016153302f4912b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016302c00630220073021008302001132533302a3370e900000089919191919191919299981b181c80109924c64a66606666e1d20000011323232323232323232323232323232325333047304a002132498c0e800454cc1112401334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e206578706563746564001630480013048002375a608c002608c0046eb4c110004c110008dd6982100098210011bad30400013040002375a607c002607c0046eb4c0f0004c0f0008dd6981d00098188010a9981a2492b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016303100115330334901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e206578706563746564001630370013037002375a606a002606a0046eb4c0cc004c0cc008dd6981880098140098a99815a4812b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e7400163028012301e0151533029491334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016302d001302d002302b001302b00230290013029002375c604e002604e0046eb4c094004c094008dd6981180098118011bad30210013021002301f001301f002301d001301d002375a60360026036004603200260320046eb8c05c004c03801454cc04524012b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016300e0043200332533300f3370e9000000899191919299980b980d00109924c64a66602866e1d2000001153330183012004149854cc0552411d4578706563746564206e6f206669656c647320666f7220436f6e7374720016153330143370e90010008a99980c18090020a4c2a6602a92011d4578706563746564206e6f206669656c647320666f7220436f6e737472001615330154912b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016301200315330144901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375a60300026030004602c002601a0062a660209212b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016300d002232533300c3370e9000000899191919299980a180b8010a4c2a66022921334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c602a002602a0046eb8c04c004c02800854cc0352412b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016300a001232533300b3370e90000008991919192999809980b0010991924c64a66602266e1d2000001132325333017301a002132498c94ccc050cdc3a400000226464a666034603a0042649318070008a9980ba49334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016301b0013012002153330143370e90010008991919191919299980f18108010a4c2a660369201334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375a603e002603e0046eb4c074004c074008dd6980d80098090010a9980aa4812b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016301200115330144901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e20657870656374656400163018001300f003153330113370e90010008a99980a98078018a4c2a6602492011d4578706563746564206e6f206669656c647320666f7220436f6e737472001615330124912b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016300f00230070031533010491334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e20657870656374656400163014001301400230120013009002153300c4912b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e7400163009001232533300a3370e900000089919299980818098010a4c2a6601a921334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c602200260100042a66601466e1d20020011323253330103013002149854cc0352401334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c602200260100042a660169212b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e7400163008001002300e300600133001001480008888cccc01ccdc38008018069199980280299b8000448008c03c0040080088c018dd5000918021baa0015734ae7155ceaab9e5573eae815d0aba257461",
[collateralScriptParams],
{
"dataType": "list",
"items": [{
"title": "CollateralScriptParams",
"anyOf": [{
"title": "CollateralScriptParams",
"dataType": "constructor",
"index": 0,
"fields": [{ "dataType": "bytes", "title": "poolScriptHash" }, {
"dataType": "bytes",
"title": "liquidationsPkh",
}],
}],
}],
} as any,
),
};
},
{
r: {
"title": "CollateralMintRedeemer",
"anyOf": [{
"title": "CollateralMintRedeemer",
"dataType": "constructor",
"index": 0,
"fields": [{
"title": "oref",
"description":
"An `OutputReference` is a unique reference to an output on-chain. The `output_index`\n corresponds to the position in the output list of the transaction (identified by its id)\n that produced that output",
"anyOf": [{
"title": "OutputReference",
"dataType": "constructor",
"index": 0,
"fields": [{
"title": "transactionId",
"description":
"A unique transaction identifier, as the hash of a transaction body. Note that the transaction id\n isn't a direct hash of the `Transaction` as visible on-chain. Rather, they correspond to hash\n digests of transaction body as they are serialized on the network.",
"anyOf": [{
"title": "TransactionId",
"dataType": "constructor",
"index": 0,
"fields": [{ "dataType": "bytes", "title": "hash" }],
}],
}, { "dataType": "integer", "title": "outputIndex" }],
}],
}],
}],
},
},
) as unknown as CollateralCollateralPolicy;
export interface CollateralLeftovers {
new (): Validator;
datum: { policyId: string; assetName: string };
_r: undefined;
}
export const CollateralLeftovers = Object.assign(
function () {
return {
type: "PlutusV2",
script:
"5901fe010000323232323232323232323232222325333009323232323333323232322222323375e6e98004dd31980d99bb037520066ea00092f5bded8c066446464a66603266e1d200200114bd6f7b6300991bab30200013017002301700133009002001330050044881000033001001222533301600214bd6f7b630099191919299980b19b8f005001100313301b337606ea4004dd30011998038038018029bae30170033756602e004603400660300046002002444a666028004298103d87a800013232323253330143371e00a002266e95200033019374c00497ae01333007007003005375c602a0066eacc054008c06000cc058008dd5998049805998049805803240009004001800a40026eb8c048004c048008dd7180800098038008a4c2c6400864a66601266e1d200000113232323253330113014002149854cc039241334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c602400260240046eb8c040004c01c01054cc0292412b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016300700333001001480008888cccc01ccdc38008018069199980280299b8000448008c03c0040080088c018dd5000918021baa0015734ae7155ceaab9e5573eae815d0aba21",
};
},
{
datum: {
"title": "AssetClass",
"anyOf": [{
"title": "AssetClass",
"dataType": "constructor",
"index": 0,
"fields": [{ "dataType": "bytes", "title": "policyId" }, {
"dataType": "bytes",
"title": "assetName",
}],
}],
},
},
{
_r: {
"title": "Unit",
"description": "The nullary constructor.",
"anyOf": [{ "dataType": "constructor", "index": 0, "fields": [] }],
},
},
) as unknown as CollateralLeftovers;
export interface LiquidityTokenLiquidityToken {
new (poolHash: string): Validator;
redeemer:
| {
TransitionPool: {
poolOref: { transactionId: { hash: string }; outputIndex: bigint };
};
}
| "CreatePool"
| {
DestroyPool: {
poolOref: { transactionId: { hash: string }; outputIndex: bigint };
};
};
}
export const LiquidityTokenLiquidityToken = Object.assign(
function (poolHash: string) {
return {
type: "PlutusV2",
script: applyParamsToScript(
"5910a5010000323232323232323232323232322322232533300a3232323232323232323232323232323232323232533301e3370e9000000899191919191919191919191929998171818801099191919299981700108008a503370e66e04dd69981498158052400c6eb4cc0a4c0ac01d20060023371e0046eb8cc0a0c0a8cc0a0c0a8025200048030dd698170011bae302c001153302b4901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016302f0013300f3013375666048604c66048604c040900024010038602a0026058002604664a66604c66e1d20043025001100115330274912a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e00163302130233302130230054800920043012001302900130203253330233370e9002181100088008a9981224812a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e00163301e302000148010c050cc048dd61980e980f9980e980f80ca40009002119baf3301e30203301e30200014800120003301e302001848000c04ccc044dd61980e180f1980e180f00c240009000119baf3301d301f3301d301f3301d301f00148009200048000cc074c07c05d20003025001301c0151533301e3370e9002000899191919191919299981299b87001375a66042604600690030a5115330264913b61637475616c5f746f6b656e735f6d696e746564203d3d20696e7075745f646174756d2e746f74616c5f6c705f746f6b656e73203f2046616c73650014a0666010601e6eaccc080c088cc080c088071200048020060dd719810181119810181100124000900618088009814000980f99299981119b8748010c084004400454cc08d2412a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e00163301d301f3301d301f001480092004301333223301300223375e6603e60426603e60420029001240000046eb0cc070c078cc070c078061200048000058c094004c0700544c8c8c8c8c8c8c8c8c8c8c8c8c8c8c8cc8c004004894ccc0cc0045288991929998188010998020020008a5030370023370e900118189baa30350010013303133302c533302c00614a22a6605a9211e636f72726563745f706f6f6c746f6b656e5f6d696e74203f2046616c73650014a0980103d87a80004c0103d87980003303133302c533302c00514a22a6605a92011d636f72726563745f706f6f6c746f6b656e5f6f7574203f2046616c73650014a0980103d87a80004c0103d87980003303133302c533302c00414a22a6605a920121636f72726563745f7265636f726465645f6c70746f6b656e73203f2046616c73650014a0980103d87a80004c0103d87980003303133302c533302c00314a22a6605a9201176465706f736974696e675f67745f30203f2046616c73650014a0980103d87a80004c0103d87980003303133302c533302c00214a22a6605a92011c6465706f736974696e675f61745f736372697074203f2046616c73650014a0980103d87a80004c0103d87980003303133302c533302c00114a22a6605a92011a6d696e7465645f61745f646973636f756e74203f2046616c73650014a0980103d87a80004c0103d87980004bd7019b873370200c900a00399b87005375a6604c6050014900119b8848000010cdc39bad33024302600848018010cdc39998059bab3302330250094800808401120023370e66601400804000690011998049bab33021302300748008dd7198109811998109811998109811802a40009001240006eb8cc084c08ccc084c08ccc084c08c0152000480092002333008002018001325333024302c302b0011375c60540022a6604a92010c61696b656e3a3a6572726f7200163323223002001300100122533302900114bd70099191919198171ba900133006006003375c60540066eb4c0a8008c0b4008c0ac004cc028004074c034dd59980f18101980f181000d24000900418078009813000980e99299981019b8748010c07c004400454cc0852412a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e00163301b301d00148010c044cc03cdd61980d180e1980d180e00b240009002119baf3301b301d3301b301d0014800120003301b301d01548000c070050888c8c8c94ccc088cdc3a4004002290000991bad3029001302000230200013253330213370e90010008a60103d87a8000132323300800100537566050002603e004603e0026600e0060046002002444a666042004298103d87a800013232323253330213371e00a002266e95200033026375000497ae01333007007003005375c60440066eb4c088008c09400cc08c00888c8c94ccc074cdc3a4004002297adef6c6013237566048002603600460360026600600400244660060040026002002444a66603a004298103d87a8000132323232533301d3371e00a002266e95200033022374c00497ae01333007007003005375c603c0066eacc078008c08400cc07c0088cc008005221003001001222533301a00214bd6f7b630099191919299980d19b8f005001100313301f337606ea4004dd30011998038038018029bae301b00337566036004603c0066038004464a66602866e1d20000011323232323232323253330203023002132498c94ccc074cdc3a4000002264646464646464646464646464646464a666062606800426464646464649318108051810005980f806180f006980e80719299981719b87480000044c8c8c8c94ccc0d8c0e40084c8c9263253330343370e900000089919299981d181e80109924c64a66606e66e1d200000113232533303d3040002132498c0a400454cc0e92401334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016303e0013035002153330373370e90010008991919191919299982098220010a4c2a6607c9201334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375a608400260840046eb4c100004c100008dd6981f000981a8010a9981c24812b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016303500115330374901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016303b0013032003153330343370e90010008a99981c18190018a4c2a6606a92011d4578706563746564206e6f206669656c647320666f7220436f6e737472001615330354912b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016303200230220031533033491334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016303700130370023035001302c010153302f4912b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016302c00f153302e4901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c606400260640046eb8c0c0004c0c0008c0b8004c0b8008c0b0004c0b0008c0a8004c0a8008c0a0004c0a0008c098004c098008c090004c06c02054cc0792412b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016301b007153301d4901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375a604200260420046eb4c07c004c07c008dd6980e800980e801180d80098090010a9980aa4812b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016301200123253330133370e9000000899191919299980d980f0010a4c2a66030921334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c603800260380046eb8c068004c04400854cc0512412b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016301100123253330123370e900000089919299980c180d8010a4c2a6602a921334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c603200260200042a66602466e1d2002001132325333018301b002149854cc0552401334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c603200260200042a660269212b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e74001630100013001001222533301500214bd70099192999809980180109980c0011998028028008018999802802800801980c801980b80112999807180b180a8008980a0008a99807a4810c61696b656e3a3a6572726f720016375c6024002601264a66601866e1d2000300b0011001153300d4912a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e001633007300900348008cdd2a40006601e66e9520023300f375200897ae03300f4c0103d87a80004bd700a4c2c64006664464a66601866e1d20000011323253330123015002132498c01400454cc03d2401334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e20657870656374656400163013001300a0021533300c3370e90010008a99980818050010a4c2a6601a92011d4578706563746564206e6f206669656c647320666f7220436f6e73747200161533300c3370e9002000899192999809180a80109924c600a0022a6601e921334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e20657870656374656400163013001300a002153300d4912b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016300a001232533300b3370e90000008991919192999809980b00109924c64a66602066e1d20000011323253330163019002149854cc04d241334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c602e002601c0082a660229212b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016300e00315330104901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375a60280026028004602400260120042a660189212b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e7400163009001002375c0026600200290001111199980399b8700100300d233330050053370000890011807800801001118031baa001230043754002ae695ce2ab9d5573caae7d5d02ba15744ae8c1",
[poolHash],
{ "dataType": "list", "items": [{ "dataType": "bytes" }] } as any,
),
};
},
{
redeemer: {
"title": "TokenRedeemer",
"anyOf": [{
"title": "TransitionPool",
"dataType": "constructor",
"index": 0,
"fields": [{
"title": "poolOref",
"description":
"An `OutputReference` is a unique reference to an output on-chain. The `output_index`\n corresponds to the position in the output list of the transaction (identified by its id)\n that produced that output",
"anyOf": [{
"title": "OutputReference",
"dataType": "constructor",
"index": 0,
"fields": [{
"title": "transactionId",
"description":
"A unique transaction identifier, as the hash of a transaction body. Note that the transaction id\n isn't a direct hash of the `Transaction` as visible on-chain. Rather, they correspond to hash\n digests of transaction body as they are serialized on the network.",
"anyOf": [{
"title": "TransactionId",
"dataType": "constructor",
"index": 0,
"fields": [{ "dataType": "bytes", "title": "hash" }],
}],
}, { "dataType": "integer", "title": "outputIndex" }],
}],
}],
}, {
"title": "CreatePool",
"dataType": "constructor",
"index": 1,
"fields": [],
}, {
"title": "DestroyPool",
"dataType": "constructor",
"index": 2,
"fields": [{
"title": "poolOref",
"description":
"An `OutputReference` is a unique reference to an output on-chain. The `output_index`\n corresponds to the position in the output list of the transaction (identified by its id)\n that produced that output",
"anyOf": [{
"title": "OutputReference",
"dataType": "constructor",
"index": 0,
"fields": [{
"title": "transactionId",
"description":
"A unique transaction identifier, as the hash of a transaction body. Note that the transaction id\n isn't a direct hash of the `Transaction` as visible on-chain. Rather, they correspond to hash\n digests of transaction body as they are serialized on the network.",
"anyOf": [{
"title": "TransactionId",
"dataType": "constructor",
"index": 0,
"fields": [{ "dataType": "bytes", "title": "hash" }],
}],
}, { "dataType": "integer", "title": "outputIndex" }],
}],
}],
}],
},
},
) as unknown as LiquidityTokenLiquidityToken;
export interface OracleValidatorOracleSpendValidator {
new (): Validator;
oracleDatum: {
oracleParameters: {
poolNftCs: { policyId: string; assetName: string };
oracleNftCs: { policyId: string; assetName: string };
tokenACs: { policyId: string; assetName: string };
tokenBCs: { policyId: string; assetName: string };
};
tokenAAmount: bigint;
tokenBAmount: bigint;
expirationTime: bigint;
maturityTime: bigint;
};
_oracleRedeemer: { wrapper: { action: { wrapper: bigint } } };
}
export const OracleValidatorOracleSpendValidator = Object.assign(
function () {
return {
type: "PlutusV2",
script:
"590c42010000323232323232323232323232322253330073370e90001803000899299980419191919191919191919191919199999191919191919111119299981099b87480000044c8c8c94ccc090cccc02c018014005200213300900723375e66042604600290000018a5032323232323232372800266e2c00c004dd7181700098128019bad302c001302c002302a00130210013028001301f00513232333300a00500400148004dd71814000980f802980f802180080091129998108010a5013232533301f300300214a2266600a00a002006604a006604600444446466ebcdd30009ba633023337606ea400cdd400125eb7bdb180cc88c8c94ccc084cdc3a4004002297adef6c6013237566050002603e004603e002660120040026600a008911000033001001222533301e00214bd6f7b630099191919299980f19b8f0050011003133023337606ea4004dd30011998038038018029bae301f0033756603e004604400660400046002002444a666038004298103d87a8000132323232533301c3371e00a002266e95200033021374c00497ae01333007007003005375c603a0066eacc074008c08000cc078008cc044c04c0392000008003001375c60340026022a66602666e1d200030120081008153301449012a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e0016375660300026030002602e002602c002602a0046eb0c04c004c02800cc044004c044008c03c004c01800852616320033253330083370e9000000899191919299980818098010991924c64a66601c66e1d20000011323253330143017002149854cc0452401334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375a602a00260180062a6601e9212b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016300c00232533300d3370e9000000899192999809980b00109924c64a66602066e1d20000011323232325333018301b002132498c94ccc054cdc3a400000226464a666036603c0042930a9980c249334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c603800260260082a6602c9212b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016301300315330154901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375a60320026032004602e002601c0042a660229212b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016300e00115330104901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e20657870656374656400163014001300b0041533300d3370e9001000899192999809980b0010a4c2a660209201334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c602800260160082a6601c9212b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016300b003153300d4901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e206578706563746564001630110013011002300f001300600315330094912b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e7400163006002132232323232323232325333011323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232533303e3375e006002200c2940c10c004c0e8c94ccc0f4cdc3a4008607800220022a6607c9212a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e001633038303a00748010cdd2a400066080052660806ea0020cc100dd4003998201ba800233040375000297ae03370000690404fa499b8000248202fa4804cdc400f8009bad303d00130343253330373370e9001181b00088008a9981c24812a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e001633032303433032303433032303433032303402e48001200e480012000325333036303e303d0011303c001153303749010c61696b656e3a3a6572726f72001633332322223300400323371090001998159bab3303730390014800800c008c0040048894ccc0f000852f5c026464a666074600600426607e00466600a00a002006266600a00a0020066080006607c0046eb0cc0c4c0cccc0c4c0cc0b5200048010038030c8c8c0ac004cc0ac0052004337006660486eaccc0c0c0c8cc0c0c0c800920024800801400c078c8c8c0a8004cc0a80052004337006660466eaccc0bcc0c4cc0bcc0c400520024800802001807ccccc8c8888c8c0f8004c0d4c94ccc0e0cdc3a4000606e00220022a660729212a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e00163300400323370e6660506eaccc0d0c0d8cc0d0c0d800520024800800c00920023001001222533303900214c103d87a8000132325333037300300213374a90001981e00125eb804ccc01401400400cc0f400cc0ec008dd61981718181981718180152400090010078069bae30370013037002375c606a002605801a6eb8c0cc004c0cc008dd7181880098140059bae302f001302f002375c605a00260480126eb8c0ac004c0ac008dd7181480098100039813800981380118128009812801181180098118011810800980c0041bad301f001301f001301e002375a603800260380046eb4c068004c068008c060004c03c0205261622232323253330163370e90010008a40002646eb4c074004c050008c050004c94ccc054cdc3a40040022980103d87a8000132323300800100537566038002602600460260026600c0060046002002444a66602a004298103d87a800013232323253330153371e00a002266e9520003301a375000497ae01333007007003005375c602c0066eb4c058008c06400cc05c008c0040048894ccc04c008530103d87a800013232323253330133371e00a002266e95200033018374c00497ae01333007007003005375c60280066eacc050008c05c00cc0540088cdc19bad33008300a00148000dd6998041805000a400444a66601866e20005200013374a9000198089ba8337029000001198089ba8337029000000a5eb804cdd2a4000660226ea0008cc044dd4000a5eb80c8014cc88c94ccc030cdc3a4000002264646464646464646464a666034603a0042649319299980b99b87480000044c8c8c8c8c8c8c8c94ccc08cc0980084c8c8c8c92630190043018005301700630160071533020491334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016302400130240023022001302200230200013020002301e001301500a15330184912b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016301500915330174901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375a603600260360046eb4c064004c064008dd6980b800980b8011bad301500130150023013001300a002153300d49012b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016300a001232533300b3370e90000008991919192999809980b0010a4c2a66020921334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c602800260280046eb8c048004c02400854cc0312412b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e7400163009001004300d300500133001001480008888cccc01ccdc38008018069199980280299b8000448008c03c0040080088c018dd5000918021baa0015734ae7155ceaab9e5573eae815d0aba257461",
};
},
{
oracleDatum: {
"title": "Datum",
"anyOf": [{
"title": "Datum",
"dataType": "constructor",
"index": 0,
"fields": [
{
"title": "oracleParameters",
"anyOf": [{
"title": "OracleParameters",
"dataType": "constructor",
"index": 0,
"fields": [{
"title": "poolNftCs",
"anyOf": [{
"title": "AssetClass",
"dataType": "constructor",
"index": 0,
"fields": [{ "dataType": "bytes", "title": "policyId" }, {
"dataType": "bytes",
"title": "assetName",
}],
}],
}, {
"title": "oracleNftCs",
"anyOf": [{
"title": "AssetClass",
"dataType": "constructor",
"index": 0,
"fields": [{ "dataType": "bytes", "title": "policyId" }, {
"dataType": "bytes",
"title": "assetName",
}],
}],
}, {
"title": "tokenACs",
"anyOf": [{
"title": "AssetClass",
"dataType": "constructor",
"index": 0,
"fields": [{ "dataType": "bytes", "title": "policyId" }, {
"dataType": "bytes",
"title": "assetName",
}],
}],
}, {
"title": "tokenBCs",
"anyOf": [{
"title": "AssetClass",
"dataType": "constructor",
"index": 0,
"fields": [{ "dataType": "bytes", "title": "policyId" }, {
"dataType": "bytes",
"title": "assetName",
}],
}],
}],
}],
},
{ "dataType": "integer", "title": "tokenAAmount" },
{ "dataType": "integer", "title": "tokenBAmount" },
{ "dataType": "integer", "title": "expirationTime" },
{ "dataType": "integer", "title": "maturityTime" },
],
}],
},
},
{
_oracleRedeemer: {
"title": "Wrapped Redeemer",
"description":
"A redeemer wrapped in an extra constructor to make multi-validator detection possible on-chain.",
"anyOf": [{
"dataType": "constructor",
"index": 1,
"fields": [{
"anyOf": [{
"title": "OracleSpendRedeemer",
"dataType": "constructor",
"index": 0,
"fields": [{
"title": "action",
"anyOf": [{
"title": "OracleUpdate",
"dataType": "constructor",
"index": 0,
"fields": [{ "dataType": "integer" }],
}],
}],
}],
}],
}],
},
},
) as unknown as OracleValidatorOracleSpendValidator;
export interface OracleValidatorOracleMintValidator {
new (): Validator;
redeemer: {
action: {
MintNFT: [{ transactionId: { hash: string }; outputIndex: bigint }];
} | { BurnNFT: [string] };
inner: { requestExpirationTime: bigint };
};
}
export const OracleValidatorOracleMintValidator = Object.assign(
function () {
return {
type: "PlutusV2",
script:
"590c42010000323232323232323232323232322253330073370e90001803000899299980419191919191919191919191919199999191919191919111119299981099b87480000044c8c8c94ccc090cccc02c018014005200213300900723375e66042604600290000018a5032323232323232372800266e2c00c004dd7181700098128019bad302c001302c002302a00130210013028001301f00513232333300a00500400148004dd71814000980f802980f802180080091129998108010a5013232533301f300300214a2266600a00a002006604a006604600444446466ebcdd30009ba633023337606ea400cdd400125eb7bdb180cc88c8c94ccc084cdc3a4004002297adef6c6013237566050002603e004603e002660120040026600a008911000033001001222533301e00214bd6f7b630099191919299980f19b8f0050011003133023337606ea4004dd30011998038038018029bae301f0033756603e004604400660400046002002444a666038004298103d87a8000132323232533301c3371e00a002266e95200033021374c00497ae01333007007003005375c603a0066eacc074008c08000cc078008cc044c04c0392000008003001375c60340026022a66602666e1d200030120081008153301449012a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e0016375660300026030002602e002602c002602a0046eb0c04c004c02800cc044004c044008c03c004c01800852616320033253330083370e9000000899191919299980818098010991924c64a66601c66e1d20000011323253330143017002149854cc0452401334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375a602a00260180062a6601e9212b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016300c00232533300d3370e9000000899192999809980b00109924c64a66602066e1d20000011323232325333018301b002132498c94ccc054cdc3a400000226464a666036603c0042930a9980c249334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c603800260260082a6602c9212b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016301300315330154901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375a60320026032004602e002601c0042a660229212b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016300e00115330104901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e20657870656374656400163014001300b0041533300d3370e9001000899192999809980b0010a4c2a660209201334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c602800260160082a6601c9212b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016300b003153300d4901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e206578706563746564001630110013011002300f001300600315330094912b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e7400163006002132232323232323232325333011323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232533303e3375e006002200c2940c10c004c0e8c94ccc0f4cdc3a4008607800220022a6607c9212a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e001633038303a00748010cdd2a400066080052660806ea0020cc100dd4003998201ba800233040375000297ae03370000690404fa499b8000248202fa4804cdc400f8009bad303d00130343253330373370e9001181b00088008a9981c24812a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e001633032303433032303433032303433032303402e48001200e480012000325333036303e303d0011303c001153303749010c61696b656e3a3a6572726f72001633332322223300400323371090001998159bab3303730390014800800c008c0040048894ccc0f000852f5c026464a666074600600426607e00466600a00a002006266600a00a0020066080006607c0046eb0cc0c4c0cccc0c4c0cc0b5200048010038030c8c8c0ac004cc0ac0052004337006660486eaccc0c0c0c8cc0c0c0c800920024800801400c078c8c8c0a8004cc0a80052004337006660466eaccc0bcc0c4cc0bcc0c400520024800802001807ccccc8c8888c8c0f8004c0d4c94ccc0e0cdc3a4000606e00220022a660729212a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e00163300400323370e6660506eaccc0d0c0d8cc0d0c0d800520024800800c00920023001001222533303900214c103d87a8000132325333037300300213374a90001981e00125eb804ccc01401400400cc0f400cc0ec008dd61981718181981718180152400090010078069bae30370013037002375c606a002605801a6eb8c0cc004c0cc008dd7181880098140059bae302f001302f002375c605a00260480126eb8c0ac004c0ac008dd7181480098100039813800981380118128009812801181180098118011810800980c0041bad301f001301f001301e002375a603800260380046eb4c068004c068008c060004c03c0205261622232323253330163370e90010008a40002646eb4c074004c050008c050004c94ccc054cdc3a40040022980103d87a8000132323300800100537566038002602600460260026600c0060046002002444a66602a004298103d87a800013232323253330153371e00a002266e9520003301a375000497ae01333007007003005375c602c0066eb4c058008c06400cc05c008c0040048894ccc04c008530103d87a800013232323253330133371e00a002266e95200033018374c00497ae01333007007003005375c60280066eacc050008c05c00cc0540088cdc19bad33008300a00148000dd6998041805000a400444a66601866e20005200013374a9000198089ba8337029000001198089ba8337029000000a5eb804cdd2a4000660226ea0008cc044dd4000a5eb80c8014cc88c94ccc030cdc3a4000002264646464646464646464a666034603a0042649319299980b99b87480000044c8c8c8c8c8c8c8c94ccc08cc0980084c8c8c8c92630190043018005301700630160071533020491334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016302400130240023022001302200230200013020002301e001301500a15330184912b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016301500915330174901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375a603600260360046eb4c064004c064008dd6980b800980b8011bad301500130150023013001300a002153300d49012b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016300a001232533300b3370e90000008991919192999809980b0010a4c2a66020921334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c602800260280046eb8c048004c02400854cc0312412b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e7400163009001004300d300500133001001480008888cccc01ccdc38008018069199980280299b8000448008c03c0040080088c018dd5000918021baa0015734ae7155ceaab9e5573eae815d0aba257461",
};
},
{
redeemer: {
"title": "NFTRedeemer",
"anyOf": [{
"title": "NFTRedeemer",
"dataType": "constructor",
"index": 0,
"fields": [{
"title": "action",
"anyOf": [{
"title": "MintNFT",
"dataType": "constructor",
"index": 0,
"fields": [{
"description":
"An `OutputReference` is a unique reference to an output on-chain. The `output_index`\n corresponds to the position in the output list of the transaction (identified by its id)\n that produced that output",
"anyOf": [{
"title": "OutputReference",
"dataType": "constructor",
"index": 0,
"fields": [{
"title": "transactionId",
"description":
"A unique transaction identifier, as the hash of a transaction body. Note that the transaction id\n isn't a direct hash of the `Transaction` as visible on-chain. Rather, they correspond to hash\n digests of transaction body as they are serialized on the network.",
"anyOf": [{
"title": "TransactionId",
"dataType": "constructor",
"index": 0,
"fields": [{ "dataType": "bytes", "title": "hash" }],
}],
}, { "dataType": "integer", "title": "outputIndex" }],
}],
}],
}, {
"title": "BurnNFT",
"dataType": "constructor",
"index": 1,
"fields": [{ "dataType": "bytes" }],
}],
}, {
"title": "inner",
"anyOf": [{
"title": "OracleMintRedeemer",
"dataType": "constructor",
"index": 0,
"fields": [{
"dataType": "integer",
"title": "requestExpirationTime",
}],
}],
}],
}],
},
},
) as unknown as OracleValidatorOracleMintValidator;
export interface OrderContractBorrowOrderContract {
new (): Validator;
datum: {
controlCredential: { VerificationKeyCredential: [string] } | {
ScriptCredential: [string];
};
recipientAddress: {
paymentCredential: { VerificationKeyCredential: [string] } | {
ScriptCredential: [string];
};
stakeCredential: {
Inline: [
{ VerificationKeyCredential: [string] } | {
ScriptCredential: [string];
},
];
} | {
Pointer: {
slotNumber: bigint;
transactionIndex: bigint;
certificateIndex: bigint;
};
} | null;
};
poolNftCs: { policyId: string; assetName: string };
batcherFeeAda: bigint;
order: {
expectedOutput: {
address: {
paymentCredential: { VerificationKeyCredential: [string] } | {
ScriptCredential: [string];
};
stakeCredential: {
Inline: [
{ VerificationKeyCredential: [string] } | {
ScriptCredential: [string];
},
];
} | {
Pointer: {
slotNumber: bigint;
transactionIndex: bigint;
certificateIndex: bigint;
};
} | null;
};
value: Map<string, Map<string, bigint>>;
datum: "NoDatum" | { DatumHash: [string] } | { InlineDatum: [Data] };
referenceScript: string | null;
};
borrowerNftPolicy: string;
minCollateralAmount: bigint;
maxInterestRate: bigint;
collateralAddress: {
paymentCredential: { VerificationKeyCredential: [string] } | {
ScriptCredential: [string];
};
stakeCredential: {
Inline: [
{ VerificationKeyCredential: [string] } | {
ScriptCredential: [string];
},
];
} | {
Pointer: {
slotNumber: bigint;
transactionIndex: bigint;
certificateIndex: bigint;
};
} | null;
};
};
};
redeemer: "Cancel" | {
Process: {
poolOref: { transactionId: { hash: string }; outputIndex: bigint };
additionalData: { borrowerTokenName: string };
};
};
}
export const OrderContractBorrowOrderContract = Object.assign(
function () {
return {
type: "PlutusV2",
script:
"59188e0100003232323232323232323232323232323232222323232323232325333013323233333232323232323232222232323232323232323232323232323232323232323253330363370e900000089919299981c19b87480000044c8c8cc090028004dd7181f800981b0010991981080600099ba548000cc0f40092f5c0606c00266064606803090000991919191919191919191919299982119b8748008c1040044c8c94ccc120c12c00854ccc110cdc3a400060860022646464646464a66609c60a2004264a660989211257696c6c20736561636820666f72204e46540013253304d4910f57696c6c20636865636b74207461670013253304e4911257696c6c20646f206c617374207468696e67001533304d533304d533304d00214a22a6609c920116706f6f6c5f6e66745f666f756e64203f2046616c73650014a02a66609a002294454cc139240118706f6f6c5f7461676765645f74686973203f2046616c73650014a029404cc0c005002052819baf0033374a90001982880c25eb80cdc399981c8061bae33047304933047304902d480112000375c6608e60926608e609205a900224004900118210018a99825a49334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016304f001304f002304d001304d002304b001304200115330454912a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e00161533045491334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e20657870656374656400163049001304000115330434912a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e00163047001303e3253330413370e9000182000088008a998212492a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e0016323302500f0013374a900119822804a5eb80dd598228009822800981d80098210009821000981c191820800981c19299981d99b8748000c0e8004400454cc0f124012a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e00163302001423375e6606e60720029000002181f800981f801181e800981a00b981a00b181d0009818a99981999b8748008c0c803c403c54cc0d124012a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e00163756607000260700046eb0c0d8004c0d8004c0d4008dd598198009819800981900098188009818000981780098170011bac302c0013023003302a001302a0023028001301f0013001001222533302200214c0103d87a800013232323253330223375e00a002266e952000330270024bd7009998038038018029811801981180118130019812001180080091129998100010a6103d87a800013232533301e300300213374a90001981180125eb804ccc01401400400cc09000cc088008c0040048894ccc078008528099191919299980f19baf00500114a2266600e00e00600a603e0066eb4c07c008c08800cc080008c0040048894ccc07000852809919299980d19b8f00200314a2266600a00a00200660400066eb8c07800888c94ccc060cdc3a40040022646464646464646464646464646464646464646464646464646464664600200244a66607200229444c8c94ccc0dc0084cc010010004528181e80119b8748008c0dcdd5181d8008009981b99981929998190010a5115330334911b76616c69645f696e7465726573745f72617465203f2046616c73650014a0980103d87a80004c0103d879800033037333032533303200114a22a6606692012476616c69645f706f6f6c5f636f6c6c61746572616c5f616d6f756e74203f2046616c73650014a0980103d87a80004c0103d879800033037333032533303200514a22a6606692011d626f72726f7765725f746f6b656e5f6d696e746564203f2046616c73650014a0980103d87a80004c0103d879800033037333032533303200414a22a66066920120726563697069656e745f676f745f626f72726f775f6e6674203f2046616c73650014a0980103d87a80004c0103d879800033037333032533303200614a22a6606692011b757365725f72656365697665645f76616c7565203f2046616c73650014a0980103d87a80004c0103d879800033037333032533303200314a22a6606692011d636f6c6c61746572616c5f7761735f746167676564203f2046616c73650014a0980103d87a80004c0103d87980004bd7019b8900c0153371202201264a6660606660606070002941288981c181b8008a5033323001001222533303600214bd7009919299981a180180109981c8011998028028008018999802802800801981d001981c0011bac3302b302d3302b302d024480012004232323232323253330363370e900200089919299981c19baf00700f1323375e6606a606e004900b19ba548000cc0f80952f5c064a66607266e1d20000011323232323232323232323232323232323232323232323232533305530580021323232323232498c94ccc15ccdc3a400000226464a6660ba60c00042649318288008a9982d2481334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016305e0013055007153330573370e90010008a99982d982a8038a4c2a660b092011d4578706563746564206e6f206669656c647320666f7220436f6e737472001615330584912b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e7400163055006304e007304d008304c0113253330533370e900000089919191919191919299982f983100109924c64a6660b866e1d200000113232323232323232323232323232323253330703073002132498c19800454cc1b52401334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e206578706563746564001630710013071002375a60de00260de0046eb4c1b4004c1b4008dd6983580098358011bad30690013069002375a60ce00260ce0046eb4c194004c194008dd69831800982d0010a9982ea492b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016305a001153305c4901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e206578706563746564001630600013060002375a60bc00260bc0046eb4c170004c170008dd6982d00098288098a9982a24812b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e7400163051012304a0151533052491334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016305600130560023054001305400230520013052002375c60a000260a00046eb4c138004c138008dd6982600098260011bad304a001304a0023048001304800230460013046002375a60880026088004608400260840046eb8c100004c0dc00854cc0e924012b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016303700114a0607a00260680042940c0d0004c0e8004c0e8004c0e4008c0dc004c0b8004cc054dd6198151816198151816011a4000900211999911119191919299981b99baf00300813371200a66604a00200e00c2940dd5981e000981e001181d000981880299815981681124004018008900119b8733301b33232233002001489003001001222533303400214bd6f7b630099191919299981a19b8f0050011003133039337606ea4004dd30011998038038018029bae30350033756606a0046070006606c0046eaccc0a4c0accc0a4c0ac0892000480200280092002330133758660506054660506054042900024008466ebc004030dd71818800981400a981780098178011bad302d001302d002375a605600260560046eb8c0a4004c0a4008c09c004c078cc070c07804d2008375a604a002604a00260480046eb4c088004c088004c060010c0040048894ccc07c00852809919299980e98018010a5113330050050010033023003302100214a0602c0020100120146034002602264a66602866e1d20023013001100115330154912a4578706563746564206f6e20696e636f727265637420636f6e7374727563746f722076617269616e742e00163300f3011008480085261622232323253330183370e90010008a40002646eb4c07c004c058008c058004c94ccc05ccdc3a40040022980103d87a800013232330080010053756603c002602a004602a0026600c0060046002002444a66602e004298103d87a800013232323253330173371e00a002266e9520003301c375000497ae01333007007003005375c60300066eb4c060008c06c00cc064008c0040048894ccc054008530103d87a800013232323253330153371e00a002266e9520003301a374c00497ae01333007007003005375c602c0066eacc058008c06400cc05c008c8014cc8c88c94ccc044cdc3a4000002264646464646464646464a66603e60440042646464649319299980f99b87480000044c8c8c8c8c8c8c8c8c8c94ccc0b4c0c00084c8c926302400232533302a3370e900000089919191919191919299981b181c80109919191924c64a66606c66e1d200000113232533303c303f002149854cc0e52401334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c607a002606800a2a66606c66e1d20020011533303a3034005149854cc0dd24011d4578706563746564206e6f206669656c647320666f7220436f6e737472001615330374912b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e74001630340043253330353370e90000008a99981c98198030a4c2a6606c92011d4578706563746564206e6f206669656c647320666f7220436f6e7374720016153330353370e900100089919299981d981f0010a4c2a660709201334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c6078002606600c2a66606a66e1d200400113232533303b303e002149854cc0e12401334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016303c001303300615330364912b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e7400163033005330250062323232498cc0a00048c8c926375a60760046eb8c0e4004dd5981c0011bae3036001302c0071533033491334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e20657870656374656400163037001303700230350013035002375660660026066004606200260500142a660569212b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e7400163028009153302a4901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016302e001302e002375a605800260580046eb4c0a8004c0a8008dd7181400098140011813000980e8028a9981024812b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016301d004301600730160083016009153301c491334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e206578706563746564001630200013020002375a603c002603c00460380026038004603400260340046030002601e0042a660249212b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016300f0013001001222533301400214984c8ccc010010c06000c008c004c058008010c800cc94ccc034cdc3a40000022a66602260160062930a9980724811d4578706563746564206e6f206669656c647320666f7220436f6e73747200161533300d3370e9001000899191919299980a980c0010991924c64a66602666e1d2000001132325333019301c002149854cc0592401334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c603400260220062a660289212b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016301100230090031533012491334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016301600130160023014001300b003153300e4912b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016300b002232533300a3370e90000008991919192999809180a80109924c64a66601e66e1d20000011323253330153018002149854cc049241334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c602c002601a0082a660209212b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016300d003153300f4901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375a60260026026004602200260100042a660169212b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016300800123253330093370e90000008991919192999808980a0010a4c2a6601c921334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c602400260240046eb8c040004c01c00854cc0292412b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016300700123253330083370e9000000899191919299980818098010991924c64a66601c66e1d20000011323253330143017002132498c94ccc044cdc3a400000226464a66602e60340042649318070008a9980a249334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e20657870656374656400163018001300f002153330113370e90010008991919191919299980d980f0010a4c2a660309201334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375a603800260380046eb4c068004c068008dd6980c00098078010a9980924812b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016300f00115330114901334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e20657870656374656400163015001300c0031533300e3370e90010008a99980918060018a4c2a6601e92011d4578706563746564206e6f206669656c647320666f7220436f6e7374720016153300f4912b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016300c0023007003153300d491334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e206578706563746564001630110013011002300f001300600215330094912b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016300600123253330073370e900000089919299980698080010a4c2a66014921334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c601c002600a0042a66600e66e1d200200113232533300d3010002149854cc0292401334c6973742f5475706c652f436f6e73747220636f6e7461696e73206d6f7265206974656d73207468616e2065787065637465640016375c601c002600a0042a660109212b436f6e73747220696e64657820646964206e6f74206d6174636820616e7920747970652076617269616e740016300500133001001480008888cccc01ccdc38008018069199980280299b8000448008c03c0040080088c018dd5000918021baa0015734ae7155ceaab9e5573eae815d0aba257461",
};
},
{
datum: {
"title": "Datum",
"anyOf": [{
"title": "Datum",
"dataType": "constructor",
"index": 0,
"fields": [
{
"title": "controlCredential",
"description":
"A general structure for representing an on-chain `Credential`.\n\n Credentials are always one of two kinds: a direct public/private key\n pair, or a script (native or Plutus).",
"anyOf": [{
"title": "VerificationKeyCredential",
"dataType": "constructor",
"index": 0,
"fields": [{ "dataType": "bytes" }],
}, {
"title": "ScriptCredential",
"dataType": "constructor",
"index": 1,
"fields": [{ "dataType": "bytes" }],
}],
},
{
"title": "recipientAddress",
"description":
"A Cardano `Address` typically holding one or two credential references.\n\n Note that legacy bootstrap addresses (a.k.a. 'Byron addresses') are\n completely excluded from Plutus contexts. Thus, from an on-chain\n perspective only exists addresses of type 00, 01, ..., 07 as detailed\n in [CIP-0019 :: Shelley Addresses](https://github.com/cardano-foundation/CIPs/tree/master/CIP-0019/#shelley-addresses).",
"anyOf": [{
"title": "Address",
"dataType": "constructor",
"index": 0,
"fields": [{
"title": "paymentCredential",
"description":
"A general structure for representing an on-chain `Credential`.\n\n Credentials are always one of two kinds: a direct public/private key\n pair, or a script (native or Plutus).",
"anyOf": [{
"title": "VerificationKeyCredential",
"dataType": "constructor",
"index": 0,
"fields": [{ "dataType": "bytes" }],
}, {
"title": "ScriptCredential",
"dataType": "constructor",
"index": 1,
"fields": [{ "dataType": "bytes" }],
}],
}, {
"title": "stakeCredential",
"anyOf": [{
"title": "Some",
"description": "An optional value.",
"dataType": "constructor",
"index": 0,
"fields": [{
"description":
"Represent a type of object that can be represented either inline (by hash)\n or via a reference (i.e. a pointer to an on-chain location).\n\n This is mainly use for capturing pointers to a stake credential\n registration certificate in the case of so-called pointer addresses.",
"anyOf": [{
"title": "Inline",
"dataType": "constructor",
"index": 0,
"fields": [{
"description":
"A general structure for representing an on-chain `Credential`.\n\n Credentials are always one of two kinds: a direct public/private key\n pair, or a script (native or Plutus).",
"anyOf": [{
"title": "VerificationKeyCredential",
"dataType": "constructor",
"index": 0,
"fields": [{ "dataType": "bytes" }],
}, {
"title": "ScriptCredential",
"dataType": "constructor",
"index": 1,
"fields": [{ "dataType": "bytes" }],
}],
}],
}, {
"title": "Pointer",
"dataType": "constructor",
"index": 1,
"fields": [
{ "dataType": "integer", "title": "slotNumber" },
{ "dataType": "integer", "title": "transactionIndex" },
{ "dataType": "integer", "title": "certificateIndex" },
],
}],
}],
}, {
"title": "None",
"description": "Nothing.",
"dataType": "constructor",
"index": 1,
"fields": [],
}],
}],
}],
},
{
"title": "poolNftCs",
"anyOf": [{
"title": "AssetClass",
"dataType": "constructor",
"index": 0,
"fields": [{ "dataType": "bytes", "title": "policyId" }, {
"dataType": "bytes",
"title": "assetName",
}],
}],
},
{ "dataType": "integer", "title": "batcherFeeAda" },
{
"title": "order",
"anyOf": [{
"title": "BorrowRequest",
"dataType": "constructor",
"index": 0,
"fields": [
{
"title": "expectedOutput",
"description":
"A transaction `Output`, with an address, a value and optional datums and script references.",
"anyOf": [{
"title": "Output",
"dataType": "constructor",
"index": 0,
"fields": [{
"title": "address",
"description":
"A Cardano `Address` typically holding one or two credential references.\n\n Note that legacy bootstrap addresses (a.k.a. 'Byron addresses') are\n completely excluded from Plutus contexts. Thus, from an on-chain\n perspective only exists addresses of type 00, 01, ..., 07 as detailed\n in [CIP-0019 :: Shelley Addresses](https://github.com/cardano-foundation/CIPs/tree/master/CIP-0019/#shelley-addresses).",
"anyOf": [{
"title": "Address",
"dataType": "constructor",
"index": 0,
"fields": [{
"title": "paymentCredential",
"description":
"A general structure for representing an on-chain `Credential`.\n\n Credentials are always one of two kinds: a direct public/private key\n pair, or a script (native or Plutus).",
"anyOf": [{
"title": "VerificationKeyCredential",
"dataType": "constructor",
"index": 0,
"fields": [{ "dataType": "bytes" }],
}, {
"title": "ScriptCredential",
"dataType": "constructor",
"index": 1,
"fields": [{ "dataType": "bytes" }],
}],
}, {
"title": "stakeCredential",
"anyOf": [{
"title": "Some",
"description": "An optional value.",
"dataType": "constructor",
"index": 0,
"fields": [{
"description":
"Represent a type of object that can be represented either inline (by hash)\n or via a reference (i.e. a pointer to an on-chain location).\n\n This is mainly use for capturing pointers to a stake credential\n registration certificate in the case of so-called pointer addresses.",
"anyOf": [{
"title": "Inline",
"dataType": "constructor",
"index": 0,
"fields": [{
"description":
"A general structure for representing an on-chain `Credential`.\n\n Credentials are always one of two kinds: a direct public/private key\n pair, or a script (native or Plutus).",
"anyOf": [{
"title": "VerificationKeyCredential",
"dataType": "constructor",
"index": 0,
"fields": [{ "dataType": "bytes" }],
}, {
"title": "ScriptCredential",
"dataType": "constructor",
"index": 1,
"fields": [{ "dataType": "bytes" }],
}],
}],
}, {
"title": "Pointer",
"dataType": "constructor",
"index": 1,
"fields": [{
"dataType": "integer",
"title": "slotNumber",
}, {
"dataType": "integer",