Documentation ¶
Index ¶
- type NoahGate
- func (mg *NoahGate) EstimateCoinBuy(coinToSell string, coinToBuy string, value string) (*domain.CoinEstimate, error)
- func (mg *NoahGate) EstimateCoinSell(coinToSell string, coinToBuy string, value string) (*domain.CoinEstimate, error)
- func (mg *NoahGate) EstimateTxCommission(tx string) (*string, error)
- func (mg *NoahGate) ExplorerStatusChecker()
- func (mg *NoahGate) GetMinGas() (*string, error)
- func (mg *NoahGate) GetNonce(address string) (uint64, error)
- func (mg *NoahGate) TxPush(tx string) (*string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NoahGate ¶
type NoahGate struct { IsActive bool Logger *logrus.Entry // contains filtered or unexported fields }
func (*NoahGate) EstimateCoinBuy ¶
func (mg *NoahGate) EstimateCoinBuy(coinToSell string, coinToBuy string, value string) (*domain.CoinEstimate, error)
Return estimate of buy coin
func (*NoahGate) EstimateCoinSell ¶
func (mg *NoahGate) EstimateCoinSell(coinToSell string, coinToBuy string, value string) (*domain.CoinEstimate, error)
Return estimate of sell coin
func (*NoahGate) EstimateTxCommission ¶
Return estimate of transaction
func (*NoahGate) ExplorerStatusChecker ¶
func (mg *NoahGate) ExplorerStatusChecker()
Click to show internal directories.
Click to hide internal directories.