forked from cerc-io/ipld-eth-server
Move WatchedContract back to core
This commit is contained in:
1 parent
e4a05858f8
commit
5aa0bcd6ce
12 files changed
+153
-153
No files matched your search
@@ -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)
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package core
|
||||
|
||||
type WatchedContract struct {
|
||||
Abi string
|
||||
Hash string
|
||||
Transactions []Transaction
|
||||
}
|
||||
Reference in new issue
Block a user