Remove unused contract methods

This commit is contained in:
Matt Krump
2018-03-12 14:21:34 -05:00
committed by Matt K
parent 6c5bc673c0
commit 5a2bb04670
10 changed files with 5 additions and 456 deletions
+1 -2
View File
@@ -3,8 +3,7 @@ package core
import "math/big"
type Blockchain interface {
GetAttribute(contract Contract, attributeName string, blockNumber *big.Int) (interface{}, error)
GetAttributes(contract Contract) (ContractAttributes, error)
ContractDataFetcher
GetBlockByNumber(blockNumber int64) Block
GetLogs(contract Contract, startingBlockNumber *big.Int, endingBlockNumber *big.Int) ([]Log, error)
LastBlock() *big.Int