Versions in this module Expand all Collapse all v1 v1.4.0 Aug 10, 2021 Changes in this version + type TokenMgr struct + func NewTokenMgr(source string, chainId string) *TokenMgr + func (m *TokenMgr) Start() + func (m *TokenMgr) Sync() error + func (m *TokenMgr) Token(contract string) (token, bool) + func (m *TokenMgr) Tokens() []token v1.3.4 Jul 14, 2021 Changes in this version + type Block struct + Block *tmtypes.Block + BlockID tmtypes.BlockID + type Client struct + func NewClient(ctx context.Context, coins config.Tokens, version int, rpcRemote string, ...) (*Client, error) + func (cli *Client) DecodeTxAppBatch(tx *types.TxBatch, block *tmtypes.Block, ...) (*database.V3Transaction, []database.V3Payment) + func (cli *Client) DecodeTxAppEthereum(tx *ethtypes.Transaction, block *tmtypes.Block, ...) (*database.V3Transaction, []database.V3Payment) + func (cli *Client) DecodeTxAppEvm(tx *types.TxEvm, block *tmtypes.Block, ...) (*database.V3Transaction, []database.V3Payment) + func (cli *Client) DecodeTxMultisigEvm(tx *types.MultisigEvmTx, block *tmtypes.Block, ...) (*database.V3Transaction, []database.V3Payment) + func (cli *Client) GetCurrentHeightV3() (int64, error) + func (cli *Client) GetV3BlockData(height int64) (*V3BlockData, error) + func (cli *Client) LastBlockHeight() (height int64, err error) + func (cli *Client) Start() + func (cli Client) SaveV3Data(data *V3BlockData) error + type DefaultFetcher struct + func NewFetch(rpcRemote string) *DefaultFetcher + func (f *DefaultFetcher) FetchBlockInfo(height int64) (*Block, error) + func (f *DefaultFetcher) FetchBlockResultInfo(height int64) ([]*abcitypes.ResponseDeliverTx, error) + func (f *DefaultFetcher) LastBlockHeight() (int64, error) + type Fetcher interface + FetchBlockInfo func(height int64) (*Block, error) + FetchBlockResultInfo func(height int64) ([]*abcitypes.ResponseDeliverTx, error) + LastBlockHeight func() (int64, error) + type V3BlockData struct