| 1 | package Bitcoin::Crypto::Script::Compiler::Opcode; | ||||||||||
| 2 | 64 | $Bitcoin::Crypto::Script::Compiler::Opcode::VERSION = '4.005'; | |||||||||
| 3 | 64 | ▶ | use v5.14; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 64 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | sub new | ||||||||||
| 7 | 2271 | ▶ | { | ||||||||
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 8 | 2271 | my ($class, $opcode, $raw) = @_; | |||||||||
| 9 | |||||||||||
| 10 | 2271 | return bless [$opcode, $raw], $class; | |||||||||
| 11 | } | ||||||||||
| 12 | |||||||||||
| 13 | sub opcode | ||||||||||
| 14 | 5 | ▶ | { | ||||||||
|
Subroutine
opcode: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 15 | 5 | return $_[0][0]; | |||||||||
| 16 | } | ||||||||||
| 17 | |||||||||||
| 18 | sub raw_data | ||||||||||
| 19 | 5 | ▶ | { | ||||||||
|
Subroutine
raw_data: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 20 | 5 | return $_[0][1]; | |||||||||
| 21 | } | ||||||||||
| 22 | |||||||||||
| 23 | sub push_data | ||||||||||
| 24 | 0 | ▶ | { | ||||||||
|
Subroutine
push_data: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 25 | 0 | ▶ | return $_[0][0]->pushop ? $_[0][2] : undef; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 26 | } | ||||||||||
| 27 | |||||||||||
| 28 | 64 | 1; | |||||||||
| 29 | |||||||||||
| 30 | __END__ | ||||||||||