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