Move WatchedContract back to core

This commit is contained in:
Eric Meyer
2017-12-04 17:04:06 -06:00
parent e4a05858f8
commit 5aa0bcd6ce
12 changed files with 153 additions and 153 deletions
+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
}