diff options
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 |