aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/abi/bind/template.go
Commit message (Collapse)AuthorAgeFilesLines
* accounts/abi, signer/fourbyte: fix incorrect signature (#19881)gary rong2019-08-021-11/+11
| | | | | The abi package already supports function overload by adding a suffix to the overloaded function name, but it uses the function name with suffix to calculate signature(both for the event and method). This PR fixes it by adding a new field named RawName, which can be used to calcuate all signatures but use Name to distinguish different overloaded function.
* accounts/abi/bind: link dependent libs in deploy (#19718)Guillaume Ballet2019-07-081-7/+21
| | | | | | | | | | | | | | | | | | | | | * accounts, abigen: link dependent libs in deploy * abigen: add java generation * bind: Fix unit tests * abigen: add unit test * Fix CI * Post-rebase fixes * Fix rebase issue * accounts/abi: Gary's review feedback * accounts/abi: More Gary feedback * accounts/abi: minor fixes
* accounts/abi: enable struct golang binding generation (#18491)gary rong2019-07-031-31/+57
| | | | | | | | | | | | | | | | * accounts/abi, cmd/abigen: support tuple accounts/abi/bind, cmd/abigen: add objc back accounts/abi/bind: use byte[24] as function indicator accounts/abi/bind: resolve struct slice or array accounts/abi/bind: remove sort logic accounts: fix issues in abi * accounts/abi: address comment
* accounts/abi/bind: Accept function ptr parameter (#19755)Guillaume Ballet2019-07-021-1/+22
| | | | | | | | | | | | * accounts/abi/bind: Accept function ptr parameter They are translated as [24]byte * Add Java template version * accounts/abi/bind: fix merge issue * Fix CI
* all: on-chain oracle checkpoint syncing (#19543)gary rong2019-06-281-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * all: implement simple checkpoint syncing cmd, les, node: remove callback mechanism cmd, node: remove callback definition les: simplify the registrar les: expose checkpoint rpc services in the light client les, light: don't store untrusted receipt cmd, contracts, les: discard stale checkpoint cmd, contracts/registrar: loose restriction of registeration cmd, contracts: add replay-protection all: off-chain multi-signature contract params: deploy checkpoint contract for rinkeby cmd/registrar: add raw signing mode for registrar cmd/registrar, contracts/registrar, les: fixed messages * cmd/registrar, contracts/registrar: fix lints * accounts/abi/bind, les: address comments * cmd, contracts, les, light, params: minor checkpoint sync cleanups * cmd, eth, les, light: move checkpoint config to config file * cmd, eth, les, params: address comments * eth, les, params: address comments * cmd: polish up the checkpoint admin CLI * cmd, contracts, params: deploy new version contract * cmd/checkpoint-admin: add another flag for clef mode signing * cmd, contracts, les: rename and regen checkpoint oracle with abigen
* mobile: fix mobile interface (#19180)gary rong2019-06-271-73/+70
| | | | | | | | | | | | * mobile: fix mobile interface * mobile, accounts: generate correct java binding * accounts: fix java type binding * mobile: support integer slice * accounts/abi/bind, cmd/abigen: implement java binding tests
* accounts/abi/bind: stop using goimports in the binding generator (#17768)Jeremy Schlatter2018-10-061-0/+24
|
* accounts/abi/bind: support event filtering in abigenPéter Szilágyi2018-01-241-8/+161
|
* cmd/abigen: update generated go file header text (#14845)Leo Shklovskii2017-07-241-2/+2
| | | | As per https://golang.org/s/generatedcode. This will allow other tools such as golint to properly ignore the files.
* accounts/abi/bind, mobile: review fixes and android testsPéter Szilágyi2016-11-151-3/+3
|
* mobile: initial wrappers for mobile supportPéter Szilágyi2016-11-141-3/+112
|
* accounts/abi/bind/backends: remove nil and remote backendsFelix Lange2016-08-211-1/+1
| | | | | | | | | | | | The remote backend is superseded by ethclient. The nil backend's stated purpose was to enable testing of accounts/abi/bind. None of its methods actually worked. A much simpler way to get a crashing backend is to simply pass nil as the backend. With a one-line change to the generator (removing two explicit interface assertions), passing nil actually works. Removing these backends means that less changes are required later.
* accounts/abi/bind: fix multi-value anonymous unmarshallingPéter Szilágyi2016-05-121-1/+1
|
* accounts/abi/bind: surface raw wrappers to access low level opsPéter Szilágyi2016-04-011-0/+53
|
* accounts/abi/bind: use anonymous ephemeral call result structsPéter Szilágyi2016-03-311-15/+10
|
* accounts/abi/bind, cmd/abigen: dedup structs, exclude patternsPéter Szilágyi2016-03-261-6/+6
|
* accounts/abi/bind: fix double pointer in generated codePéter Szilágyi2016-03-251-4/+4
|
* accounts/abi/bind, cmd/abigen: port to templates, bind to solidityPéter Szilágyi2016-03-241-0/+212