Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Service ¶
type Service interface { io.Closer // CurrentRates returns the current value of exchange rate and deduction // according to the latest information from oracle CurrentRates() (exchangeRate *big.Int, deduction *big.Int, err error) // GetPrice retrieves latest available information from oracle GetPrice(ctx context.Context) (*big.Int, *big.Int, error) Start() }
Click to show internal directories.
Click to hide internal directories.