Class: Mpp::Methods::Tempo::Transaction::Call
- Inherits:
-
Data
- Object
- Data
- Mpp::Methods::Tempo::Transaction::Call
- Defined in:
- lib/mpp/methods/tempo/transaction.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#to ⇒ Object
readonly
Returns the value of attribute to.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data
12 13 14 |
# File 'lib/mpp/methods/tempo/transaction.rb', line 12 def data @data end |
#to ⇒ Object (readonly)
Returns the value of attribute to
12 13 14 |
# File 'lib/mpp/methods/tempo/transaction.rb', line 12 def to @to end |
#value ⇒ Object (readonly)
Returns the value of attribute value
12 13 14 |
# File 'lib/mpp/methods/tempo/transaction.rb', line 12 def value @value end |
Instance Method Details
#as_rlp_list ⇒ Object
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 |