Class: Eth::Signature

Inherits:
Object
  • Object
show all
Defined in:
lib/eth/signature.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ Signature

Returns a new instance of Signature.



6
7
8
# File 'lib/eth/signature.rb', line 6

def initialize(message)
  @message = message
end

Instance Attribute Details

#hashObject

Returns the value of attribute hash.



4
5
6
# File 'lib/eth/signature.rb', line 4

def hash
  @hash
end

#hash_hexObject

Returns the value of attribute hash_hex.



4
5
6
# File 'lib/eth/signature.rb', line 4

def hash_hex
  @hash_hex
end

#messageObject

Returns the value of attribute message.



4
5
6
# File 'lib/eth/signature.rb', line 4

def message
  @message
end

#prefixed_messageObject

Returns the value of attribute prefixed_message.



4
5
6
# File 'lib/eth/signature.rb', line 4

def prefixed_message
  @prefixed_message
end

#rObject

Returns the value of attribute r.



4
5
6
# File 'lib/eth/signature.rb', line 4

def r
  @r
end

#rpcObject

Returns the value of attribute rpc.



4
5
6
# File 'lib/eth/signature.rb', line 4

def rpc
  @rpc
end

#rpc_hexObject

Returns the value of attribute rpc_hex.



4
5
6
# File 'lib/eth/signature.rb', line 4

def rpc_hex
  @rpc_hex
end

#sObject

Returns the value of attribute s.



4
5
6
# File 'lib/eth/signature.rb', line 4

def s
  @s
end

#signatureObject

Returns the value of attribute signature.



4
5
6
# File 'lib/eth/signature.rb', line 4

def signature
  @signature
end

#signature_hexObject

Returns the value of attribute signature_hex.



4
5
6
# File 'lib/eth/signature.rb', line 4

def signature_hex
  @signature_hex
end

#signerObject

Returns the value of attribute signer.



4
5
6
# File 'lib/eth/signature.rb', line 4

def signer
  @signer
end

#vObject

Returns the value of attribute v.



4
5
6
# File 'lib/eth/signature.rb', line 4

def v
  @v
end