package
Version:
v1.2.2
Opens a new window with list of versions in this module.
Published: Mar 17, 2020
License: GPL-3.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
TypeCoop = "coop"
TypeUncoop = "uncoop"
)
Deal types.
Make makes and closes deals.
TransferToPSC transfers all PTC to PSC.
Account is an ethereum account
CreateAccounts just creates accounts.
type Deal struct {
Agent int `json:"agent"`
Client int `json:"client"`
PrixClosed float64 `json:"prixClosed"`
Type string `json:"type"`
}
Deal is a detailed deals closed over blockchain between given angent and client.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.