fiat

package
v0.0.0-...-7107d2d Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: MIT Imports: 4 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 {
	*basetoken.BaseTokenAPI
}

API - fiat api struct

func NewAPI

func NewAPI(channelName string, chaincodeName string, hlfClient *service.HLFClient, ownerKeyPair *basetoken.KeyPair) (*API, error)

NewAPI - create new fiat api

func (*API) Emit

func (b *API) Emit(toAddress string, emitAmount uint64) (*channel.Response, error)

Emit - emit tokens

Jump to

Keyboard shortcuts

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