Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitTables ¶
Types ¶
type BlockLog ¶
type BlockLog struct { Id int64 Chain string BlockHash string ParentHash string Height int64 BlockTime int64 CreateTime int64 }
func (*BlockLog) BeforeCreate ¶
type CrossChainPackageLog ¶
type CrossChainPackageLog struct { Id int64 ChainId uint16 OracleSequence uint64 PackageSequence uint64 ChannelId uint8 PayLoad string `gorm:"type:text"` TxIndex uint Status PackageStatus BlockHash string TxHash string ClaimTxHash string Height int64 ConfirmedNum int64 CreateTime int64 UpdateTime int64 }
func (*CrossChainPackageLog) BeforeCreate ¶
func (l *CrossChainPackageLog) BeforeCreate() (err error)
func (CrossChainPackageLog) TableName ¶
func (CrossChainPackageLog) TableName() string
type PackageStatus ¶
type PackageStatus int
const ( PackageStatusInit PackageStatus = 0 PackageStatusConfirmed PackageStatus = 1 PackageStatusClaimed PackageStatus = 2 )
Click to show internal directories.
Click to hide internal directories.