mirror of
https://github.com/alexgo-io/gaze-brc20-indexer.git
synced 2026-01-12 14:34:54 +08:00
28 lines
622 B
Go
28 lines
622 B
Go
package entity
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/btcsuite/btcd/chaincfg/chainhash"
|
|
"github.com/gaze-network/indexer-network/modules/brc20/internal/ordinals"
|
|
"github.com/gaze-network/uint128"
|
|
)
|
|
|
|
type EventTransfer struct {
|
|
Id uint64
|
|
InscriptionId ordinals.InscriptionId
|
|
InscriptionNumber uint64
|
|
Tick string
|
|
OriginalTick string
|
|
TxHash chainhash.Hash
|
|
BlockHeight uint64
|
|
TxIndex uint32
|
|
Timestamp time.Time
|
|
|
|
FromPkScript []byte
|
|
FromSatPoint ordinals.SatPoint
|
|
ToPkScript []byte
|
|
ToSatPoint ordinals.SatPoint
|
|
Amount uint128.Uint128
|
|
}
|