api

package
Version: v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	// contains filtered or unexported fields
}

API provides methods to interact with the service

func New

func New(
	dao db.DAO,
	swapAddress mint.PublicKey,
	logger *logrus.Entry,
) *API

New instance

func (*API) PrepareSwap

func (api *API) PrepareSwap(src mint.PublicKey, dst common.Address) (*model.PrepareSwapResult, error)

PrepareSwap sets Ethereum destination wallet for the specified Mint source wallet

Directories

Path Synopsis
transport

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL