modulepackage
0.0.0-20230925020606-fc77d8896912
Repository: https://github.com/rodert/w3pro.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
Package rpctest provides utilities for testing RPC methods.
Package w3protypes implements common types.
# Functions
A returns an address from a hexstring or panics if the hexstring does not represent a valid checksum encoded address.
APtr returns an address pointer from a hexstring or panics if the hexstring does not represent a valid checksum encoded address.
B returns a byte slice from a hexstring or panics if the hexstring does not represent a valid byte slice.
Dial returns a new Client connected to the URL rawurl.
FromWei returns the given Wei as decimal with the given number of decimals.
H returns a hash from a hexstring or panics if the hexstring does not represent a valid hash.
I returns a [big.Int] from a hexstring or decimal number string (with optional unit) or panics if the parsing fails.
MustDial is like [Dial] but panics if the connection establishment fails.
MustNewEvent is like [NewEvent] but panics if the signature parsing fails.
MustNewFunc is like [NewFunc] but panics if the signature or returns parsing fails.
NewClient returns a new Client given an rpc.Client client.
NewEvent returns a new Smart Contract event log decoder from the given Solidity event signature.
NewFunc returns a new Smart Contract function ABI binding from the given Solidity function signature and its returns.
RandA returns a random address.
WithRateLimiter sets the rate limiter for the client.
# Variables
Common [big.Int]'s.
Common [big.Int]'s.
Common [big.Int]'s.
Common [big.Int]'s.
Common [big.Int]'s.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
CallErrors is an error type that contains the errors of multiple calls.
An Option configures a Client.