Documentation ¶
Index ¶
- type ArbitrumNovaAdapter
- func (a *ArbitrumNovaAdapter) DecodeTransactionInputData(contractABI *abi.ABI, data []byte) (string, map[string]any, error)
- func (a *ArbitrumNovaAdapter) FilterLogs(ctx context.Context, q ethereum.FilterQuery) ([]types.Log, error)
- func (a *ArbitrumNovaAdapter) GetBalance(wallet string, contract string, blockNumber uint64) (*big.Int, error)
- func (a *ArbitrumNovaAdapter) GetInfo() (umid umid.UMID, name string, rpcURL string)
- func (a *ArbitrumNovaAdapter) GetLastBlockNumber() (uint64, error)
- func (a *ArbitrumNovaAdapter) GetLogs(fromBlock, toBlock int64, contracts []common.Address) ([]any, error)
- func (a *ArbitrumNovaAdapter) GetLogsRecursively(fromBlock, toBlock int64, contracts []common.Address, level int) ([]any, error)
- func (a *ArbitrumNovaAdapter) GetTransactionMessage(tx *types.Transaction) *core.Message
- func (a *ArbitrumNovaAdapter) RegisterNewBlockListener(f contracter.AdapterListener)
- func (a *ArbitrumNovaAdapter) Run()
- type Contracts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArbitrumNovaAdapter ¶
type ArbitrumNovaAdapter struct {
// contains filtered or unexported fields
}
func NewArbitrumNovaAdapter ¶
func NewArbitrumNovaAdapter(cfg *config.Config, 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) FilterLogs ¶
func (*ArbitrumNovaAdapter) GetBalance ¶
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) GetLogsRecursively ¶
func (*ArbitrumNovaAdapter) GetTransactionMessage ¶
func (a *ArbitrumNovaAdapter) GetTransactionMessage(tx *types.Transaction) *core.Message
func (*ArbitrumNovaAdapter) RegisterNewBlockListener ¶
func (a *ArbitrumNovaAdapter) RegisterNewBlockListener(f contracter.AdapterListener)
func (*ArbitrumNovaAdapter) Run ¶
func (a *ArbitrumNovaAdapter) Run()
Click to show internal directories.
Click to hide internal directories.