aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/abi/bind/base.go
Commit message (Collapse)AuthorAgeFilesLines
* all: import "context" instead of "golang.org/x/net/context"Felix Lange2017-03-231-1/+1
| | | | | | | | | | There is no need to depend on the old context package now that the minimum Go version is 1.7. The move to "context" eliminates our weird vendoring setup. Some vendored code still uses golang.org/x/net/context and it is now vendored in the normal way. This change triggered new vet checks around context.WithTimeout which didn't fire with golang.org/x/net/context.
* accounts/abi/bind: allow client to specify sender address for call (#3782)bas-vk2017-03-161-2/+3
|
* all: fix ineffectual assignments and remove uses of crypto.Sha3Felix Lange2017-01-091-1/+1
| | | | | go get github.com/gordonklaus/ineffassign ineffassign .
* core/types, params: EIP#155Jeffrey Wilcke2016-11-131-2/+2
|
* all: update license informationFelix Lange2016-11-091-1/+1
|
* accounts/abi/bind: use ethereum interfacesFelix Lange2016-08-221-27/+48
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* eth: separate common and full node-specific API and backend servicezsfelfoldi2016-06-161-7/+12
|
* accounts/abi/bind, eth: rely on getCode for sanity checks, not estimate and callPéter Szilágyi2016-05-201-0/+27
|
* accounts/abi/bind: surface raw wrappers to access low level opsPéter Szilágyi2016-04-011-2/+7
|
* accounts/abi/bind, cmd/abigen: port to templates, bind to solidityPéter Szilágyi2016-03-241-17/+9
|
* accounts/abi/bind: constructor, auth utils and various backendsPéter Szilágyi2016-03-241-7/+59
|
* accounts/abi/bind, cmd/abigen: Go API generator around an EVM ABIPéter Szilágyi2016-03-241-0/+130