Merge pull request #10 from openrelayxyz/feature/adding_blockcontext_object
Changes made in service of adding block context object interface to i…
This commit is contained in:
commit
1b25f57d6c
@ -200,3 +200,12 @@ type Feed interface {
|
||||
Send(interface{}) int
|
||||
Subscribe(channel interface{}) Subscription
|
||||
}
|
||||
|
||||
type BlockContext struct {
|
||||
Coinbase Address
|
||||
GasLimit uint64
|
||||
BlockNumber *big.Int
|
||||
Time *big.Int
|
||||
Difficulty *big.Int
|
||||
BaseFee *big.Int
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user