View Source BitcoinLib.Script.Opcodes.Constants.Fourteen (BitcoinLib v0.4.7)

Based on https://en.bitcoin.it/wiki/Script

Word OP_14 Opcode 94 Hex 0x5e Input Nothing Output 14 The number 14 is pushed onto the stack.

Link to this section Summary

Functions

Returns <<0x5e>>

The number 14 is pushed onto the stack.

v()

Returns 0x5e

Link to this section Functions

@spec encode() :: <<_::8>>

Returns <<0x5e>>

examples

Examples

iex> BitcoinLib.Script.Opcodes.Constants.Fourteen.encode()
<<0x5e>>
Link to this function

execute(fourteen, remaining)

View Source

The number 14 is pushed onto the stack.

examples

Examples

iex> BitcoinLib.Script.Opcodes.Constants.Fourteen.execute(
...>  %BitcoinLib.Script.Opcodes.Constants.Fourteen{},
...>  [3]
...> )
{:ok, [14, 3]}
@spec v() :: 94

Returns 0x5e

examples

Examples

iex> BitcoinLib.Script.Opcodes.Constants.Fourteen.v()
0x5e