Jeffrey Wilcke
a306e17a26
abi: removed implicit type casting & refactored type parsing
9 years ago
Jeffrey Wilcke
968d8ffe94
abi: accept output slices of all supported types
9 years ago
Jeffrey Wilcke
022cbd6800
abi: accept input slices of all supported types
9 years ago
Péter Szilágyi
4097478884
accounts/abi/bind: surface raw wrappers to access low level ops
9 years ago
Jeffrey Wilcke
9055c16efa
accounts/a/b/backends, core: chain maker homestead block set to 0
...
The chain maker and the simulated backend now run with a homestead phase
beginning at block 0 (i.e. there's no frontier).
This commit also fixes up #2388
9 years ago
Jeffrey Wilcke
f0cbebb19f
core: added basic chain configuration
...
Added chain configuration options and write out during genesis database
insertion. If no "config" was found, nothing is written to the database.
Configurations are written on a per genesis base. This means
that any chain (which is identified by it's genesis hash) can have their
own chain settings.
9 years ago
Péter Szilágyi
4ab593c5a1
accounts/abi/bind: support account slices, drop hash type
9 years ago
Péter Szilágyi
c2bbff6116
accounts/abi/bind: merge all tests into a single suite
9 years ago
Péter Szilágyi
787d688c2f
accounts/abi/bind: use anonymous ephemeral call result structs
9 years ago
Péter Szilágyi
b813e4d411
accounts/abi/bind, cmd/abigen: dedup structs, exclude patterns
9 years ago
Péter Szilágyi
9b4a45f6e8
accounts/abi/bind: fix double pointer in generated code
9 years ago
Péter Szilágyi
73308dbe0e
accounts/abi/bind, cmd/abigen: port to templates, bind to solidity
9 years ago
Péter Szilágyi
86cfc22c79
accounts/abi/bind: constructor, auth utils and various backends
9 years ago
Péter Szilágyi
72826bb5ad
accounts/abi/bind, cmd/abigen: Go API generator around an EVM ABI
9 years ago
Péter Szilágyi
270ea6eec3
accounts/abi: handle the "constant" modifier for functions
9 years ago
Jeffrey Wilcke
fe45210c55
accounts/abi: Fixed bytes input accept []byte and variable input support
...
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`.
9 years ago
Ricardo Catalinas Jiménez
436fc8d76a
all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}()
...
As we aren't really using the standarized SHA-3
9 years ago
Jeffrey Wilcke
6fe917ecb8
accounts/abi: support for typed array
...
Added support for fixed size and arbitrary length byte arrays to be
marshallable in fixed size (typed) byte slices.
9 years ago
Jeffrey Wilcke
ecc876cec0
accounts/abi: fixed return tuple and string, bytes return type parsing
...
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.
9 years ago
Jeffrey Wilcke
bddf8f76c8
account/abi: implements event parsing
...
Implementation of basic event parsing and its input types. This
separates methods and events and fixes an issue with go type parsing and
validation.
9 years ago
Jeffrey Wilcke
a0bf2ea7e7
accounts/abi: added output parsing & added call mechanism
...
Added calling mechanism and return value parsing
9 years ago
Jeffrey Wilcke
1f72952f04
accounts/abi: ABI fixes & added types
...
Changed field `input` to new `inputs`. Addad Hash and Address as input
types.
Added bytes[N] and N validation
9 years ago
Felix Lange
bfbcfbe4a9
all: fix license headers one more time
...
I forgot to update one instance of "go-ethereum" in commit 3f047be5a
.
9 years ago
Felix Lange
3f047be5aa
all: update license headers to distiguish GPL/LGPL
...
All code outside of cmd/ is licensed as LGPL. The headers
now reflect this by calling the whole work "the go-ethereum library".
9 years ago
Felix Lange
ea54283b30
all: update license information
9 years ago
obscuren
b523441361
Moved ethutil => common
10 years ago
obscuren
405c0ca4b0
removed
10 years ago
obscuren
aa5b29e2f2
Implemented contract ABI
10 years ago