-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathModel.cs
2293 lines (1844 loc) · 59.6 KB
/
Model.cs
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
using System;
namespace Blockfrost {
[Serializable]
public class RootEndpoint {
public string url;
public string version;
}
[Serializable]
public class BackendHealthStatus {
public bool isHealthy { get => is_healthy; }
public bool is_healthy;
}
[Serializable]
public class CurrentBackendTime {
public int serverTime { get => server_time; }
public int server_time;
}
[Serializable]
public class BlockContent {
/// <summary>
/// Block creation time in UNIX time
/// </summary>
public int time;
/// <summary>
/// Block number
/// </summary>
public int height;
/// <summary>
/// Hash of the block
/// </summary>
public string hash;
/// <summary>
/// Slot number
/// </summary>
public int slot;
/// <summary>
/// Epoch number
/// </summary>
public int epoch;
/// <summary>
/// Slot within the epoch
/// </summary>
public int epochSlot { get => epoch_slot; }
public int epoch_slot;
/// <summary>
/// Bech32 ID of the slot leader or specific block description in case there is no slot leader
/// </summary>
public string slotLeader { get => slot_leader; }
public string slot_leader;
/// <summary>
/// Block size in Bytes
/// </summary>
public int size;
/// <summary>
/// Number of transactions in the block
/// </summary>
public int txCount { get => tx_count; }
public int tx_count;
/// <summary>
/// Total output within the block in Lovelaces
/// </summary>
public string output;
/// <summary>
/// Total fees within the block in Lovelaces
/// </summary>
public string fees;
/// <summary>
/// VRF key of the block
/// </summary>
public string blockVrf { get => block_vrf; }
public string block_vrf;
/// <summary>
/// Hash of the previous block
/// </summary>
public string previousBlock { get => previous_block; }
public string previous_block;
/// <summary>
/// Hash of the next block
/// </summary>
public string nextBlock { get => next_block; }
public string next_block;
/// <summary>
/// Number of block confirmations
/// </summary>
public int confirmations;
}
[Serializable]
public class Transactions {
public string txHash { get => tx_hash; }
public string tx_hash;
}
[Serializable]
public class BlockContentAddresses {
/// <summary>
/// Address that was affected in the specified block
/// </summary>
public string address;
/// <summary>
/// List of transactions containing the address either in their inputs or outputs. Sorted by transaction index within a block, ascending.
/// </summary>
public Transactions[] transactions;
}
[Serializable]
public class GenesisContent {
/// <summary>
/// The proportion of slots in which blocks should be issued
/// </summary>
public float activeSlotsCoefficient { get => active_slots_coefficient; }
public float active_slots_coefficient;
/// <summary>
/// Determines the quorum needed for votes on the protocol parameter updates
/// </summary>
public int updateQuorum { get => update_quorum; }
public int update_quorum;
/// <summary>
/// The total number of lovelace in the system
/// </summary>
public string maxLovelaceSupply { get => max_lovelace_supply; }
public string max_lovelace_supply;
/// <summary>
/// Network identifier
/// </summary>
public int networkMagic { get => network_magic; }
public int network_magic;
/// <summary>
/// Number of slots in an epoch
/// </summary>
public int epochLength { get => epoch_length; }
public int epoch_length;
/// <summary>
/// Time of slot 0 in UNIX time
/// </summary>
public int systemStart { get => system_start; }
public int system_start;
/// <summary>
/// Number of slots in an KES period
/// </summary>
public int slotsPerKesPeriod { get => slots_per_kes_period; }
public int slots_per_kes_period;
/// <summary>
/// Duration of one slot in seconds
/// </summary>
public int slotLength { get => slot_length; }
public int slot_length;
/// <summary>
/// The maximum number of time a KES key can be evolved before a pool operator must create a new operational certificate
/// </summary>
public int maxKesEvolutions { get => max_kes_evolutions; }
public int max_kes_evolutions;
/// <summary>
/// Security parameter k
/// </summary>
public int securityParam { get => security_param; }
public int security_param;
}
[Serializable]
public class EpochContent {
/// <summary>
/// Epoch number
/// </summary>
public int epoch;
/// <summary>
/// Unix time of the start of the epoch
/// </summary>
public int startTime { get => start_time; }
public int start_time;
/// <summary>
/// Unix time of the end of the epoch
/// </summary>
public int endTime { get => end_time; }
public int end_time;
/// <summary>
/// Unix time of the first block of the epoch
/// </summary>
public int firstBlockTime { get => first_block_time; }
public int first_block_time;
/// <summary>
/// Unix time of the last block of the epoch
/// </summary>
public int lastBlockTime { get => last_block_time; }
public int last_block_time;
/// <summary>
/// Number of blocks within the epoch
/// </summary>
public int blockCount { get => block_count; }
public int block_count;
/// <summary>
/// Number of transactions within the epoch
/// </summary>
public int txCount { get => tx_count; }
public int tx_count;
/// <summary>
/// Sum of all the transactions within the epoch in Lovelaces
/// </summary>
public string output;
/// <summary>
/// Sum of all the fees within the epoch in Lovelaces
/// </summary>
public string fees;
/// <summary>
/// Sum of all the active stakes within the epoch in Lovelaces
/// </summary>
public string activeStake { get => active_stake; }
public string active_stake;
}
[Serializable]
public class ExtraEntropy {
}
[Serializable]
public class EpochParamContent {
/// <summary>
/// Epoch number
/// </summary>
public int epoch;
/// <summary>
/// The linear factor for the minimum fee calculation for given epoch
/// </summary>
public int minFeeA { get => min_fee_a; }
public int min_fee_a;
/// <summary>
/// The constant factor for the minimum fee calculation
/// </summary>
public int minFeeB { get => min_fee_b; }
public int min_fee_b;
/// <summary>
/// Maximum block body size in Bytes
/// </summary>
public int maxBlockSize { get => max_block_size; }
public int max_block_size;
/// <summary>
/// Maximum transaction size
/// </summary>
public int maxTxSize { get => max_tx_size; }
public int max_tx_size;
/// <summary>
/// Maximum block header size
/// </summary>
public int maxBlockHeaderSize { get => max_block_header_size; }
public int max_block_header_size;
/// <summary>
/// The amount of a key registration deposit in Lovelaces
/// </summary>
public string keyDeposit { get => key_deposit; }
public string key_deposit;
/// <summary>
/// The amount of a pool registration deposit in Lovelaces
/// </summary>
public string poolDeposit { get => pool_deposit; }
public string pool_deposit;
/// <summary>
/// Epoch bound on pool retirement
/// </summary>
public int eMax { get => e_max; }
public int e_max;
/// <summary>
/// Desired number of pools
/// </summary>
public int nOpt { get => n_opt; }
public int n_opt;
/// <summary>
/// Pool pledge influence
/// </summary>
public float a0;
/// <summary>
/// Monetary expansion
/// </summary>
public float rho;
/// <summary>
/// Treasury expansion
/// </summary>
public float tau;
/// <summary>
/// Percentage of blocks produced by federated nodes
/// </summary>
public float decentralisationParam { get => decentralisation_param; }
public float decentralisation_param;
/// <summary>
/// Seed for extra entropy
/// </summary>
public ExtraEntropy extraEntropy { get => extra_entropy; }
public ExtraEntropy extra_entropy;
/// <summary>
/// Accepted protocol major version
/// </summary>
public int protocolMajorVer { get => protocol_major_ver; }
public int protocol_major_ver;
/// <summary>
/// Accepted protocol minor version
/// </summary>
public int protocolMinorVer { get => protocol_minor_ver; }
public int protocol_minor_ver;
/// <summary>
/// Minimum UTXO value
/// </summary>
public string minUtxo { get => min_utxo; }
public string min_utxo;
/// <summary>
/// Minimum stake cost forced on the pool
/// </summary>
public string minPoolCost { get => min_pool_cost; }
public string min_pool_cost;
/// <summary>
/// Epoch number only used once
/// </summary>
public string nonce;
/// <summary>
/// The per word cost of script memory usage
/// </summary>
public float priceMem { get => price_mem; }
public float price_mem;
/// <summary>
/// The cost of script execution step usage
/// </summary>
public float priceStep { get => price_step; }
public float price_step;
/// <summary>
/// The maximum number of execution memory allowed to be used in a single transaction
/// </summary>
public string maxTxExMem { get => max_tx_ex_mem; }
public string max_tx_ex_mem;
/// <summary>
/// The maximum number of execution steps allowed to be used in a single transaction
/// </summary>
public string maxTxExSteps { get => max_tx_ex_steps; }
public string max_tx_ex_steps;
/// <summary>
/// The maximum number of execution memory allowed to be used in a single block
/// </summary>
public string maxBlockExMem { get => max_block_ex_mem; }
public string max_block_ex_mem;
/// <summary>
/// The maximum number of execution steps allowed to be used in a single block
/// </summary>
public string maxBlockExSteps { get => max_block_ex_steps; }
public string max_block_ex_steps;
/// <summary>
/// The maximum Val size
/// </summary>
public string maxValSize { get => max_val_size; }
public string max_val_size;
/// <summary>
/// The percentage of the transactions fee which must be provided as collateral when including non-native scripts
/// </summary>
public int collateralPercent { get => collateral_percent; }
public int collateral_percent;
/// <summary>
/// The maximum number of collateral inputs allowed in a transaction
/// </summary>
public int maxCollateralInputs { get => max_collateral_inputs; }
public int max_collateral_inputs;
/// <summary>
/// Cost per UTxO word for Alonzo. Cost per UTxO byte for Babbage and later.
/// </summary>
public string coinsPerUtxoSize { get => coins_per_utxo_size; }
public string coins_per_utxo_size;
/// <summary>
/// Cost per UTxO word for Alonzo. Cost per UTxO byte for Babbage and later.
/// </summary>
public string coinsPerUtxoWord { get => coins_per_utxo_word; }
public string coins_per_utxo_word;
}
[Serializable]
public class OutputAmount {
/// <summary>
/// The unit of the value
/// </summary>
public string unit;
/// <summary>
/// The quantity of the unit
/// </summary>
public string quantity;
}
[Serializable]
public class TxContent {
/// <summary>
/// Transaction hash
/// </summary>
public string hash;
/// <summary>
/// Block hash
/// </summary>
public string block;
/// <summary>
/// Block number
/// </summary>
public int blockHeight { get => block_height; }
public int block_height;
/// <summary>
/// Block creation time in UNIX time
/// </summary>
public int blockTime { get => block_time; }
public int block_time;
/// <summary>
/// Slot number
/// </summary>
public int slot;
/// <summary>
/// Transaction index within the block
/// </summary>
public int index;
public OutputAmount[] outputAmount { get => output_amount; }
public OutputAmount[] output_amount;
/// <summary>
/// Fees of the transaction in Lovelaces
/// </summary>
public string fees;
/// <summary>
/// Deposit within the transaction in Lovelaces
/// </summary>
public string deposit;
/// <summary>
/// Size of the transaction in Bytes
/// </summary>
public int size;
/// <summary>
/// Left (included) endpoint of the timelock validity intervals
/// </summary>
public string invalidBefore { get => invalid_before; }
public string invalid_before;
/// <summary>
/// Right (excluded) endpoint of the timelock validity intervals
/// </summary>
public string invalidHereafter { get => invalid_hereafter; }
public string invalid_hereafter;
/// <summary>
/// Count of UTXOs within the transaction
/// </summary>
public int utxoCount { get => utxo_count; }
public int utxo_count;
/// <summary>
/// Count of the withdrawals within the transaction
/// </summary>
public int withdrawalCount { get => withdrawal_count; }
public int withdrawal_count;
/// <summary>
/// Count of the MIR certificates within the transaction
/// </summary>
public int mirCertCount { get => mir_cert_count; }
public int mir_cert_count;
/// <summary>
/// Count of the delegations within the transaction
/// </summary>
public int delegationCount { get => delegation_count; }
public int delegation_count;
/// <summary>
/// Count of the stake keys (de)registration within the transaction
/// </summary>
public int stakeCertCount { get => stake_cert_count; }
public int stake_cert_count;
/// <summary>
/// Count of the stake pool registration and update certificates within the transaction
/// </summary>
public int poolUpdateCount { get => pool_update_count; }
public int pool_update_count;
/// <summary>
/// Count of the stake pool retirement certificates within the transaction
/// </summary>
public int poolRetireCount { get => pool_retire_count; }
public int pool_retire_count;
/// <summary>
/// Count of asset mints and burns within the transaction
/// </summary>
public int assetMintOrBurnCount { get => asset_mint_or_burn_count; }
public int asset_mint_or_burn_count;
/// <summary>
/// Count of redeemers within the transaction
/// </summary>
public int redeemerCount { get => redeemer_count; }
public int redeemer_count;
/// <summary>
/// True if contract script passed validation
/// </summary>
public bool validContract { get => valid_contract; }
public bool valid_contract;
}
[Serializable]
public class Amount {
/// <summary>
/// The unit of the value
/// </summary>
public string unit;
/// <summary>
/// The quantity of the unit
/// </summary>
public string quantity;
}
[Serializable]
public class Inputs {
/// <summary>
/// Input address
/// </summary>
public string address;
public Amount[] amount;
/// <summary>
/// Hash of the UTXO transaction
/// </summary>
public string txHash { get => tx_hash; }
public string tx_hash;
/// <summary>
/// UTXO index in the transaction
/// </summary>
public int outputIndex { get => output_index; }
public int output_index;
/// <summary>
/// The hash of the transaction output datum
/// </summary>
public string dataHash { get => data_hash; }
public string data_hash;
/// <summary>
/// CBOR encoded inline datum
/// </summary>
public string inlineDatum { get => inline_datum; }
public string inline_datum;
/// <summary>
/// The hash of the reference script of the input
/// </summary>
public string referenceScriptHash { get => reference_script_hash; }
public string reference_script_hash;
/// <summary>
/// Whether the input is a collateral consumed on script validation failure
/// </summary>
public bool collateral;
/// <summary>
/// Whether the input is a reference transaction input
/// </summary>
public bool reference;
}
[Serializable]
public class Outputs {
/// <summary>
/// Output address
/// </summary>
public string address;
public Amount[] amount;
/// <summary>
/// UTXO index in the transaction
/// </summary>
public int outputIndex { get => output_index; }
public int output_index;
/// <summary>
/// The hash of the transaction output datum
/// </summary>
public string dataHash { get => data_hash; }
public string data_hash;
/// <summary>
/// CBOR encoded inline datum
/// </summary>
public string inlineDatum { get => inline_datum; }
public string inline_datum;
/// <summary>
/// The hash of the reference script of the output
/// </summary>
public string referenceScriptHash { get => reference_script_hash; }
public string reference_script_hash;
}
[Serializable]
public class TxContentUtxo {
/// <summary>
/// Transaction hash
/// </summary>
public string hash;
public Inputs[] inputs;
public Outputs[] outputs;
}
[Serializable]
public class TxContentStakeAddr {
/// <summary>
/// Index of the certificate within the transaction
/// </summary>
public int certIndex { get => cert_index; }
public int cert_index;
/// <summary>
/// Delegation stake address
/// </summary>
public string address;
/// <summary>
/// Registration boolean, false if deregistration
/// </summary>
public bool registration;
}
[Serializable]
public class TxContentDelegations {
/// <summary>
/// Index of the certificate within the transaction
/// </summary>
public int index;
/// <summary>
/// Index of the certificate within the transaction
/// </summary>
public int certIndex { get => cert_index; }
public int cert_index;
/// <summary>
/// Bech32 delegation stake address
/// </summary>
public string address;
/// <summary>
/// Bech32 ID of delegated stake pool
/// </summary>
public string poolId { get => pool_id; }
public string pool_id;
/// <summary>
/// Epoch in which the delegation becomes active
/// </summary>
public int activeEpoch { get => active_epoch; }
public int active_epoch;
}
[Serializable]
public class TxContentWithdrawals {
/// <summary>
/// Bech32 withdrawal address
/// </summary>
public string address;
/// <summary>
/// Withdrawal amount in Lovelaces
/// </summary>
public string amount;
}
[Serializable]
public class TxContentMirs {
/// <summary>
/// Source of MIR funds
/// </summary>
public string pot;
/// <summary>
/// Index of the certificate within the transaction
/// </summary>
public int certIndex { get => cert_index; }
public int cert_index;
/// <summary>
/// Bech32 stake address
/// </summary>
public string address;
/// <summary>
/// MIR amount in Lovelaces
/// </summary>
public string amount;
}
[Serializable]
public class Metadata {
/// <summary>
/// URL to the stake pool metadata
/// </summary>
public string url;
/// <summary>
/// Hash of the metadata file
/// </summary>
public string hash;
/// <summary>
/// Ticker of the stake pool
/// </summary>
public string ticker;
/// <summary>
/// Name of the stake pool
/// </summary>
public string name;
/// <summary>
/// Description of the stake pool
/// </summary>
public string description;
/// <summary>
/// Home page of the stake pool
/// </summary>
public string homepage;
}
[Serializable]
public class Relays {
/// <summary>
/// IPv4 address of the relay
/// </summary>
public string ipv4;
/// <summary>
/// IPv6 address of the relay
/// </summary>
public string ipv6;
/// <summary>
/// DNS name of the relay
/// </summary>
public string dns;
/// <summary>
/// DNS SRV entry of the relay
/// </summary>
public string dnsSrv { get => dns_srv; }
public string dns_srv;
/// <summary>
/// Network port of the relay
/// </summary>
public int port;
}
[Serializable]
public class TxContentPoolCerts {
/// <summary>
/// Index of the certificate within the transaction
/// </summary>
public int certIndex { get => cert_index; }
public int cert_index;
/// <summary>
/// Bech32 encoded pool ID
/// </summary>
public string poolId { get => pool_id; }
public string pool_id;
/// <summary>
/// VRF key hash
/// </summary>
public string vrfKey { get => vrf_key; }
public string vrf_key;
/// <summary>
/// Stake pool certificate pledge in Lovelaces
/// </summary>
public string pledge;
/// <summary>
/// Margin tax cost of the stake pool
/// </summary>
public float marginCost { get => margin_cost; }
public float margin_cost;
/// <summary>
/// Fixed tax cost of the stake pool in Lovelaces
/// </summary>
public string fixedCost { get => fixed_cost; }
public string fixed_cost;
/// <summary>
/// Bech32 reward account of the stake pool
/// </summary>
public string rewardAccount { get => reward_account; }
public string reward_account;
public string[] owners;
public Metadata metadata;
public Relays[] relays;
/// <summary>
/// Epoch in which the update becomes active
/// </summary>
public int activeEpoch { get => active_epoch; }
public int active_epoch;
}
[Serializable]
public class TxContentPoolRetires {
/// <summary>
/// Index of the certificate within the transaction
/// </summary>
public int certIndex { get => cert_index; }
public int cert_index;
/// <summary>
/// Bech32 stake pool ID
/// </summary>
public string poolId { get => pool_id; }
public string pool_id;
/// <summary>
/// Epoch in which the pool becomes retired
/// </summary>
public int retiringEpoch { get => retiring_epoch; }
public int retiring_epoch;
}
[Serializable]
public class TxContentMetadata {
/// <summary>
/// Metadata label
/// </summary>
public string label;
}
[Serializable]
public class TxContentMetadataCbor {
/// <summary>
/// Metadata label
/// </summary>
public string label;
/// <summary>
/// Content of the CBOR metadata
/// </summary>
public string cborMetadata { get => cbor_metadata; }
public string cbor_metadata;
/// <summary>
/// Content of the CBOR metadata in hex
/// </summary>
public string metadata;
}
[Serializable]
public class TxContentRedeemers {
/// <summary>
/// Index of the redeemer within the transaction
/// </summary>
public int txIndex { get => tx_index; }
public int tx_index;
/// <summary>
/// Validation purpose
/// </summary>
public string purpose;
/// <summary>
/// Script hash
/// </summary>
public string scriptHash { get => script_hash; }
public string script_hash;
/// <summary>
/// Redeemer data hash
/// </summary>
public string redeemerDataHash { get => redeemer_data_hash; }
public string redeemer_data_hash;
/// <summary>
/// Datum hash
/// </summary>
public string datumHash { get => datum_hash; }
public string datum_hash;
/// <summary>
/// The budget in Memory to run a script
/// </summary>
public string unitMem { get => unit_mem; }
public string unit_mem;
/// <summary>
/// The budget in CPU steps to run a script