Documentation ¶
Index ¶
- func AddAcceptRecord(args *tokens.BuildTxArgs, swapTx string) (err error)
- func AddSwapJob(pairCfg *tokens.TokenPairConfig)
- func AddTokenPairDynamically()
- func CheckAcceptRecord(args *tokens.BuildTxArgs) (err error)
- func DeleteCachedSwap(isSwapin bool, txid, bind string)
- func FindAcceptRecords(args *tokens.BuildTxArgs) map[string]int64
- func ReplaceSwapin(txid, pairID, bind, gasPrice string) (string, error)
- func ReplaceSwapout(txid, pairID, bind, gasPrice string) (string, error)
- func StartAcceptSignJob()
- func StartAggregateJob()
- func StartPassBigValueJob()
- func StartReplaceJob()
- func StartScanJob(isServer bool)
- func StartStableJob()
- func StartSwapJob()
- func StartUpdateLatestBlockHeightJob()
- func StartVerifyJob()
- func StartWork(isServer bool)
- type MatchTx
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAcceptRecord ¶ added in v0.3.7
func AddAcceptRecord(args *tokens.BuildTxArgs, swapTx string) (err error)
AddAcceptRecord add accept record
func AddSwapJob ¶ added in v0.3.0
func AddSwapJob(pairCfg *tokens.TokenPairConfig)
AddSwapJob add swap job
func AddTokenPairDynamically ¶ added in v0.3.0
func AddTokenPairDynamically()
AddTokenPairDynamically add token pair dynamically
func CheckAcceptRecord ¶ added in v0.3.7
func CheckAcceptRecord(args *tokens.BuildTxArgs) (err error)
CheckAcceptRecord check accept record
func DeleteCachedSwap ¶ added in v0.3.7
DeleteCachedSwap delete cached swap
func FindAcceptRecords ¶ added in v0.3.7
func FindAcceptRecords(args *tokens.BuildTxArgs) map[string]int64
FindAcceptRecords find accept records
func ReplaceSwapin ¶ added in v0.3.5
ReplaceSwapin api
func ReplaceSwapout ¶ added in v0.3.5
ReplaceSwapout api
func StartPassBigValueJob ¶ added in v0.3.7
func StartPassBigValueJob()
StartPassBigValueJob pass big value job
func StartUpdateLatestBlockHeightJob ¶
func StartUpdateLatestBlockHeightJob()
StartUpdateLatestBlockHeightJob update latest block height job
Types ¶
Click to show internal directories.
Click to hide internal directories.