Documentation ¶
Index ¶
- type Vote
- func (v *Vote) CreateToken(stub shim.ChaincodeStubInterface, name string, voteType string, ...) pb.Response
- func (v *Vote) GetAllVoteInfo(stub shim.ChaincodeStubInterface) []*voteInfo
- func (v *Vote) GetVoteInfo(stub shim.ChaincodeStubInterface, assetID string) (*voteInfo, error)
- func (v *Vote) GetVoteResult(stub shim.ChaincodeStubInterface, assetID string) (*tokenIDInfo, error)
- func (v *Vote) Init(stub shim.ChaincodeStubInterface) pb.Response
- func (v *Vote) Invoke(stub shim.ChaincodeStubInterface) pb.Response
- func (v *Vote) Support(stub shim.ChaincodeStubInterface, supportRequestJSON string) pb.Response
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 ¶
func (*Vote) GetAllVoteInfo ¶ added in v1.0.8
func (v *Vote) GetAllVoteInfo(stub shim.ChaincodeStubInterface) []*voteInfo
GetAllVoteInfo
func (*Vote) GetVoteInfo ¶
func (v *Vote) GetVoteInfo(stub shim.ChaincodeStubInterface, assetID string) (*voteInfo, error)
GetVoteInfo
func (*Vote) GetVoteResult ¶
func (v *Vote) GetVoteResult(stub shim.ChaincodeStubInterface, assetID string) (*tokenIDInfo, error)
GetVoteResult
Click to show internal directories.
Click to hide internal directories.