Documentation ¶
Index ¶
- Variables
- func NewConfig(dbCfg db.ChainCfg, lggr logger.Logger) *config
- type CallOps
- type Chain
- type ChainSet
- type Client
- func (c *Client) BlockByNumber(ctx context.Context, blockNum uint64) (block *caigogw.Block, err error)
- func (c *Client) CallContract(ctx context.Context, ops CallOps) (res []string, err error)
- func (c *Client) ChainID(ctx context.Context) (id string, err error)
- func (c *Client) LatestBlockHeight(ctx context.Context) (height uint64, err error)
- type Config
- type ConfigSet
- type Reader
- type ReaderWriter
- type Writer
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) BlockByNumber ¶
func (*Client) CallContract ¶
type ReaderWriter ¶
Click to show internal directories.
Click to hide internal directories.