View Source BitcoinLib.Script.Opcodes.Constants.Fifteen (BitcoinLib v0.4.7)
Based on https://en.bitcoin.it/wiki/Script
Word OP_15 Opcode 95 Hex 0x5f Input Nothing Output 15 The number 15 is pushed onto the stack.
Link to this section Summary
Link to this section Functions
@spec encode() :: <<_::8>>
Returns <<0x5f>>
examples
Examples
iex> BitcoinLib.Script.Opcodes.Constants.Fifteen.encode()
<<0x5f>>
The number 15 is pushed onto the stack.
examples
Examples
iex> BitcoinLib.Script.Opcodes.Constants.Fifteen.execute(
...> %BitcoinLib.Script.Opcodes.Constants.Fifteen{},
...> [3]
...> )
{:ok, [15, 3]}
@spec v() :: 95
Returns 0x5f
examples
Examples
iex> BitcoinLib.Script.Opcodes.Constants.Fifteen.v()
0x5f