Versions in this module Expand all Collapse all v1 v1.5.0 Jun 20, 2018 Changes in this version + type FilledOrder struct + AvailableAmountB string + AvailableAmountS string + BPrice string + FeeS string + FeeSelection uint8 + FillAmountB string + FillAmountS string + ID int + LegalFee string + LrcFee string + LrcReward string + OrderHash string + RateAmountS string + RingHash string + SPrice string + func (daoFilledOrder *FilledOrder) ConvertDown(filledOrder *types.FilledOrder, ringhash common.Hash) error + func (daoFilledOrder *FilledOrder) ConvertUp(filledOrder *types.FilledOrder, rds RdsService) error + type RdsService interface + GetFilledOrderByRinghash func(ringhash common.Hash) ([]*FilledOrder, error) + GetRingForSubmitByHash func(ringhash common.Hash) (RingSubmitInfo, error) + GetRingHashesByTxHash func(txHash common.Hash) ([]*RingSubmitInfo, error) + UpdateRingSubmitInfoErrById func(id int, err error) error + UpdateRingSubmitInfoResult func(submitResult *types.RingSubmitResultEvent) error + type RdsServiceImpl struct + func NewRdsService(options *dao.MysqlOptions) RdsServiceImpl + func (s *RdsServiceImpl) GetFilledOrderByRinghash(ringhash common.Hash) ([]*FilledOrder, error) + func (s *RdsServiceImpl) GetRingForSubmitByHash(ringhash common.Hash) (ringForSubmit RingSubmitInfo, err error) + func (s *RdsServiceImpl) GetRingHashesByTxHash(txHash common.Hash) ([]*RingSubmitInfo, error) + func (s *RdsServiceImpl) UpdateRingSubmitInfoErrById(id int, err error) error + func (s *RdsServiceImpl) UpdateRingSubmitInfoResult(submitResult *types.RingSubmitResultEvent) error + func (s *RdsServiceImpl) UpdateRingSubmitInfoSubmitUsedGas(txHash string, usedGas *big.Int) error + type RingSubmitInfo struct + BlockNumber string + CreateTime time.Time + Err string + ID int + Miner string + OrdersCount int64 + ProtocolAddress string + ProtocolData string + ProtocolGas string + ProtocolGasPrice string + ProtocolTxHash string + ProtocolUsedGas string + RingHash string + RingIndex string + Status int + UniqueId string + func (info *RingSubmitInfo) ConvertDown(typesInfo *types.RingSubmitInfo, err error) error + func (info *RingSubmitInfo) ConvertUp(typesInfo *types.RingSubmitInfo) error