Versions in this module Expand all Collapse all v1 v1.0.1 Feb 21, 2020 v1.0.0 Feb 16, 2020 Changes in this version + type API struct + func New(dao db.DAO, swapAddress mint.PublicKey, logger *logrus.Entry) *API + func (api *API) PrepareSwap(src mint.PublicKey, dst common.Address) (*model.PrepareSwapResult, error)