SYMBOL INDEX (1011 symbols across 123 files) FILE: 4byte/4byte.go constant fourByteURL (line 11) | fourByteURL = "https://www.4byte.directory" function Resolve (line 15) | func Resolve(str string) (string, error) { function ResolveBytes (line 20) | func ResolveBytes(b []byte) (string, error) { function get (line 24) | func get(path string) (string, error) { type signatureResult (line 49) | type signatureResult struct FILE: 4byte/4byte_test.go function Test4Byte (line 9) | func Test4Byte(t *testing.T) { FILE: abi/abi.go type ABI (line 18) | type ABI struct method GetMethod (line 26) | func (a *ABI) GetMethod(name string) *Method { method GetMethodBySignature (line 31) | func (a *ABI) GetMethodBySignature(methodSignature string) *Method { method addError (line 36) | func (a *ABI) addError(e *Error) { method addEvent (line 43) | func (a *ABI) addEvent(e *Event) { method addMethod (line 54) | func (a *ABI) addMethod(m *Method) { method UnmarshalJSON (line 104) | func (a *ABI) UnmarshalJSON(data []byte) error { function overloadedName (line 69) | func overloadedName(rawName string, isAvail func(string) bool) string { function NewABI (line 80) | func NewABI(s string) (*ABI, error) { function MustNewABI (line 85) | func MustNewABI(s string) *ABI { function NewABIFromReader (line 94) | func NewABIFromReader(r io.Reader) (*ABI, error) { type Method (line 190) | type Method struct method Sig (line 198) | func (m *Method) Sig() string { method ID (line 203) | func (m *Method) ID() []byte { method Encode (line 212) | func (m *Method) Encode(args interface{}) ([]byte, error) { method Decode (line 222) | func (m *Method) Decode(data []byte) (map[string]interface{}, error) { function MustNewMethod (line 235) | func MustNewMethod(name string) *Method { function NewMethod (line 243) | func NewMethod(name string) (*Method, error) { function parseMethodSignature (line 257) | func parseMethodSignature(name string) (string, *Type, *Type, error) { type Event (line 295) | type Event struct method Sig (line 302) | func (e *Event) Sig() string { method ID (line 307) | func (e *Event) ID() (res ethgo.Hash) { method Match (line 379) | func (e *Event) Match(log *ethgo.Log) bool { method ParseLog (line 390) | func (e *Event) ParseLog(log *ethgo.Log) (map[string]interface{}, erro... function MustNewEvent (line 317) | func MustNewEvent(name string) *Event { function NewEvent (line 326) | func NewEvent(name string) (*Event, error) { type Error (line 335) | type Error struct function NewError (line 341) | func NewError(name string) (*Error, error) { function parseEventOrErrorSignature (line 349) | func parseEventOrErrorSignature(prefix string, name string) (string, *Ty... function NewEventFromType (line 374) | func NewEventFromType(name string, typ *Type) *Event { function buildSignature (line 397) | func buildSignature(name string, typ *Type) string { type ArgumentStr (line 406) | type ArgumentStr struct function acquireKeccak (line 420) | func acquireKeccak() hash.Hash { function releaseKeccak (line 424) | func releaseKeccak(k hash.Hash) { function NewABIFromList (line 429) | func NewABIFromList(humanReadableAbi []string) (*ABI, error) { FILE: abi/abi_test.go function TestAbi (line 11) | func TestAbi(t *testing.T) { function TestAbi_InternalType (line 115) | func TestAbi_InternalType(t *testing.T) { function TestAbi_Polymorphism (line 156) | func TestAbi_Polymorphism(t *testing.T) { function TestAbi_HumanReadable (line 226) | func TestAbi_HumanReadable(t *testing.T) { function TestAbi_ParseMethodSignature (line 301) | func TestAbi_ParseMethodSignature(t *testing.T) { FILE: abi/decode.go function Decode (line 15) | func Decode(t *Type, input []byte) (interface{}, error) { function DecodeStruct (line 24) | func DecodeStruct(t *Type, input []byte, out interface{}) error { function decode (line 45) | func decode(t *Type, input []byte) (interface{}, []byte, error) { function readAddr (line 114) | func readAddr(b []byte) (ethgo.Address, error) { function readInteger (line 123) | func readInteger(t *Type, b []byte) interface{} { function readFunctionType (line 164) | func readFunctionType(t *Type, word []byte) ([24]byte, error) { function readFixedBytes (line 173) | func readFixedBytes(t *Type, word []byte) (interface{}, error) { function decodeTuple (line 179) | func decodeTuple(t *Type, data []byte) (interface{}, []byte, error) { function decodeArraySlice (line 222) | func decodeArraySlice(t *Type, data []byte, size int) (interface{}, []by... function decodeBool (line 270) | func decodeBool(data []byte) (interface{}, error) { function readOffset (line 281) | func readOffset(data []byte, len int) (int, error) { function readLength (line 293) | func readLength(data []byte) (int, error) { function allZeros (line 308) | func allZeros(b []byte) bool { FILE: abi/decode_test.go function TestDecode_BytesBound (line 9) | func TestDecode_BytesBound(t *testing.T) { function TestDecode_DynamicLengthOutOfBounds (line 14) | func TestDecode_DynamicLengthOutOfBounds(t *testing.T) { FILE: abi/encode.go function Encode (line 20) | func Encode(v interface{}, t *Type) ([]byte, error) { function encode (line 24) | func encode(v reflect.Value, t *Type) ([]byte, error) { function encodeSliceAndArray (line 59) | func encodeSliceAndArray(v reflect.Value, t *Type) ([]byte, error) { function encodeTuple (line 101) | func encodeTuple(v reflect.Value, t *Type) ([]byte, error) { function convertArrayToBytes (line 167) | func convertArrayToBytes(value reflect.Value) reflect.Value { function encodeFixedBytes (line 173) | func encodeFixedBytes(v reflect.Value) ([]byte, error) { function encodeAddress (line 188) | func encodeAddress(v reflect.Value) ([]byte, error) { function encodeBytes (line 202) | func encodeBytes(v reflect.Value) ([]byte, error) { function encodeString (line 217) | func encodeString(v reflect.Value) ([]byte, error) { function packBytesSlice (line 224) | func packBytesSlice(buf []byte, l int) ([]byte, error) { function packNum (line 232) | func packNum(offset int) []byte { function encodeNum (line 237) | func encodeNum(v reflect.Value) ([]byte, error) { function encodeBool (line 269) | func encodeBool(v reflect.Value) ([]byte, error) { function encodeErr (line 279) | func encodeErr(v reflect.Value, t string) error { function mapFromStruct (line 283) | func mapFromStruct(v reflect.Value) (reflect.Value, error) { function toU256 (line 314) | func toU256(n *big.Int) []byte { function padBytes (line 325) | func padBytes(b []byte, size int, left bool) []byte { function leftPad (line 342) | func leftPad(b []byte, size int) []byte { function rightPad (line 346) | func rightPad(b []byte, size int) []byte { function encodeHex (line 350) | func encodeHex(b []byte) string { function decodeHex (line 354) | func decodeHex(str string) ([]byte, error) { FILE: abi/encoding_test.go function mustDecodeHex (line 19) | func mustDecodeHex(str string) []byte { function TestEncoding (line 27) | func TestEncoding(t *testing.T) { function TestEncodingBestEffort (line 335) | func TestEncodingBestEffort(t *testing.T) { function TestEncodingArguments (line 503) | func TestEncodingArguments(t *testing.T) { function testEncodeDecode (line 564) | func testEncodeDecode(t *testing.T, server *testutil.TestServer, tt *Typ... function generateRandomArgs (line 585) | func generateRandomArgs(n int) *Type { function TestRandomEncoding (line 603) | func TestRandomEncoding(t *testing.T) { function testDecodePanic (line 632) | func testDecodePanic(tt *Type, input interface{}) error { function testTypeWithContract (line 653) | func testTypeWithContract(t *testing.T, server *testutil.TestServer, typ... function TestEncodingStruct (line 709) | func TestEncodingStruct(t *testing.T) { function TestEncodingStruct_camcelCase (line 735) | func TestEncodingStruct_camcelCase(t *testing.T) { FILE: abi/revert.go function UnpackRevertError (line 10) | func UnpackRevertError(b []byte) (string, error) { FILE: abi/revert_test.go function TestUnpackRevertError (line 9) | func TestUnpackRevertError(t *testing.T) { FILE: abi/testing.go function randomInt (line 13) | func randomInt(min, max int) int { function randomNumberBits (line 30) | func randomNumberBits() int { function randomType (line 34) | func randomType() string { function pickRandomType (line 38) | func pickRandomType(d int) string { function generateNumber (line 86) | func generateNumber(t *Type) interface{} { function generateRandomType (line 101) | func generateRandomType(t *Type) interface{} { constant hexLetters (line 165) | hexLetters = "0123456789abcdef" constant letters (line 167) | letters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" function randString (line 169) | func randString(n int, dict string) string { type generateContractImpl (line 177) | type generateContractImpl struct method run (line 181) | func (g *generateContractImpl) run(t *Type) string { method getValue (line 217) | func (g *generateContractImpl) getValue(t *Type) string { FILE: abi/topics.go function ParseLog (line 12) | func ParseLog(args *Type, log *ethgo.Log) (map[string]interface{}, error) { function ParseTopics (line 56) | func ParseTopics(args *Type, topics []ethgo.Hash) ([]interface{}, error) { function ParseTopic (line 77) | func ParseTopic(t *Type, topic ethgo.Hash) (interface{}, error) { function EncodeTopic (line 102) | func EncodeTopic(t *Type, val interface{}) (ethgo.Hash, error) { function encodeTopic (line 106) | func encodeTopic(t *Type, val reflect.Value) (ethgo.Hash, error) { function init (line 123) | func init() { function encodeTopicAddress (line 127) | func encodeTopicAddress(val reflect.Value) (res ethgo.Hash, err error) { function encodeTopicNum (line 137) | func encodeTopicNum(t *Type, val reflect.Value) (res ethgo.Hash, err err... function encodeTopicBool (line 147) | func encodeTopicBool(v reflect.Value) (res ethgo.Hash, err error) { FILE: abi/topics_test.go function TestTopicEncoding (line 15) | func TestTopicEncoding(t *testing.T) { function TestIntegrationTopics (line 56) | func TestIntegrationTopics(t *testing.T) { FILE: abi/type.go type Kind (line 34) | type Kind method String (line 74) | func (k Kind) String() string { constant KindBool (line 38) | KindBool Kind = iota constant KindUInt (line 41) | KindUInt constant KindInt (line 44) | KindInt constant KindString (line 47) | KindString constant KindArray (line 50) | KindArray constant KindSlice (line 53) | KindSlice constant KindAddress (line 56) | KindAddress constant KindBytes (line 59) | KindBytes constant KindFixedBytes (line 62) | KindFixedBytes constant KindFixedPoint (line 65) | KindFixedPoint constant KindTuple (line 68) | KindTuple constant KindFunction (line 71) | KindFunction type TupleElem (line 94) | type TupleElem struct type Type (line 101) | type Type struct method ParseLog (line 135) | func (t *Type) ParseLog(log *ethgo.Log) (map[string]interface{}, error) { method Decode (line 140) | func (t *Type) Decode(input []byte) (interface{}, error) { method DecodeStruct (line 145) | func (t *Type) DecodeStruct(input []byte, out interface{}) error { method InternalType (line 150) | func (t *Type) InternalType() string { method Encode (line 155) | func (t *Type) Encode(v interface{}) ([]byte, error) { method String (line 159) | func (t *Type) String() string { method Format (line 164) | func (t *Type) Format(includeArgs bool) string { method Elem (line 218) | func (t *Type) Elem() *Type { method Size (line 223) | func (t *Type) Size() int { method TupleElems (line 228) | func (t *Type) TupleElems() []*TupleElem { method GoType (line 233) | func (t *Type) GoType() reflect.Type { method Kind (line 238) | func (t *Type) Kind() Kind { method isVariableInput (line 242) | func (t *Type) isVariableInput() bool { method isDynamicType (line 246) | func (t *Type) isDynamicType() bool { function NewTupleType (line 110) | func NewTupleType(inputs []*TupleElem) *Type { function NewTupleTypeFromArgs (line 118) | func NewTupleTypeFromArgs(inputs []*ArgumentStr) (*Type, error) { function parseType (line 258) | func parseType(arg *ArgumentStr) (string, error) { function NewTypeFromArgument (line 284) | func NewTypeFromArgument(arg *ArgumentStr) (*Type, error) { function fillIn (line 300) | func fillIn(typ *Type, arg *ArgumentStr) error { function NewType (line 336) | func NewType(s string) (*Type, error) { function MustNewType (line 344) | func MustNewType(s string) *Type { function getTypeSize (line 352) | func getTypeSize(t *Type) int { function expectedToken (line 370) | func expectedToken(t tokenType) error { function notExpectedToken (line 374) | func notExpectedToken(t tokenType) error { function readType (line 378) | func readType(l *lexer) (*Type, error) { function decodeSimpleType (line 484) | func decodeSimpleType(str string) (*Type, error) { type tokenType (line 581) | type tokenType method String (line 597) | func (t tokenType) String() string { constant eofToken (line 584) | eofToken tokenType = iota constant strToken (line 585) | strToken constant numberToken (line 586) | numberToken constant tupleToken (line 587) | tupleToken constant lparenToken (line 588) | lparenToken constant rparenToken (line 589) | rparenToken constant lbracketToken (line 590) | lbracketToken constant rbracketToken (line 591) | rbracketToken constant commaToken (line 592) | commaToken constant indexedToken (line 593) | indexedToken constant invalidToken (line 594) | invalidToken type token (line 614) | type token struct type lexer (line 619) | type lexer struct method readChar (line 634) | func (l *lexer) readChar() { method nextToken (line 645) | func (l *lexer) nextToken() token { method nextTokenImpl (line 651) | func (l *lexer) nextTokenImpl() token { method readIdentifier (line 695) | func (l *lexer) readIdentifier() string { method readNumber (line 704) | func (l *lexer) readNumber() string { function newLexer (line 628) | func newLexer(input string) *lexer { function isDigit (line 712) | func isDigit(ch byte) bool { function isLetter (line 716) | func isLetter(ch byte) bool { FILE: abi/type_test.go function TestType (line 11) | func TestType(t *testing.T) { function TestTypeArgument_InternalFields (line 367) | func TestTypeArgument_InternalFields(t *testing.T) { function TestSize (line 391) | func TestSize(t *testing.T) { function simpleType (line 435) | func simpleType(s string) *ArgumentStr { FILE: blocktracker/blocktracker.go type BlockProvider (line 14) | type BlockProvider interface constant defaultMaxBlockBacklog (line 20) | defaultMaxBlockBacklog = 10 type BlockTracker (line 24) | type BlockTracker struct method Subscribe (line 80) | func (b *BlockTracker) Subscribe() chan *BlockEvent { method AcquireLock (line 89) | func (b *BlockTracker) AcquireLock() Lock { method Init (line 93) | func (t *BlockTracker) Init() (err error) { method MaxBlockBacklog (line 132) | func (b *BlockTracker) MaxBlockBacklog() uint64 { method LastBlocked (line 136) | func (b *BlockTracker) LastBlocked() *ethgo.Block { method BlocksBlocked (line 144) | func (b *BlockTracker) BlocksBlocked() []*ethgo.Block { method Len (line 152) | func (b *BlockTracker) Len() int { method Close (line 156) | func (b *BlockTracker) Close() error { method Start (line 161) | func (b *BlockTracker) Start() error { method AddBlockLocked (line 177) | func (t *BlockTracker) AddBlockLocked(block *ethgo.Block) error { method blockAtIndex (line 192) | func (t *BlockTracker) blockAtIndex(hash ethgo.Hash) int { method handleReconcileImpl (line 201) | func (t *BlockTracker) handleReconcileImpl(block *ethgo.Block) ([]*eth... method HandleBlockEvent (line 258) | func (t *BlockTracker) HandleBlockEvent(block *ethgo.Block) (*BlockEve... method HandleReconcile (line 290) | func (t *BlockTracker) HandleReconcile(block *ethgo.Block) error { type Config (line 36) | type Config struct function DefaultConfig (line 41) | func DefaultConfig() *Config { type ConfigOption (line 47) | type ConfigOption function WithBlockMaxBacklog (line 49) | func WithBlockMaxBacklog(b uint64) ConfigOption { function WithTracker (line 55) | func WithTracker(b BlockTrackerInterface) ConfigOption { function NewBlockTracker (line 61) | func NewBlockTracker(provider BlockProvider, opts ...ConfigOption) *Bloc... type BlockTrackerInterface (line 311) | type BlockTrackerInterface interface constant defaultPollInterval (line 316) | defaultPollInterval = 1 * time.Second type JSONBlockTracker (line 321) | type JSONBlockTracker struct method Track (line 336) | func (k *JSONBlockTracker) Track(ctx context.Context, handle func(bloc... function NewJSONBlockTracker (line 327) | func NewJSONBlockTracker(provider BlockProvider) *JSONBlockTracker { type SubscriptionBlockTracker (line 364) | type SubscriptionBlockTracker struct method Track (line 382) | func (s *SubscriptionBlockTracker) Track(ctx context.Context, handle f... function NewSubscriptionBlockTracker (line 369) | func NewSubscriptionBlockTracker(client *jsonrpc.Client) (*SubscriptionB... type Lock (line 423) | type Lock struct method Lock (line 432) | func (l *Lock) Lock() { method Unlock (line 437) | func (l *Lock) Unlock() { function NewLock (line 428) | func NewLock(lock *sync.Mutex) Lock { type EventType (line 443) | type EventType constant EventAdd (line 447) | EventAdd EventType = iota constant EventDel (line 449) | EventDel type Event (line 453) | type Event struct type BlockEvent (line 460) | type BlockEvent struct FILE: blocktracker/blocktracker_test.go function testListener (line 14) | func testListener(t *testing.T, server *testutil.TestServer, tracker Blo... function TestBlockTracker_Listener_JsonRPC (line 53) | func TestBlockTracker_Listener_JsonRPC(t *testing.T) { function TestBlockTracker_Listener_Websocket (line 66) | func TestBlockTracker_Listener_Websocket(t *testing.T) { function TestBlockTracker_Lifecycle (line 81) | func TestBlockTracker_Lifecycle(t *testing.T) { function TestBlockTracker_PopulateBlocks (line 109) | func TestBlockTracker_PopulateBlocks(t *testing.T) { function TestBlockTracker_Events (line 149) | func TestBlockTracker_Events(t *testing.T) { FILE: builtin/ens/ens.go type ENS (line 21) | type ENS struct method Owner (line 38) | func (e *ENS) Owner(node [32]byte, block ...ethgo.BlockNumber) (retval... method Resolver (line 58) | func (e *ENS) Resolver(node [32]byte, block ...ethgo.BlockNumber) (ret... method Ttl (line 78) | func (e *ENS) Ttl(node [32]byte, block ...ethgo.BlockNumber) (retval0 ... method SetOwner (line 100) | func (e *ENS) SetOwner(node [32]byte, owner ethgo.Address) (contract.T... method SetResolver (line 105) | func (e *ENS) SetResolver(node [32]byte, resolver ethgo.Address) (cont... method SetSubnodeOwner (line 110) | func (e *ENS) SetSubnodeOwner(node [32]byte, label [32]byte, owner eth... method SetTTL (line 115) | func (e *ENS) SetTTL(node [32]byte, ttl uint64) (contract.Txn, error) { method NewOwnerEventSig (line 121) | func (e *ENS) NewOwnerEventSig() ethgo.Hash { method NewResolverEventSig (line 125) | func (e *ENS) NewResolverEventSig() ethgo.Hash { method NewTTLEventSig (line 129) | func (e *ENS) NewTTLEventSig() ethgo.Hash { method TransferEventSig (line 133) | func (e *ENS) TransferEventSig() ethgo.Hash { function DeployENS (line 26) | func DeployENS(provider *jsonrpc.Client, from ethgo.Address, args []inte... function NewENS (line 31) | func NewENS(addr ethgo.Address, opts ...contract.ContractOption) *ENS { FILE: builtin/ens/ens_artifacts.go function ENSAbi (line 13) | func ENSAbi() *abi.ABI { function ENSBin (line 20) | func ENSBin() []byte { function init (line 24) | func init() { FILE: builtin/ens/ens_resolver.go type ENSResolver (line 10) | type ENSResolver struct method Resolve (line 19) | func (e *ENSResolver) Resolve(addr string, block ...ethgo.BlockNumber)... method ReverseResolve (line 33) | func (e *ENSResolver) ReverseResolve(addr ethgo.Address, block ...ethg... method prepareResolver (line 44) | func (e *ENSResolver) prepareResolver(inputHash ethgo.Hash, block ...e... function NewENSResolver (line 15) | func NewENSResolver(addr ethgo.Address, provider *jsonrpc.Client) *ENSRe... function addressToReverseDomain (line 29) | func addressToReverseDomain(addr ethgo.Address) string { FILE: builtin/ens/ens_resolver_test.go function TestResolveAddr (line 17) | func TestResolveAddr(t *testing.T) { FILE: builtin/ens/resolver.go type Resolver (line 21) | type Resolver struct method ABI (line 38) | func (r *Resolver) ABI(node [32]byte, contentTypes *big.Int, block ...... method Addr (line 63) | func (r *Resolver) Addr(node [32]byte, block ...ethgo.BlockNumber) (re... method Content (line 83) | func (r *Resolver) Content(node [32]byte, block ...ethgo.BlockNumber) ... method Name (line 103) | func (r *Resolver) Name(node [32]byte, block ...ethgo.BlockNumber) (re... method Pubkey (line 123) | func (r *Resolver) Pubkey(node [32]byte, block ...ethgo.BlockNumber) (... method SupportsInterface (line 148) | func (r *Resolver) SupportsInterface(interfaceID [4]byte, block ...eth... method SetABI (line 170) | func (r *Resolver) SetABI(node [32]byte, contentType *big.Int, data []... method SetAddr (line 175) | func (r *Resolver) SetAddr(node [32]byte, addr ethgo.Address) (contrac... method SetContent (line 180) | func (r *Resolver) SetContent(node [32]byte, hash [32]byte) (contract.... method SetName (line 185) | func (r *Resolver) SetName(node [32]byte, name string) (contract.Txn, ... method SetPubkey (line 190) | func (r *Resolver) SetPubkey(node [32]byte, x [32]byte, y [32]byte) (c... method ABIChangedEventSig (line 196) | func (r *Resolver) ABIChangedEventSig() ethgo.Hash { method AddrChangedEventSig (line 200) | func (r *Resolver) AddrChangedEventSig() ethgo.Hash { method ContentChangedEventSig (line 204) | func (r *Resolver) ContentChangedEventSig() ethgo.Hash { method NameChangedEventSig (line 208) | func (r *Resolver) NameChangedEventSig() ethgo.Hash { method PubkeyChangedEventSig (line 212) | func (r *Resolver) PubkeyChangedEventSig() ethgo.Hash { function DeployResolver (line 26) | func DeployResolver(provider *jsonrpc.Client, from ethgo.Address, args [... function NewResolver (line 31) | func NewResolver(addr ethgo.Address, opts ...contract.ContractOption) *R... FILE: builtin/ens/resolver_artifacts.go function ResolverAbi (line 13) | func ResolverAbi() *abi.ABI { function ResolverBin (line 20) | func ResolverBin() []byte { function init (line 24) | func init() { FILE: builtin/ens/utils.go function NameHash (line 11) | func NameHash(str string) (node ethgo.Hash) { FILE: builtin/ens/utils_test.go function TestNameHash (line 9) | func TestNameHash(t *testing.T) { FILE: builtin/erc20/erc20.go type ERC20 (line 21) | type ERC20 struct method Allowance (line 33) | func (e *ERC20) Allowance(owner ethgo.Address, spender ethgo.Address, ... method BalanceOf (line 53) | func (e *ERC20) BalanceOf(owner ethgo.Address, block ...ethgo.BlockNum... method Decimals (line 73) | func (e *ERC20) Decimals(block ...ethgo.BlockNumber) (retval0 uint8, e... method Name (line 93) | func (e *ERC20) Name(block ...ethgo.BlockNumber) (retval0 string, err ... method Symbol (line 113) | func (e *ERC20) Symbol(block ...ethgo.BlockNumber) (retval0 string, er... method TotalSupply (line 133) | func (e *ERC20) TotalSupply(block ...ethgo.BlockNumber) (retval0 *big.... method Approve (line 155) | func (e *ERC20) Approve(spender ethgo.Address, value *big.Int) (contra... method Transfer (line 160) | func (e *ERC20) Transfer(to ethgo.Address, value *big.Int) (contract.T... method TransferFrom (line 165) | func (e *ERC20) TransferFrom(from ethgo.Address, to ethgo.Address, val... method ApprovalEventSig (line 171) | func (e *ERC20) ApprovalEventSig() ethgo.Hash { method TransferEventSig (line 175) | func (e *ERC20) TransferEventSig() ethgo.Hash { function NewERC20 (line 26) | func NewERC20(addr ethgo.Address, opts ...contract.ContractOption) *ERC20 { FILE: builtin/erc20/erc20_artifacts.go function ERC20Abi (line 13) | func ERC20Abi() *abi.ABI { function init (line 19) | func init() { FILE: builtin/erc20/erc20_test.go function TestERC20Decimals (line 17) | func TestERC20Decimals(t *testing.T) { function TestERC20Name (line 28) | func TestERC20Name(t *testing.T) { function TestERC20Symbol (line 37) | func TestERC20Symbol(t *testing.T) { function TestTotalSupply (line 46) | func TestTotalSupply(t *testing.T) { FILE: cmd/abigen/abigen.go function Parse (line 17) | func Parse(sources string, pckg string, output string) error { constant solExt (line 58) | solExt = 1 constant abiExt (line 59) | abiExt = 2 constant jsonExt (line 60) | jsonExt = 3 function process (line 63) | func process(sources string, config *config) (map[string]*compiler.Artif... function processSolc (line 102) | func processSolc(sources []string) (map[string]*compiler.Artifact, error) { function processAbi (line 116) | func processAbi(sources []string, config *config) (map[string]*compiler.... type JSONArtifact (line 144) | type JSONArtifact struct function processJson (line 149) | func processJson(sources []string) (map[string]*compiler.Artifact, error) { FILE: cmd/abigen/gen.go type config (line 17) | type config struct function cleanName (line 22) | func cleanName(str string) string { function outputArg (line 26) | func outputArg(str string) string { function handleSnakeCase (line 30) | func handleSnakeCase(str string) string { function funcName (line 46) | func funcName(str string) string { function encodeSimpleArg (line 50) | func encodeSimpleArg(typ *abi.Type) string { function encodeArg (line 81) | func encodeArg(str interface{}) string { function tupleLen (line 89) | func tupleLen(tuple interface{}) interface{} { function tupleElems (line 100) | func tupleElems(tuple interface{}) []interface{} { function isNil (line 116) | func isNil(c interface{}) bool { function gen (line 120) | func gen(artifacts map[string]*compiler.Artifact, config *config, hash s... FILE: cmd/abigen/testdata/testdata.go type Testdata (line 21) | type Testdata struct method CallBasicInput (line 33) | func (t *Testdata) CallBasicInput(block ...ethgo.BlockNumber) (retval0... method TxnBasicInput (line 60) | func (t *Testdata) TxnBasicInput(val1 ethgo.Address, val2 *big.Int) (c... method EventBasicEventSig (line 66) | func (t *Testdata) EventBasicEventSig() ethgo.Hash { function NewTestdata (line 26) | func NewTestdata(addr ethgo.Address, opts ...contract.ContractOption) *T... FILE: cmd/abigen/testdata/testdata_artifacts.go function TestdataAbi (line 13) | func TestdataAbi() *abi.ABI { function init (line 19) | func init() { FILE: cmd/commands/4byte.go type FourByteCommand (line 9) | type FourByteCommand struct method Help (line 14) | func (c *FourByteCommand) Help() string { method Synopsis (line 21) | func (c *FourByteCommand) Synopsis() string { method Run (line 26) | func (c *FourByteCommand) Run(args []string) int { FILE: cmd/commands/abigen.go type AbigenCommand (line 9) | type AbigenCommand struct method Help (line 18) | func (c *AbigenCommand) Help() string { method Synopsis (line 26) | func (c *AbigenCommand) Synopsis() string { method Flags (line 30) | func (c *AbigenCommand) Flags() *flag.FlagSet { method Run (line 41) | func (c *AbigenCommand) Run(args []string) int { FILE: cmd/commands/commands.go function Commands (line 10) | func Commands() map[string]cli.CommandFactory { type baseCommand (line 50) | type baseCommand struct method Flags (line 54) | func (b *baseCommand) Flags(name string) *flag.FlagSet { FILE: cmd/commands/ens.go type EnsCommand (line 8) | type EnsCommand struct method Help (line 13) | func (c *EnsCommand) Help() string { method Synopsis (line 20) | func (c *EnsCommand) Synopsis() string { method Run (line 25) | func (c *EnsCommand) Run(args []string) int { FILE: cmd/commands/ens_resolve.go function defaultJsonRPCProvider (line 11) | func defaultJsonRPCProvider() string { type EnsResolveCommand (line 19) | type EnsResolveCommand struct method Help (line 26) | func (c *EnsResolveCommand) Help() string { method Synopsis (line 34) | func (c *EnsResolveCommand) Synopsis() string { method Flags (line 38) | func (c *EnsResolveCommand) Flags() *flag.FlagSet { method Run (line 46) | func (c *EnsResolveCommand) Run(args []string) int { FILE: cmd/commands/version.go type VersionCommand (line 9) | type VersionCommand struct method Help (line 14) | func (c *VersionCommand) Help() string { method Synopsis (line 21) | func (c *VersionCommand) Synopsis() string { method Run (line 26) | func (c *VersionCommand) Run(args []string) int { FILE: cmd/main.go function main (line 11) | func main() { function Run (line 16) | func Run(args []string) int { FILE: cmd/version/version.go function GetVersion (line 17) | func GetVersion() string { FILE: compiler/solidity.go type Output (line 16) | type Output struct type Source (line 22) | type Source struct type Artifact (line 26) | type Artifact struct type Solidity (line 35) | type Solidity struct method CompileCode (line 45) | func (s *Solidity) CompileCode(code string) (*Output, error) { method Compile (line 57) | func (s *Solidity) Compile(files ...string) (*Output, error) { method compileImpl (line 64) | func (s *Solidity) compileImpl(code string, files ...string) (*Output,... function NewSolidityCompiler (line 40) | func NewSolidityCompiler(path string) *Solidity { function DownloadSolidity (line 97) | func DownloadSolidity(version string, dst string, renameDst bool) error { FILE: compiler/solidity_test.go function init (line 21) | func init() { function TestSolidityInline (line 36) | func TestSolidityInline(t *testing.T) { function TestSolidity (line 92) | func TestSolidity(t *testing.T) { function existsSolidity (line 108) | func existsSolidity(t *testing.T, path string) bool { function TestDownloadSolidityCompiler (line 130) | func TestDownloadSolidityCompiler(t *testing.T) { FILE: contract/contract.go type Provider (line 15) | type Provider interface type jsonRPCNodeProvider (line 20) | type jsonRPCNodeProvider struct method Call (line 25) | func (j *jsonRPCNodeProvider) Call(addr ethgo.Address, input []byte, o... method Txn (line 44) | func (j *jsonRPCNodeProvider) Txn(addr ethgo.Address, key ethgo.Key, i... type jsonrpcTransaction (line 56) | type jsonrpcTransaction struct method Hash (line 68) | func (j *jsonrpcTransaction) Hash() ethgo.Hash { method WithOpts (line 72) | func (j *jsonrpcTransaction) WithOpts(opts *TxnOpts) { method Build (line 76) | func (j *jsonrpcTransaction) Build() error { method Do (line 147) | func (j *jsonrpcTransaction) Do() error { method Wait (line 173) | func (j *jsonrpcTransaction) Wait() (*ethgo.Receipt, error) { type Txn (line 192) | type Txn interface type Opts (line 199) | type Opts struct type ContractOption (line 207) | type ContractOption function WithJsonRPCEndpoint (line 209) | func WithJsonRPCEndpoint(endpoint string) ContractOption { function WithJsonRPC (line 215) | func WithJsonRPC(client *jsonrpc.Eth) ContractOption { function WithProvider (line 221) | func WithProvider(provider Provider) ContractOption { function WithSender (line 227) | func WithSender(sender ethgo.Key) ContractOption { function WithEIP1559 (line 233) | func WithEIP1559() ContractOption { function DeployContract (line 239) | func DeployContract(abi *abi.ABI, bin []byte, args []interface{}, opts .... function NewContract (line 245) | func NewContract(addr ethgo.Address, abi *abi.ABI, opts ...ContractOptio... type Contract (line 274) | type Contract struct method GetABI (line 282) | func (a *Contract) GetABI() *abi.ABI { method Txn (line 293) | func (a *Contract) Txn(method string, args ...interface{}) (Txn, error) { method Call (line 339) | func (a *Contract) Call(method string, block ethgo.BlockNumber, args .... type TxnOpts (line 286) | type TxnOpts struct type CallOpts (line 334) | type CallOpts struct FILE: contract/contract_test.go function TestContract_NoInput (line 22) | func TestContract_NoInput(t *testing.T) { function TestContract_IO (line 52) | func TestContract_IO(t *testing.T) { function TestContract_From (line 73) | func TestContract_From(t *testing.T) { function TestContract_Deploy (line 97) | func TestContract_Deploy(t *testing.T) { function TestContract_Transaction (line 135) | func TestContract_Transaction(t *testing.T) { function TestContract_CallAtBlock (line 168) | func TestContract_CallAtBlock(t *testing.T) { function TestContract_SendValueContractCall (line 227) | func TestContract_SendValueContractCall(t *testing.T) { function TestContract_EIP1559 (line 266) | func TestContract_EIP1559(t *testing.T) { FILE: e2e/transaction_test.go function TestSendSignedTransaction (line 14) | func TestSendSignedTransaction(t *testing.T) { FILE: encoding.go type ArgBig (line 10) | type ArgBig method UnmarshalText (line 12) | func (a *ArgBig) UnmarshalText(input []byte) error { method MarshalText (line 23) | func (a ArgBig) MarshalText() ([]byte, error) { type ArgUint64 (line 28) | type ArgUint64 method MarshalText (line 30) | func (b ArgUint64) MarshalText() ([]byte, error) { method UnmarshalText (line 37) | func (u *ArgUint64) UnmarshalText(input []byte) error { method Uint64 (line 50) | func (u *ArgUint64) Uint64() uint64 { type ArgBytes (line 54) | type ArgBytes method MarshalText (line 56) | func (b ArgBytes) MarshalText() ([]byte, error) { method UnmarshalText (line 60) | func (b *ArgBytes) UnmarshalText(input []byte) error { method Bytes (line 71) | func (b *ArgBytes) Bytes() []byte { function decodeToHex (line 75) | func decodeToHex(b []byte) ([]byte, error) { function encodeToHex (line 84) | func encodeToHex(b []byte) []byte { FILE: ens/ens.go type EnsConfig (line 12) | type EnsConfig struct type EnsOption (line 19) | type EnsOption function WithResolver (line 21) | func WithResolver(resolver ethgo.Address) EnsOption { function WithLogger (line 27) | func WithLogger(logger *log.Logger) EnsOption { function WithAddress (line 33) | func WithAddress(addr string) EnsOption { function WithClient (line 39) | func WithClient(client *jsonrpc.Client) EnsOption { type ENS (line 45) | type ENS struct method Resolve (line 85) | func (e *ENS) Resolve(name string) (ethgo.Address, error) { method ReverseResolve (line 90) | func (e *ENS) ReverseResolve(addr ethgo.Address) (string, error) { function NewENS (line 49) | func NewENS(opts ...EnsOption) (*ENS, error) { FILE: ens/ens_test.go function TestENS_Resolve (line 11) | func TestENS_Resolve(t *testing.T) { FILE: etherscan/etherscan.go type Etherscan (line 15) | type Etherscan struct method Query (line 55) | func (e *Etherscan) Query(module, action string, out interface{}, para... method BlockNumber (line 108) | func (e *Etherscan) BlockNumber() (uint64, error) { method GetBlockByNumber (line 117) | func (e *Etherscan) GetBlockByNumber(i ethgo.BlockNumber, full bool) (... method GetContractCode (line 137) | func (e *Etherscan) GetContractCode(addr ethgo.Address) (*ContractCode... method GasPrice (line 151) | func (e *Etherscan) GasPrice() (uint64, error) { method GetLogs (line 165) | func (e *Etherscan) GetLogs(filter *ethgo.LogFilter) ([]*ethgo.Log, er... function NewEtherscanFromNetwork (line 22) | func NewEtherscanFromNetwork(n ethgo.Network, apiKey string) (*Etherscan... function NewEtherscan (line 44) | func NewEtherscan(url, apiKey string) *Etherscan { type proxyResponse (line 48) | type proxyResponse struct type ContractCode (line 129) | type ContractCode struct function parseUint64orHex (line 200) | func parseUint64orHex(str string) (uint64, error) { FILE: etherscan/etherscan_test.go function testEtherscanMainnet (line 11) | func testEtherscanMainnet(t *testing.T) *Etherscan { function TestNewEtherscan (line 19) | func TestNewEtherscan(t *testing.T) { function TestBlockByNumber (line 27) | func TestBlockByNumber(t *testing.T) { function TestGetBlockByNumber (line 34) | func TestGetBlockByNumber(t *testing.T) { function TestContract (line 41) | func TestContract(t *testing.T) { function TestGetLogs (line 50) | func TestGetLogs(t *testing.T) { function TestGasPrice (line 68) | func TestGasPrice(t *testing.T) { FILE: examples/contract-call-basic.go function handleErr (line 13) | func handleErr(err error) { function contractCall (line 20) | func contractCall() { FILE: examples/contract-call-from.go function contractCallFrom (line 14) | func contractCallFrom() { FILE: examples/contract-deploy.go function contractDeploy (line 10) | func contractDeploy() { FILE: examples/contract-transaction.go function contractTransaction (line 13) | func contractTransaction() { FILE: jsonrpc/client.go type Client (line 8) | type Client struct method Close (line 55) | func (c *Client) Close() error { method Call (line 60) | func (c *Client) Call(method string, out interface{}, params ...interf... method SetMaxConnsLimit (line 65) | func (c *Client) SetMaxConnsLimit(count int) { type endpoints (line 13) | type endpoints struct type Config (line 20) | type Config struct type ConfigOption (line 24) | type ConfigOption function WithHeaders (line 26) | func WithHeaders(headers map[string]string) ConfigOption { function NewClient (line 34) | func NewClient(addr string, opts ...ConfigOption) (*Client, error) { FILE: jsonrpc/codec/codec.go type Request (line 9) | type Request struct type Response (line 17) | type Response struct type ErrorObject (line 24) | type ErrorObject struct method Error (line 37) | func (e *ErrorObject) Error() string { type Subscription (line 31) | type Subscription struct FILE: jsonrpc/debug.go type Debug (line 5) | type Debug struct method TraceTransaction (line 41) | func (d *Debug) TraceTransaction(hash ethgo.Hash, opts TraceTransactio... method Debug (line 10) | func (c *Client) Debug() *Debug { type TraceTransactionOptions (line 14) | type TraceTransactionOptions struct type TransactionTrace (line 24) | type TransactionTrace struct type StructLogs (line 30) | type StructLogs struct FILE: jsonrpc/debug_test.go function TestDebug_TraceTransaction (line 11) | func TestDebug_TraceTransaction(t *testing.T) { FILE: jsonrpc/eth.go type Eth (line 13) | type Eth struct method GetCode (line 23) | func (e *Eth) GetCode(addr ethgo.Address, block ethgo.BlockNumberOrHas... method Accounts (line 32) | func (e *Eth) Accounts() ([]ethgo.Address, error) { method GetStorageAt (line 41) | func (e *Eth) GetStorageAt(addr ethgo.Address, slot ethgo.Hash, block ... method BlockNumber (line 48) | func (e *Eth) BlockNumber() (uint64, error) { method GetBlockByNumber (line 57) | func (e *Eth) GetBlockByNumber(i ethgo.BlockNumber, full bool) (*ethgo... method GetBlockByHash (line 66) | func (e *Eth) GetBlockByHash(hash ethgo.Hash, full bool) (*ethgo.Block... method GetFilterChanges (line 75) | func (e *Eth) GetFilterChanges(id string) ([]*ethgo.Log, error) { method GetTransactionByHash (line 84) | func (e *Eth) GetTransactionByHash(hash ethgo.Hash) (*ethgo.Transactio... method GetFilterChangesBlock (line 91) | func (e *Eth) GetFilterChangesBlock(id string) ([]ethgo.Hash, error) { method NewFilter (line 100) | func (e *Eth) NewFilter(filter *ethgo.LogFilter) (string, error) { method NewBlockFilter (line 107) | func (e *Eth) NewBlockFilter() (string, error) { method UninstallFilter (line 114) | func (e *Eth) UninstallFilter(id string) (bool, error) { method SendRawTransaction (line 121) | func (e *Eth) SendRawTransaction(data []byte) (ethgo.Hash, error) { method SendTransaction (line 129) | func (e *Eth) SendTransaction(txn *ethgo.Transaction) (ethgo.Hash, err... method GetTransactionReceipt (line 136) | func (e *Eth) GetTransactionReceipt(hash ethgo.Hash) (*ethgo.Receipt, ... method GetNonce (line 143) | func (e *Eth) GetNonce(addr ethgo.Address, blockNumber ethgo.BlockNumb... method GetBalance (line 152) | func (e *Eth) GetBalance(addr ethgo.Address, blockNumber ethgo.BlockNu... method GasPrice (line 165) | func (e *Eth) GasPrice() (uint64, error) { method Call (line 174) | func (e *Eth) Call(msg *ethgo.CallMsg, block ethgo.BlockNumber, overri... method EstimateGasContract (line 189) | func (e *Eth) EstimateGasContract(bin []byte) (uint64, error) { method EstimateGas (line 201) | func (e *Eth) EstimateGas(msg *ethgo.CallMsg) (uint64, error) { method GetLogs (line 210) | func (e *Eth) GetLogs(filter *ethgo.LogFilter) ([]*ethgo.Log, error) { method ChainID (line 219) | func (e *Eth) ChainID() (*big.Int, error) { method FeeHistory (line 269) | func (e *Eth) FeeHistory(blockCount uint64, newestBlock ethgo.BlockNum... method MaxPriorityFeePerGas (line 279) | func (e *Eth) MaxPriorityFeePerGas() (*big.Int, error) { method Eth (line 18) | func (c *Client) Eth() *Eth { type FeeHistory (line 228) | type FeeHistory struct method UnmarshalJSON (line 235) | func (f *FeeHistory) UnmarshalJSON(data []byte) error { FILE: jsonrpc/eth_test.go function TestEthAccounts (line 22) | func TestEthAccounts(t *testing.T) { function TestEthBlockNumber (line 32) | func TestEthBlockNumber(t *testing.T) { function TestEthGetCode (line 53) | func TestEthGetCode(t *testing.T) { function TestEthGetBalance (line 78) | func TestEthGetBalance(t *testing.T) { function TestEthGetBlockByNumber (line 92) | func TestEthGetBlockByNumber(t *testing.T) { function TestEthGetBlockByHash (line 111) | func TestEthGetBlockByHash(t *testing.T) { function TestEthGasPrice (line 128) | func TestEthGasPrice(t *testing.T) { function TestEthSendTransaction (line 138) | func TestEthSendTransaction(t *testing.T) { function TestEthEstimateGas (line 165) | func TestEthEstimateGas(t *testing.T) { function TestEthGetLogs (line 199) | func TestEthGetLogs(t *testing.T) { function TestEthChainID (line 238) | func TestEthChainID(t *testing.T) { function TestEthCall (line 249) | func TestEthCall(t *testing.T) { function TestEthGetNonce (line 297) | func TestEthGetNonce(t *testing.T) { function TestEthTransactionsInBlock (line 318) | func TestEthTransactionsInBlock(t *testing.T) { function TestEthGetStorageAt (line 354) | func TestEthGetStorageAt(t *testing.T) { function TestEthFeeHistory (line 391) | func TestEthFeeHistory(t *testing.T) { function TestEthMaxPriorityFeePerGas (line 402) | func TestEthMaxPriorityFeePerGas(t *testing.T) { FILE: jsonrpc/net.go type Net (line 4) | type Net struct method Version (line 14) | func (n *Net) Version() (uint64, error) { method Listening (line 23) | func (n *Net) Listening() (bool, error) { method PeerCount (line 30) | func (n *Net) PeerCount() (uint64, error) { method Net (line 9) | func (c *Client) Net() *Net { FILE: jsonrpc/net_test.go function TestNetVersion (line 10) | func TestNetVersion(t *testing.T) { function TestNetListening (line 20) | func TestNetListening(t *testing.T) { function TestNetPeerCount (line 31) | func TestNetPeerCount(t *testing.T) { FILE: jsonrpc/subscribe.go method SubscriptionEnabled (line 10) | func (c *Client) SubscriptionEnabled() bool { method Subscribe (line 16) | func (c *Client) Subscribe(method string, callback func(b []byte)) (func... FILE: jsonrpc/subscribe_test.go function TestSubscribeNewHead (line 13) | func TestSubscribeNewHead(t *testing.T) { FILE: jsonrpc/transport/http.go type HTTP (line 12) | type HTTP struct method Close (line 29) | func (h *HTTP) Close() error { method Call (line 34) | func (h *HTTP) Call(method string, out interface{}, params ...interfac... method SetMaxConnsPerHost (line 92) | func (h *HTTP) SetMaxConnsPerHost(count int) { function newHTTP (line 18) | func newHTTP(addr string, headers map[string]string) *HTTP { FILE: jsonrpc/transport/ipc.go function newIPC (line 8) | func newIPC(addr string) (Transport, error) { type ipcCodec (line 23) | type ipcCodec struct method Close (line 29) | func (i *ipcCodec) Close() error { method Read (line 33) | func (i *ipcCodec) Read(b []byte) ([]byte, error) { method Write (line 42) | func (i *ipcCodec) Write(b []byte) error { FILE: jsonrpc/transport/transport.go type Transport (line 9) | type Transport interface type PubSubTransport (line 21) | type PubSubTransport interface constant wsPrefix (line 27) | wsPrefix = "ws://" constant wssPrefix (line 28) | wssPrefix = "wss://" function NewTransport (line 32) | func NewTransport(url string, headers map[string]string) (Transport, err... FILE: jsonrpc/transport/websocket.go function newWebsocket (line 15) | func newWebsocket(url string, headers map[string]string) (Transport, err... type ackMessage (line 33) | type ackMessage struct type callback (line 38) | type callback type stream (line 40) | type stream struct method Close (line 69) | func (s *stream) Close() error { method incSeq (line 74) | func (s *stream) incSeq() uint64 { method isClosed (line 78) | func (s *stream) isClosed() bool { method listen (line 87) | func (s *stream) listen() { method handleSubscription (line 121) | func (s *stream) handleSubscription(response codec.Request) { method handleMsg (line 139) | func (s *stream) handleMsg(response codec.Response) { method setHandler (line 158) | func (s *stream) setHandler(id uint64, ack chan *ackMessage) { method Call (line 183) | func (s *stream) Call(method string, out interface{}, params ...interf... method unsubscribe (line 219) | func (s *stream) unsubscribe(id string) error { method setSubscription (line 238) | func (s *stream) setSubscription(id string, callback func(b []byte)) { method Subscribe (line 246) | func (s *stream) Subscribe(method string, callback func(b []byte)) (fu... method SetMaxConnsPerHost (line 260) | func (s *stream) SetMaxConnsPerHost(count int) { function newStream (line 56) | func newStream(codec Codec) (*stream, error) { type websocketCodec (line 263) | type websocketCodec struct method Close (line 267) | func (w *websocketCodec) Close() error { method Write (line 271) | func (w *websocketCodec) Write(b []byte) error { method Read (line 275) | func (w *websocketCodec) Read(b []byte) ([]byte, error) { type Codec (line 285) | type Codec interface FILE: jsonrpc/util.go type ArgBig (line 11) | type ArgBig method UnmarshalText (line 13) | func (a *ArgBig) UnmarshalText(input []byte) error { method Big (line 24) | func (a *ArgBig) Big() *big.Int { function encodeUintToHex (line 29) | func encodeUintToHex(i uint64) string { function parseBigInt (line 33) | func parseBigInt(str string) *big.Int { function parseUint64orHex (line 40) | func parseUint64orHex(str string) (uint64, error) { function encodeToHex (line 49) | func encodeToHex(b []byte) string { function parseHexBytes (line 53) | func parseHexBytes(str string) ([]byte, error) { FILE: jsonrpc/web3.go type Web3 (line 4) | type Web3 struct method ClientVersion (line 14) | func (w *Web3) ClientVersion() (string, error) { method Sha3 (line 21) | func (w *Web3) Sha3(val []byte) ([]byte, error) { method Web3 (line 9) | func (c *Client) Web3() *Web3 { FILE: jsonrpc/web3_test.go function TestWeb3ClientVersion (line 11) | func TestWeb3ClientVersion(t *testing.T) { function TestWeb3Sha3 (line 21) | func TestWeb3Sha3(t *testing.T) { FILE: keccak.go function Keccak256 (line 6) | func Keccak256(v ...[]byte) []byte { FILE: keystore/utils.go function getRand (line 17) | func getRand(size int) []byte { type hexString (line 23) | type hexString method MarshalJSON (line 25) | func (h hexString) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 30) | func (h *hexString) UnmarshalJSON(data []byte) error { function aesCTR (line 42) | func aesCTR(key, cipherText, iv []byte) ([]byte, error) { type pbkdf2Params (line 55) | type pbkdf2Params struct method Key (line 62) | func (p *pbkdf2Params) Key(password []byte) []byte { type scryptParams (line 66) | type scryptParams struct method Key (line 74) | func (s *scryptParams) Key(password []byte) ([]byte, error) { function applyKdf (line 78) | func applyKdf(fn string, password, paramsRaw []byte) ([]byte, error) { FILE: keystore/v3.go function EncryptV3 (line 13) | func EncryptV3(content []byte, password string, customScrypt ...int) ([]... function DecryptV3 (line 69) | func DecryptV3(content []byte, password string) ([]byte, error) { type v3Encoding (line 100) | type v3Encoding struct method Marshal (line 106) | func (j *v3Encoding) Marshal() ([]byte, error) { method Unmarshal (line 115) | func (j *v3Encoding) Unmarshal(data []byte) error { type cryptoEncoding (line 119) | type cryptoEncoding struct FILE: keystore/v3_test.go function TestV3_EncodeDecode (line 9) | func TestV3_EncodeDecode(t *testing.T) { FILE: keystore/v4.go function EncryptV4 (line 13) | func EncryptV4(content []byte, password string) ([]byte, error) { type cipherParams (line 73) | type cipherParams struct function DecryptV4 (line 77) | func DecryptV4(content []byte, password string) ([]byte, error) { type v4Encoding (line 122) | type v4Encoding struct method Marshal (line 131) | func (j *v4Encoding) Marshal() ([]byte, error) { method Unmarshal (line 135) | func (j *v4Encoding) Unmarshal(data []byte) error { type v4crypto (line 139) | type v4crypto struct type v4Module (line 145) | type v4Module struct function normalizePassword (line 153) | func normalizePassword(password string) string { FILE: keystore/v4_test.go function TestV4_EncodeDecode (line 9) | func TestV4_EncodeDecode(t *testing.T) { function TestV4_NormalizePassword (line 22) | func TestV4_NormalizePassword(t *testing.T) { FILE: networks.go type Network (line 4) | type Network constant Mainnet (line 8) | Mainnet Network = 1 constant Ropsten (line 11) | Ropsten Network = 3 constant Rinkeby (line 14) | Rinkeby Network = 4 constant Goerli (line 17) | Goerli Network = 5 FILE: signing/eip712.go type EIP712MessageBuilder (line 15) | type EIP712MessageBuilder struct method GetEncodedType (line 21) | func (e *EIP712MessageBuilder[T]) GetEncodedType() string { function NewEIP712MessageBuilder (line 25) | func NewEIP712MessageBuilder[T any](domain *EIP712Domain) *EIP712Message... function decodeStructType (line 38) | func decodeStructType(typ reflect.Type, result *map[string][]*EIP712Type... function isByteSlice (line 67) | func isByteSlice(t reflect.Type) bool { function isByteArray (line 71) | func isByteArray(t reflect.Type) bool { function decodeTypes (line 80) | func decodeTypes(val reflect.Type, result *map[string][]*EIP712Type) str... method Build (line 130) | func (e *EIP712MessageBuilder[T]) Build(obj *T) *EIP712TypedData { function structToMap (line 142) | func structToMap(v reflect.Value) map[string]interface{} { function sliceToArray (line 202) | func sliceToArray(slice interface{}) interface{} { type EIP712Type (line 222) | type EIP712Type struct type EIP712TypedData (line 227) | type EIP712TypedData struct method Hash (line 234) | func (t *EIP712TypedData) Hash() ([]byte, error) { type EIP712Domain (line 253) | type EIP712Domain struct method hashStruct (line 279) | func (e *EIP712Domain) hashStruct() ([]byte, error) { method getObjs (line 285) | func (e *EIP712Domain) getObjs() ([]*EIP712Type, map[string]interface{... function hashStruct (line 261) | func hashStruct(primary string, types map[string][]*EIP712Type, data map... function encodeData (line 317) | func encodeData(primary string, types map[string][]*EIP712Type, data map... function encodeItem (line 337) | func encodeItem(typ string, types map[string][]*EIP712Type, val interfac... function getDependencies (line 397) | func getDependencies(primary string, types map[string][]*EIP712Type) []s... function encodeType (line 440) | func encodeType(primary string, types map[string][]*EIP712Type) string { function decodeHexString (line 455) | func decodeHexString(str string) ([]byte, error) { FILE: signing/eip712_test.go type Message (line 11) | type Message struct type Message2 (line 19) | type Message2 struct function TestBuildMessage_Encode (line 24) | func TestBuildMessage_Encode(t *testing.T) { function TestBuildMessage_BasicTypes (line 54) | func TestBuildMessage_BasicTypes(t *testing.T) { FILE: structs.go type Address (line 20) | type Address method Address (line 41) | func (a Address) Address() Address { method Sign (line 46) | func (a Address) Sign(hash []byte) ([]byte, error) { method UnmarshalText (line 51) | func (a *Address) UnmarshalText(b []byte) error { method MarshalText (line 56) | func (a Address) MarshalText() ([]byte, error) { method Bytes (line 61) | func (a Address) Bytes() []byte { method String (line 65) | func (a Address) String() string { method checksumEncode (line 69) | func (a Address) checksumEncode() string { function HexToAddress (line 23) | func HexToAddress(str string) Address { function BytesToAddress (line 30) | func BytesToAddress(b []byte) Address { type Hash (line 89) | type Hash method UnmarshalText (line 110) | func (h *Hash) UnmarshalText(b []byte) error { method MarshalText (line 115) | func (h Hash) MarshalText() ([]byte, error) { method Bytes (line 120) | func (h Hash) Bytes() []byte { method String (line 124) | func (h Hash) String() string { method Location (line 128) | func (h Hash) Location() string { function HexToHash (line 92) | func HexToHash(str string) Hash { function BytesToHash (line 99) | func BytesToHash(b []byte) Hash { type Block (line 132) | type Block struct method Copy (line 154) | func (b *Block) Copy() *Block { type TransactionType (line 168) | type TransactionType constant TransactionLegacy (line 171) | TransactionLegacy TransactionType = 0 constant TransactionAccessList (line 173) | TransactionAccessList TransactionType = 1 constant TransactionDynamicFee (line 175) | TransactionDynamicFee TransactionType = 2 type Transaction (line 178) | type Transaction struct method Copy (line 208) | func (t *Transaction) Copy() *Transaction { type AccessEntry (line 235) | type AccessEntry struct type AccessList (line 240) | type AccessList method Copy (line 242) | func (a *AccessList) Copy() AccessList { type CallMsg (line 255) | type CallMsg struct type LogFilter (line 264) | type LogFilter struct method SetFromUint64 (line 272) | func (l *LogFilter) SetFromUint64(num uint64) { method SetToUint64 (line 277) | func (l *LogFilter) SetToUint64(num uint64) { method SetTo (line 282) | func (l *LogFilter) SetTo(b BlockNumber) { type Receipt (line 286) | type Receipt struct method Copy (line 301) | func (r *Receipt) Copy() *Receipt { type Log (line 312) | type Log struct method Copy (line 324) | func (l *Log) Copy() *Log { type BlockNumber (line 331) | type BlockNumber method Location (line 339) | func (b BlockNumber) Location() string { method String (line 343) | func (b BlockNumber) String() string { constant Latest (line 334) | Latest BlockNumber = -1 constant Earliest (line 335) | Earliest BlockNumber = -2 constant Pending (line 336) | Pending BlockNumber = -3 function EncodeBlock (line 358) | func EncodeBlock(block ...BlockNumber) BlockNumber { type BlockNumberOrHash (line 365) | type BlockNumberOrHash interface function min (line 369) | func min(i, j int) int { type Key (line 376) | type Key interface function completeHex (line 381) | func completeHex(str string, num int) []byte { type OverrideAccount (line 397) | type OverrideAccount struct type StateOverride (line 405) | type StateOverride FILE: structs_encoding_test.go function compactJSON (line 14) | func compactJSON(s string) string { function TestDecodeL2Block (line 22) | func TestDecodeL2Block(t *testing.T) { function TestEncodingJSON_Block (line 33) | func TestEncodingJSON_Block(t *testing.T) { function TestEncodingJSON_Transaction (line 50) | func TestEncodingJSON_Transaction(t *testing.T) { type testFile (line 71) | type testFile struct function readTestsuite (line 76) | func readTestsuite(t *testing.T, pattern string) (res []*testFile) { FILE: structs_marshal.go method MarshalJSON (line 14) | func (l *Log) MarshalJSON() ([]byte, error) { method MarshalJSON (line 44) | func (t *Block) MarshalJSON() ([]byte, error) { method MarshalJSON (line 104) | func (t *Transaction) MarshalJSON() ([]byte, error) { method marshalJSON (line 114) | func (t *Transaction) marshalJSON(a *fastjson.Arena) *fastjson.Value { method marshalJSON (line 174) | func (t *AccessList) marshalJSON(a *fastjson.Arena) *fastjson.Value { method MarshalJSON (line 191) | func (c *CallMsg) MarshalJSON() ([]byte, error) { method MarshalJSON (line 219) | func (l *LogFilter) MarshalJSON() ([]byte, error) { method MarshalJSON (line 271) | func (s StateOverride) MarshalJSON() ([]byte, error) { FILE: structs_marshal_rlp.go method GetHash (line 11) | func (t *Transaction) GetHash() (hash Hash, err error) { method MarshalRLPTo (line 20) | func (t *Transaction) MarshalRLPTo(dst []byte) ([]byte, error) { method MarshalRLPWith (line 33) | func (t *Transaction) MarshalRLPWith(arena *fastrlp.Arena) (*fastrlp.Val... method UnmarshalRLP (line 84) | func (t *Transaction) UnmarshalRLP(buf []byte) error { method UnmarshalRLPWith (line 108) | func (t *Transaction) UnmarshalRLPWith(v *fastrlp.Value) error { method MarshalRLPTo (line 212) | func (a *AccessList) MarshalRLPTo(dst []byte) ([]byte, error) { method MarshalRLPWith (line 216) | func (a *AccessList) MarshalRLPWith(arena *fastrlp.Arena) (*fastrlp.Valu... method UnmarshalRLP (line 238) | func (a *AccessList) UnmarshalRLP(buf []byte) error { method UnmarshalRLPWith (line 242) | func (a *AccessList) UnmarshalRLPWith(v *fastrlp.Value) error { FILE: structs_marshal_rlp_test.go function TestEncodingRLP_Transaction_Fuzz (line 11) | func TestEncodingRLP_Transaction_Fuzz(t *testing.T) { function TestEncodingRLP_AccessList_Fuzz (line 45) | func TestEncodingRLP_AccessList_Fuzz(t *testing.T) { FILE: structs_marshal_test.go function generateHashPtr (line 12) | func generateHashPtr(input string) *Hash { function TestLogFilter_MarshalJSON (line 17) | func TestLogFilter_MarshalJSON(t *testing.T) { function TestMarshal_StateOverride (line 100) | func TestMarshal_StateOverride(t *testing.T) { FILE: structs_test.go function TestAddress_Checksum (line 13) | func TestAddress_Checksum(t *testing.T) { function TestAddress_HexToString (line 40) | func TestAddress_HexToString(t *testing.T) { function TestHash_HexToString (line 46) | func TestHash_HexToString(t *testing.T) { function TestBlock_Copy (line 50) | func TestBlock_Copy(t *testing.T) { function TestTransaction_Copy (line 62) | func TestTransaction_Copy(t *testing.T) { function TestReceipt_Copy (line 84) | func TestReceipt_Copy(t *testing.T) { function TestLog_Copy (line 98) | func TestLog_Copy(t *testing.T) { function TestReceipt_Unmarshal (line 112) | func TestReceipt_Unmarshal(t *testing.T) { FILE: structs_unmarshal.go method UnmarshalJSON (line 16) | func (b *Block) UnmarshalJSON(buf []byte) error { method UnmarshalJSON (line 116) | func (t *Transaction) UnmarshalJSON(buf []byte) error { function isKeySet (line 129) | func isKeySet(v *fastjson.Value, key string) bool { method unmarshalJSON (line 134) | func (t *Transaction) unmarshalJSON(v *fastjson.Value) error { method unmarshalJSON (line 254) | func (t *AccessList) unmarshalJSON(v *fastjson.Value) error { method UnmarshalJSON (line 285) | func (r *Receipt) UnmarshalJSON(buf []byte) error { method UnmarshalJSON (line 354) | func (lf *LogFilter) UnmarshalJSON(buf []byte) error { method UnmarshalJSON (line 471) | func (r *Log) UnmarshalJSON(buf []byte) error { method unmarshalJSON (line 482) | func (r *Log) unmarshalJSON(v *fastjson.Value) error { function fieldNotFull (line 530) | func fieldNotFull(v *fastjson.Value, key string) bool { function decodeBigInt (line 541) | func decodeBigInt(b *big.Int, v *fastjson.Value, key string) (*big.Int, ... function decodeBytes (line 564) | func decodeBytes(dst []byte, v *fastjson.Value, key string, bits ...int)... function decodeUint (line 590) | func decodeUint(v *fastjson.Value, key string) (uint64, error) { function decodeInt64 (line 613) | func decodeInt64(v *fastjson.Value, key string) (int64, error) { function decodeNonce (line 636) | func decodeNonce(n *[8]byte, v *fastjson.Value, key string) error { function decodeHash (line 648) | func decodeHash(h *Hash, v *fastjson.Value, key string) error { function decodeAddr (line 663) | func decodeAddr(a *Address, v *fastjson.Value, key string) error { function decodeBool (line 672) | func decodeBool(v *fastjson.Value, key string) (bool, error) { function unmarshalTextByte (line 686) | func unmarshalTextByte(dst, src []byte, size int) error { FILE: testcases/accounts_test.go function TestAccounts (line 14) | func TestAccounts(t *testing.T) { FILE: testcases/contract_test.go function TestContract_Signatures (line 13) | func TestContract_Signatures(t *testing.T) { function TestContract_Interface (line 31) | func TestContract_Interface(t *testing.T) { FILE: testcases/eip712_test.go type eip712Testcase (line 12) | type eip712Testcase struct method getDomain (line 30) | func (e *eip712Testcase) getDomain() *signing.EIP712Domain { function TestEIP712 (line 53) | func TestEIP712(t *testing.T) { FILE: testcases/transaction_test.go function getUint64FromBigInt (line 13) | func getUint64FromBigInt(b *ethgo.ArgBig) (uint64, bool) { function TestTransactions (line 21) | func TestTransactions(t *testing.T) { function TestTypedTransactions (line 86) | func TestTypedTransactions(t *testing.T) { FILE: testcases/util.go function ReadTestCase (line 15) | func ReadTestCase(t *testing.T, name string, target interface{}) { FILE: testutil/contract.go type Contract (line 14) | type Contract struct method AddEvent (line 20) | func (c *Contract) AddEvent(e *Event) { method GetEvent (line 30) | func (c *Contract) GetEvent(name string) *Event { method Print (line 40) | func (c *Contract) Print() string { method AddCallback (line 54) | func (c *Contract) AddCallback(f func() string) { method Compile (line 62) | func (c *Contract) Compile() (*compiler.Artifact, error) { method AddConstructor (line 75) | func (c *Contract) AddConstructor(args ...string) { method AddDualCaller (line 97) | func (c *Contract) AddDualCaller(funcName string, args ...string) { method AddOutputCaller (line 118) | func (c *Contract) AddOutputCaller(funcName string) { method EmitEvent (line 127) | func (c *Contract) EmitEvent(funcName string, name string, args ...str... type eventField (line 145) | type eventField struct type Event (line 151) | type Event struct method printDecl (line 156) | func (e *Event) printDecl() string { method printSetter (line 169) | func (e *Event) printSetter() string { method Add (line 192) | func (e *Event) Add(typStr string, indexed bool) *Event { method Sig (line 201) | func (e *Event) Sig() string { function NewEvent (line 216) | func NewEvent(name string, args ...interface{}) *Event { FILE: testutil/mock.go type mockCall (line 14) | type mockCall constant blockByNumberCall (line 17) | blockByNumberCall mockCall = iota constant blockByHashCall (line 18) | blockByHashCall constant blockNumberCall (line 19) | blockNumberCall constant getLogsCall (line 20) | getLogsCall type MockClient (line 23) | type MockClient struct method SetChainID (line 32) | func (m *MockClient) SetChainID(id *big.Int) { method ChainID (line 36) | func (d *MockClient) ChainID() (*big.Int, error) { method GetLastBlocks (line 43) | func (d *MockClient) GetLastBlocks(n uint64) (res []*ethgo.Block) { method GetAllLogs (line 58) | func (d *MockClient) GetAllLogs() (res []*ethgo.Log) { method AddScenario (line 68) | func (d *MockClient) AddScenario(m MockList) { method AddLogs (line 102) | func (d *MockClient) AddLogs(logs []*ethgo.Log) { method addBlocks (line 117) | func (d *MockClient) addBlocks(bb ...*ethgo.Block) { method BlockNumber (line 133) | func (d *MockClient) BlockNumber() (uint64, error) { method GetBlockByHash (line 140) | func (d *MockClient) GetBlockByHash(hash ethgo.Hash, full bool) (*ethg... method blockByNumberLock (line 151) | func (d *MockClient) blockByNumberLock(i uint64) (*ethgo.Block, error) { method GetBlockByNumber (line 159) | func (d *MockClient) GetBlockByNumber(i ethgo.BlockNumber, full bool) ... method GetLogs (line 177) | func (d *MockClient) GetLogs(filter *ethgo.LogFilter) ([]*ethgo.Log, e... type MockLog (line 207) | type MockLog struct type MockBlock (line 211) | type MockBlock struct method Extra (line 233) | func (m *MockBlock) Extra(data string) *MockBlock { method GetLogs (line 238) | func (m *MockBlock) GetLogs() (logs []*ethgo.Log) { method Log (line 245) | func (m *MockBlock) Log(data string) *MockBlock { method GetNum (line 250) | func (m *MockBlock) GetNum() int { method Num (line 254) | func (m *MockBlock) Num(i int) *MockBlock { method Parent (line 259) | func (m *MockBlock) Parent(i int) *MockBlock { method Hash (line 277) | func (m *MockBlock) Hash() ethgo.Hash { method Block (line 281) | func (m *MockBlock) Block() *ethgo.Block { function mustDecodeHash (line 219) | func mustDecodeHash(str string) []byte { function encodeHash (line 265) | func encodeHash(str string) (h ethgo.Hash) { function Mock (line 292) | func Mock(number int) *MockBlock { type MockList (line 296) | type MockList method Create (line 298) | func (m *MockList) Create(from, to int, callback func(b *MockBlock)) { method GetLogs (line 306) | func (m *MockList) GetLogs() (res []*ethgo.Log) { method ToBlocks (line 313) | func (m *MockList) ToBlocks() []*ethgo.Block { FILE: testutil/server.go function getOpenPort (line 33) | func getOpenPort() string { function MultiAddr (line 47) | func MultiAddr(t *testing.T, c func(s *TestServer, addr string)) { type TestServerConfig (line 63) | type TestServerConfig struct type ServerConfigCallback (line 68) | type ServerConfigCallback type TestServer (line 71) | type TestServer struct method Account (line 172) | func (t *TestServer) Account(i int) ethgo.Address { method IPCPath (line 177) | func (t *TestServer) IPCPath() string { method WSAddr (line 183) | func (t *TestServer) WSAddr() string { method HTTPAddr (line 188) | func (t *TestServer) HTTPAddr() string { method ProcessBlockWithReceipt (line 193) | func (t *TestServer) ProcessBlockWithReceipt() (*ethgo.Receipt, error) { method ProcessBlock (line 202) | func (t *TestServer) ProcessBlock() error { method Call (line 214) | func (t *TestServer) Call(msg *ethgo.CallMsg) (string, error) { method Fund (line 225) | func (t *TestServer) Fund(address ethgo.Address) (*ethgo.Receipt, erro... method Transfer (line 229) | func (t *TestServer) Transfer(address ethgo.Address, value *big.Int) (... method TxnTo (line 238) | func (t *TestServer) TxnTo(address ethgo.Address, method string) (*eth... method SendTxn (line 246) | func (t *TestServer) SendTxn(txn *ethgo.Transaction) (*ethgo.Receipt, ... method WaitForReceipt (line 273) | func (t *TestServer) WaitForReceipt(hash ethgo.Hash) (*ethgo.Receipt, ... method DeployContract (line 296) | func (t *TestServer) DeployContract(c *Contract) (*compiler.Artifact, ... function DeployTestServer (line 78) | func DeployTestServer(t *testing.T, cb ServerConfigCallback) *TestServer { function NewTestServer (line 151) | func NewTestServer(t *testing.T, addrs ...string) *TestServer { function isEmptyAddr (line 209) | func isEmptyAddr(w ethgo.Address) bool { type jsonRPCRequest (line 318) | type jsonRPCRequest struct type jsonRPCResponse (line 324) | type jsonRPCResponse struct type jsonRPCErrorObject (line 330) | type jsonRPCErrorObject struct type ethClient (line 336) | type ethClient struct method call (line 342) | func (e *ethClient) call(method string, out interface{}, params ...int... function MethodSig (line 387) | func MethodSig(name string) []byte { function TestInfuraEndpoint (line 395) | func TestInfuraEndpoint(t *testing.T) string { function testHTTPEndpoint (line 403) | func testHTTPEndpoint(endpoint string) error { FILE: testutil/server_test.go function TestDeployServer (line 10) | func TestDeployServer(t *testing.T) { FILE: testutil/util.go function CompareLogs (line 10) | func CompareLogs(one, two []*ethgo.Log) bool { function CompareBlocks (line 20) | func CompareBlocks(one, two []*ethgo.Block) bool { FILE: tracker/store/boltdb/bolt_store.go type BoltStore (line 20) | type BoltStore struct method setupDB (line 40) | func (b *BoltStore) setupDB() error { method Close (line 54) | func (b *BoltStore) Close() error { method Get (line 59) | func (b *BoltStore) Get(k string) (string, error) { method ListPrefix (line 73) | func (b *BoltStore) ListPrefix(prefix string) ([]string, error) { method Set (line 89) | func (b *BoltStore) Set(k, v string) error { method GetEntry (line 104) | func (b *BoltStore) GetEntry(hash string) (store.Entry, error) { function New (line 25) | func New(path string) (*BoltStore, error) { type Entry (line 126) | type Entry struct method LastIndex (line 132) | func (e *Entry) LastIndex() (uint64, error) { method StoreLog (line 147) | func (e *Entry) StoreLog(log *ethgo.Log) error { method StoreLogs (line 152) | func (e *Entry) StoreLogs(logs []*ethgo.Log) error { method RemoveLogs (line 180) | func (e *Entry) RemoveLogs(indx uint64) error { method GetLog (line 200) | func (e *Entry) GetLog(indx uint64, log *ethgo.Log) error { function bytesToUint64 (line 216) | func bytesToUint64(b []byte) uint64 { function uint64ToBytes (line 220) | func uint64ToBytes(u uint64) []byte { FILE: tracker/store/boltdb/bolt_store_test.go function setupDB (line 12) | func setupDB(t *testing.T) (store.Store, func()) { function TestBoltDBStore (line 32) | func TestBoltDBStore(t *testing.T) { FILE: tracker/store/inmem/inmem_store.go type InmemStore (line 14) | type InmemStore struct method Close (line 29) | func (i *InmemStore) Close() error { method Get (line 34) | func (i *InmemStore) Get(k string) (string, error) { method ListPrefix (line 41) | func (i *InmemStore) ListPrefix(prefix string) ([]string, error) { method Set (line 55) | func (i *InmemStore) Set(k, v string) error { method GetEntry (line 63) | func (i *InmemStore) GetEntry(hash string) (store.Entry, error) { function NewInmemStore (line 21) | func NewInmemStore() *InmemStore { type Entry (line 78) | type Entry struct method LastIndex (line 84) | func (e *Entry) LastIndex() (uint64, error) { method Logs (line 91) | func (e *Entry) Logs() []*ethgo.Log { method StoreLogs (line 96) | func (e *Entry) StoreLogs(logs []*ethgo.Log) error { method RemoveLogs (line 106) | func (e *Entry) RemoveLogs(indx uint64) error { method GetLog (line 114) | func (e *Entry) GetLog(indx uint64, log *ethgo.Log) error { FILE: tracker/store/inmem/inmem_store_test.go function TestInMemoryStore (line 9) | func TestInMemoryStore(t *testing.T) { FILE: tracker/store/postgresql/postgresql_store.go type PostgreSQLStore (line 20) | type PostgreSQLStore struct method Close (line 45) | func (p *PostgreSQLStore) Close() error { method Get (line 50) | func (p *PostgreSQLStore) Get(k string) (string, error) { method ListPrefix (line 62) | func (p *PostgreSQLStore) ListPrefix(prefix string) ([]string, error) { method Set (line 71) | func (p *PostgreSQLStore) Set(k, v string) error { method GetEntry (line 79) | func (p *PostgreSQLStore) GetEntry(hash string) (store.Entry, error) { function NewPostgreSQLStore (line 25) | func NewPostgreSQLStore(endpoint string) (*PostgreSQLStore, error) { function NewSQLStore (line 34) | func NewSQLStore(db *sql.DB, driver string) (*PostgreSQLStore, error) { type Entry (line 92) | type Entry struct method LastIndex (line 98) | func (e *Entry) LastIndex() (uint64, error) { method StoreLogs (line 110) | func (e *Entry) StoreLogs(logs []*ethgo.Log) error { method RemoveLogs (line 153) | func (e *Entry) RemoveLogs(indx uint64) error { method GetLog (line 161) | func (e *Entry) GetLog(indx uint64, log *ethgo.Log) error { type logObj (line 208) | type logObj struct function logSQLSchema (line 226) | func logSQLSchema(name string) string { FILE: tracker/store/postgresql/postgresql_store_test.go function setupDB (line 12) | func setupDB(t *testing.T) (store.Store, func()) { function TestPostgreSQLStore (line 49) | func TestPostgreSQLStore(t *testing.T) { FILE: tracker/store/store.go type Store (line 6) | type Store interface type Entry (line 24) | type Entry interface FILE: tracker/store/testing.go type SetupDB (line 11) | type SetupDB function TestStore (line 14) | func TestStore(t *testing.T, setup SetupDB) { function testMultipleStores (line 22) | func testMultipleStores(t *testing.T, setup SetupDB) { function testPrefix (line 65) | func testPrefix(t *testing.T, setup SetupDB) { function testGetSet (line 104) | func testGetSet(t *testing.T, setup SetupDB) { function testStoreLogs (line 145) | func testStoreLogs(t *testing.T, setup SetupDB) { function testRemoveLogs (line 199) | func testRemoveLogs(t *testing.T, setup SetupDB) { FILE: tracker/tracker.go constant defaultBatchSize (line 34) | defaultBatchSize = 100 type BlockTracking (line 38) | type BlockTracking interface type FilterConfig (line 53) | type FilterConfig struct method buildHash (line 61) | func (f *FilterConfig) buildHash() { method getFilterSearch (line 86) | func (f *FilterConfig) getFilterSearch() *ethgo.LogFilter { type Config (line 98) | type Config struct type ConfigOption (line 106) | type ConfigOption function WithBatchSize (line 108) | func WithBatchSize(b uint64) ConfigOption { function WithBlockTracker (line 114) | func WithBlockTracker(b BlockTracking) ConfigOption { function WithStore (line 120) | func WithStore(s store.Store) ConfigOption { function WithFilter (line 126) | func WithFilter(f *FilterConfig) ConfigOption { function WithEtherscan (line 132) | func WithEtherscan(k string) ConfigOption { function DefaultConfig (line 139) | func DefaultConfig() *Config { type Provider (line 149) | type Provider interface type Tracker (line 158) | type Tracker struct method setupFilter (line 201) | func (t *Tracker) setupFilter() error { method Entry (line 237) | func (t *Tracker) Entry() store.Entry { method GetLastBlock (line 242) | func (t *Tracker) GetLastBlock() (*ethgo.Block, error) { method storeLastBlock (line 261) | func (t *Tracker) storeLastBlock(b *ethgo.Block) error { method emitEvent (line 273) | func (t *Tracker) emitEvent(evnt *Event) { method IsSynced (line 288) | func (t *Tracker) IsSynced() bool { method Wait (line 293) | func (t *Tracker) Wait() { method WaitDuration (line 298) | func (t *Tracker) WaitDuration(dur time.Duration) error { method findAncestor (line 315) | func (t *Tracker) findAncestor(block, pivot *ethgo.Block) (uint64, err... method emitLogs (line 346) | func (t *Tracker) emitLogs(typ EventType, logs []*ethgo.Log) { method syncBatch (line 368) | func (t *Tracker) syncBatch(ctx context.Context, from, to uint64) error { method preSyncCheck (line 432) | func (t *Tracker) preSyncCheck() error { method preSyncCheckImpl (line 440) | func (t *Tracker) preSyncCheckImpl() error { method fastTrack (line 476) | func (t *Tracker) fastTrack(filterConfig *FilterConfig) (*ethgo.Block,... method BatchSync (line 551) | func (t *Tracker) BatchSync(ctx context.Context) error { method Sync (line 592) | func (t *Tracker) Sync(ctx context.Context) error { method syncImpl (line 611) | func (t *Tracker) syncImpl(ctx context.Context) error { method removeLogs (line 751) | func (t *Tracker) removeLogs(number uint64, hash *ethgo.Hash) ([]*ethg... method handleBlockEvnt (line 797) | func (t *Tracker) handleBlockEvnt(blockEvnt *blocktracker.BlockEvent) ... method doFilter (line 820) | func (t *Tracker) doFilter(added []*ethgo.Block, removed []*ethgo.Bloc... method getBlockByNumber (line 865) | func (t *Tracker) getBlockByNumber(blockNumber uint64) (*ethgo.Block, ... function NewTracker (line 175) | func NewTracker(provider Provider, opts ...ConfigOption) (*Tracker, erro... function tooMuchDataRequestedError (line 357) | func tooMuchDataRequestedError(err error) bool { function revertLogs (line 790) | func revertLogs(in []*ethgo.Log) (out []*ethgo.Log) { type EventType (line 878) | type EventType constant EventAdd (line 882) | EventAdd EventType = iota constant EventDel (line 884) | EventDel type Event (line 888) | type Event struct type BlockEvent (line 895) | type BlockEvent struct function min (line 901) | func min(i, j uint64) uint64 { function parseUint64orHex (line 908) | func parseUint64orHex(str string) (uint64, error) { FILE: tracker/tracker_test.go function testConfig (line 24) | func testConfig() ConfigOption { function testFilter (line 30) | func testFilter(t *testing.T, provider Provider, filterConfig *FilterCon... function TestPolling (line 43) | func TestPolling(t *testing.T) { function TestFilterIntegration (line 102) | func TestFilterIntegration(t *testing.T) { function TestPreflight (line 139) | func TestPreflight(t *testing.T) { function TestTrackerSyncerRestarts (line 178) | func TestTrackerSyncerRestarts(t *testing.T) { function testSyncerReconcile (line 234) | func testSyncerReconcile(t *testing.T, iniLen, forkNum, endLen int) { function TestTrackerSyncerReconcile (line 317) | func TestTrackerSyncerReconcile(t *testing.T) { function randomInt (line 326) | func randomInt(min, max int) int { function testTrackerSyncerRandom (line 330) | func testTrackerSyncerRandom(t *testing.T, n int, backlog uint64) { function TestTrackerSyncerRandom (line 431) | func TestTrackerSyncerRandom(t *testing.T) { function TestTrackerReconcile (line 441) | func TestTrackerReconcile(t *testing.T) { type mockClientWithLimit (line 717) | type mockClientWithLimit struct method GetLogs (line 722) | func (m *mockClientWithLimit) GetLogs(filter *ethgo.LogFilter) ([]*eth... function TestTooMuchDataRequested (line 737) | func TestTooMuchDataRequested(t *testing.T) { FILE: units.go function convert (line 5) | func convert(val uint64, decimals int64) *big.Int { function Ether (line 12) | func Ether(i uint64) *big.Int { function Gwei (line 17) | func Gwei(i uint64) *big.Int { FILE: wallet/key.go type Key (line 20) | type Key struct method Address (line 26) | func (k *Key) Address() ethgo.Address { method MarshallPrivateKey (line 30) | func (k *Key) MarshallPrivateKey() ([]byte, error) { method SignMsg (line 34) | func (k *Key) SignMsg(msg []byte) ([]byte, error) { method Sign (line 38) | func (k *Key) Sign(hash []byte) ([]byte, error) { function NewKey (line 51) | func NewKey(prv *ecdsa.PrivateKey) (*Key, error) { function pubKeyToAddress (line 65) | func pubKeyToAddress(pub *ecdsa.PublicKey) (addr ethgo.Address) { function GenerateKey (line 72) | func GenerateKey() (*Key, error) { function EcrecoverMsg (line 80) | func EcrecoverMsg(msg, signature []byte) (ethgo.Address, error) { function Ecrecover (line 84) | func Ecrecover(hash, signature []byte) (ethgo.Address, error) { function RecoverPubkey (line 92) | func RecoverPubkey(signature, hash []byte) (*ecdsa.PublicKey, error) { FILE: wallet/key_test.go function TestKeySign (line 9) | func TestKeySign(t *testing.T) { FILE: wallet/signer.go type Signer (line 10) | type Signer interface type EIP1155Signer (line 18) | type EIP1155Signer struct method RecoverSender (line 26) | func (e *EIP1155Signer) RecoverSender(tx *ethgo.Transaction) (ethgo.Ad... method SignTx (line 57) | func (e *EIP1155Signer) SignTx(tx *ethgo.Transaction, key ethgo.Key) (... function NewEIP155Signer (line 22) | func NewEIP155Signer(chainID uint64) *EIP1155Signer { function trimBytesZeros (line 47) | func trimBytesZeros(b []byte) []byte { function signHash (line 76) | func signHash(tx *ethgo.Transaction, chainID uint64) []byte { function encodeSignature (line 132) | func encodeSignature(R, S []byte, V byte) ([]byte, error) { FILE: wallet/signer_test.go function TestSigner_SignAndRecover (line 13) | func TestSigner_SignAndRecover(t *testing.T) { function TestSigner_EIP1155 (line 56) | func TestSigner_EIP1155(t *testing.T) { function TestTrimBytesZeros (line 76) | func TestTrimBytesZeros(t *testing.T) { FILE: wallet/wallet_hd.go type DerivationPath (line 14) | type DerivationPath method Derive (line 22) | func (d *DerivationPath) Derive(master *hdkeychain.ExtendedKey) (*ecds... function parseDerivationPath (line 38) | func parseDerivationPath(path string) (*DerivationPath, error) { function NewWalletFromMnemonic (line 78) | func NewWalletFromMnemonic(mnemonic string) (*Key, error) { FILE: wallet/wallet_hd_test.go function TestWallet_Mnemonic (line 9) | func TestWallet_Mnemonic(t *testing.T) { function TestWallet_MnemonicDerivationPath (line 14) | func TestWallet_MnemonicDerivationPath(t *testing.T) { FILE: wallet/wallet_json.go function NewJSONWalletFromFile (line 9) | func NewJSONWalletFromFile(path string, password string) (*Key, error) { function NewJSONWalletFromContent (line 17) | func NewJSONWalletFromContent(content []byte, password string) (*Key, er... FILE: wallet/wallet_json_test.go function TestWallet_JSON (line 11) | func TestWallet_JSON(t *testing.T) { FILE: wallet/wallet_priv.go function ParsePrivateKey (line 9) | func ParsePrivateKey(buf []byte) (*ecdsa.PrivateKey, error) { function NewWalletFromPrivKey (line 14) | func NewWalletFromPrivKey(p []byte) (*Key, error) { FILE: wallet/wallet_priv_test.go function TestWallet_Priv (line 9) | func TestWallet_Priv(t *testing.T) { FILE: website/components/eip.jsx function EIPLink (line 4) | function EIPLink({children, num}) { FILE: website/components/godoc.jsx function GodocLink (line 6) | function GodocLink({children, href}) { FILE: website/components/primitives.jsx function Address (line 5) | function Address({text='Address'}) { function Hash (line 9) | function Hash({text='Hash'}) { function Block (line 13) | function Block() { function Blocktag (line 17) | function Blocktag() { function ABI (line 21) | function ABI() { function Transaction (line 25) | function Transaction() { function Receipt (line 29) | function Receipt() { function LogFilter (line 33) | function LogFilter() { function Log (line 37) | function Log({text='Log'}) { FILE: website/pages/_app.js function Nextra (line 11) | function Nextra({ Component, pageProps }) {