SYMBOL INDEX (583 symbols across 95 files) FILE: client.go type Client (line 22) | type Client struct method Close (line 70) | func (c *Client) Close() error { method CallCtx (line 80) | func (c *Client) CallCtx(ctx context.Context, calls ...w3types.RPCCall... method Call (line 140) | func (c *Client) Call(calls ...w3types.RPCCaller) error { method SubscribeCtx (line 145) | func (c *Client) SubscribeCtx(ctx context.Context, s w3types.RPCSubscr... method Subscribe (line 154) | func (c *Client) Subscribe(s w3types.RPCSubscriber) (*rpc.ClientSubscr... method rateLimit (line 158) | func (c *Client) rateLimit(ctx context.Context, batchElems []rpc.Batch... function NewClient (line 31) | func NewClient(client *rpc.Client, opts ...Option) *Client { function Dial (line 50) | func Dial(rawurl string, opts ...Option) (*Client, error) { function MustDial (line 59) | func MustDial(rawurl string, opts ...Option) *Client { type CallErrors (line 181) | type CallErrors method Error (line 183) | func (e CallErrors) Error() string { method Is (line 203) | func (e CallErrors) Is(target error) bool { type Option (line 209) | type Option function WithRateLimiter (line 216) | func WithRateLimiter(rl *rate.Limiter, costFunc func(methods []string) (... FILE: client_test.go function TestClientCall (line 34) | func TestClientCall(t *testing.T) { function TestClientCall_CallErrors (line 107) | func TestClientCall_CallErrors(t *testing.T) { type testCaller (line 131) | type testCaller struct method CreateRequest (line 136) | func (c *testCaller) CreateRequest() (elem rpc.BatchElem, err error) { method HandleResponse (line 140) | func (c *testCaller) HandleResponse(elem rpc.BatchElem) (err error) { function BenchmarkCall_BalanceNonce (line 144) | func BenchmarkCall_BalanceNonce(b *testing.B) { function BenchmarkCall_Balance100 (line 178) | func BenchmarkCall_Balance100(b *testing.B) { function BenchmarkCall_BalanceOf100 (line 214) | func BenchmarkCall_BalanceOf100(b *testing.B) { function BenchmarkCall_Block100 (line 260) | func BenchmarkCall_Block100(b *testing.B) { FILE: docs/pages/_app.js function Nextra (line 7) | function Nextra({ Component, pageProps }) { FILE: event.go type Event (line 14) | type Event struct method DecodeArgs (line 67) | func (e *Event) DecodeArgs(log *types.Log, args ...any) error { function NewEvent (line 31) | func NewEvent(signature string, tuples ...any) (*Event, error) { function MustNewEvent (line 58) | func MustNewEvent(signature string, tuples ...any) *Event { FILE: event_test.go function TestNewEvent (line 15) | func TestNewEvent(t *testing.T) { function TestEventDecodeArgs (line 67) | func TestEventDecodeArgs(t *testing.T) { FILE: example_test.go function ExampleClient_batchCallFunc (line 39) | func ExampleClient_batchCallFunc() { function ExampleClient_batchCallFuncUniswapQuoter (line 63) | func ExampleClient_batchCallFuncUniswapQuoter() { function ExampleClient_batchEOAState (line 109) | func ExampleClient_batchEOAState() { function ExampleClient_batchTxDetails (line 125) | func ExampleClient_batchTxDetails() { function ExampleClient_batchBlocks (line 143) | func ExampleClient_batchBlocks() { function ExampleClient_batchHandleError (line 165) | func ExampleClient_batchHandleError() { function ExampleClient_callFunc (line 194) | func ExampleClient_callFunc() { function ExampleClient_callFuncWithStateOverride (line 208) | func ExampleClient_callFuncWithStateOverride() { function ExampleClient_sendETHTransfer (line 226) | func ExampleClient_sendETHTransfer() { function ExampleClient_sendTokenTransfer (line 256) | func ExampleClient_sendTokenTransfer() { function ExampleClient_subscribeToPendingTransactions (line 292) | func ExampleClient_subscribeToPendingTransactions() { function ExampleClient_rateLimitByRequest (line 318) | func ExampleClient_rateLimitByRequest() { function ExampleClient_rateLimitByComputeUnits (line 331) | func ExampleClient_rateLimitByComputeUnits() { function ExampleFunc_erc20 (line 366) | func ExampleFunc_erc20() { function ExampleFunc_balanceOf (line 384) | func ExampleFunc_balanceOf() { function ExampleFunc_uniswapV4Swap (line 404) | func ExampleFunc_uniswapV4Swap() { function ExampleFunc_DecodeReturns_getReserves (line 445) | func ExampleFunc_DecodeReturns_getReserves() { function ExampleEvent_decodeTransferEvent (line 469) | func ExampleEvent_decodeTransferEvent() { FILE: func.go type Func (line 30) | type Func struct method EncodeArgs (line 93) | func (f *Func) EncodeArgs(args ...any) ([]byte, error) { method DecodeArgs (line 98) | func (f *Func) DecodeArgs(input []byte, args ...any) error { method DecodeReturns (line 109) | func (f *Func) DecodeReturns(output []byte, returns ...any) error { function NewFunc (line 57) | func NewFunc(signature, returns string, tuples ...any) (*Func, error) { function MustNewFunc (line 83) | func MustNewFunc(signature, returns string, tuples ...any) *Func { function selector (line 131) | func selector(signature string) (selector [4]byte) { FILE: func_test.go function TestNewFunc (line 18) | func TestNewFunc(t *testing.T) { function TestFuncEncodeArgs (line 86) | func TestFuncEncodeArgs(t *testing.T) { function TestFuncDecodeArgs (line 236) | func TestFuncDecodeArgs(t *testing.T) { function TestFuncDecodeReturns (line 452) | func TestFuncDecodeReturns(t *testing.T) { function ptr (line 527) | func ptr[T any](v T) *T { return &v } type tuple (line 529) | type tuple struct type tupleWithTag (line 534) | type tupleWithTag struct type tupleWithNesting (line 539) | type tupleWithNesting struct type tupleWithBytes (line 544) | type tupleWithBytes struct type tupleWithUnexportedProperty (line 549) | type tupleWithUnexportedProperty struct type tupleWithWrongOrder (line 555) | type tupleWithWrongOrder struct type tupleWithMoreArgs (line 560) | type tupleWithMoreArgs struct type tupleIssue35 (line 566) | type tupleIssue35 struct type tupleNested (line 572) | type tupleNested struct function BenchmarkFuncEncode (line 577) | func BenchmarkFuncEncode(b *testing.B) { FILE: internal/abi/arguments.go type Arguments (line 13) | type Arguments method Signature (line 15) | func (a Arguments) Signature() string { method SignatureWithName (line 27) | func (a Arguments) SignatureWithName(name string) string { method Encode (line 32) | func (a Arguments) Encode(args ...any) ([]byte, error) { method EncodeWithSelector (line 42) | func (a Arguments) EncodeWithSelector(selector [4]byte, args ...any) (... method EncodeWithSignature (line 54) | func (a Arguments) EncodeWithSignature(signature string, args ...any) ... method Decode (line 62) | func (a Arguments) Decode(data []byte, args ...any) error { function typeToString (line 82) | func typeToString(t *abi.Type) string { FILE: internal/abi/arguments_test.go function TestSignature (line 15) | func TestSignature(t *testing.T) { function TestSignatureWithName (line 58) | func TestSignatureWithName(t *testing.T) { function TestEncode (line 86) | func TestEncode(t *testing.T) { function TestEncodeWithSelector (line 112) | func TestEncodeWithSelector(t *testing.T) { function TestEncodeWithSignature (line 141) | func TestEncodeWithSignature(t *testing.T) { function TestDecode (line 169) | func TestDecode(t *testing.T) { function TestTypeToString (line 313) | func TestTypeToString(t *testing.T) { function TestTypeMapping (line 390) | func TestTypeMapping(t *testing.T) { FILE: internal/abi/copy.go function Copy (line 73) | func Copy(dst, src any) error { function rCopy (line 100) | func rCopy(dst, src reflect.Value) error { function set (line 114) | func set(dst, src reflect.Value) error { function setStruct (line 138) | func setStruct(dst, src reflect.Value) error { function setSlice (line 177) | func setSlice(dst, src reflect.Value) error { function setArray (line 197) | func setArray(dst, src reflect.Value) error { function dereference (line 212) | func dereference(v reflect.Value) reflect.Value { function reference (line 219) | func reference(v reflect.Value) reflect.Value { FILE: internal/abi/copy_test.go function TestCopy (line 14) | func TestCopy(t *testing.T) { function ptr (line 313) | func ptr[T any](v T) *T { return &v } function val (line 314) | func val[T any](v *T) T { return *v } type tuple0 (line 316) | type tuple0 struct type tuple1 (line 321) | type tuple1 struct type tuple2 (line 326) | type tuple2 struct type tuple3 (line 331) | type tuple3 struct FILE: internal/abi/lexer.go type item (line 12) | type item struct method String (line 19) | func (i item) String() string { method IsType (line 27) | func (i *item) IsType() (*abi.Type, bool) { type itemType (line 17) | type itemType constant itemTypeID (line 37) | itemTypeID itemType = iota constant itemTypePunct (line 38) | itemTypePunct constant itemTypeNum (line 39) | itemTypeNum constant itemTypeEOF (line 40) | itemTypeEOF constant eof (line 42) | eof rune = -1 constant num0 (line 44) | num0 = "123456789" constant num (line 45) | num = "0" + num0 constant id0 (line 46) | id0 = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_" constant id (line 47) | id = id0 + num constant space (line 48) | space = " \t\r\n" type lexer (line 52) | type lexer struct method nextItem (line 63) | func (l *lexer) nextItem() (*item, error) { method next (line 88) | func (l *lexer) next() (next rune) { method backup (line 98) | func (l *lexer) backup() { method ignore (line 102) | func (l *lexer) ignore() { method peek (line 106) | func (l *lexer) peek() (next rune) { method accept (line 112) | func (l *lexer) accept(valid string) bool { method acceptRun (line 121) | func (l *lexer) acceptRun(valid string) { method token (line 127) | func (l *lexer) token() string { function newLexer (line 59) | func newLexer(input string) *lexer { FILE: internal/abi/lexer_test.go function TestLexer (line 13) | func TestLexer(t *testing.T) { function lex (line 42) | func lex(input string) ([]*item, error) { FILE: internal/abi/parser.go function Parse (line 15) | func Parse(s string, tuples ...any) (a Arguments, err error) { function ParseWithName (line 27) | func ParseWithName(s string, tuples ...any) (name string, a Arguments, e... type parser (line 37) | type parser struct method next (line 60) | func (p *parser) next() *item { method backup (line 77) | func (p *parser) backup() { method peek (line 81) | func (p *parser) peek() *item { method parseArgsWithName (line 87) | func (p *parser) parseArgsWithName() error { method parseArgs (line 124) | func (p *parser) parseArgs() error { method parseType (line 191) | func (p *parser) parseType() (*abi.Type, error) { method parseTupleType (line 232) | func (p *parser) parseTupleType(i int) (*abi.Type, string, error) { method parseTupleTypes (line 252) | func (p *parser) parseTupleTypes() (*abi.Type, error) { method parseSliceOrArray (line 292) | func (p *parser) parseSliceOrArray(typ *abi.Type) (*abi.Type, error) { function newParser (line 51) | func newParser(lexer *lexer, tuples []any) *parser { FILE: internal/abi/parser_test.go function TestParseArgs (line 24) | func TestParseArgs(t *testing.T) { function TestParseArgsWithName (line 533) | func TestParseArgsWithName(t *testing.T) { function BenchmarkParseArgsWithName (line 660) | func BenchmarkParseArgsWithName(b *testing.B) { type simpleStruct (line 704) | type simpleStruct struct type simpleStructWithoutTags (line 709) | type simpleStructWithoutTags struct type nestedStruct (line 714) | type nestedStruct struct type complexStruct (line 719) | type complexStruct struct type arrayStruct (line 726) | type arrayStruct struct type emptyStruct (line 731) | type emptyStruct struct type structWithInvalidField (line 734) | type structWithInvalidField struct FILE: internal/abi/tuple.go function tupleMap (line 16) | func tupleMap(tuples ...any) (map[string]reflect.Type, error) { function buildTuples (line 32) | func buildTuples(tuples ...any) (map[string]abi.Argument, error) { function typeOfField (line 59) | func typeOfField(field reflect.StructField) (*abi.Type, error) { function typeOf (line 66) | func typeOf(typ reflect.Type, abiType string) (*abi.Type, error) { function toCamelCase (line 184) | func toCamelCase(s string) string { FILE: internal/abi/tuple_test.go function TestTupleMap (line 19) | func TestTupleMap(t *testing.T) { type Tuple1 (line 70) | type Tuple1 struct type Tuple2 (line 74) | type Tuple2 struct function TestTypeOfField (line 79) | func TestTypeOfField(t *testing.T) { function TestToCamelCase (line 225) | func TestToCamelCase(t *testing.T) { FILE: internal/cmp.go function EquateErrors (line 8) | func EquateErrors() cmp.Option { function areConcreteErrors (line 12) | func areConcreteErrors(x, y any) bool { function compareErrors (line 18) | func compareErrors(x, y any) bool { FILE: internal/cmp_test.go function TestEquateErrors (line 12) | func TestEquateErrors(t *testing.T) { FILE: internal/crypto/keccak.go function Keccak256Hash (line 20) | func Keccak256Hash(data ...[]byte) (hash common.Hash) { function Keccak256 (line 40) | func Keccak256(data ...[]byte) (hash []byte) { FILE: internal/fourbyte/fourbyte.go function Function (line 22) | func Function(sig [4]byte, addr common.Address) (fn *w3.Func, isPrecompi... function Event (line 36) | func Event(topic0 [32]byte, addr common.Address) *w3.Event { FILE: internal/fourbyte/gen.go function main (line 18) | func main() { function genFuncs (line 46) | func genFuncs(fn, goFn string) error { function genEvents (line 123) | func genEvents(fn, goFn string) error { type model (line 191) | type model struct type function (line 196) | type function struct type event (line 202) | type event struct FILE: internal/hexutil/bytes.go type Bytes (line 8) | type Bytes method UnmarshalText (line 11) | func (b *Bytes) UnmarshalText(data []byte) error { method MarshalText (line 22) | func (b Bytes) MarshalText() ([]byte, error) { FILE: internal/hexutil/bytes_test.go function TestBytesUnmarshalText (line 21) | func TestBytesUnmarshalText(t *testing.T) { function TestBytesMarshalText (line 35) | func TestBytesMarshalText(t *testing.T) { FILE: internal/hexutil/hash.go type Hash (line 13) | type Hash method UnmarshalText (line 15) | func (h *Hash) UnmarshalText(text []byte) error { method MarshalText (line 28) | func (h Hash) MarshalText() ([]byte, error) { FILE: internal/hexutil/hash_test.go function TestHashUnmarshalText (line 23) | func TestHashUnmarshalText(t *testing.T) { function TestHashMarshalText (line 38) | func TestHashMarshalText(t *testing.T) { FILE: internal/mod/root.go function init (line 12) | func init() { FILE: internal/mod/root_test.go function TestModRoot (line 10) | func TestModRoot(t *testing.T) { FILE: internal/module/factory.go type Option (line 16) | type Option type ArgsWrapperFunc (line 18) | type ArgsWrapperFunc type RetWrapperFunc (line 20) | type RetWrapperFunc type Factory (line 22) | type Factory struct function NewFactory (line 31) | func NewFactory[T any](method string, args []any, opts ...Option[T]) *Fa... method Returns (line 45) | func (f Factory[T]) Returns(ret *T) w3types.RPCCaller { method CreateRequest (line 50) | func (f Factory[T]) CreateRequest() (rpc.BatchElem, error) { method HandleResponse (line 66) | func (f Factory[T]) HandleResponse(elem rpc.BatchElem) error { function WithArgsWrapper (line 82) | func WithArgsWrapper[T any](fn ArgsWrapperFunc) Option[T] { function WithRetWrapper (line 88) | func WithRetWrapper[T any](fn RetWrapperFunc[T]) Option[T] { function HexBigRetWrapper (line 94) | func HexBigRetWrapper(ret **big.Int) any { function HexUintRetWrapper (line 98) | func HexUintRetWrapper(ret *uint) any { return (*hexutil.Uint)(ret) } function HexUint64RetWrapper (line 99) | func HexUint64RetWrapper(ret *uint64) any { return (*hexutil.Uint64)(ret) } function HexBytesRetWrapper (line 100) | func HexBytesRetWrapper(ret *[]byte) any { return (*hexutil.Bytes)(ret) } FILE: internal/module/util.go function BlockNumberArg (line 12) | func BlockNumberArg(blockNumber *big.Int) string { FILE: internal/module/util_test.go function TestBlockNumberArg (line 9) | func TestBlockNumberArg(t *testing.T) { FILE: module/admin/admin.go function AddPeer (line 18) | func AddPeer(url *enode.Node) w3types.RPCCallerFactory[bool] { function RemovePeer (line 27) | func RemovePeer(url *enode.Node) w3types.RPCCallerFactory[bool] { function AddTrustedPeer (line 36) | func AddTrustedPeer(url *enode.Node) w3types.RPCCallerFactory[bool] { function RemoveTrustedPeer (line 45) | func RemoveTrustedPeer(url *enode.Node) w3types.RPCCallerFactory[bool] { function NodeInfo (line 53) | func NodeInfo() w3types.RPCCallerFactory[*NodeInfoResponse] { type NodeInfoResponse (line 60) | type NodeInfoResponse struct type PortsInfo (line 70) | type PortsInfo struct type ProtocolInfo (line 75) | type ProtocolInfo struct FILE: module/admin/admin_test.go function TestAddPeer (line 16) | func TestAddPeer(t *testing.T) { function TestRemovePeer (line 26) | func TestRemovePeer(t *testing.T) { function TestAddTrustedPeer (line 36) | func TestAddTrustedPeer(t *testing.T) { function TestRemoveTrustedPeer (line 46) | func TestRemoveTrustedPeer(t *testing.T) { function TestNodeInfo (line 56) | func TestNodeInfo(t *testing.T) { FILE: module/debug/call_trace.go function CallTraceCall (line 14) | func CallTraceCall(msg *w3types.Message, blockNumber *big.Int, overrides... function CallTraceTx (line 23) | func CallTraceTx(txHash common.Hash, overrides w3types.State) w3types.RP... type CallTrace (line 30) | type CallTrace struct method UnmarshalJSON (line 45) | func (c *CallTrace) UnmarshalJSON(data []byte) error { type traceConfig (line 81) | type traceConfig struct FILE: module/debug/call_trace_test.go function TestCallTraceTx (line 12) | func TestCallTraceTx(t *testing.T) { FILE: module/debug/trace.go function TraceCall (line 18) | func TraceCall(msg *w3types.Message, blockNumber *big.Int, config *Trace... function TraceTx (line 30) | func TraceTx(txHash common.Hash, config *TraceConfig) w3types.RPCCallerF... type TraceConfig (line 40) | type TraceConfig struct method MarshalJSON (line 50) | func (c *TraceConfig) MarshalJSON() ([]byte, error) { type Trace (line 72) | type Trace struct method UnmarshalJSON (line 79) | func (t *Trace) UnmarshalJSON(data []byte) error { type StructLog (line 99) | type StructLog struct method UnmarshalJSON (line 110) | func (l *StructLog) UnmarshalJSON(data []byte) error { type optionalPrefixedHash (line 146) | type optionalPrefixedHash method UnmarshalText (line 148) | func (h *optionalPrefixedHash) UnmarshalText(data []byte) error { type memory (line 161) | type memory method UnmarshalJSON (line 163) | func (m *memory) UnmarshalJSON(data []byte) error { function msgArgsWrapper (line 176) | func msgArgsWrapper(slice []any) ([]any, error) { FILE: module/debug/trace_test.go function TestTraceTx (line 14) | func TestTraceTx(t *testing.T) { function TestTraceCall (line 44) | func TestTraceCall(t *testing.T) { FILE: module/eth/balance.go function Balance (line 14) | func Balance(addr common.Address, blockNumber *big.Int) w3types.RPCCalle... FILE: module/eth/balance_test.go function TestBalance (line 12) | func TestBalance(t *testing.T) { FILE: module/eth/block.go function BlockByHash (line 14) | func BlockByHash(hash common.Hash) w3types.RPCCallerFactory[*types.Block] { function BlockByNumber (line 24) | func BlockByNumber(number *big.Int) w3types.RPCCallerFactory[*types.Bloc... function BlockTxCountByHash (line 34) | func BlockTxCountByHash(hash common.Hash) w3types.RPCCallerFactory[uint] { function BlockTxCountByNumber (line 44) | func BlockTxCountByNumber(number *big.Int) w3types.RPCCallerFactory[uint] { function HeaderByHash (line 53) | func HeaderByHash(hash common.Hash) w3types.RPCCallerFactory[*types.Head... function HeaderByNumber (line 62) | func HeaderByNumber(number *big.Int) w3types.RPCCallerFactory[*types.Hea... function blockRetWrapper (line 69) | func blockRetWrapper(ret **types.Block) any { *ret = new(types.Block); r... type rpcBlock (line 71) | type rpcBlock struct method UnmarshalJSON (line 73) | func (b *rpcBlock) UnmarshalJSON(data []byte) error { FILE: module/eth/block_number.go function BlockNumber (line 11) | func BlockNumber() w3types.RPCCallerFactory[*big.Int] { FILE: module/eth/block_number_test.go function TestBlockNumber (line 12) | func TestBlockNumber(t *testing.T) { FILE: module/eth/block_test.go function TestBlockByHash (line 15) | func TestBlockByHash(t *testing.T) { function TestBlockByNumber (line 107) | func TestBlockByNumber(t *testing.T) { function TestBlockTxCountByHash (line 172) | func TestBlockTxCountByHash(t *testing.T) { function TestBlockTxCountByNumber (line 187) | func TestBlockTxCountByNumber(t *testing.T) { function TestHeaderByHash (line 197) | func TestHeaderByHash(t *testing.T) { function TestHeaderByNumber (line 224) | func TestHeaderByNumber(t *testing.T) { function ptr (line 251) | func ptr[T any](v T) *T { return &v } FILE: module/eth/call.go function Call (line 18) | func Call(msg *w3types.Message, blockNumber *big.Int, overrides w3types.... function EstimateGas (line 35) | func EstimateGas(msg *w3types.Message, blockNumber *big.Int) w3types.RPC... function AccessList (line 47) | func AccessList(msg *w3types.Message, blockNumber *big.Int) w3types.RPCC... type AccessListResponse (line 55) | type AccessListResponse struct method UnmarshalJSON (line 61) | func (resp *AccessListResponse) UnmarshalJSON(data []byte) error { function msgArgsWrapper (line 77) | func msgArgsWrapper(slice []any) ([]any, error) { function CallFunc (line 94) | func CallFunc(contract common.Address, f w3types.Func, args ...any) *Cal... type CallFuncFactory (line 102) | type CallFuncFactory struct method Returns (line 113) | func (f *CallFuncFactory) Returns(returns ...any) w3types.RPCCaller { method From (line 118) | func (f *CallFuncFactory) From(from common.Address) *CallFuncFactory { method Value (line 123) | func (f *CallFuncFactory) Value(value *big.Int) *CallFuncFactory { method AtBlock (line 128) | func (f *CallFuncFactory) AtBlock(blockNumber *big.Int) *CallFuncFacto... method Overrides (line 133) | func (f *CallFuncFactory) Overrides(overrides w3types.State) *CallFunc... method CreateRequest (line 138) | func (f *CallFuncFactory) CreateRequest() (rpc.BatchElem, error) { method HandleResponse (line 160) | func (f *CallFuncFactory) HandleResponse(elem rpc.BatchElem) error { FILE: module/eth/call_test.go function TestCall (line 17) | func TestCall(t *testing.T) { function TestCallFunc (line 46) | func TestCallFunc(t *testing.T) { function TestEstimateGas (line 67) | func TestEstimateGas(t *testing.T) { function TestAccessList (line 81) | func TestAccessList(t *testing.T) { FILE: module/eth/chain_id.go function ChainID (line 9) | func ChainID() w3types.RPCCallerFactory[uint64] { FILE: module/eth/chain_id_test.go function TestChainID (line 10) | func TestChainID(t *testing.T) { FILE: module/eth/code.go function Code (line 14) | func Code(addr common.Address, blockNumber *big.Int) w3types.RPCCallerFa... FILE: module/eth/code_test.go function TestCode (line 11) | func TestCode(t *testing.T) { FILE: module/eth/gas_price.go function GasPrice (line 11) | func GasPrice() w3types.RPCCallerFactory[*big.Int] { FILE: module/eth/gas_price_test.go function TestGasPrice (line 12) | func TestGasPrice(t *testing.T) { FILE: module/eth/gas_tip_cap.go function GasTipCap (line 12) | func GasTipCap() w3types.RPCCallerFactory[*big.Int] { FILE: module/eth/gas_tip_cap_test.go function TestGasTipCap (line 12) | func TestGasTipCap(t *testing.T) { FILE: module/eth/get_logs.go function Logs (line 14) | func Logs(q ethereum.FilterQuery) w3types.RPCCallerFactory[[]types.Log] { type logsFactory (line 18) | type logsFactory struct method Returns (line 26) | func (f *logsFactory) Returns(logs *[]types.Log) w3types.RPCCaller { method CreateRequest (line 32) | func (f *logsFactory) CreateRequest() (rpc.BatchElem, error) { method HandleResponse (line 46) | func (f *logsFactory) HandleResponse(elem rpc.BatchElem) error { function toFilterArg (line 53) | func toFilterArg(q ethereum.FilterQuery) (any, error) { FILE: module/eth/get_logs_test.go function TestLogs (line 15) | func TestLogs(t *testing.T) { FILE: module/eth/storage_at.go function StorageAt (line 15) | func StorageAt(addr common.Address, slot common.Hash, blockNumber *big.I... FILE: module/eth/storage_at_test.go function TestStorageAt (line 12) | func TestStorageAt(t *testing.T) { FILE: module/eth/subscribe.go function NewHeads (line 10) | func NewHeads(ch chan<- *types.Header) w3types.RPCSubscriber { function PendingTransactions (line 15) | func PendingTransactions(ch chan<- *types.Transaction) w3types.RPCSubscr... function NewLogs (line 20) | func NewLogs(ch chan<- *types.Log, q ethereum.FilterQuery) w3types.RPCSu... type ethSubscription (line 25) | type ethSubscription struct method CreateRequest (line 31) | func (s *ethSubscription[T]) CreateRequest() (string, any, []any, error) { FILE: module/eth/syncing.go function Syncing (line 9) | func Syncing() w3types.RPCCallerFactory[bool] { function syncingRetWrapper (line 17) | func syncingRetWrapper(ret *bool) any { type syncingBool (line 21) | type syncingBool method UnmarshalJSON (line 23) | func (s *syncingBool) UnmarshalJSON(b []byte) error { FILE: module/eth/syncing_test.go function TestSyncing (line 10) | func TestSyncing(t *testing.T) { FILE: module/eth/tx.go function Tx (line 14) | func Tx(hash common.Hash) w3types.RPCCallerFactory[*types.Transaction] { function TxByBlockHashAndIndex (line 22) | func TxByBlockHashAndIndex(blockHash common.Hash, index uint64) w3types.... function TxByBlockNumberAndIndex (line 30) | func TxByBlockNumberAndIndex(blockNumber *big.Int, index uint64) w3types... function SendRawTx (line 38) | func SendRawTx(rawTx []byte) w3types.RPCCallerFactory[common.Hash] { function SendTx (line 46) | func SendTx(tx *types.Transaction) w3types.RPCCallerFactory[common.Hash] { function TxReceipt (line 63) | func TxReceipt(txHash common.Hash) w3types.RPCCallerFactory[*types.Recei... function BlockReceipts (line 71) | func BlockReceipts(number *big.Int) w3types.RPCCallerFactory[types.Recei... function Nonce (line 81) | func Nonce(addr common.Address, blockNumber *big.Int) w3types.RPCCallerF... FILE: module/eth/tx_test.go function TestTx (line 31) | func TestTx(t *testing.T) { function TestTxByBlockNumberAndIndex (line 63) | func TestTxByBlockNumberAndIndex(t *testing.T) { function TestSendTx (line 77) | func TestSendTx(t *testing.T) { function TestTxReceipt (line 87) | func TestTxReceipt(t *testing.T) { function TestBlockReceipts (line 129) | func TestBlockReceipts(t *testing.T) { function TestNonce (line 168) | func TestNonce(t *testing.T) { FILE: module/eth/uncle.go function UncleByBlockHashAndIndex (line 15) | func UncleByBlockHashAndIndex(hash common.Hash, index uint) w3types.RPCC... function UncleByBlockNumberAndIndex (line 24) | func UncleByBlockNumberAndIndex(number *big.Int, index uint) w3types.RPC... function UncleCountByBlockHash (line 33) | func UncleCountByBlockHash(hash common.Hash) w3types.RPCCallerFactory[ui... function UncleCountByBlockNumber (line 43) | func UncleCountByBlockNumber(number *big.Int) w3types.RPCCallerFactory[u... FILE: module/eth/uncle_test.go function blockNonce (line 33) | func blockNonce(data []byte) (nonce types.BlockNonce) { function blockBloom (line 38) | func blockBloom(data []byte) (bloom types.Bloom) { function TestUncleByBlockHashAndIndex (line 43) | func TestUncleByBlockHashAndIndex(t *testing.T) { function TestUncleByBlockNumberAndIndex (line 58) | func TestUncleByBlockNumberAndIndex(t *testing.T) { function TestUncleCountByBlockHash (line 68) | func TestUncleCountByBlockHash(t *testing.T) { function TestUncleCountByBlockNumber (line 78) | func TestUncleCountByBlockNumber(t *testing.T) { FILE: module/net/net.go function Listening (line 12) | func Listening() w3types.RPCCallerFactory[bool] { function PeerCount (line 20) | func PeerCount() w3types.RPCCallerFactory[int] { function Version (line 28) | func Version() w3types.RPCCallerFactory[int] { FILE: module/net/net_test.go function TestListening (line 10) | func TestListening(t *testing.T) { function TestPeerCount (line 20) | func TestPeerCount(t *testing.T) { function TestVersion (line 30) | func TestVersion(t *testing.T) { FILE: module/txpool/content.go function Content (line 14) | func Content() w3types.RPCCallerFactory[*ContentResponse] { function ContentFrom (line 23) | func ContentFrom(addr common.Address) w3types.RPCCallerFactory[*ContentF... type ContentResponse (line 30) | type ContentResponse struct method UnmarshalJSON (line 35) | func (c *ContentResponse) UnmarshalJSON(data []byte) error { type ContentFromResponse (line 69) | type ContentFromResponse struct method UnmarshalJSON (line 74) | func (cf *ContentFromResponse) UnmarshalJSON(data []byte) error { FILE: module/txpool/content_test.go function TestContent (line 14) | func TestContent(t *testing.T) { function TestContentFrom (line 57) | func TestContentFrom(t *testing.T) { FILE: module/txpool/status.go function Status (line 12) | func Status() w3types.RPCCallerFactory[*StatusResponse] { type StatusResponse (line 19) | type StatusResponse struct method UnmarshalJSON (line 24) | func (s *StatusResponse) UnmarshalJSON(data []byte) error { FILE: module/txpool/status_test.go function TestStatus (line 10) | func TestStatus(t *testing.T) { FILE: module/web3/web3.go function ClientVersion (line 12) | func ClientVersion() w3types.RPCCallerFactory[string] { FILE: module/web3/web3_test.go function TestClientVersion (line 11) | func TestClientVersion(t *testing.T) { FILE: rpctest/server.go type Server (line 26) | type Server struct method ServeHTTP (line 58) | func (srv *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) { method URL (line 78) | func (srv *Server) URL() string { method Close (line 83) | func (srv *Server) Close() { method readGolden (line 87) | func (srv *Server) readGolden() { function NewServer (line 39) | func NewServer(t *testing.T, r io.Reader) *Server { function NewFileServer (line 49) | func NewFileServer(t *testing.T, filename string) *Server { FILE: rpctest/test_case.go type TestCase (line 16) | type TestCase struct function RunTestCases (line 23) | func RunTestCases[T any](t *testing.T, tests []TestCase[T], opts ...cmp.... function comp (line 43) | func comp[T any](t *testing.T, wantVal, gotVal T, wantErr, gotErr error,... FILE: util.go function A (line 67) | func A(hexAddr string) (addr common.Address) { function APtr (line 83) | func APtr(hexAddress string) *common.Address { function B (line 93) | func B(hexBytes ...string) (bytes []byte) { function H (line 112) | func H(hexHash string) (hash common.Hash) { function I (line 139) | func I(strInt string) *big.Int { function parseHexBig (line 146) | func parseHexBig(hexBig string) *big.Int { function parseDecimal (line 154) | func parseDecimal(strBig string) *big.Int { function FromWei (line 210) | func FromWei(wei *big.Int, decimals uint8) string { function has0xPrefix (line 232) | func has0xPrefix(hexStr string) bool { function BigMin (line 237) | func BigMin(a, b *big.Int) *big.Int { function BigMax (line 245) | func BigMax(a, b *big.Int) *big.Int { FILE: util_test.go function ExampleI (line 14) | func ExampleI() { function ExampleFromWei (line 26) | func ExampleFromWei() { function TestA (line 33) | func TestA(t *testing.T) { function TestB (line 71) | func TestB(t *testing.T) { function TestH (line 103) | func TestH(t *testing.T) { function TestI (line 141) | func TestI(t *testing.T) { function strBig (line 211) | func strBig(s string) *big.Int { function FuzzI (line 216) | func FuzzI(f *testing.F) { function BenchmarkI (line 232) | func BenchmarkI(b *testing.B) { function TestFromWei (line 251) | func TestFromWei(t *testing.T) { function TestBigMin (line 294) | func TestBigMin(t *testing.T) { function TestBigMax (line 313) | func TestBigMax(t *testing.T) { FILE: w3types/interfaces.go type Func (line 9) | type Func interface type RPCCaller (line 23) | type RPCCaller interface type RPCCallerFactory (line 32) | type RPCCallerFactory interface type RPCSubscriber (line 39) | type RPCSubscriber interface FILE: w3types/interfaces_test.go function TxBySenderAndNonceFactory (line 13) | func TxBySenderAndNonceFactory(sender common.Address, nonce uint64) w3ty... type getTransactionBySenderAndNonceFactory (line 23) | type getTransactionBySenderAndNonceFactory struct method Returns (line 35) | func (f *getTransactionBySenderAndNonceFactory) Returns(txHash *common... method CreateRequest (line 43) | func (f *getTransactionBySenderAndNonceFactory) CreateRequest() (rpc.B... method HandleResponse (line 54) | func (f *getTransactionBySenderAndNonceFactory) HandleResponse(elem rp... function ExampleRPCCaller_getTransactionBySenderAndNonce (line 61) | func ExampleRPCCaller_getTransactionBySenderAndNonce() { FILE: w3types/message.go type Message (line 18) | type Message struct method Set (line 38) | func (msg *Message) Set(msg2 *Message) *Message { method SetTx (line 58) | func (msg *Message) SetTx(tx *types.Transaction, signer types.Signer) ... method MustSetTx (line 81) | func (msg *Message) MustSetTx(tx *types.Transaction, signer types.Sign... method SetCallMsg (line 90) | func (msg *Message) SetCallMsg(callMsg ethereum.CallMsg) *Message { method MarshalJSON (line 123) | func (msg *Message) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 164) | func (msg *Message) UnmarshalJSON(data []byte) error { type message (line 105) | type message struct FILE: w3types/rpc.go type BlockOverrides (line 11) | type BlockOverrides struct method MarshalJSON (line 33) | func (o BlockOverrides) MarshalJSON() ([]byte, error) { type blockOverrides (line 22) | type blockOverrides struct FILE: w3types/rpc_test.go function TestBlockOverrides_MarshalJSON (line 13) | func TestBlockOverrides_MarshalJSON(t *testing.T) { FILE: w3types/state.go type State (line 16) | type State method SetGenesisAlloc (line 20) | func (s State) SetGenesisAlloc(alloc types.GenesisAlloc) State { method Merge (line 35) | func (s State) Merge(other State) (merged State) { type Account (line 54) | type Account struct method deepCopy (line 64) | func (acc *Account) deepCopy() *Account { method merge (line 79) | func (dst *Account) merge(src *Account) { method CodeHash (line 105) | func (acc *Account) CodeHash() common.Hash { method MarshalJSON (line 121) | func (acc *Account) MarshalJSON() ([]byte, error) { type Storage (line 145) | type Storage FILE: w3types/state_test.go function TestStateMerge (line 12) | func TestStateMerge(t *testing.T) { FILE: w3vm/bench_test.go function BenchmarkVM (line 27) | func BenchmarkVM(b *testing.B) { function BenchmarkVMCall (line 111) | func BenchmarkVMCall(b *testing.B) { function BenchmarkVMSnapshot (line 201) | func BenchmarkVMSnapshot(b *testing.B) { FILE: w3vm/db.go type db (line 21) | type db struct method Has (line 37) | func (db *db) Has(addr common.Address, codeHash common.Hash) bool { method Code (line 42) | func (db *db) Code(addr common.Address, codeHash common.Hash) ([]byte,... method CodeSize (line 54) | func (db *db) CodeSize(addr common.Address, codeHash common.Hash) (int... method Account (line 62) | func (db *db) Account(addr common.Address) (*types.StateAccount, error) { method Storage (line 73) | func (db *db) Storage(addr common.Address, slot common.Hash) (common.H... method Reader (line 91) | func (db *db) Reader(common.Hash) (state.Reader, error) { return db, n... method OpenTrie (line 93) | func (db *db) OpenTrie(common.Hash) (state.Trie, error) { return fakeT... method OpenStorageTrie (line 95) | func (db *db) OpenStorageTrie(common.Hash, common.Address, common.Hash... method TrieDB (line 99) | func (*db) TrieDB() *triedb.Database { return fakeTrieDB } method Snapshot (line 101) | func (*db) Snapshot() *snapshot.Tree { panic("not implemented") } function newDB (line 25) | func newDB(fetcher Fetcher) *db { FILE: w3vm/example_test.go function ExampleVM_simpleTransfer (line 31) | func ExampleVM_simpleTransfer() { function ExampleVM_fakeTokenBalance (line 62) | func ExampleVM_fakeTokenBalance() { function ExampleVM_call (line 114) | func ExampleVM_call() { function ExampleVM_callFunc (line 146) | func ExampleVM_callFunc() { function ExampleVM_uniswapV3Swap (line 169) | func ExampleVM_uniswapV3Swap() { function ExampleVM_prankZeroAddress (line 249) | func ExampleVM_prankZeroAddress() { function ExampleVM_traceCalls (line 278) | func ExampleVM_traceCalls() { function ExampleVM_traceAccessList (line 307) | func ExampleVM_traceAccessList() { function ExampleVM_traceBlock (line 350) | func ExampleVM_traceBlock() { function TestWETHDeposit (line 383) | func TestWETHDeposit(t *testing.T) { function FuzzWETHDeposit (line 420) | func FuzzWETHDeposit(f *testing.F) { function ExampleWETHBalanceSlot (line 463) | func ExampleWETHBalanceSlot() { FILE: w3vm/fetcher.go type Fetcher (line 32) | type Fetcher interface type rpcFetcher (line 46) | type rpcFetcher struct method Account (line 86) | func (f *rpcFetcher) Account(addr common.Address) (a *types.StateAccou... method Code (line 135) | func (f *rpcFetcher) Code(codeHash common.Hash) ([]byte, error) { method StorageAt (line 145) | func (f *rpcFetcher) StorageAt(addr common.Address, slot common.Hash) ... method HeaderHash (line 172) | func (f *rpcFetcher) HeaderHash(blockNumber uint64) (common.Hash, erro... method call (line 197) | func (f *rpcFetcher) call(calls ...w3types.RPCCaller) error { method loadTestdataState (line 250) | func (f *rpcFetcher) loadTestdataState(chainID uint64) (err error) { method storeTestdataState (line 312) | func (f *rpcFetcher) storeTestdataState(chainID uint64) (err error) { function NewRPCFetcher (line 71) | func NewRPCFetcher(client *w3.Client, blockNumber *big.Int) Fetcher { function newRPCFetcher (line 75) | func newRPCFetcher(client *w3.Client, blockNumber *big.Int) *rpcFetcher { function NewTestingRPCFetcher (line 207) | func NewTestingRPCFetcher(tb testing.TB, chainID uint64, client *w3.Clie... type storageKey (line 422) | type storageKey struct type testdataState (line 429) | type testdataState method Merge (line 431) | func (s testdataState) Merge(other testdataState) error { type testdataAccount (line 445) | type testdataAccount struct method codeHash (line 452) | func (a *testdataAccount) codeHash() common.Hash { method Merge (line 459) | func (a *testdataAccount) Merge(other *testdataAccount) error { type testdataContracts (line 490) | type testdataContracts method Merge (line 492) | func (c testdataContracts) Merge(other testdataContracts) error { type testdataHeaderHashes (line 506) | type testdataHeaderHashes method Merge (line 508) | func (h testdataHeaderHashes) Merge(other testdataHeaderHashes) error { function readTestdata (line 521) | func readTestdata(filename string, data any, onlyIfModifiedAfter time.Ti... function writeTestdata (line 549) | func writeTestdata(filename string, data any) error { function testdataPath (line 575) | func testdataPath(filename string) string { FILE: w3vm/fetcher_test.go function TestTestdataContractsMerge (line 16) | func TestTestdataContractsMerge(t *testing.T) { function TestTestdataHeaderHashesMerge (line 79) | func TestTestdataHeaderHashesMerge(t *testing.T) { function TestTestdataAccountMerge (line 142) | func TestTestdataAccountMerge(t *testing.T) { function TestTestdataStateMerge (line 263) | func TestTestdataStateMerge(t *testing.T) { FILE: w3vm/hooks/call_tracer.go type CallTracerOptions (line 38) | type CallTracerOptions struct method targetStyler (line 50) | func (opts *CallTracerOptions) targetStyler(addr common.Address) lipgl... method showOp (line 61) | func (opts *CallTracerOptions) showOp(op byte, pc uint64, addr common.... method opStyler (line 68) | func (opts *CallTracerOptions) opStyler(op byte) lipgloss.Style { function defaultTargetStyler (line 75) | func defaultTargetStyler(addr common.Address) lipgloss.Style { function defaultOpStyler (line 84) | func defaultOpStyler(byte) lipgloss.Style { function NewCallTracer (line 89) | func NewCallTracer(w io.Writer, opts *CallTracerOptions) *tracing.Hooks { type callTracer (line 103) | type callTracer struct method EnterHook (line 115) | func (c *callTracer) EnterHook(depth int, typ byte, from common.Addres... method ExitHook (line 141) | func (c *callTracer) ExitHook(depth int, output []byte, gasUsed uint64... method OpcodeHook (line 159) | func (c *callTracer) OpcodeHook(pc uint64, op byte, gas, cost uint64, ... method OnLog (line 167) | func (c *callTracer) OnLog(log *types.Log) { function renderIdent (line 173) | func renderIdent(callStack []call, styler func(addr common.Address) lipg... function renderAddr (line 191) | func renderAddr(addr common.Address, styler func(addr common.Address) li... function renderCallType (line 195) | func renderCallType(typ byte) string { function renderValue (line 216) | func renderValue(decodeABI bool, val *big.Int) string { function renderInput (line 226) | func renderInput(fn *w3.Func, isPrecompile bool, input []byte, styler fu... function renderOutput (line 236) | func renderOutput(fn *w3.Func, output []byte, styler func(addr common.Ad... function renderRevert (line 246) | func renderRevert(revertErr error, output []byte, decodeABI bool) string { function renderRawInput (line 261) | func renderRawInput(input []byte, styler func(addr common.Address) lipgl... function renderRawOutput (line 274) | func renderRawOutput(output []byte, styler func(addr common.Address) lip... function renderWord (line 286) | func renderWord(word []byte, _ func(addr common.Address) lipgloss.Style)... function renderAbiInput (line 295) | func renderAbiInput(fn *w3.Func, isPrecompile bool, input []byte, styler... function renderAbiOutput (line 309) | func renderAbiOutput(fn *w3.Func, output []byte, styler func(addr common... function renderAbiArgs (line 318) | func renderAbiArgs(args abi.Arguments, vals []any, styler func(addr comm... function renderAbiTyp (line 329) | func renderAbiTyp(typ *abi.Type, name string, val any, styler func(addr ... function renderOp (line 451) | func renderOp(op byte, style func(byte) lipgloss.Style, pc uint64, scope... type call (line 478) | type call struct function opAccessesStackElem (line 486) | func opAccessesStackElem(op byte, i int) bool { FILE: w3vm/receipt.go type Receipt (line 14) | type Receipt struct method DecodeReturns (line 28) | func (r Receipt) DecodeReturns(returns ...any) error { FILE: w3vm/util.go function RandA (line 19) | func RandA() (addr common.Address) { function WETHBalanceSlot (line 31) | func WETHBalanceSlot(addr common.Address) common.Hash { function WETHAllowanceSlot (line 37) | func WETHAllowanceSlot(owner, spender common.Address) common.Hash { function SoliditySlot (line 44) | func SoliditySlot(pos, key common.Hash) common.Hash { function SoliditySlot2 (line 52) | func SoliditySlot2(pos, key0, key1 common.Hash) common.Hash { function SoliditySlot3 (line 63) | func SoliditySlot3(pos, key0, key1, key2 common.Hash) common.Hash { function VyperSlot (line 76) | func VyperSlot(pos, key common.Hash) common.Hash { function VyperSlot2 (line 84) | func VyperSlot2(pos, key0, key1 common.Hash) common.Hash { function VyperSlot3 (line 95) | func VyperSlot3(pos, key0, key1, key2 common.Hash) common.Hash { function Slot (line 112) | func Slot(pos, key common.Hash) common.Hash { function Slot2 (line 124) | func Slot2(pos, key0, key1 common.Hash) common.Hash { function Slot3 (line 136) | func Slot3(pos, key0, key1, key2 common.Hash) common.Hash { function zeroHashFunc (line 141) | func zeroHashFunc(uint64) common.Hash { function ethBalance (line 150) | func ethBalance(addr common.Address, blockNumber *big.Int) w3types.RPCCa... function ethHeaderHash (line 159) | func ethHeaderHash(blockNumber uint64) w3types.RPCCallerFactory[header] { type header (line 166) | type header struct function joinHooks (line 175) | func joinHooks(hooks []*tracing.Hooks) *tracing.Hooks { FILE: w3vm/util_test.go function TestWETHBalanceSlot (line 12) | func TestWETHBalanceSlot(t *testing.T) { function TestWETHAllowanceSlot (line 37) | func TestWETHAllowanceSlot(t *testing.T) { FILE: w3vm/vm.go type VM (line 40) | type VM struct method Apply (line 83) | func (vm *VM) Apply(msg *w3types.Message, hooks ...*tracing.Hooks) (*R... method ApplyTx (line 88) | func (vm *VM) ApplyTx(tx *types.Transaction, hooks ...*tracing.Hooks) ... method apply (line 96) | func (v *VM) apply(msg *w3types.Message, isCall bool, hooks *tracing.H... method Call (line 179) | func (vm *VM) Call(msg *w3types.Message, hooks ...*tracing.Hooks) (*Re... method CallFunc (line 196) | func (vm *VM) CallFunc(contract common.Address, f w3types.Func, args .... method Nonce (line 218) | func (vm *VM) Nonce(addr common.Address) (uint64, error) { method SetNonce (line 227) | func (vm *VM) SetNonce(addr common.Address, nonce uint64) { method Balance (line 232) | func (vm *VM) Balance(addr common.Address) (*big.Int, error) { method SetBalance (line 241) | func (vm *VM) SetBalance(addr common.Address, balance *big.Int) { method Code (line 246) | func (vm *VM) Code(addr common.Address) ([]byte, error) { method SetCode (line 255) | func (vm *VM) SetCode(addr common.Address, code []byte) { method StorageAt (line 260) | func (vm *VM) StorageAt(addr common.Address, slot common.Hash) (common... method SetStorageAt (line 269) | func (vm *VM) SetStorageAt(addr common.Address, slot, val common.Hash) { method Snapshot (line 275) | func (vm *VM) Snapshot() *state.StateDB { return vm.db.Copy() } method Rollback (line 278) | func (vm *VM) Rollback(snapshot *state.StateDB) { method buildMessage (line 283) | func (v *VM) buildMessage(msg *w3types.Message, skipAccChecks bool) (*... method Clone (line 419) | func (vm *VM) Clone() *VM { function New (line 48) | func New(opts ...Option) (*VM, error) { type CallFuncFactory (line 205) | type CallFuncFactory struct method Returns (line 210) | func (cff *CallFuncFactory) Returns(returns ...any) error { function newBlockContext (line 358) | func newBlockContext(config *params.ChainConfig, h *types.Header, getHas... function defaultBlockContext (line 396) | func defaultBlockContext() *vm.BlockContext { type options (line 431) | type options struct method Signer (line 449) | func (opt *options) Signer() types.Signer { method Init (line 456) | func (opts *options) Init() error { function fetcherHashFunc (line 518) | func fetcherHashFunc(fetcher Fetcher) vm.GetHashFunc { type Option (line 526) | type Option function WithChainConfig (line 531) | func WithChainConfig(cfg *params.ChainConfig) Option { function WithBlockContext (line 536) | func WithBlockContext(ctx *vm.BlockContext) Option { function WithPrecompile (line 541) | func WithPrecompile(addr common.Address, contract vm.PrecompiledContract... function WithState (line 554) | func WithState(state w3types.State) Option { function WithStateDB (line 560) | func WithStateDB(db *state.StateDB) Option { function WithNoBaseFee (line 568) | func WithNoBaseFee() Option { function WithFork (line 578) | func WithFork(client *w3.Client, blockNumber *big.Int) Option { function WithHeader (line 586) | func WithHeader(header *types.Header) Option { function WithFetcher (line 591) | func WithFetcher(fetcher Fetcher) Option { function WithTB (line 597) | func WithTB(tb testing.TB) Option { function WithJumpDestCache (line 602) | func WithJumpDestCache(cache vm.JumpDestCache) Option { FILE: w3vm/vm_test.go function TestVMSetNonce (line 54) | func TestVMSetNonce(t *testing.T) { function TestVMSetBalance (line 69) | func TestVMSetBalance(t *testing.T) { function TestVMSetCode (line 84) | func TestVMSetCode(t *testing.T) { function TestVMSetStorage (line 99) | func TestVMSetStorage(t *testing.T) { function TestVMApply (line 114) | func TestVMApply(t *testing.T) { function TestVMApply_Hook (line 298) | func TestVMApply_Hook(t *testing.T) { function TestVMSnapshot (line 340) | func TestVMSnapshot(t *testing.T) { function TestVMSnapshot_Logs (line 392) | func TestVMSnapshot_Logs(t *testing.T) { function TestVMCall (line 566) | func TestVMCall(t *testing.T) { function TestVMCallFunc (line 617) | func TestVMCallFunc(t *testing.T) { function TestVM_Fetcher (line 640) | func TestVM_Fetcher(t *testing.T) { function TestVM_BaseFee (line 674) | func TestVM_BaseFee(t *testing.T) { type testFetcher (line 764) | type testFetcher struct method Account (line 766) | func (f *testFetcher) Account(addr common.Address) (*types.StateAccoun... method Code (line 770) | func (f *testFetcher) Code(codeHash common.Hash) ([]byte, error) { method StorageAt (line 774) | func (f *testFetcher) StorageAt(addr common.Address, key common.Hash) ... method HeaderHash (line 778) | func (f *testFetcher) HeaderHash(blockNumber uint64) (common.Hash, err... function TestVMApply_Integration (line 782) | func TestVMApply_Integration(t *testing.T) { function mustEncodeArgs (line 890) | func mustEncodeArgs(f w3types.Func, args ...any) []byte { function BenchmarkTransferWETH9 (line 898) | func BenchmarkTransferWETH9(b *testing.B) { function TestVMClone (line 977) | func TestVMClone(t *testing.T) { type mockPrecompile (line 1113) | type mockPrecompile struct method RequiredGas (line 1115) | func (m *mockPrecompile) RequiredGas(input []byte) uint64 { return 100 } method Run (line 1116) | func (m *mockPrecompile) Run(input []byte) ([]byte, error) { return in... method Name (line 1117) | func (m *mockPrecompile) Name() string { return "m... function ptr (line 1119) | func ptr[T any](t T) *T { return &t }