From 6bf5555c4f79b8161b4cbedc19da9d29ca6e2305 Mon Sep 17 00:00:00 2001 From: Guillaume Ballet Date: Tue, 2 Jul 2019 09:52:58 +0200 Subject: 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 --- common/compiler/helpers.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'common/compiler/helpers.go') 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 -- cgit v1.2.3