Move WatchedContract back to core

This commit is contained in:
Eric Meyer committed 2017-12-04 17:04:06 -06:00
1 parent e4a05858f8
commit 5aa0bcd6ce
12 files changed
+153 -153

No files matched your search

+1
View File
@@ -8,5 +8,6 @@ type Blockchain interface {
StartListening()
StopListening()
GetContract(contractHash string) (Contract, error)
GetContractAttributes(contractHash string) (ContractAttributes, error)
GetAttribute(contract Contract, attributeName string, blockNumber *big.Int) (interface{}, error)
}
+7
View File
@@ -0,0 +1,7 @@
package core
type WatchedContract struct {
Abi string
Hash string
Transactions []Transaction
}