Versions in this module Expand all Collapse all v0 v0.0.1 Sep 25, 2024 Changes in this version + func InitBSCTables(db *gorm.DB) + func InitGreenfieldTables(db *gorm.DB) + func InitVoteTables(db *gorm.DB) + type BscBlock struct + BlockHash string + BlockTime int64 + Height uint64 + Id int64 + ParentHash string + func (*BscBlock) TableName() string + type BscRelayPackage struct + ChannelId uint8 + ClaimTxHash string + Height uint64 + Id int64 + OracleSequence uint64 + PackageSequence uint64 + PayLoad string + Status db.TxStatus + TxHash string + TxIndex uint + TxTime int64 + UpdatedTime int64 + func (l *BscRelayPackage) TableName() string + type GreenfieldBlock struct + BlockTime int64 + Chain string + Height uint64 + Id int64 + func (*GreenfieldBlock) TableName() string + type GreenfieldRelayTransaction struct + AckRelayerFee string + ChannelId uint8 + ClaimedTxHash string + DestChainId uint32 + Height uint64 + Id int64 + PackageType uint32 + PayLoad string + RelayerFee string + Sequence uint64 + SrcChainId uint32 + Status db.TxStatus + TxHash string + TxTime int64 + UpdatedTime int64 + func (*GreenfieldRelayTransaction) TableName() string + type SyncLightBlockTransaction struct + Height uint64 + Id int64 + TxHash string + ValidatorsHash string + func (*SyncLightBlockTransaction) TableName() string + type Vote struct + ChannelId uint8 + ClaimPayload []byte + CreatedTime int64 + EventHash []byte + EventType uint32 + Height int64 + Id int64 + PubKey string + Sequence uint64 + Signature string + func (*Vote) TableName() string