Documentation ¶ Index ¶ func Init() func RegisterStorageContract(srvc *native.NativeService) type Voucher type VoucherEvent 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 } Source Files ¶ View all Source files event.go init.go method.go types.go utils.go Click to show internal directories. Click to hide internal directories.