package
0.0.5
Repository: https://github.com/goplugin/plugin.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

DefaultQueryCtx returns a context with a sensible sanity limit timeout for queries to the eth node.
ExtractRevertReasonFromRPCError attempts to extract the revert reason from the response of an RPC eth_call that reverted by parsing the message from the "data" field ex: kovan (parity) { "error": { "code" : -32015, "data": "Reverted 0xABC123...", "message": "VM execution error." } } // revert reason always omitted rinkeby / ropsten (geth) { "error": { "code": 3, "data": "0x0xABC123...", "message": "execution reverted: hello world" } } // revert reason included in message.
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
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NullClientChainID the ChainID that nullclient will return 0 is never used as a real chain ID so makes sense as a dummy value here.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

CallArgs represents the data used to call the balance method of a contract.
[email protected]/rpc/json.go.
NullClient satisfies the Client but has no side effects.
fatal means this transaction can never be accepted even with a different nonce or higher gas price.

# Interfaces

Client is the interface used to interact with an ethereum node.
This interface only exists so that we can generate a mock for it.

# Type aliases

No description provided by the author