Skip to content

Commit cb7447e

Browse files
author
Darioush Jalali
committed
add a couple interfaces to libevm
1 parent 9610529 commit cb7447e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

libevm/libevm.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ type StateReader interface {
4040
SlotInAccessList(addr common.Address, slot common.Hash) (addressOk bool, slotOk bool)
4141
}
4242

43+
type StateDB interface {
44+
StateReader
45+
}
46+
47+
type PredicateResults interface {
48+
GetPredicateResults(txHash common.Hash, address common.Address) []byte
49+
}
50+
4351
// AddressContext carries addresses available to contexts such as calls and
4452
// contract creation.
4553
//

0 commit comments

Comments
 (0)