- 14 2月, 2018 1 次提交
-
-
由 Felix Lange 提交于
-
- 30 12月, 2017 1 次提交
-
-
由 Péter Szilágyi 提交于
* accounts/abi: handle named ouputs prefixed with underscores * accounts/abi: handle collinding outputs for struct unpacks * accounts: handle purely underscore output names
-
- 21 12月, 2017 2 次提交
-
-
由 Robert Zaremba 提交于
-
由 Robert Zaremba 提交于
+ Reworked Method Unpack tests into more readable components + Added Method Unpack into slice test
-
- 20 12月, 2017 1 次提交
-
-
由 Dmitry Shulyak 提交于
Fixes #15617
-
- 13 12月, 2017 1 次提交
-
-
由 Zach 提交于
-
- 08 11月, 2017 1 次提交
-
-
由 ferhat elmas 提交于
-
- 17 10月, 2017 1 次提交
-
-
由 RJ Catalano 提交于
-
- 27 6月, 2017 1 次提交
-
-
由 RJ Catalano 提交于
* accounts/abi: reorganizing package and some notes and a quick correction of name. Signed-off-by: NRJ Catalano <rj@monax.io> get rid of some imports Signed-off-by: NRJ Catalano <rj@monax.io> * accounts/abi: move file names Signed-off-by: NRJ Catalano <rj@monax.io> * accounts/abi: fix boolean decode function Signed-off-by: NRJ Catalano <rj@monax.io> * accounts/abi: fix for the array set and for creating a bool Signed-off-by: NRJ Catalano <rj@monax.io> * accounts/abi: be very very very correct Signed-off-by: NRJ Catalano <rj@monax.io> * accounts/abi: fix up error message and variable names Signed-off-by: NRJ Catalano <rj@monax.io> * accounts/abi: take out unnecessary argument in pack method Signed-off-by: NRJ Catalano <rj@monax.io> * accounts/abi: add bool unpack test and add a panic to readBool function Signed-off-by: NRJ Catalano <rj@monax.io> * accounts/abi: fix panic message Signed-off-by: NRJ Catalano <rj@monax.io> * accounts/abi: change from panic to basic error Signed-off-by: NRJ Catalano <rj@monax.io> * accounts/abi: fix nil to false Signed-off-by: NRJ Catalano <rj@monax.io> * accounts/abi: fill out type regex tests and fill with the correct type for integers Signed-off-by: NRJ Catalano <rj@monax.io> * accounts/abi: move packNumbers into pack.go. Signed-off-by: NRJ Catalano <rj@monax.io> * accounts/abi: separation of the testing suite into appropriately named files. Signed-off-by: NRJ Catalano <rj@monax.io> * account/abi: change to hex string tests. Signed-off-by: NRJ Catalano <rj@monax.io> * account/abi: fix up rest of tests to hex Signed-off-by: NRJ Catalano <rj@monax.io> * accounts/abi: declare bool at the package level Signed-off-by: NRJ Catalano <rj@monax.io> * accounts/abi: use errors package in the error file. Signed-off-by: NRJ Catalano <rj@monax.io> * accounts/abi: fix ugly hack and fix error type declaration. Signed-off-by: NRJ Catalano <rj@monax.io>
-
- 09 1月, 2017 1 次提交
-
-
由 tbocek 提交于
-
- 06 1月, 2017 1 次提交
-
-
由 Felix Lange 提交于
-
- 05 1月, 2017 1 次提交
-
-
由 RJ 提交于
-
- 22 12月, 2016 1 次提交
-
-
由 bas-vk 提交于
-
- 04 11月, 2016 1 次提交
-
-
由 RJ 提交于
solves #3119 Signed-off-by: NVoR0220 <rj@erisindustries.com>
-
- 12 5月, 2016 1 次提交
-
-
由 Péter Szilágyi 提交于
-
- 11 5月, 2016 1 次提交
-
-
由 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.
-
- 28 4月, 2016 3 次提交
-
-
由 Jeffrey Wilcke 提交于
-
由 Jeffrey Wilcke 提交于
-
由 Jeffrey Wilcke 提交于
-
- 20 4月, 2016 1 次提交
-
-
由 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
-
- 05 4月, 2016 3 次提交
-
-
由 Jeffrey Wilcke 提交于
-
由 Jeffrey Wilcke 提交于
-
由 Jeffrey Wilcke 提交于
-
- 24 3月, 2016 1 次提交
-
-
由 Péter Szilágyi 提交于
-
- 15 3月, 2016 1 次提交
-
-
由 Jeffrey Wilcke 提交于
Fixed up `[]byte` slice support such that `function print(bytes input)` accepts `[]byte` as input and treats it as 1 element rather than a slice of multiple elements. Added support for variable length input parameters like `bytes` and `strings`.
-
- 22 2月, 2016 1 次提交
-
-
As we aren't really using the standarized SHA-3
-
- 15 2月, 2016 1 次提交
-
-
由 Jeffrey Wilcke 提交于
Added support for fixed size and arbitrary length byte arrays to be marshallable in fixed size (typed) byte slices.
-
- 11 2月, 2016 1 次提交
-
-
由 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.
-
- 02 2月, 2016 1 次提交
-
-
由 Jeffrey Wilcke 提交于
Implementation of basic event parsing and its input types. This separates methods and events and fixes an issue with go type parsing and validation.
-
- 25 11月, 2015 1 次提交
-
-
由 Jeffrey Wilcke 提交于
Added calling mechanism and return value parsing
-
- 30 10月, 2015 1 次提交
-
-
由 Jeffrey Wilcke 提交于
Changed field `input` to new `inputs`. Addad Hash and Address as input types. Added bytes[N] and N validation
-
- 24 7月, 2015 1 次提交
-
-
由 Felix Lange 提交于
I forgot to update one instance of "go-ethereum" in commit 3f047be5.
-
- 23 7月, 2015 1 次提交
-
-
由 Felix Lange 提交于
All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library".
-
- 07 7月, 2015 1 次提交
-
-
由 Felix Lange 提交于
-
- 27 1月, 2015 1 次提交
-
-
由 obscuren 提交于
-