class Ethereum::VM::Message
Attributes
code_address[RW]
data[RW]
depth[RW]
gas[RW]
is_create[RW]
logs[RW]
sender[RW]
to[RW]
transfers_value[RW]
value[RW]
Public Class Methods
new(sender, to, value, gas, data, depth:0, code_address:nil, is_create:false, transfers_value: true)
click to toggle source
# File lib/ethereum/vm/message.rb, line 9 def initialize(sender, to, value, gas, data, depth:0, code_address:nil, is_create:false, transfers_value: true) @sender = sender @to = to @value = value @gas = gas @data = data @depth = depth @logs = [] @code_address = code_address @is_create = is_create @transfers_value = transfers_value end
Public Instance Methods
to_s()
click to toggle source
# File lib/ethereum/vm/message.rb, line 22 def to_s "#<#{self.class.name}:#{object_id} to=#{@to[0,8]}>" end
Also aliased as: inspect