line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
# Load the Perl pragmas. |
3
|
|
|
|
|
|
|
use 5.010000; |
4
|
1
|
|
|
1
|
|
67272
|
use strict; |
|
1
|
|
|
|
|
3
|
|
5
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
18
|
|
6
|
1
|
|
|
1
|
|
5
|
|
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
43
|
|
7
|
|
|
|
|
|
|
# Load the Perl pragma Exporter. |
8
|
|
|
|
|
|
|
use vars qw(@ISA @EXPORT @EXPORT_OK); |
9
|
1
|
|
|
1
|
|
6
|
use Exporter 'import'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
68
|
|
10
|
1
|
|
|
1
|
|
6
|
|
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
76
|
|
11
|
|
|
|
|
|
|
# Exporting the implemented subroutine. |
12
|
|
|
|
|
|
|
# our @EXPORT = qw( |
13
|
|
|
|
|
|
|
# sign |
14
|
|
|
|
|
|
|
# ); |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
# Base class of this (tron_addr) module. |
17
|
|
|
|
|
|
|
our @ISA = qw(Exporter); |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
# Set the package version. |
20
|
|
|
|
|
|
|
our $VERSION = '0.08'; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
1; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 NAME |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
CryptoTron - Perl extension for use with the crypto coin Tron blockchain |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 SYNOPSIS |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
use CryptoTron::SignTx |
32
|
|
|
|
|
|
|
use CryptoTron::ClaimReward |
33
|
|
|
|
|
|
|
use CryptoTron::AddressConvert |
34
|
|
|
|
|
|
|
use CryptoTron::AddressCheck |
35
|
|
|
|
|
|
|
use CryptoTron::AddrTools |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 DESCRIPTION |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
The module provides methods to query the blockchain of the crypto coin Tron. |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 SEE ALSO |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
CryptoTron modules: |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
CryptoTron::SignTx |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
CryptoTron::AddrTools |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
CryptoTron::AddressConvert |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
CryptoTron::AddressCheck |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
CryptoTron::ClaimReward |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
CPAN modules: |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
URI |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
LWP::UserAgent |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
JSON::PP |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
Try::Catch |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
Inline::Python |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
Bitcoin::Crypto::Base58 |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=head1 AUTHOR |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
Dr. Peter Netz, E<lt>ztenretep@cpan.orgE<gt> |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
Copyright (C) 2022 by Dr. Peter Netz |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or modify |
78
|
|
|
|
|
|
|
it under the same terms as Perl itself, either Perl version 5.30.0 or, |
79
|
|
|
|
|
|
|
at your option, any later version of Perl 5 you may have available. |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=cut |