amb-monitor/monitor/wrappers.go

19 lines
246 B
Go

package monitor
import (
"tokenbridge-monitor/entity"
"github.com/ethereum/go-ethereum/common"
)
type BlocksRange struct {
From uint
To uint
Topic *common.Hash
}
type LogsBatch struct {
BlockNumber uint
Logs []*entity.Log
}