go-pulse/accounts/abi
Felix Lange d62d5fe59a accounts/abi/bind: use ethereum interfaces
In this commit, contract bindings and their backend start using the
Ethereum Go API interfaces offered by ethclient. This makes ethclient a
suitable replacement for the old remote backend and gets us one step
closer to the final stable Go API that is planned for go-ethereum 1.5.

The changes in detail:

* Pending state is optional for read only contract bindings.
  BoundContract attempts to discover the Pending* methods via an
  interface assertion. There are a couple of advantages to this:
  ContractCaller is just two methods and can be implemented on top of
  pretty much anything that provides Ethereum data. Since the backend
  interfaces are now disjoint, ContractBackend can simply be declared as
  a union of the reader and writer side.

* Caching of HasCode is removed. The caching could go wrong in case of
  chain reorganisations and removing it simplifies the code a lot.
  We'll figure out a performant way of providing ErrNoCode before the
  1.5 release.

* BoundContract now ensures that the backend receives a non-nil context
  with every call.
2016-08-22 14:01:28 +02:00
..
bind accounts/abi/bind: use ethereum interfaces 2016-08-22 14:01:28 +02:00
abi_test.go accounts/abi: fix abi test for go vet... 2016-05-12 16:36:58 +03:00
abi.go accounts/abi: fixed unpacking in to already slice interfaces 2016-05-11 13:36:27 +02:00
argument.go account/abi: implements event parsing 2016-02-02 15:28:59 +01:00
doc.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
error.go accounts/abi: fixed string and fixed size bytes packing 2016-04-28 12:41:47 +02:00
event_test.go all: update license information 2016-04-15 09:48:05 +02:00
event.go all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}() 2016-02-21 22:34:34 +00:00
method.go accounts/abi: Negative numbers not properly converted in ABI encoding 2016-06-06 14:27:15 +02:00
numbers_test.go accounts/abi: fix uint64 upper range encoding. 2016-06-10 12:32:08 +03:00
numbers.go accounts/abi: fix uint64 upper range encoding. 2016-06-10 12:32:08 +03:00
packing.go accounts/abi: Negative numbers not properly converted in ABI encoding 2016-06-06 14:27:15 +02:00
reflect.go accounts/abi: fixed unpacking in to already slice interfaces 2016-05-11 13:36:27 +02:00
type.go accounts/abi: fixed string and fixed size bytes packing 2016-04-28 12:41:47 +02:00