1. 14 2月, 2018 1 次提交
  2. 30 12月, 2017 1 次提交
  3. 21 12月, 2017 2 次提交
  4. 20 12月, 2017 1 次提交
  5. 13 12月, 2017 1 次提交
  6. 08 11月, 2017 1 次提交
  7. 17 10月, 2017 1 次提交
  8. 27 6月, 2017 1 次提交
  9. 09 1月, 2017 1 次提交
  10. 06 1月, 2017 1 次提交
  11. 05 1月, 2017 1 次提交
  12. 22 12月, 2016 1 次提交
  13. 04 11月, 2016 1 次提交
  14. 12 5月, 2016 1 次提交
  15. 11 5月, 2016 1 次提交
    • J
      accounts/abi: fixed unpacking in to already slice interfaces · 91a7a4a7
      Jeffrey Wilcke 提交于
      Previously it was assumed that wheneven type `[]interface{}` was given
      that the interface was empty. The abigen rightfully assumed that
      interface slices which already have pre-allocated variable sets to be
      assigned.
      
      This PR fixes that by checking that the given `[]interface{}` is larger
      than zero and assigns each value using the generic `set` function (this
      function has also been moved to abi/reflect.go) and checks whether the
      assignment was possible.
      
      The generic assignment function `set` now also deals with pointers
      (useful for interface slice mentioned above) by dereferencing the
      pointer until it finds a setable type.
      91a7a4a7
  16. 28 4月, 2016 3 次提交
  17. 20 4月, 2016 1 次提交
    • J
      accouns/abi: refactored ABI package · 5127ec10
      Jeffrey Wilcke 提交于
      Refactored the abi package parsing and type handling. Relying mostly on
      package reflect as opposed to most of our own type reflection. Our own
      type reflection is still used however for cases such as Bytes and
      FixedBytes (abi: bytes•).
      
      This also inclused several fixes for slice handling of arbitrary and
      fixed size for all supported types.
      
      This also further removes implicit type casting such as assigning,
      for example `[2]T{} = []T{1}` will fail, however `[2]T{} == []T{1, 2}`
      (notice assigning *slice* to fixed size *array*). Assigning arrays to
      slices will always succeed if they are of the same element type.
      
      Incidentally also fixes #2379
      5127ec10
  18. 05 4月, 2016 3 次提交
  19. 24 3月, 2016 1 次提交
  20. 15 3月, 2016 1 次提交
  21. 22 2月, 2016 1 次提交
  22. 15 2月, 2016 1 次提交
  23. 11 2月, 2016 1 次提交
    • J
      accounts/abi: fixed return tuple and string, bytes return type parsing · ecc876ce
      Jeffrey Wilcke 提交于
      Removed old unmarshalling of return types: `abi.Call(...).([]byte)`.
      This is now replaced by a new syntax:
      
      ```
      var a []byte
      err := abi.Call(&a, ...)
      ```
      
      It also addresses a few issues with Bytes and Strings and can also
      handle both fixed and arbitrary sized byte slices, including strings.
      ecc876ce
  24. 02 2月, 2016 1 次提交
  25. 25 11月, 2015 1 次提交
  26. 30 10月, 2015 1 次提交
  27. 24 7月, 2015 1 次提交
  28. 23 7月, 2015 1 次提交
  29. 07 7月, 2015 1 次提交
  30. 27 1月, 2015 1 次提交