contract

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2020 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContractService

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

func NewContractService

func NewContractService(cfgFile string) (*ContractService, error)

func (*ContractService) GetAccount

func (cs *ContractService) GetAccount() *types.Account

func (*ContractService) GetChangeOrderBlock

func (cs *ContractService) GetChangeOrderBlock(param *proto.ChangeOrderParam) (string, error)

func (*ContractService) GetCreateOrderBlock

func (cs *ContractService) GetCreateOrderBlock(param *proto.CreateOrderParam) (string, error)

func (*ContractService) GetFakeMode

func (cs *ContractService) GetFakeMode() bool

func (*ContractService) GetOrchestra

func (cs *ContractService) GetOrchestra() *orchestra.Orchestra

func (*ContractService) GetOrderInfoByInternalId

func (cs *ContractService) GetOrderInfoByInternalId(id string) (*qlcSdk.DoDSettleOrderInfo, error)

func (*ContractService) GetOrderInfoBySellerAndOrderId

func (cs *ContractService) GetOrderInfoBySellerAndOrderId(seller types.Address, orderId string) (*qlcSdk.DoDSettleOrderInfo, error)

func (*ContractService) GetTerminateOrderBlock

func (cs *ContractService) GetTerminateOrderBlock(param *proto.TerminateOrderParam) (string, error)

func (*ContractService) Init

func (cs *ContractService) Init() error

func (*ContractService) SetAccount

func (cs *ContractService) SetAccount(account *types.Account)

func (*ContractService) SetFakeMode

func (cs *ContractService) SetFakeMode(mode bool)

func (*ContractService) Start

func (cs *ContractService) Start() error

func (*ContractService) Stop

func (cs *ContractService) Stop() error

type OrderList

type OrderList struct {
	Role         string `json:"role"`
	ChainOrderID string `json:"chainOrderID"`
}

type ProcessingOrderList

type ProcessingOrderList struct {
	Processing []*OrderList `json:"processing"`
}

type Product

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

Jump to

Keyboard shortcuts

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