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:
commit
a0bb001dd1
@ -80,6 +80,10 @@ type TracerResult interface {
|
|||||||
Result() (interface{}, error)
|
Result() (interface{}, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type PreTracer interface {
|
||||||
|
CapturePreStart(from Address, to *Address, input []byte, gas uint64, value *big.Int)
|
||||||
|
}
|
||||||
|
|
||||||
type StateDB interface {
|
type StateDB interface {
|
||||||
GetBalance(Address) *big.Int
|
GetBalance(Address) *big.Int
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user