diff options
author | Guillaume Ballet <gballet@gmail.com> | 2019-07-02 15:52:58 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-02 15:52:58 +0800 |
commit | 6bf5555c4f79b8161b4cbedc19da9d29ca6e2305 (patch) | |
tree | 5f6b026b2375548aeea83b6b5629b8fb70f51391 /common/compiler/helpers.go | |
parent | 0b26a826e988ba2493d89f00383d110fb1566ff2 (diff) | |
download | go-tangerine-6bf5555c4f79b8161b4cbedc19da9d29ca6e2305.tar go-tangerine-6bf5555c4f79b8161b4cbedc19da9d29ca6e2305.tar.gz go-tangerine-6bf5555c4f79b8161b4cbedc19da9d29ca6e2305.tar.bz2 go-tangerine-6bf5555c4f79b8161b4cbedc19da9d29ca6e2305.tar.lz go-tangerine-6bf5555c4f79b8161b4cbedc19da9d29ca6e2305.tar.xz go-tangerine-6bf5555c4f79b8161b4cbedc19da9d29ca6e2305.tar.zst go-tangerine-6bf5555c4f79b8161b4cbedc19da9d29ca6e2305.zip |
accounts/abi/bind: Accept function ptr parameter (#19755)
* 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
Diffstat (limited to 'common/compiler/helpers.go')
-rw-r--r-- | common/compiler/helpers.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/common/compiler/helpers.go b/common/compiler/helpers.go index 4de706f6b..5ed640de8 100644 --- a/common/compiler/helpers.go +++ b/common/compiler/helpers.go @@ -27,9 +27,10 @@ var versionRegexp = regexp.MustCompile(`([0-9]+)\.([0-9]+)\.([0-9]+)`) // Contract contains information about a compiled contract, alongside its code and runtime code. type Contract struct { - Code string `json:"code"` - RuntimeCode string `json:"runtime-code"` - Info ContractInfo `json:"info"` + Code string `json:"code"` + RuntimeCode string `json:"runtime-code"` + Info ContractInfo `json:"info"` + Hashes map[string]string `json:"hashes"` } // ContractInfo contains information about a compiled contract, including access |