|
|
|
@ -67,6 +67,7 @@ type Backend interface { |
|
|
|
|
StateAndHeaderByNumber(ctx context.Context, number rpc.BlockNumber) (*state.StateDB, *types.Header, error) |
|
|
|
|
StateAndHeaderByNumberOrHash(ctx context.Context, blockNrOrHash rpc.BlockNumberOrHash) (*state.StateDB, *types.Header, error) |
|
|
|
|
Pending() (*types.Block, types.Receipts, *state.StateDB) |
|
|
|
|
GetReceipt(ctx context.Context, hash common.Hash) (*types.Receipt, error) |
|
|
|
|
GetReceipts(ctx context.Context, hash common.Hash) (types.Receipts, error) |
|
|
|
|
GetTd(ctx context.Context, hash common.Hash) *big.Int |
|
|
|
|
GetEVM(ctx context.Context, msg *core.Message, state *state.StateDB, header *types.Header, vmConfig *vm.Config, blockCtx *vm.BlockContext) *vm.EVM |
|
|
|
|