vote

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2019 License: GPL-3.0, GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Vote

type Vote struct {
}

Vote

func (*Vote) CreateToken added in v1.0.3

func (v *Vote) CreateToken(stub shim.ChaincodeStubInterface, name string, voteType string, totalSupply uint64,
	voteEndTime string, voteContentJSON string) pb.Response

func (*Vote) GetVoteInfo added in v1.0.3

func (v *Vote) GetVoteInfo(stub shim.ChaincodeStubInterface, assetID string) (*voteInfo, error)

GetVoteInfo

func (*Vote) GetVoteResult added in v1.0.3

func (v *Vote) GetVoteResult(stub shim.ChaincodeStubInterface, assetID string) (*tokenIDInfo, error)

GetVoteResult

func (*Vote) Init

func (v *Vote) Init(stub shim.ChaincodeStubInterface) pb.Response

Init

func (*Vote) Invoke

func (v *Vote) Invoke(stub shim.ChaincodeStubInterface) pb.Response

Invoke

func (*Vote) Support added in v1.0.3

func (v *Vote) Support(stub shim.ChaincodeStubInterface, supportRequestJSON string) pb.Response

Jump to

Keyboard shortcuts

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