Merge pull request #13 from openrelayxyz/feature/pretracer

Initial commit of changes made to interface in service of pretracer t…
This commit is contained in:
Philip Morlier
2022-02-24 15:43:02 -08:00
committed by GitHub
+4
View File
@@ -80,6 +80,10 @@ type TracerResult interface {
Result() (interface{}, error)
}
type PreTracer interface {
CapturePreStart(from Address, to *Address, input []byte, gas uint64, value *big.Int)
}
type StateDB interface {
GetBalance(Address) *big.Int