Documentation ¶
Index ¶
- func TrimLeftZeroes(hex string) string
- type ArbitrumNovaAdapter
- func (a *ArbitrumNovaAdapter) DecodeTransactionInputData(contractABI *abi.ABI, data []byte) (string, map[string]any, error)
- func (a *ArbitrumNovaAdapter) GetEtherBalance(wallet *common.Address, block uint64) (*big.Int, error)
- func (a *ArbitrumNovaAdapter) GetEtherLogs(fromBlock, toBlock uint64, wallets map[common.Address]bool) ([]harvester.ChangeEtherLog, error)
- func (a *ArbitrumNovaAdapter) GetInfo() (umid umid.UMID, name string, rpcURL string)
- func (a *ArbitrumNovaAdapter) GetLastBlockNumber() (uint64, error)
- func (a *ArbitrumNovaAdapter) GetNFTBalance(nftContract *common.Address, wallet *common.Address, block uint64) ([]common.Hash, error)
- func (a *ArbitrumNovaAdapter) GetNFTLogs(fromBlock, toBlock uint64, contracts []common.Address) ([]any, error)
- func (a *ArbitrumNovaAdapter) GetRawLogs(topic0 *common.Hash, topic1 *common.Hash, topic2 *common.Hash, ...) (replies []types.Log, err error)
- func (a *ArbitrumNovaAdapter) GetTokenBalance(contract *common.Address, wallet *common.Address, blockNumber uint64) (*big.Int, uint64, error)
- func (a *ArbitrumNovaAdapter) GetTokenLogs(fromBlock, toBlock uint64, contracts []common.Address) ([]any, error)
- func (a *ArbitrumNovaAdapter) GetTransactionMessage(tx *types.Transaction) *core.Message
- func (a *ArbitrumNovaAdapter) RegisterNewBlockListener(f harvester.AdapterListener)
- func (a *ArbitrumNovaAdapter) Run()
- type TransactionReceipt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TrimLeftZeroes ¶ added in v0.5.6
Types ¶
type ArbitrumNovaAdapter ¶
type ArbitrumNovaAdapter struct {
// contains filtered or unexported fields
}
func NewArbitrumNovaAdapter ¶
func NewArbitrumNovaAdapter(cfg *config.Arbitrum3, logger *zap.SugaredLogger) *ArbitrumNovaAdapter
func (*ArbitrumNovaAdapter) DecodeTransactionInputData ¶
func (a *ArbitrumNovaAdapter) DecodeTransactionInputData(contractABI *abi.ABI, data []byte) (string, map[string]any, error)
refer https://github.com/ethereum/web3.py/blob/master/web3/contract.py#L435
func (*ArbitrumNovaAdapter) GetEtherBalance ¶ added in v0.5.6
func (*ArbitrumNovaAdapter) GetEtherLogs ¶ added in v0.5.6
func (a *ArbitrumNovaAdapter) GetEtherLogs(fromBlock, toBlock uint64, wallets map[common.Address]bool) ([]harvester.ChangeEtherLog, error)
func (*ArbitrumNovaAdapter) GetInfo ¶
func (a *ArbitrumNovaAdapter) GetInfo() (umid umid.UMID, name string, rpcURL string)
func (*ArbitrumNovaAdapter) GetLastBlockNumber ¶
func (a *ArbitrumNovaAdapter) GetLastBlockNumber() (uint64, error)
func (*ArbitrumNovaAdapter) GetNFTBalance ¶ added in v0.5.6
func (*ArbitrumNovaAdapter) GetNFTLogs ¶ added in v0.5.6
func (*ArbitrumNovaAdapter) GetRawLogs ¶ added in v0.5.6
func (*ArbitrumNovaAdapter) GetTokenBalance ¶ added in v0.5.6
func (*ArbitrumNovaAdapter) GetTokenLogs ¶ added in v0.5.6
func (*ArbitrumNovaAdapter) GetTransactionMessage ¶
func (a *ArbitrumNovaAdapter) GetTransactionMessage(tx *types.Transaction) *core.Message
func (*ArbitrumNovaAdapter) RegisterNewBlockListener ¶
func (a *ArbitrumNovaAdapter) RegisterNewBlockListener(f harvester.AdapterListener)
func (*ArbitrumNovaAdapter) Run ¶
func (a *ArbitrumNovaAdapter) Run()
Click to show internal directories.
Click to hide internal directories.