Changes made in service of adding block context object interface to interfaces.
This commit is contained in:
parent
393e2167a2
commit
6f1c546bb3
@ -200,3 +200,12 @@ type Feed interface {
|
|||||||
Send(interface{}) int
|
Send(interface{}) int
|
||||||
Subscribe(channel interface{}) Subscription
|
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