File Coverage

blib/lib/Blockchain/Ethereum/ABI/TypeRole.pm
Criterion Covered Total %
statement 5 5 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 7 7 100.0


line stmt bran cond sub pod time code
1 7     7   83 use v5.26;
  7         23  
2 7     7   39 use Object::Pad;
  7         14  
  7         42  
3              
4             package Blockchain::Ethereum::ABI::TypeRole 0.012;
5             role Blockchain::Ethereum::ABI::TypeRole;
6              
7             =head2 encode
8              
9             Encodes the given data to the type of the signature
10              
11             Usage:
12              
13             encode() -> encoded string
14              
15             =over 4
16              
17             =back
18              
19             ABI encoded hex string
20              
21             =cut
22              
23             method encode;
24              
25             =head2 decode
26              
27             Decodes the given data to the type of the signature
28              
29             Usage:
30              
31             decoded() -> check the child classes for return type
32              
33             =over 4
34              
35             =back
36              
37             check the child classes for return type
38              
39             =cut
40              
41             method decode;
42              
43             method _configure;
44              
45             1;
46              
47             __END__