Class: Mpp::Methods::Tempo::Transaction::Call

Inherits:
Data
  • Object
show all
Defined in:
lib/mpp/methods/tempo/transaction.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



12
13
14
# File 'lib/mpp/methods/tempo/transaction.rb', line 12

def data
  @data
end

#toObject (readonly)

Returns the value of attribute to

Returns:

  • (Object)

    the current value of to



12
13
14
# File 'lib/mpp/methods/tempo/transaction.rb', line 12

def to
  @to
end

#valueObject (readonly)

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



12
13
14
# File 'lib/mpp/methods/tempo/transaction.rb', line 12

def value
  @value
end

Instance Method Details

#as_rlp_listObject



13
14
15
# File 'lib/mpp/methods/tempo/transaction.rb', line 13

def as_rlp_list
  [pack_address(to), encode_uint(value), pack_bytes(data)]
end