Documentation ¶
Index ¶
- type Vote
- func (v *Vote) CreateToken(stub shim.ChaincodeStubInterface, name string, voteType string, ...) pb.Response
- 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 ¶ added in v1.0.3
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
Click to show internal directories.
Click to hide internal directories.