api

package
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: 7 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,
	logger *logrus.Entry,
) *API

New instance

func (*API) SendMNTP

func (api *API) SendMNTP(src mint.PublicKey, srcTx mint.Digest, dst common.Address, amo *amount.Amount) bool

SendMNTP enqueues a new MNTP transfer (from contract) request

Directories

Path Synopsis
transport

Jump to

Keyboard shortcuts

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