Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrMissingTrieNode = errors.New("Block too Old: Missing Trie Node") ErrContractNotDeployed = errors.New("Contract Not Deployed") )
Functions ¶
func RpcErrorCode ¶
func WrapRpcError ¶
Types ¶
type CeloClient ¶
type CeloClient struct {
Rpc *rpc.Client
Eth *ethclient.Client
Debug *debug.DebugClient
Admin *admin.AdminClient
Net *network.NetworkClient
TxPool *txpool.TxPoolClient
}
func DialContext ¶
func DialContext(ctx context.Context, rawurl string) (*CeloClient, error)
func NewCeloClient ¶
func NewCeloClient(rpcClient *rpc.Client) *CeloClient
func (*CeloClient) Close ¶
func (c *CeloClient) Close()
Click to show internal directories.
Click to hide internal directories.