voucher

package
v0.0.0-...-67468a5 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

func RegisterStorageContract

func RegisterStorageContract(srvc *native.NativeService)

Types

type Voucher

type Voucher struct {
	Key       string // identity id of voucher
	Title     string // title of voucher
	Desc      string // description of voucher
	Creator   string // creator of voucher
	Signature string // 对描述的签名
	Timestamp int64  // timestamp of creation, 由链生成
}

type VoucherEvent

type VoucherEvent struct {
	Key       string // Voucher.Key
	Index     uint8  // 排序
	Title     string
	Content   string
	Operator  string
	Signature string
	Timestamp int64
}

Jump to

Keyboard shortcuts

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