Method: Trx::Abi::Decoder#decode_arguments
- Defined in:
- lib/trx/abi/decoder.rb
#decode_arguments(arguments, data) ⇒ Object
74 75 76 77 78 |
# File 'lib/trx/abi/decoder.rb', line 74 def decode_arguments(arguments, data) data = data.gsub(/^0x/,'') types = arguments.map { |o| o.type } types.each.with_index.map { |t , i| decode(t, data, i*64) } end |